public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others)
       [not found] <bug-82480-4@http.gcc.gnu.org/bugzilla/>
@ 2017-10-09  7:27 ` dominiq at lps dot ens.fr
  2021-01-09 11:41 ` tkoenig at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2017-10-09  7:27 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: 5791565 bytes --]

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-09
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Related to pr30372.
>From gcc-bugs-return-577760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 07:51:53 2017
Return-Path: <gcc-bugs-return-577760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17478 invoked by alias); 9 Oct 2017 07: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 12829 invoked by uid 48); 9 Oct 2017 07:51:46 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82422] [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:248
Date: Mon, 09 Oct 2017 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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82422-4-n9MSDt89RQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82422-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00820.txt.bz2
Content-length: 3516

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

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

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
I've got one another ICE:

$ cat ice.c
static int a[];
int b[1];
int c;
static void
d (int *f, int *g)
{
  int e;
  for (e = 0; e < 2; e++)
    g[e] = 1;
  for (e = 0; e < 2; e++)
    g[e] = f[e] + f[e + 1];
}
void
h ()
{
  for (;; c += 8)
    d (&a[c], b);
}

$ /home/marxin/Programming/gcc2/objdir/gcc/xgcc -B
/home/marxin/Programming/gcc2/objdir/gcc/ -floop-parallelize-all -O1 -mavx512vl
ice.c
during GIMPLE pass: graphite
ice.c: In function ‘h’:
ice.c:14:1: internal compiler error: in set_codegen_error, at
graphite-isl-ast-to-gimple.c:216
 h ()
 ^
0x5cb6d5 translate_isl_ast_to_gimple::set_codegen_error()
        ../../gcc/graphite-isl-ast-to-gimple.c:215
0x13252d5 translate_isl_ast_to_gimple::set_codegen_error()
        ../../gcc/graphite-isl-ast-to-gimple.c:215
0x13252d5 translate_isl_ast_to_gimple::get_rename_from_scev(tree_node*,
gimple**, loop*, basic_block_def*, basic_block_def*, vec<tree_node*, va_heap,
vl_ptr>)
        ../../gcc/graphite-isl-ast-to-gimple.c:1097
0x1325a14
translate_isl_ast_to_gimple::graphite_copy_stmts_from_block(basic_block_def*,
basic_block_def*, vec<tree_node*, va_heap, vl_ptr>)
        ../../gcc/graphite-isl-ast-to-gimple.c:1245
0x1327850
translate_isl_ast_to_gimple::copy_bb_and_scalar_dependences(basic_block_def*,
edge_def*, vec<tree_node*, va_heap, vl_ptr>)
        ../../gcc/graphite-isl-ast-to-gimple.c:1313
0x1328274
translate_isl_ast_to_gimple::translate_isl_ast_node_user(isl_ast_node*,
edge_def*, std::map<isl_id*, tree_node*, std::less<isl_id*>,
std::allocator<std::pair<isl_id* const, tree_node*> > >&)
        ../../gcc/graphite-isl-ast-to-gimple.c:803
0x1328545 translate_isl_ast_to_gimple::translate_isl_ast_for_loop(loop*,
isl_ast_node*, edge_def*, tree_node*, tree_node*, tree_node*, std::map<isl_id*,
tree_node*, std::less<isl_id*>, std::allocator<std::pair<isl_id* const,
tree_node*> > >&)
        ../../gcc/graphite-isl-ast-to-gimple.c:617
0x13287a2 translate_isl_ast_to_gimple::translate_isl_ast_node_for(loop*,
isl_ast_node*, edge_def*, std::map<isl_id*, tree_node*, std::less<isl_id*>,
std::allocator<std::pair<isl_id* const, tree_node*> > >&)
        ../../gcc/graphite-isl-ast-to-gimple.c:720
0x13288a5 translate_isl_ast_to_gimple::translate_isl_ast_node_block(loop*,
isl_ast_node*, edge_def*, std::map<isl_id*, tree_node*, std::less<isl_id*>,
std::allocator<std::pair<isl_id* const, tree_node*> > >&)
        ../../gcc/graphite-isl-ast-to-gimple.c:832
0x1328d8a graphite_regenerate_ast_isl(scop*)
        ../../gcc/graphite-isl-ast-to-gimple.c:1559
0x13238ae graphite_transform_loops()
        ../../gcc/graphite.c:442
0x1324820 graphite_transforms
        ../../gcc/graphite.c:486
0x1324820 execute
        ../../gcc/graphite.c:563

$ /home/marxin/Programming/gcc2/objdir/gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/home/marxin/Programming/gcc2/objdir/gcc/xgcc
Target: x86_64-pc-linux-gnu
Configured with: ../configure --enable-languages=c,c++ --disable-bootstrap
--disable-libsanitizer --disable-multilib
Thread model: posix
gcc version 8.0.0 20171009 (experimental) (GCC)
>From gcc-bugs-return-577761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 07:54:52 2017
Return-Path: <gcc-bugs-return-577761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5003 invoked by alias); 9 Oct 2017 07: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 126119 invoked by uid 48); 9 Oct 2017 07:54:48 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82472] [8 Regression] ICE in generate_code_for_partition, at tree-loop-distribution.c:1145
Date: Mon, 09 Oct 2017 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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-82472-4-Juol3xc8TY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82472-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82472-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00821.txt.bz2
Content-length: 401

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

amker at gcc dot gnu.org changed:

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

--- Comment #2 from amker at gcc dot gnu.org ---
Sorry for the breakage, I will investigate it.
>From gcc-bugs-return-577762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:07:07 2017
Return-Path: <gcc-bugs-return-577762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81794 invoked by alias); 9 Oct 2017 08: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 81749 invoked by uid 48); 9 Oct 2017 08:07:03 -0000
From: "wdijkstr at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82479] missing popcount builtin detection
Date: Mon, 09 Oct 2017 08: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: wdijkstr at arm 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-82479-4-T77QIB10n4@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: 2017-10/txt/msg00822.txt.bz2
Content-length: 775

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

Wilco <wdijkstr at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wdijkstr at arm dot com

--- Comment #6 from Wilco <wdijkstr at arm dot com> ---
(In reply to Andrew Pinski from comment #5)
> Was added to LLVM back in 2012:
> http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20121119/156272.html
> 
> Again I don't know how useful it is compared to the compile time that it
> would take.

I'd be more worried that the LLVM sequence isn't better in common usage. Given
it has a fixed high latency, you need quite a few set bits before it's faster.
>From gcc-bugs-return-577763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:17:18 2017
Return-Path: <gcc-bugs-return-577763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53102 invoked by alias); 9 Oct 2017 08:17: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 52965 invoked by uid 48); 9 Oct 2017 08:17:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82485] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13232
Date: Mon, 09 Oct 2017 08: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: unknown
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-82485-4-XfuEuOYTQH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82485-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82485-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00823.txt.bz2
Content-length: 847

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-09
                 CC|                            |dansan at gcc dot gnu.org
   Target Milestone|---                         |8.0
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
On a slightly modified testcase this starts already at r251321.
struct S { char s[0x40000000]; } s;

void
foo (struct S *p)
{
  char b[0x07fffffff0000000L];
  *(struct S *)&b[0x07ffffffef000000L] = s;
  *p = *(struct S *)&b[0x07ffffffefffffffL];
}
>From gcc-bugs-return-577765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:28:53 2017
Return-Path: <gcc-bugs-return-577765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11058 invoked by alias); 9 Oct 2017 08: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 10089 invoked by uid 48); 9 Oct 2017 08:28:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82485] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13232
Date: Mon, 09 Oct 2017 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: unknown
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82485-4-ppnkD3gokL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82485-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82485-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00825.txt.bz2
Content-length: 429

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

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

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Daniel, can you please have a look at this?  Thanks.
>From gcc-bugs-return-577764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:28:48 2017
Return-Path: <gcc-bugs-return-577764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9824 invoked by alias); 9 Oct 2017 08:28: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 5043 invoked by uid 48); 9 Oct 2017 08:27:43 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82450] loop flattening should be done
Date: Mon, 09 Oct 2017 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: 8.0
X-Bugzilla-Keywords: missed-optimization
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-82450-4-M4Z4yhucCn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82450-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00824.txt.bz2
Content-length: 230

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
We once had a very aggressive pass to do this as part of graphite transforms,
it's on the GCC 4.7 branch.
>From gcc-bugs-return-577766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:34:19 2017
Return-Path: <gcc-bugs-return-577766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39223 invoked by alias); 9 Oct 2017 08: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 39163 invoked by uid 48); 9 Oct 2017 08:34:14 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82486] New: [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c
Date: Mon, 09 Oct 2017 08:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 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: ---
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-82486-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00826.txt.bz2
Content-length: 3673

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

            Bug ID: 82486
           Summary: [8 Regression][graphite] ICE in set_codegen_error, at
                    graphite-isl-ast-to-gimple.c
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

I've got one another ICE:

$ cat ice.c
static int a[];
int b[1];
int c;
static void
d (int *f, int *g)
{
  int e;
  for (e = 0; e < 2; e++)
    g[e] = 1;
  for (e = 0; e < 2; e++)
    g[e] = f[e] + f[e + 1];
}
void
h ()
{
  for (;; c += 8)
    d (&a[c], b);
}

$ /home/marxin/Programming/gcc2/objdir/gcc/xgcc -B
/home/marxin/Programming/gcc2/objdir/gcc/ -floop-parallelize-all -O1 -mavx512vl
ice.c
during GIMPLE pass: graphite
ice.c: In function ‘h’:
ice.c:14:1: internal compiler error: in set_codegen_error, at
graphite-isl-ast-to-gimple.c:216
 h ()
 ^
0x5cb6d5 translate_isl_ast_to_gimple::set_codegen_error()
        ../../gcc/graphite-isl-ast-to-gimple.c:215
0x13252d5 translate_isl_ast_to_gimple::set_codegen_error()
        ../../gcc/graphite-isl-ast-to-gimple.c:215
0x13252d5 translate_isl_ast_to_gimple::get_rename_from_scev(tree_node*,
gimple**, loop*, basic_block_def*, basic_block_def*, vec<tree_node*, va_heap,
vl_ptr>)
        ../../gcc/graphite-isl-ast-to-gimple.c:1097
0x1325a14
translate_isl_ast_to_gimple::graphite_copy_stmts_from_block(basic_block_def*,
basic_block_def*, vec<tree_node*, va_heap, vl_ptr>)
        ../../gcc/graphite-isl-ast-to-gimple.c:1245
0x1327850
translate_isl_ast_to_gimple::copy_bb_and_scalar_dependences(basic_block_def*,
edge_def*, vec<tree_node*, va_heap, vl_ptr>)
        ../../gcc/graphite-isl-ast-to-gimple.c:1313
0x1328274
translate_isl_ast_to_gimple::translate_isl_ast_node_user(isl_ast_node*,
edge_def*, std::map<isl_id*, tree_node*, std::less<isl_id*>,
std::allocator<std::pair<isl_id* const, tree_node*> > >&)
        ../../gcc/graphite-isl-ast-to-gimple.c:803
0x1328545 translate_isl_ast_to_gimple::translate_isl_ast_for_loop(loop*,
isl_ast_node*, edge_def*, tree_node*, tree_node*, tree_node*, std::map<isl_id*,
tree_node*, std::less<isl_id*>, std::allocator<std::pair<isl_id* const,
tree_node*> > >&)
        ../../gcc/graphite-isl-ast-to-gimple.c:617
0x13287a2 translate_isl_ast_to_gimple::translate_isl_ast_node_for(loop*,
isl_ast_node*, edge_def*, std::map<isl_id*, tree_node*, std::less<isl_id*>,
std::allocator<std::pair<isl_id* const, tree_node*> > >&)
        ../../gcc/graphite-isl-ast-to-gimple.c:720
0x13288a5 translate_isl_ast_to_gimple::translate_isl_ast_node_block(loop*,
isl_ast_node*, edge_def*, std::map<isl_id*, tree_node*, std::less<isl_id*>,
std::allocator<std::pair<isl_id* const, tree_node*> > >&)
        ../../gcc/graphite-isl-ast-to-gimple.c:832
0x1328d8a graphite_regenerate_ast_isl(scop*)
        ../../gcc/graphite-isl-ast-to-gimple.c:1559
0x13238ae graphite_transform_loops()
        ../../gcc/graphite.c:442
0x1324820 graphite_transforms
        ../../gcc/graphite.c:486
0x1324820 execute
        ../../gcc/graphite.c:563

$ /home/marxin/Programming/gcc2/objdir/gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/home/marxin/Programming/gcc2/objdir/gcc/xgcc
Target: x86_64-pc-linux-gnu
Configured with: ../configure --enable-languages=c,c++ --disable-bootstrap
--disable-libsanitizer --disable-multilib
Thread model: posix
gcc version 8.0.0 20171009 (experimental) (GCC)
>From gcc-bugs-return-577767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:40:37 2017
Return-Path: <gcc-bugs-return-577767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42883 invoked by alias); 9 Oct 2017 08:40: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 42822 invoked by uid 48); 9 Oct 2017 08:40:32 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82473] [8 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1524
Date: Mon, 09 Oct 2017 08: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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82473-4-cONKEPg0Ar@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82473-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82473-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00827.txt.bz2
Content-length: 463

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

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 #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine then.
>From gcc-bugs-return-577768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:46:12 2017
Return-Path: <gcc-bugs-return-577768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71943 invoked by alias); 9 Oct 2017 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 71864 invoked by uid 48); 9 Oct 2017 08:46:07 -0000
From: "rguenth 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: Mon, 09 Oct 2017 08: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: 8.0
X-Bugzilla-Keywords: missed-optimization
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: version
Message-ID: <bug-82479-4-z9RVWe9Tyr@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: 2017-10/txt/msg00828.txt.bz2
Content-length: 615

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |8.0

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Technically loop distribution would be one place to add this.  Or SCEV cprop.

The pattern matching should be quite cheap - the question is of course how many
different ways to express popcount exist...  so it does somewhat feel like a
SPEC hack...
>From gcc-bugs-return-577769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:46:55 2017
Return-Path: <gcc-bugs-return-577769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73933 invoked by alias); 9 Oct 2017 08: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 73797 invoked by uid 48); 9 Oct 2017 08:46:44 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82484] [8 Regression] ICE in verify_gimple failed w/ -fsanitize­dress
Date: Mon, 09 Oct 2017 08: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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: version target_milestone
Message-ID: <bug-82484-4-Vufo2ybRRf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82484-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82484-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00829.txt.bz2
Content-length: 346

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |8.0
   Target Milestone|---                         |8.0
>From gcc-bugs-return-577770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:49:11 2017
Return-Path: <gcc-bugs-return-577770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89620 invoked by alias); 9 Oct 2017 08:49:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 87500 invoked by uid 48); 9 Oct 2017 08:49:07 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82486] [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c
Date: Mon, 09 Oct 2017 08: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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on version assigned_to target_milestone everconfirmed
Message-ID: <bug-82486-4-aiHykdkHRf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82486-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82486-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00830.txt.bz2
Content-length: 689

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-09
            Version|unknown                     |8.0
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |8.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-577772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:53:28 2017
Return-Path: <gcc-bugs-return-577772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58425 invoked by alias); 9 Oct 2017 08: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 57886 invoked by uid 48); 9 Oct 2017 08:53:25 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82395] [8 Regression] qsort comparator non-negative on sorted output: 1 in color_allocnos
Date: Mon, 09 Oct 2017 08: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: 8.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82395-4-VTQ9NtocZe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82395-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00832.txt.bz2
Content-length: 188

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

--- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
*** Bug 82482 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-577773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:53:29 2017
Return-Path: <gcc-bugs-return-577773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58604 invoked by alias); 9 Oct 2017 08:53: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 57920 invoked by uid 48); 9 Oct 2017 08:53:25 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82407] [8 Regression][meta-bug] qsort_chk fallout tracking
Date: Mon, 09 Oct 2017 08:53: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: ice-checking, meta-bug
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82407-4-xvBMQhXycv@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: 2017-10/txt/msg00833.txt.bz2
Content-length: 527

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

Bug 82482 Summary: ICE in qsort comparator non-negative on sorted output: 1 in fast_allocation at ira-color.c:4821
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82482

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
>From gcc-bugs-return-577771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:53:28 2017
Return-Path: <gcc-bugs-return-577771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58310 invoked by alias); 9 Oct 2017 08: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 57854 invoked by uid 48); 9 Oct 2017 08:53:24 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82482] ICE in qsort comparator non-negative on sorted output: 1 in fast_allocation at ira-color.c:4821
Date: Mon, 09 Oct 2017 08: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov 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-82482-4-EUK3hRfu0u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82482-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00831.txt.bz2
Content-length: 710

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amonakov at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Thanks, but this is due to the same allocator as in PR 82395,
allocno_priority_compare_func (and I've confirmed it works with my patch).

*** This bug has been marked as a duplicate of bug 82395 ***
>From gcc-bugs-return-577774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:54:23 2017
Return-Path: <gcc-bugs-return-577774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71451 invoked by alias); 9 Oct 2017 08:54: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 71393 invoked by uid 48); 9 Oct 2017 08:54:19 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82422] [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:248
Date: Mon, 09 Oct 2017 08: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82422-4-pQgtrDrw9K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82422-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00834.txt.bz2
Content-length: 440

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

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

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
New bug for this.
>From gcc-bugs-return-577775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 08:55:14 2017
Return-Path: <gcc-bugs-return-577775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75956 invoked by alias); 9 Oct 2017 08:55: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 75919 invoked by uid 48); 9 Oct 2017 08:55:10 -0000
From: "alexander.samoylov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82448] GCC web guide contains wrong information about Werror
Date: Mon, 09 Oct 2017 08:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 4.3.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alexander.samoylov 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: resolution
Message-ID: <bug-82448-4-iQNLD5pQ4J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82448-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82448-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00835.txt.bz2
Content-length: 441

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

Alexander Samoilov <alexander.samoylov at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |FIXED

--- Comment #3 from Alexander Samoilov <alexander.samoylov at gmail dot com> ---
Thank you for the information.
--
BR,
Alexander.
>From gcc-bugs-return-577776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:06:00 2017
Return-Path: <gcc-bugs-return-577776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57458 invoked by alias); 9 Oct 2017 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 54617 invoked by uid 48); 9 Oct 2017 09:05:55 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/82476] C++: Inlining fails for a simple function
Date: Mon, 09 Oct 2017 09:06: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.2.0
X-Bugzilla-Keywords: missed-optimization
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-82476-4-Fwow9gOTmC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82476-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82476-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00836.txt.bz2
Content-length: 321

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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> Note GCC knows main can only be called once (calling main more than once in
> C/C++ is undefined IIRC)

It's undefined in C++, I don't think it is in C.
>From gcc-bugs-return-577777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:11:22 2017
Return-Path: <gcc-bugs-return-577777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62394 invoked by alias); 9 Oct 2017 09:11: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 62320 invoked by uid 48); 9 Oct 2017 09:11:17 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82481] dangling reference in mutex:693
Date: Mon, 09 Oct 2017 09: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: 7.0.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:
Message-ID: <bug-82481-4-p1w60Sfaak@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00837.txt.bz2
Content-length: 364

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It is a dangling pointer, but it can't be dereferenced, so it doesn't matter.

It's only used by std::call_once and will be set to a different local variable
by the next call. We could zero the pointer, but it would be a waste of cycles.
>From gcc-bugs-return-577778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:12:25 2017
Return-Path: <gcc-bugs-return-577778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64406 invoked by alias); 9 Oct 2017 09:12: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 64260 invoked by uid 48); 9 Oct 2017 09:12:21 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82481] dangling reference in mutex:693
Date: Mon, 09 Oct 2017 09: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: 7.0.1
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-82481-4-crDVq3DPmN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00838.txt.bz2
Content-length: 572

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

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> ---
(In reply to heinzisoft from comment #0)
> Building the following minimal example with libstdc++ 7.0.1

And why are you using that unsupported version?
>From gcc-bugs-return-577779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:15:39 2017
Return-Path: <gcc-bugs-return-577779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61877 invoked by alias); 9 Oct 2017 09: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 55649 invoked by uid 48); 9 Oct 2017 09:15:34 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82487] New: Change generic "attachment too big" message
Date: Mon, 09 Oct 2017 09:15: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: unknown
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 cc target_milestone
Message-ID: <bug-82487-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00839.txt.bz2
Content-length: 1381

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

            Bug ID: 82487
           Summary: Change generic "attachment too big" message
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
                CC: LpSolit at netscape dot net
  Target Milestone: ---

When users attempt to upload an attachment that is too large they get a message
telling them to put the file online somewhere and attach a URL to bugzilla.
This is bad in several ways:

- we don't want testcases provided via URLs to external resources that might
disappear at any time, see https://gcc.gnu.org/bugs/ which is clear we want the
preprocessed source attached here;
- adding the URL as the attachment is just stupid and requires unnecessary
clicks to view it. URLs are better in comments, not as attachments;
- we should tell users to try compressing the file using gzip, bzip2, or
something like that, because the compressed file is almost always small enough;
- we should point them to
https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction as well.

Please could we change that message so it doesn't contradict
https://gcc.gnu.org/bugs/ and so it says to try compression and/or reduction?
>From gcc-bugs-return-577781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:29:18 2017
Return-Path: <gcc-bugs-return-577781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24875 invoked by alias); 9 Oct 2017 09:29: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 24793 invoked by uid 48); 9 Oct 2017 09:29:14 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82451] [GRAPHITE] codegen error in get_rename_from_scev
Date: Mon, 09 Oct 2017 09: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: 8.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: cc
Message-ID: <bug-82451-4-FMD6NZBMA0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82451-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00841.txt.bz2
Content-length: 446

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

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

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 82486 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-577780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:29:18 2017
Return-Path: <gcc-bugs-return-577780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24867 invoked by alias); 9 Oct 2017 09:29: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 24778 invoked by uid 48); 9 Oct 2017 09:29:13 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82486] [8 Regression][graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c
Date: Mon, 09 Oct 2017 09: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: 8.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: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82486-4-oNqDk57ojR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82486-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82486-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00840.txt.bz2
Content-length: 493

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

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

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 82451 ***
>From gcc-bugs-return-577782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:29:40 2017
Return-Path: <gcc-bugs-return-577782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26393 invoked by alias); 9 Oct 2017 09:29: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 26311 invoked by uid 48); 9 Oct 2017 09:29:36 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82451] [GRAPHITE] codegen error in get_rename_from_scev
Date: Mon, 09 Oct 2017 09: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: 8.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-82451-4-HMpg1ga1jm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82451-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00842.txt.bz2
Content-length: 373

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Testcase from dup.

static int a[];
int b[1];
int c;
static void
d (int *f, int *g)
{
  int e;
  for (e = 0; e < 2; e++)
    g[e] = 1;
  for (e = 0; e < 2; e++)
    g[e] = f[e] + f[e + 1];
}
void
h ()
{
  for (;; c += 8)
    d (&a[c], b);
}
>From gcc-bugs-return-577783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:39:32 2017
Return-Path: <gcc-bugs-return-577783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36242 invoked by alias); 9 Oct 2017 09: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 36151 invoked by uid 48); 9 Oct 2017 09:39:27 -0000
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82360] [8 Regression]  tree check fail in get_inner_reference, at expr.c:6996
Date: Mon, 09 Oct 2017 09: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: burnus at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82360-4-dqP0FWnJ0P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82360-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82360-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00843.txt.bz2
Content-length: 1518

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

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

--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> ---
[Still occurs with today's Rev. 253536.]

Bisecting (for comment 2) points to:

https://gcc.gnu.org/viewcvs?rev=253266&root=gcc&view=rev
commit 4cedc476c94a41551d965bc57fbbe0186983c3c4

Author: jason
Date:   Thu Sep 28 19:39:45 2017 +0000

            PR c++/56973, DR 696 - capture constant variables only as needed.

            * expr.c (mark_use): Split out from mark_rvalue_use and
            mark_lvalue_use.  Handle lambda capture of constant variables.
            (mark_lvalue_use_nonread): New.
            * semantics.c (process_outer_var_ref): Don't capture a constant
            variable until forced.
            * pt.c (processing_nonlambda_template): New.
            * call.c (build_this): Check it.
            * decl2.c (grok_array_decl): Call mark_rvalue_use and
            mark_lvalue_use_nonread.
            * init.c (constant_value_1): Don't call mark_rvalue_use.
            * typeck.c (build_static_cast): Handle lambda capture.

    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253266
138bc75d-0d04-0410-961f-82ee72b054a4
>From gcc-bugs-return-577784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 09:42:21 2017
Return-Path: <gcc-bugs-return-577784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45374 invoked by alias); 9 Oct 2017 09: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 44162 invoked by uid 55); 9 Oct 2017 09:42:16 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug hsa/82416] Miscompilation due to HSA BE expanding all sub-integer types to integer types
Date: Mon, 09 Oct 2017 09:42: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: 8.0
X-Bugzilla-Keywords:
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-82416-4-7uIN5OnrJf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82416-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00844.txt.bz2
Content-length: 2577

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

--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Mon Oct  9 09:41:44 2017
New Revision: 253538

URL: https://gcc.gnu.org/viewcvs?rev=253538&root=gcc&view=rev
Log:
[PR 82416] Do not extend operands to at least 32 bits

2017-10-09  Martin Jambor  <mjambor@suse.cz>

        PR hsa/82416
gcc/
        * hsa-common.h (hsa_op_with_type): New method extend_int_to_32bit.
        * hsa-gen.c (hsa_extend_inttype_to_32bit): New function.
        (hsa_type_for_scalar_tree_type): Use it.  Always force min32int for
        COMPLEX types.
        (hsa_fixup_mov_insn_type): New function.
        (hsa_op_with_type::get_in_type): Use it.
        (hsa_build_append_simple_mov): Likewise.  Allow sub-32bit
        immediates in an assert.
        (hsa_op_with_type::extend_int_to_32bit): New method.
        (gen_hsa_insns_for_bitfield): Fixup instruction and intermediary
        types.  Convert to dest type if necessary.
        (gen_hsa_insns_for_bitfield_load): Fixup load type if necessary.
        (reg_for_gimple_ssa): Pass false as min32int to
        hsa_type_for_scalar_tree_type.
        (gen_hsa_addr): Fixup type when creating addresable temporary.
        (gen_hsa_cmp_insn_from_gimple): Extend operands if necessary.
        (gen_hsa_unary_operation): Extend operands and convert to dest type if
        necessary.  Call hsa_fixup_mov_insn_type.
        (gen_hsa_binary_operation): Changed operand types to hsa_op_with_type,
        extend operands and convert to dest type if necessary.
        (gen_hsa_insns_for_operation_assignment): Extend operands and convert
        to dest type if necessary.
        (set_output_in_type): Call hsa_fixup_mov_insn_type.  Just ude dest
        if conversion nt necessary and size matches.
        (gen_hsa_insns_for_load): Call hsa_fixup_mov_insn_type, convert
        to dest type if necessary.
        (gen_hsa_insns_for_store): Call hsa_fixup_mov_insn_type.
        (gen_hsa_insns_for_switch_stmt): Likewise. Also extend operands if
        necessary.
        (gen_hsa_clrsb): Likewise.
        (gen_hsa_ffs): Likewise.
        (gen_hsa_divmod): Extend operands and convert to dest type if
        necessary.
        (gen_hsa_atomic_for_builtin): Change type of op to hsa_op_with_type.

libgomp/
        * testsuite/libgomp.hsa.c/pr82416.c: New test.


Added:
    trunk/libgomp/testsuite/libgomp.hsa.c/pr82416.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/hsa-common.h
    trunk/gcc/hsa-gen.c
    trunk/libgomp/ChangeLog
>From gcc-bugs-return-577785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:24:40 2017
Return-Path: <gcc-bugs-return-577785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36133 invoked by alias); 9 Oct 2017 10: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 34741 invoked by uid 48); 9 Oct 2017 10:24:35 -0000
From: "arun11299 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/82476] C++: Inlining fails for a simple function
Date: Mon, 09 Oct 2017 10:24: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.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arun11299 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-82476-4-mYDJoRnlzE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82476-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82476-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00845.txt.bz2
Content-length: 320

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

--- Comment #6 from Arun Muralidharan <arun11299 at gmail dot com> ---
I understand your point on why it chose not to be inlined. I was doing a micro
benchmark for a sample application (a interview question basically) and thats
when this issue came up.

Thanks.
>From gcc-bugs-return-577786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:36:35 2017
Return-Path: <gcc-bugs-return-577786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84612 invoked by alias); 9 Oct 2017 10:36: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 78838 invoked by uid 48); 9 Oct 2017 10:36:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82483] ICE on invalid use w/ -mno-mmx
Date: Mon, 09 Oct 2017 10: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: ice-on-invalid-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:
Message-ID: <bug-82483-4-aTwl5Ctq97@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82483-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82483-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00846.txt.bz2
Content-length: 2807

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
More complete testcase, all of these ICE individually (except f19) with -mssse3
-mno-mmx:

#include <x86intrin.h>

void f1 (__m64 x, __m64 y, char *z) { _mm_maskmove_si64 (x, y, z); }
int f2 (__m64 x) { return _mm_extract_pi16 (x, 1); }
__m64 f3 (__m64 x, int y) { return _mm_insert_pi16 (x, y, 1); }
__m64 f4 (__m128 x) { return _mm_cvtps_pi32 (x); }
__m64 f5 (__m128 x) { return _mm_cvttps_pi32 (x); }
__m128 f6 (__m128 x, __m64 y) { return _mm_cvtpi32_ps (x, y); }
__m64 f7 (__m64 x, __m64 y) { return _mm_avg_pu8 (x, y); }
__m64 f8 (__m64 x, __m64 y) { return _mm_avg_pu16 (x, y); }
__m64 f9 (__m64 x, __m64 y) { return _mm_mulhi_pu16 (x, y); }
__m64 f10 (__m64 x, __m64 y) { return _mm_max_pu8 (x, y); }
__m64 f11 (__m64 x, __m64 y) { return _mm_max_pi16 (x, y); }
__m64 f12 (__m64 x, __m64 y) { return _mm_min_pu8 (x, y); }
__m64 f13 (__m64 x, __m64 y) { return _mm_min_pi16 (x, y); }
__m64 f14 (__m64 x, __m64 y) { return _mm_sad_pu8 (x, y); }
int f15 (__m64 x) { return _mm_movemask_pi8 (x); }
__m64 f16 (__m64 x) { return _mm_shuffle_pi16 (x, 1); }
__m64 f17 (__m128d x) { return _mm_cvtpd_pi32 (x); }
__m64 f18 (__m128d x) { return _mm_cvttpd_pi32 (x); }
__m128d f19 (__m64 x) { return _mm_cvtpi32_pd (x); }
__m64 f20 (__m64 x, __m64 y) { return _mm_mul_su32 (x, y); }
__m64 f21 (__m64 x) { return _mm_abs_pi8 (x); }
__m64 f22 (__m64 x) { return _mm_abs_pi16 (x); }
__m64 f23 (__m64 x) { return _mm_abs_pi32 (x); }
__m64 f24 (__m64 x, __m64 y) { return _mm_hadd_pi16 (x, y); }
__m64 f25 (__m64 x, __m64 y) { return _mm_hadd_pi32 (x, y); }
__m64 f26 (__m64 x, __m64 y) { return _mm_hadds_pi16 (x, y); }
__m64 f27 (__m64 x, __m64 y) { return _mm_hsub_pi16 (x, y); }
__m64 f28 (__m64 x, __m64 y) { return _mm_hsub_pi32 (x, y); }
__m64 f29 (__m64 x, __m64 y) { return _mm_hsubs_pi16 (x, y); }
__m64 f30 (__m64 x, __m64 y) { return _mm_maddubs_pi16 (x, y); }
__m64 f31 (__m64 x, __m64 y) { return _mm_mulhrs_pi16 (x, y); }
__m64 f32 (__m64 x, __m64 y) { return _mm_shuffle_pi8 (x, y); }
__m64 f33 (__m64 x, __m64 y) { return _mm_sign_pi8 (x, y); }
__m64 f34 (__m64 x, __m64 y) { return _mm_sign_pi16 (x, y); }
__m64 f35 (__m64 x, __m64 y) { return _mm_sign_pi32 (x, y); }

These are all SSE or SSE2 or SSSE3 instructions don't require MMX CPUID, but
actually have (or in case of f6/f19 might have, the input allows memory operand
too; note f6 still ICEs though) MMX register operand(s), so with -mno-mmx can't
really work, as ix86_vector_mode_supported_p will return false for the
V2SI/V4HI/V8QImode.

I think easiest would be to require both {SSE/SSE2/SSSE3} and MMX ISAs for
these, turning a -mno-mmx switch into a hard request to never use %mm0-%mm7
registers for anything.
>From gcc-bugs-return-577787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:46:24 2017
Return-Path: <gcc-bugs-return-577787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46876 invoked by alias); 9 Oct 2017 10: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 46816 invoked by uid 48); 9 Oct 2017 10:46:20 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82440] [8 regression] ICE in aarch64_simd_valid_immediate
Date: Mon, 09 Oct 2017 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: build, ice-on-valid-code
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82440-4-6CRYqJ5Ro5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82440-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82440-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00847.txt.bz2
Content-length: 434

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

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

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

--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Fixed
>From gcc-bugs-return-577788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:52:03 2017
Return-Path: <gcc-bugs-return-577788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53971 invoked by alias); 9 Oct 2017 10:52: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 53860 invoked by uid 48); 9 Oct 2017 10:51:58 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82464] s390x z14: vector float: invalid parameter combination for intrinsic '__builtin_s390_vec_xor'
Date: Mon, 09 Oct 2017 10:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
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-82464-4-sem4DQf2lk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82464-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00848.txt.bz2
Content-length: 1112

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

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-09
     Ever confirmed|0                           |1

--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> ought to fix it.  I'm just don't see any vec_{and,or,xor} tests in the
> testsuite, so dunno where to add test for this.

Yes that's the right fix. Feel free to commit it (without testcase).

wrt testcases: Message understood :) I really need to add testcases checking at
least the valid signatures. I plan to generate these from the documentation but
I cannot do this before the IBM z14 document has been published.

Current version can be found here (but does not cover z14 yet):
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.cbcpx01/vectorsupport.htm
>From gcc-bugs-return-577789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:58:50 2017
Return-Path: <gcc-bugs-return-577789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73664 invoked by alias); 9 Oct 2017 10: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 73593 invoked by uid 48); 9 Oct 2017 10:58:45 -0000
From: "LpSolit at netscape dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82487] Change generic "attachment too big" message
Date: Mon, 09 Oct 2017 10:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: LpSolit at netscape dot net
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: LpSolit at netscape dot net
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution assigned_to
Message-ID: <bug-82487-4-itKy5ErD01@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82487-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00849.txt.bz2
Content-length: 540

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

Frédéric Buclin <LpSolit at netscape dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |LpSolit at netscape dot net

--- Comment #1 from Frédéric Buclin <LpSolit at netscape dot net> ---
Done.
>From gcc-bugs-return-577790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 10:59:04 2017
Return-Path: <gcc-bugs-return-577790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74882 invoked by alias); 9 Oct 2017 10:59: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 74462 invoked by uid 48); 9 Oct 2017 10:58:58 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82445] ARM target generates unaligned STRD instruction
Date: Mon, 09 Oct 2017 10: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: 7.1.1
X-Bugzilla-Keywords: 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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82445-4-Jt7PP9WwIk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00850.txt.bz2
Content-length: 261

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

--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
looks like gen_operands_ldrd_strd should be checking for this and failing if
the alignment is not suitable for the target architecture.
>From gcc-bugs-return-577791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:10:00 2017
Return-Path: <gcc-bugs-return-577791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42194 invoked by alias); 9 Oct 2017 11:09: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 42146 invoked by uid 48); 9 Oct 2017 11:09:56 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82487] Change generic "attachment too big" message
Date: Mon, 09 Oct 2017 11:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: unknown
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: LpSolit at netscape dot net
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82487-4-xaIHc5ha1a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82487-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00851.txt.bz2
Content-length: 128

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks!
>From gcc-bugs-return-577792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:10:04 2017
Return-Path: <gcc-bugs-return-577792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42581 invoked by alias); 9 Oct 2017 11: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 42170 invoked by uid 48); 9 Oct 2017 11:09:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82483] ICE on invalid use w/ -mno-mmx
Date: Mon, 09 Oct 2017 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: unknown
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-82483-4-NdeGaqeSM8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82483-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82483-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00852.txt.bz2
Content-length: 689

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-09
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

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

Untested fix.
>From gcc-bugs-return-577793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:31:15 2017
Return-Path: <gcc-bugs-return-577793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72758 invoked by alias); 9 Oct 2017 11: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 72249 invoked by uid 48); 9 Oct 2017 11:31:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82488] New: UBSAN in gcc/expr.c:4098:17: runtime error: signed integer overflow: 0 - -9223372036854775808 cannot be represented in type 'long int'
Date: Mon, 09 Oct 2017 11:31: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: 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-82488-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00853.txt.bz2
Content-length: 886

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

            Bug ID: 82488
           Summary: UBSAN in gcc/expr.c:4098:17: runtime error: signed
                    integer overflow: 0 - -9223372036854775808 cannot be
                    represented in type 'long int'
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Following overflows:

$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr17397.c -c 
../../gcc/expr.c:4098:17: runtime error: signed integer overflow: 0 -
-9223372036854775808 cannot be represented in type 'long int'

(and many other where we have an array allocated with alloca (VLA).
>From gcc-bugs-return-577794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:37:46 2017
Return-Path: <gcc-bugs-return-577794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63880 invoked by alias); 9 Oct 2017 11: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 56286 invoked by uid 48); 9 Oct 2017 11:37:42 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82489] New: UBSAN in gcc/dbxout.c:676:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'
Date: Mon, 09 Oct 2017 11:37: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: 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-82489-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00854.txt.bz2
Content-length: 840

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

            Bug ID: 82489
           Summary: UBSAN in gcc/dbxout.c:676:14: runtime error: negation
                    of -9223372036854775808 cannot be represented in type
                    'long int'
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

With bootstrap-ubsan I can see:

$ ./xgcc -B.
/home/marxin/Programming/gcc2/gcc/testsuite/gcc.dg/debug/20000503-1.c -gstabs1
../../gcc/dbxout.c:676:14: runtime error: negation of -9223372036854775808
cannot be represented in type 'long int'; cast to an unsigned type to negate
this value to itself
>From gcc-bugs-return-577795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:37:53 2017
Return-Path: <gcc-bugs-return-577795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69345 invoked by alias); 9 Oct 2017 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 66408 invoked by uid 48); 9 Oct 2017 11:37:48 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82490] New: Please don't error out on unknown no_sanitize attributes.
Date: Mon, 09 Oct 2017 11: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82490-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00855.txt.bz2
Content-length: 1219

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

            Bug ID: 82490
           Summary: Please don't error out on unknown no_sanitize
                    attributes.
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels 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: ---

markus@x4 ~ % cat test.ii
__attribute__((no_sanitize("function"))) void foo() {}

markus@x4 ~ % clang++ -c test.ii
(trunk:)
markus@x4 ~ % g++ -c test.ii
test.ii:1:51: error: wrong argument: "function"
 __attribute__((no_sanitize("function"))) void foo() {}
                                                   ^

markus@x4 ~ % /usr/x86_64-pc-linux-gnu/gcc-bin/7.2.1/g++ -c test.ii
test.ii:1:51: warning: ‘no_sanitize’ attribute directive ignored [-Wattributes]
 __attribute__((no_sanitize("function"))) void foo() {}
                                                   ^
>From gcc-bugs-return-577797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:41:31 2017
Return-Path: <gcc-bugs-return-577797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119565 invoked by alias); 9 Oct 2017 11:41: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 119465 invoked by uid 48); 9 Oct 2017 11:41:20 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82490] Please don't error out on unknown no_sanitize attributes.
Date: Mon, 09 Oct 2017 11:41: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: marxin 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-82490-4-9iqkLcR3Sh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82490-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00857.txt.bz2
Content-length: 573

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-09
           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> ---
I'll do it.
>From gcc-bugs-return-577796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:41:01 2017
Return-Path: <gcc-bugs-return-577796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118530 invoked by alias); 9 Oct 2017 11:41: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 118446 invoked by uid 55); 9 Oct 2017 11:40:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82464] s390x z14: vector float: invalid parameter combination for intrinsic '__builtin_s390_vec_xor'
Date: Mon, 09 Oct 2017 11: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82464-4-TiIh7Bhq4D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82464-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00856.txt.bz2
Content-length: 477

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Oct  9 11:40:23 2017
New Revision: 253541

URL: https://gcc.gnu.org/viewcvs?rev=253541&root=gcc&view=rev
Log:
        PR target/82464
        * config/s390/s390-builtins.def (s390_vec_xor_flt_a,
        s390_vec_xor_flt_b, s390_vec_xor_flt_c): New.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/s390-builtins.def
>From gcc-bugs-return-577798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:46:34 2017
Return-Path: <gcc-bugs-return-577798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118131 invoked by alias); 9 Oct 2017 11:46: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 118094 invoked by uid 48); 9 Oct 2017 11:46:29 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82491] New: UBSAN in gcc/gimple-fold.c:6187:6: runtime error: signed integer overflow: 9223372036854775807 * 8 cannot be represented in type 'long int'
Date: Mon, 09 Oct 2017 11: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: 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-82491-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00858.txt.bz2
Content-length: 7953

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

            Bug ID: 82491
           Summary: UBSAN in gcc/gimple-fold.c:6187:6: runtime error:
                    signed integer overflow: 9223372036854775807 * 8
                    cannot be represented in type 'long int'
           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: ---

With bootstrap-ubsan I see:

$ UBSAN_OPTIONS="print_stacktrace=1" ./xgcc -B.
/home/marxin/Programming/gcc2/gcc/testsuite/c-c++-common/ubsan/ptr-overflow-sanitization-1.c
-fsanitize=undefined -O3 -g
../../gcc/gimple-fold.c:6187:6: runtime error: signed integer overflow:
9223372036854775807 * 8 cannot be represented in type 'long int'
    #0 0x120ea4d in get_base_constructor ../../gcc/gimple-fold.c:6187
    #1 0x121127f in fold_const_aggregate_ref_1(tree_node*, tree_node*
(*)(tree_node*)) ../../gcc/gimple-fold.c:6509
    #2 0x1211684 in fold_const_aggregate_ref(tree_node*)
../../gcc/gimple-fold.c:6548
    #3 0x11ef391 in maybe_fold_reference ../../gcc/gimple-fold.c:296
    #4 0x1207bd2 in fold_stmt_1 ../../gcc/gimple-fold.c:4651
    #5 0x1207fc9 in fold_stmt(gimple_stmt_iterator*, tree_node*
(*)(tree_node*)) ../../gcc/gimple-fold.c:4739
    #6 0x2226772 in
substitute_and_fold_dom_walker::before_dom_children(basic_block_def*)
../../gcc/tree-ssa-propagate.c:1072
    #7 0x36f262c in dom_walker::walk(basic_block_def*) ../../gcc/domwalk.c:308
    #8 0x2227186 in substitute_and_fold(tree_node* (*)(tree_node*), bool
(*)(gimple_stmt_iterator*)) ../../gcc/tree-ssa-propagate.c:1188
    #9 0x2048303 in ccp_finalize ../../gcc/tree-ssa-ccp.c:960
    #10 0x2054465 in do_ssa_ccp ../../gcc/tree-ssa-ccp.c:2437
    #11 0x205477a in execute ../../gcc/tree-ssa-ccp.c:2480
    #12 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495
    #13 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584
    #14 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #15 0x18f2d1f in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2595
    #16 0x18ed2ef in do_per_function_toporder(void (*)(function*, void*),
void*) ../../gcc/passes.c:1737
    #17 0x18f5266 in execute_ipa_pass_list(opt_pass*) ../../gcc/passes.c:2935
    #18 0xd36f41 in ipa_passes ../../gcc/cgraphunit.c:2399
    #19 0xd37db5 in symbol_table::compile() ../../gcc/cgraphunit.c:2534
    #20 0xd38958 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2692
    #21 0x1cdc527 in compile_file ../../gcc/toplev.c:481
    #22 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037
    #23 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172
    #24 0x3aaf9e0 in main ../../gcc/main.c:39
    #25 0x14eeb648cf49 in __libc_start_main (/lib64/libc.so.6+0x20f49)
    #26 0x7d93b9 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9)

../../gcc/dwarf2out.c:13598:15: runtime error: signed integer overflow:
9223372036854775789 + 48 cannot be represented in type 'long int'
    #0 0xea2524 in based_loc_descr ../../gcc/dwarf2out.c:13598
    #1 0xeb0bfd in mem_loc_descriptor(rtx_def*, machine_mode, machine_mode,
var_init_status) ../../gcc/dwarf2out.c:15027
    #2 0xeb93ed in loc_descriptor ../../gcc/dwarf2out.c:15974
    #3 0xeb70d8 in loc_descriptor ../../gcc/dwarf2out.c:15784
    #4 0xeb9cb2 in dw_loc_list_1 ../../gcc/dwarf2out.c:16069
    #5 0xebb348 in dw_loc_list ../../gcc/dwarf2out.c:16339
    #6 0xebff4b in loc_list_from_tree_1 ../../gcc/dwarf2out.c:17454
    #7 0xec33a8 in loc_list_from_tree ../../gcc/dwarf2out.c:18058
    #8 0xecbe1a in add_location_or_const_value_attribute
../../gcc/dwarf2out.c:19263
    #9 0xee0ca2 in gen_variable_die ../../gcc/dwarf2out.c:22928
    #10 0xef0500 in gen_decl_die ../../gcc/dwarf2out.c:25393
    #11 0xeecf4a in process_scope_var ../../gcc/dwarf2out.c:24849
    #12 0xeed02c in decls_for_scope ../../gcc/dwarf2out.c:24875
    #13 0xedcab0 in gen_subprogram_die ../../gcc/dwarf2out.c:22421
    #14 0xeefd6a in gen_decl_die ../../gcc/dwarf2out.c:25310
    #15 0xef296b in dwarf2out_decl ../../gcc/dwarf2out.c:25852
    #16 0xef29f4 in dwarf2out_function_decl ../../gcc/dwarf2out.c:25867
    #17 0x1090964 in rest_of_handle_final ../../gcc/final.c:4520
    #18 0x1090f80 in execute ../../gcc/final.c:4562
    #19 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495
    #20 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584
    #21 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #22 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #23 0x18f2d1f in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2595
    #24 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115
    #25 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251
    #26 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599
    #27 0xd38958 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2692
    #28 0x1cdc527 in compile_file ../../gcc/toplev.c:481
    #29 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037
    #30 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172
    #31 0x3aaf9e0 in main ../../gcc/main.c:39
    #32 0x14eeb648cf49 in __libc_start_main (/lib64/libc.so.6+0x20f49)
    #33 0x7d93b9 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9)

../../gcc/dwarf2out.c:13623:11: runtime error: signed integer overflow:
-9223372036854775779 + -48 cannot be represented in type 'long int'
    #0 0xea2a10 in based_loc_descr ../../gcc/dwarf2out.c:13623
    #1 0xeb0bfd in mem_loc_descriptor(rtx_def*, machine_mode, machine_mode,
var_init_status) ../../gcc/dwarf2out.c:15027
    #2 0xeb93ed in loc_descriptor ../../gcc/dwarf2out.c:15974
    #3 0xeb70d8 in loc_descriptor ../../gcc/dwarf2out.c:15784
    #4 0xeb9cb2 in dw_loc_list_1 ../../gcc/dwarf2out.c:16069
    #5 0xebb348 in dw_loc_list ../../gcc/dwarf2out.c:16339
    #6 0xebff4b in loc_list_from_tree_1 ../../gcc/dwarf2out.c:17454
    #7 0xec33a8 in loc_list_from_tree ../../gcc/dwarf2out.c:18058
    #8 0xecbe1a in add_location_or_const_value_attribute
../../gcc/dwarf2out.c:19263
    #9 0xee0ca2 in gen_variable_die ../../gcc/dwarf2out.c:22928
    #10 0xef0500 in gen_decl_die ../../gcc/dwarf2out.c:25393
    #11 0xeecf4a in process_scope_var ../../gcc/dwarf2out.c:24849
    #12 0xeed02c in decls_for_scope ../../gcc/dwarf2out.c:24875
    #13 0xedcab0 in gen_subprogram_die ../../gcc/dwarf2out.c:22421
    #14 0xeefd6a in gen_decl_die ../../gcc/dwarf2out.c:25310
    #15 0xef296b in dwarf2out_decl ../../gcc/dwarf2out.c:25852
    #16 0xef29f4 in dwarf2out_function_decl ../../gcc/dwarf2out.c:25867
    #17 0x1090964 in rest_of_handle_final ../../gcc/final.c:4520
    #18 0x1090f80 in execute ../../gcc/final.c:4562
    #19 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495
    #20 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584
    #21 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #22 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #23 0x18f2d1f in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2595
    #24 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115
    #25 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251
    #26 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599
    #27 0xd38958 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2692
    #28 0x1cdc527 in compile_file ../../gcc/toplev.c:481
    #29 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037
    #30 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172
    #31 0x3aaf9e0 in main ../../gcc/main.c:39
    #32 0x14eeb648cf49 in __libc_start_main (/lib64/libc.so.6+0x20f49)
    #33 0x7d93b9 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9)
>From gcc-bugs-return-577799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:47:35 2017
Return-Path: <gcc-bugs-return-577799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119216 invoked by alias); 9 Oct 2017 11:47: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 119177 invoked by uid 48); 9 Oct 2017 11:47:31 -0000
From: "gcc at lanrules dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82492] New: ICE Segmentation fault
Date: Mon, 09 Oct 2017 11:47: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at lanrules 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-82492-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00859.txt.bz2
Content-length: 1655

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

            Bug ID: 82492
           Summary: ICE Segmentation fault
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc at lanrules dot de
  Target Milestone: ---

Created attachment 42328
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42328&action=edit
gcc stderr

I build a python package, matplotlib 1.4.3, obtainable at
https://github.com/matplotlib/matplotlib/archive/v1.4.3.tar.gz

The call to `python2 setup.py build` in the extracted directory leads to this
call:

gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector-strong -fno-plt -fPIC
-PY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
-I/usr/lib/python2.7/site-packages/numpy/core/include
-I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/libpng16
-I/usr/local/include -I/usr/include -I. -Iextern -I/usr/include/python2.7 -c
src/_png.cpp -o build/temp.linux-x86_64-2.7/src/_png.o

This call leads to the output:
src/_png.cpp: In member function ‘Py::Object _png_module::write_png(const
Py::Tuple&)’:
src/_png.cpp:103:12: internal compiler error: Segmentation fault
 Py::Object _png_module::write_png(const Py::Tuple& args)
            ^~~~~~~~~~~


Please find the full output (with -v -save-temps) attached, as well as the
corresponding .ii file.
>From gcc-bugs-return-577800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:49:09 2017
Return-Path: <gcc-bugs-return-577800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121100 invoked by alias); 9 Oct 2017 11: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 120975 invoked by uid 48); 9 Oct 2017 11:48:56 -0000
From: "gcc at lanrules dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82492] ICE Segmentation fault
Date: Mon, 09 Oct 2017 11: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at lanrules 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-82492-4-0LEhLjhpSv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00860.txt.bz2
Content-length: 219

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

--- Comment #1 from gcc at lanrules dot de ---
Created attachment 42329
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42329&action=edit
preprocessed file
>From gcc-bugs-return-577801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:49:13 2017
Return-Path: <gcc-bugs-return-577801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121607 invoked by alias); 9 Oct 2017 11: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 121209 invoked by uid 48); 9 Oct 2017 11:49:09 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82493] New: UBSAN in gcc/sbitmap.c:368:28: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'
Date: Mon, 09 Oct 2017 11: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: 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
Message-ID: <bug-82493-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00861.txt.bz2
Content-length: 2442

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

            Bug ID: 82493
           Summary: UBSAN in gcc/sbitmap.c:368:28: runtime error: shift
                    exponent 64 is too large for 64-bit type 'long
                    unsigned int'
           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
                CC: law at gcc dot gnu.org
  Target Milestone: ---

With bootstrap-ubsan I see:

UBSAN_OPTIONS="print_stacktrace=1" ./xgcc -B.
/home/marxin/Programming/gcc2/gcc/testsuite/gcc.dg/vect/pr79920.c  -O3
-fno-vect-cost-model
../../gcc/sbitmap.c:368:28: runtime error: shift exponent 64 is too large for
64-bit type 'long unsigned int'
    #0 0x3b424ba in bitmap_bit_in_range_p(simple_bitmap_def const*, unsigned
int, unsigned int) ../../gcc/sbitmap.c:368
    #1 0x20a3533 in live_bytes_read ../../gcc/tree-ssa-dse.c:496
    #2 0x20a390f in dse_classify_store ../../gcc/tree-ssa-dse.c:594
    #3 0x20a45e7 in dse_dom_walker::dse_optimize_stmt(gimple_stmt_iterator*)
../../gcc/tree-ssa-dse.c:820
    #4 0x20a47d1 in dse_dom_walker::before_dom_children(basic_block_def*)
../../gcc/tree-ssa-dse.c:852
    #5 0x36f262c in dom_walker::walk(basic_block_def*) ../../gcc/domwalk.c:308
    #6 0x20a4b49 in execute ../../gcc/tree-ssa-dse.c:906
    #7 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495
    #8 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584
    #9 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #10 0x18f2d1f in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2595
    #11 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115
    #12 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251
    #13 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599
    #14 0xd38958 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2692
    #15 0x1cdc527 in compile_file ../../gcc/toplev.c:481
    #16 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037
    #17 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172
    #18 0x3aaf9e0 in main ../../gcc/main.c:39
    #19 0x14f842659f49 in __libc_start_main (/lib64/libc.so.6+0x20f49)
    #20 0x7d93b9 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9)
>From gcc-bugs-return-577802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:51:29 2017
Return-Path: <gcc-bugs-return-577802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124019 invoked by alias); 9 Oct 2017 11:51: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 123971 invoked by uid 48); 9 Oct 2017 11:51:23 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82494] New: UBSAN in gcc/tree-data-ref.c:3427:16: runtime error: signed integer overflow: 131072 * -131072 cannot be represented in type 'int'
Date: Mon, 09 Oct 2017 11:51: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 cc target_milestone
Message-ID: <bug-82494-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00862.txt.bz2
Content-length: 10868

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

            Bug ID: 82494
           Summary: UBSAN in gcc/tree-data-ref.c:3427:16: runtime error:
                    signed integer overflow: 131072 * -131072 cannot be
                    represented in type 'int'
           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
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

With bootstrap-ubsan I see:

$ UBSAN_OPTIONS="print_stacktrace=1" ./xgcc -B.
/home/marxin/Programming/gcc2/gcc/testsuite/gcc.dg/torture/pr60183.c -c -O3
../../gcc/tree-data-ref.c:3427:16: runtime error: signed integer overflow:
131072 * -131072 cannot be represented in type 'int'
    #0 0x3a3b770 in lambda_matrix_right_hermite ../../gcc/tree-data-ref.c:3427
    #1 0x3a3c1e3 in analyze_subscript_affine_affine
../../gcc/tree-data-ref.c:3546
    #2 0x3a3e406 in analyze_siv_subscript ../../gcc/tree-data-ref.c:3794
    #3 0x3a3f8df in analyze_overlapping_iterations
../../gcc/tree-data-ref.c:4041
    #4 0x3a42e7e in subscript_dependence_tester_1
../../gcc/tree-data-ref.c:4582
    #5 0x3a43214 in subscript_dependence_tester ../../gcc/tree-data-ref.c:4632
    #6 0x3a4361a in compute_affine_dependence(data_dependence_relation*, loop*)
../../gcc/tree-data-ref.c:4691
    #7 0x3a43b25 in compute_all_dependences(vec<data_reference*, va_heap,
vl_ptr>, vec<data_dependence_relation*, va_heap, vl_ptr>*, vec<loop*, va_heap,
vl_ptr>, bool) ../../gcc/tree-data-ref.c:4758
    #8 0x3a456c7 in compute_data_dependences_for_loop(loop*, bool, vec<loop*,
va_heap, vl_ptr>*, vec<data_reference*, va_heap, vl_ptr>*,
vec<data_dependence_relation*, va_heap, vl_ptr>*)
../../gcc/tree-data-ref.c:5156
    #9 0x1f8bc55 in tree_predictive_commoning_loop
../../gcc/tree-predcom.c:3050
    #10 0x1f8c1c2 in tree_predictive_commoning() ../../gcc/tree-predcom.c:3172
    #11 0x1f8c242 in run_tree_predictive_commoning
../../gcc/tree-predcom.c:3197
    #12 0x1f8c38d in execute ../../gcc/tree-predcom.c:3226
    #13 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495
    #14 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584
    #15 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #16 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #17 0x18f2d1f in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2595
    #18 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115
    #19 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251
    #20 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599
    #21 0xd38958 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2692
    #22 0x1cdc527 in compile_file ../../gcc/toplev.c:481
    #23 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037
    #24 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172
    #25 0x3aaf9e0 in main ../../gcc/main.c:39
    #26 0x14a79f7caf49 in __libc_start_main (/lib64/libc.so.6+0x20f49)
    #27 0x7d93b9 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9)

../../gcc/tree-data-ref.c:3350:16: runtime error: signed integer overflow:
1073741824 + 1073741824 cannot be represented in type 'int'
    #0 0x3a3af5f in lambda_matrix_row_add ../../gcc/tree-data-ref.c:3350
    #1 0x3a3b890 in lambda_matrix_right_hermite ../../gcc/tree-data-ref.c:3432
    #2 0x3a3c1e3 in analyze_subscript_affine_affine
../../gcc/tree-data-ref.c:3546
    #3 0x3a3e406 in analyze_siv_subscript ../../gcc/tree-data-ref.c:3794
    #4 0x3a3f8df in analyze_overlapping_iterations
../../gcc/tree-data-ref.c:4041
    #5 0x3a42e7e in subscript_dependence_tester_1
../../gcc/tree-data-ref.c:4582
    #6 0x3a43214 in subscript_dependence_tester ../../gcc/tree-data-ref.c:4632
    #7 0x3a4361a in compute_affine_dependence(data_dependence_relation*, loop*)
../../gcc/tree-data-ref.c:4691
    #8 0x3a43b25 in compute_all_dependences(vec<data_reference*, va_heap,
vl_ptr>, vec<data_dependence_relation*, va_heap, vl_ptr>*, vec<loop*, va_heap,
vl_ptr>, bool) ../../gcc/tree-data-ref.c:4758
    #9 0x3a456c7 in compute_data_dependences_for_loop(loop*, bool, vec<loop*,
va_heap, vl_ptr>*, vec<data_reference*, va_heap, vl_ptr>*,
vec<data_dependence_relation*, va_heap, vl_ptr>*)
../../gcc/tree-data-ref.c:5156
    #10 0x1f8bc55 in tree_predictive_commoning_loop
../../gcc/tree-predcom.c:3050
    #11 0x1f8c1c2 in tree_predictive_commoning() ../../gcc/tree-predcom.c:3172
    #12 0x1f8c242 in run_tree_predictive_commoning
../../gcc/tree-predcom.c:3197
    #13 0x1f8c38d in execute ../../gcc/tree-predcom.c:3226
    #14 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495
    #15 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584
    #16 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #17 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #18 0x18f2d1f in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2595
    #19 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115
    #20 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251
    #21 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599
    #22 0xd38958 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2692
    #23 0x1cdc527 in compile_file ../../gcc/toplev.c:481
    #24 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037
    #25 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172
    #26 0x3aaf9e0 in main ../../gcc/main.c:39
    #27 0x14a79f7caf49 in __libc_start_main (/lib64/libc.so.6+0x20f49)
    #28 0x7d93b9 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9)

../../gcc/tree-data-ref.c:3429:7: runtime error: negation of -2147483648 cannot
be represented in type 'int'; cast to an unsigned type to negate this value to
itself
    #0 0x3a3b7ca in lambda_matrix_right_hermite ../../gcc/tree-data-ref.c:3429
    #1 0x3a3c1e3 in analyze_subscript_affine_affine
../../gcc/tree-data-ref.c:3546
    #2 0x3a3e406 in analyze_siv_subscript ../../gcc/tree-data-ref.c:3794
    #3 0x3a3f8df in analyze_overlapping_iterations
../../gcc/tree-data-ref.c:4041
    #4 0x3a42e7e in subscript_dependence_tester_1
../../gcc/tree-data-ref.c:4582
    #5 0x3a43214 in subscript_dependence_tester ../../gcc/tree-data-ref.c:4632
    #6 0x3a4361a in compute_affine_dependence(data_dependence_relation*, loop*)
../../gcc/tree-data-ref.c:4691
    #7 0x3a43b25 in compute_all_dependences(vec<data_reference*, va_heap,
vl_ptr>, vec<data_dependence_relation*, va_heap, vl_ptr>*, vec<loop*, va_heap,
vl_ptr>, bool) ../../gcc/tree-data-ref.c:4758
    #8 0x3a456c7 in compute_data_dependences_for_loop(loop*, bool, vec<loop*,
va_heap, vl_ptr>*, vec<data_reference*, va_heap, vl_ptr>*,
vec<data_dependence_relation*, va_heap, vl_ptr>*)
../../gcc/tree-data-ref.c:5156
    #9 0x1f8bc55 in tree_predictive_commoning_loop
../../gcc/tree-predcom.c:3050
    #10 0x1f8c1c2 in tree_predictive_commoning() ../../gcc/tree-predcom.c:3172
    #11 0x1f8c242 in run_tree_predictive_commoning
../../gcc/tree-predcom.c:3197
    #12 0x1f8c38d in execute ../../gcc/tree-predcom.c:3226
    #13 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495
    #14 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584
    #15 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #16 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #17 0x18f2d1f in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2595
    #18 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115
    #19 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251
    #20 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599
    #21 0xd38958 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2692
    #22 0x1cdc527 in compile_file ../../gcc/toplev.c:481
    #23 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037
    #24 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172
    #25 0x3aaf9e0 in main ../../gcc/main.c:39
    #26 0x14a79f7caf49 in __libc_start_main (/lib64/libc.so.6+0x20f49)
    #27 0x7d93b9 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9)

../../gcc/tree-data-ref.c:3428:7: runtime error: negation of -2147483648 cannot
be represented in type 'int'; cast to an unsigned type to negate this value to
itself
    #0 0x3a3b7a0 in lambda_matrix_right_hermite ../../gcc/tree-data-ref.c:3428
    #1 0x3a3c1e3 in analyze_subscript_affine_affine
../../gcc/tree-data-ref.c:3546
    #2 0x3a3e406 in analyze_siv_subscript ../../gcc/tree-data-ref.c:3794
    #3 0x3a3f8df in analyze_overlapping_iterations
../../gcc/tree-data-ref.c:4041
    #4 0x3a42e7e in subscript_dependence_tester_1
../../gcc/tree-data-ref.c:4582
    #5 0x3a43214 in subscript_dependence_tester ../../gcc/tree-data-ref.c:4632
    #6 0x3a4361a in compute_affine_dependence(data_dependence_relation*, loop*)
../../gcc/tree-data-ref.c:4691
    #7 0x3a43b25 in compute_all_dependences(vec<data_reference*, va_heap,
vl_ptr>, vec<data_dependence_relation*, va_heap, vl_ptr>*, vec<loop*, va_heap,
vl_ptr>, bool) ../../gcc/tree-data-ref.c:4758
    #8 0x3a456c7 in compute_data_dependences_for_loop(loop*, bool, vec<loop*,
va_heap, vl_ptr>*, vec<data_reference*, va_heap, vl_ptr>*,
vec<data_dependence_relation*, va_heap, vl_ptr>*)
../../gcc/tree-data-ref.c:5156
    #9 0x1f8bc55 in tree_predictive_commoning_loop
../../gcc/tree-predcom.c:3050
    #10 0x1f8c1c2 in tree_predictive_commoning() ../../gcc/tree-predcom.c:3172
    #11 0x1f8c242 in run_tree_predictive_commoning
../../gcc/tree-predcom.c:3197
    #12 0x1f8c38d in execute ../../gcc/tree-predcom.c:3226
    #13 0x18f223a in execute_one_pass(opt_pass*) ../../gcc/passes.c:2495
    #14 0x18f2bcb in execute_pass_list_1 ../../gcc/passes.c:2584
    #15 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #16 0x18f2c80 in execute_pass_list_1 ../../gcc/passes.c:2585
    #17 0x18f2d1f in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2595
    #18 0xd34522 in cgraph_node::expand() ../../gcc/cgraphunit.c:2115
    #19 0xd35b07 in expand_all_functions ../../gcc/cgraphunit.c:2251
    #20 0xd38201 in symbol_table::compile() ../../gcc/cgraphunit.c:2599
    #21 0xd38958 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2692
    #22 0x1cdc527 in compile_file ../../gcc/toplev.c:481
    #23 0x1ce2c84 in do_compile ../../gcc/toplev.c:2037
    #24 0x1ce32b3 in toplev::main(int, char**) ../../gcc/toplev.c:2172
    #25 0x3aaf9e0 in main ../../gcc/main.c:39
    #26 0x14a79f7caf49 in __libc_start_main (/lib64/libc.so.6+0x20f49)
    #27 0x7d93b9 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x7d93b9)
>From gcc-bugs-return-577803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:54:25 2017
Return-Path: <gcc-bugs-return-577803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128337 invoked by alias); 9 Oct 2017 11: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 127688 invoked by uid 48); 9 Oct 2017 11:54:20 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82454] Possible future performance regression in x86 for 64-bit constant expansions
Date: Mon, 09 Oct 2017 11: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: 7.0.1
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 everconfirmed
Message-ID: <bug-82454-4-STElSPEOsW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82454-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82454-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00863.txt.bz2
Content-length: 671

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-09
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
__INT64_TYPE__ f1 (__INT64_TYPE__ i)
{
  return (((__INT64_TYPE__)1) << 63) >> i;
}

is already an existing missed optimization.
>From gcc-bugs-return-577804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 11:58:43 2017
Return-Path: <gcc-bugs-return-577804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3959 invoked by alias); 9 Oct 2017 11:58: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 3893 invoked by uid 48); 9 Oct 2017 11:58:39 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82454] Possible future performance regression in x86 for 64-bit constant expansions
Date: Mon, 09 Oct 2017 11: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: 7.0.1
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-82454-4-lFCYACJFrj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82454-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82454-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00864.txt.bz2
Content-length: 341

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note the missed-optimization is that any

 (1 << C) >> x

can be instead written as

 1 << C - x

iff we know that C - x > 0.  For C == precision(x)-1 we can infer that
directly from x being mentioned in the shift.
>From gcc-bugs-return-577805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:06:47 2017
Return-Path: <gcc-bugs-return-577805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31784 invoked by alias); 9 Oct 2017 12: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 31719 invoked by uid 55); 9 Oct 2017 12:06:43 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82465] vec_sqrt() for vector double erroneously fails for z13
Date: Mon, 09 Oct 2017 12:06:00 -0000
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: krebbel at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82465-4-zlr5IWip9c@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82465-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82465-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00865.txt.bz2
Content-length: 960

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

--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Mon Oct  9 12:06:11 2017
New Revision: 253542

URL: https://gcc.gnu.org/viewcvs?rev=253542&root=gcc&view=rev
Log:
S/390: PR82465: Fix vec_sqrt builtin flags

The vector double variant is available with z13.  A wrong flag in the
s390-builtins.def file triggered an error when compiling for z13.

gcc/testsuite/ChangeLog:

2017-10-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

        PR target/82465
        * gcc.target/s390/zvector/pr82465.c: New test.

gcc/ChangeLog:

2017-10-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

        PR target/82465
        * config/s390/s390-builtins.def (vec_sqrt): Fix builtin flags.


Added:
    trunk/gcc/testsuite/gcc.target/s390/zvector/pr82465.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/s390-builtins.def
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-577806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:08:36 2017
Return-Path: <gcc-bugs-return-577806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33799 invoked by alias); 9 Oct 2017 12:08: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 33702 invoked by uid 55); 9 Oct 2017 12:08:28 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82463] vec_madd does not map to __builtin_s390_vfmasb for z14
Date: Mon, 09 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: krebbel 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-82463-4-3sO4NONYDE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82463-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82463-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00866.txt.bz2
Content-length: 913

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

--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Mon Oct  9 12:07:54 2017
New Revision: 253543

URL: https://gcc.gnu.org/viewcvs?rev=253543&root=gcc&view=rev
Log:
S/390: PR82463: Fix vec_madd header file definition

The builtin was not correctly defined in the vecintrin.h header file.

gcc/testsuite/ChangeLog:

2017-10-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

        PR target/82463
        * gcc.target/s390/zvector/pr82463.c: New test.

gcc/ChangeLog:

2017-10-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

        PR target/82463
        * config/s390/vecintrin.h (vec_madd, vec_msub): Fix macro
        definitions.


Added:
    trunk/gcc/testsuite/gcc.target/s390/zvector/pr82463.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/vecintrin.h
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-577807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:09:10 2017
Return-Path: <gcc-bugs-return-577807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34971 invoked by alias); 9 Oct 2017 12:09: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 34897 invoked by uid 48); 9 Oct 2017 12:09:02 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82494] UBSAN in gcc/tree-data-ref.c:3427:16: runtime error: signed integer overflow: 131072 * -131072 cannot be represented in type 'int'
Date: Mon, 09 Oct 2017 12: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: unknown
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-82494-4-wzv9wJarda@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82494-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00867.txt.bz2
Content-length: 954

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-09
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think there's a dup somewhere.  We've discussed that

typedef int *lambda_vector;

is simply too optimistic.  The machinery assumes this is an arbitrary precision
integer ;)  A optimistic "fix" would be to make it int64_t, probably catching
most (if not all) practical cases (all overflows are possibly wrong-code!).

A real fix would involve either using gmp (ugh) or making a lot of routines
failable that are not right now plus using overflow-detecting math (and fail).
>From gcc-bugs-return-577808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:12:55 2017
Return-Path: <gcc-bugs-return-577808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10648 invoked by alias); 9 Oct 2017 12:12: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 5080 invoked by uid 48); 9 Oct 2017 12:12:51 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82492] [7 Regression] ICE: Segmentation fault
Date: Mon, 09 Oct 2017 12: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: 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 short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-82492-4-Zr90M85vvr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00868.txt.bz2
Content-length: 830

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-09
                 CC|                            |trippels at gcc dot gnu.org
      Known to work|                            |8.0
            Summary|ICE Segmentation fault      |[7 Regression] ICE:
                   |                            |Segmentation fault
     Ever confirmed|0                           |1
      Known to fail|                            |7.2.1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Confirmed. Reducing...
>From gcc-bugs-return-577809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:14:52 2017
Return-Path: <gcc-bugs-return-577809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50867 invoked by alias); 9 Oct 2017 12:14: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 50824 invoked by uid 48); 9 Oct 2017 12:14:47 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82491] UBSAN in gcc/gimple-fold.c:6187:6: runtime error: signed integer overflow: 9223372036854775807 * 8 cannot be represented in type 'long int'
Date: Mon, 09 Oct 2017 12: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: unknown
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-82491-4-gCeMIYpkrp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82491-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00869.txt.bz2
Content-length: 643

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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
      if (!integer_zerop (TREE_OPERAND (base, 1)))
        {
          if (!tree_fits_shwi_p (TREE_OPERAND (base, 1)))
            return NULL_TREE;

the above check isn't enough to catch overflow below.

          *bit_offset += (mem_ref_offset (base).to_short_addr ()
                          * BITS_PER_UNIT);

I suppose doing

  offset_int boff = *bit_offset + mem_ref_offset (base) * BITS_PER_UNIT;
  if (boff.fits_shwi_p ())
    *bit_offset = boff.to_short_addr ();
  else
    return NULL_TREE;

would work.
>From gcc-bugs-return-577810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:25:41 2017
Return-Path: <gcc-bugs-return-577810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71158 invoked by alias); 9 Oct 2017 12: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 64437 invoked by uid 48); 9 Oct 2017 12:25:36 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield
Date: Mon, 09 Oct 2017 12: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
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-82357-4-l2577VlFet@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00870.txt.bz2
Content-length: 1601

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Also seen when building Chromium:

../../v8/src/parsing/expression-classifier.h: In member function ‘void
v8::internal::ExpressionClassifier<Types>::Accumulate(v8::internal::ExpressionClassifier<Types>*,
unsigned int, bool)’:                                 
../../v8/src/parsing/expression-classifier.h:321:40: error: cannot bind
bitfield
‘((v8::internal::ExpressionClassifier<Types>*)this)->v8::internal::ExpressionClassifier<Types>::function_properties_’
to ‘unsigned int&’      
         function_properties_ |= inner->function_properties_;                   
                                        ^~~~~~~~~~~~~~~~~~~~                    
../../v8/src/parsing/expression-classifier.h:330:33: error: cannot bind
bitfield
‘((v8::internal::ExpressionClassifier<Types>*)this)->v8::internal::ExpressionClassifier<Types>::invalid_productions_’
to ‘unsigned int&’      
         invalid_productions_ |= errors;    
                                 ^~~~~~
>From gcc-bugs-return-577811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:31:44 2017
Return-Path: <gcc-bugs-return-577811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109230 invoked by alias); 9 Oct 2017 12: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 104786 invoked by uid 48); 9 Oct 2017 12:31:39 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield
Date: Mon, 09 Oct 2017 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.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82357-4-cXX0AlOjaH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00871.txt.bz2
Content-length: 1382

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

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
trippels@gcc67 ~ % cat _png.ii
void _setjmp(int);
void png_set_longjmp_fn();
struct SeqBase {
  virtual void m_fn1() {}
  void m_fn2() { m_fn1(); }
} a;
void write_png() {
  a.m_fn2();
  try {
    png_set_longjmp_fn();
    _setjmp(0);
  } catch (...) {
  }
}
trippels@gcc67 ~ % ~/gcc_7/usr/local/bin/g++ -c -O2 _png.ii
_png.ii: In function ‘void write_png()’:
_png.ii:7:6: internal compiler error: Segmentation fault
 void write_png() {
      ^~~~~~~~~

#0  0x00000000013474d1 in visit_use(tree_node*) ()
#1  0x0000000001345a55 in DFS(tree_node*) ()
#2  0x0000000001344630 in
sccvn_dom_walker::before_dom_children(basic_block_def*) ()
#3  0x00000000014a8835 in dom_walker::walk(basic_block_def*) ()
#4  0x0000000001342a98 in run_scc_vn(vn_lookup_kind) ()
#5  0x0000000001329537 in (anonymous namespace)::pass_fre::execute(function*)
()
#6  0x000000000120e434 in execute_one_pass(opt_pass*) ()
#7  0x0000000000893ed2 in execute_pass_list(function*, opt_pass*) [clone
.cold.77] ()
#8  0x0000000001556441 in symbol_table::compile() ()
#9  0x00000000010b3aff in symbol_table::finalize_compilation_unit() ()
#10 0x000000000159b4b0 in compile_file() ()
#11 0x0000000000f6130d in toplev::main(int, char**) ()
#12 0x0000000000f625ab in main ()
>From gcc-bugs-return-577813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:34:19 2017
Return-Path: <gcc-bugs-return-577813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11416 invoked by alias); 9 Oct 2017 12: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 6090 invoked by uid 48); 9 Oct 2017 12:34:15 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield
Date: Mon, 09 Oct 2017 12: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.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82357-4-BcKGzgvHXG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00873.txt.bz2
Content-length: 1538

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

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Markus Trippelsdorf from comment #3)
> trippels@gcc67 ~ % cat _png.ii
> void _setjmp(int);
> void png_set_longjmp_fn();
> struct SeqBase {
>   virtual void m_fn1() {}
>   void m_fn2() { m_fn1(); }
> } a;
> void write_png() {
>   a.m_fn2();
>   try {
>     png_set_longjmp_fn();
>     _setjmp(0);
>   } catch (...) {
>   }
> }
> trippels@gcc67 ~ % ~/gcc_7/usr/local/bin/g++ -c -O2 _png.ii
> _png.ii: In function ‘void write_png()’:
> _png.ii:7:6: internal compiler error: Segmentation fault
>  void write_png() {
>       ^~~~~~~~~
> 
> #0  0x00000000013474d1 in visit_use(tree_node*) ()
> #1  0x0000000001345a55 in DFS(tree_node*) ()
> #2  0x0000000001344630 in
> sccvn_dom_walker::before_dom_children(basic_block_def*) ()
> #3  0x00000000014a8835 in dom_walker::walk(basic_block_def*) ()
> #4  0x0000000001342a98 in run_scc_vn(vn_lookup_kind) ()
> #5  0x0000000001329537 in (anonymous
> namespace)::pass_fre::execute(function*) ()
> #6  0x000000000120e434 in execute_one_pass(opt_pass*) ()
> #7  0x0000000000893ed2 in execute_pass_list(function*, opt_pass*) [clone
> .cold.77] ()
> #8  0x0000000001556441 in symbol_table::compile() ()
> #9  0x00000000010b3aff in symbol_table::finalize_compilation_unit() ()
> #10 0x000000000159b4b0 in compile_file() ()
> #11 0x0000000000f6130d in toplev::main(int, char**) ()
> #12 0x0000000000f625ab in main ()

Sorry wrong PR. Please ignore.
>From gcc-bugs-return-577812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:34:07 2017
Return-Path: <gcc-bugs-return-577812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2133 invoked by alias); 9 Oct 2017 12: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 127303 invoked by uid 48); 9 Oct 2017 12:34:03 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82492] [7 Regression] ICE: Segmentation fault
Date: Mon, 09 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-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-82492-4-jOE9HvY0vO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00872.txt.bz2
Content-length: 1672

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |tree-optimization

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Segfaults in tree-ssa-sccvn:

trippels@gcc67 ~ % cat _png.ii
void _setjmp(int);
void png_set_longjmp_fn();
struct SeqBase {
  virtual void m_fn1() {}
  void m_fn2() { m_fn1(); }
} a;
void write_png() {
  a.m_fn2();
  try {
    png_set_longjmp_fn();
    _setjmp(0);
  } catch (...) {
  }
}
trippels@gcc67 ~ % ~/gcc_7/usr/local/bin/g++ -c -O2 _png.ii
_png.ii: In function ‘void write_png()’:
_png.ii:7:6: internal compiler error: Segmentation fault
 void write_png() {
      ^~~~~~~~~

#0  0x00000000013474d1 in visit_use(tree_node*) ()
#1  0x0000000001345a55 in DFS(tree_node*) ()
#2  0x0000000001344630 in
sccvn_dom_walker::before_dom_children(basic_block_def*) ()
#3  0x00000000014a8835 in dom_walker::walk(basic_block_def*) ()
#4  0x0000000001342a98 in run_scc_vn(vn_lookup_kind) ()
#5  0x0000000001329537 in (anonymous namespace)::pass_fre::execute(function*)
()
#6  0x000000000120e434 in execute_one_pass(opt_pass*) ()
#7  0x0000000000893ed2 in execute_pass_list(function*, opt_pass*) [clone
.cold.77] ()
#8  0x0000000001556441 in symbol_table::compile() ()
#9  0x00000000010b3aff in symbol_table::finalize_compilation_unit() ()
#10 0x000000000159b4b0 in compile_file() ()
#11 0x0000000000f6130d in toplev::main(int, char**) ()
#12 0x0000000000f625ab in main ()
>From gcc-bugs-return-577814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:42:49 2017
Return-Path: <gcc-bugs-return-577814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68487 invoked by alias); 9 Oct 2017 12:42: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 68347 invoked by uid 48); 9 Oct 2017 12:42:44 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82492] [6/7 Regression] ICE: Segmentation fault
Date: Mon, 09 Oct 2017 12: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-82492-4-RekcmvS3zm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00874.txt.bz2
Content-length: 683

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
      Known to work|                            |6.3.1, 7.1.1
            Summary|[7 Regression] ICE:         |[6/7 Regression] ICE:
                   |Segmentation fault          |Segmentation fault
      Known to fail|                            |6.4.1

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
6.3.1 and 7.1.1 work fine.
So two branch regressions.
>From gcc-bugs-return-577815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:46:29 2017
Return-Path: <gcc-bugs-return-577815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105335 invoked by alias); 9 Oct 2017 12:46: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 105278 invoked by uid 48); 9 Oct 2017 12:46:25 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82492] [6/7 Regression] ICE: Segmentation fault
Date: Mon, 09 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82492-4-PFx9xtILSd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00875.txt.bz2
Content-length: 1070

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

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
0xad530f crash_signal
        ../../gcc-7.2.0/gcc/toplev.c:337
0xc2bbd8 gcond* dyn_cast<gcond*, gimple>(gimple*)
        ../../gcc-7.2.0/gcc/is-a.h:219
0xc2bbd8 vn_phi_lookup
        ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:3087
0xc2bbd8 visit_phi
        ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:3882
0xc2bbd8 visit_use
        ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:3948
0xc2c870 process_scc
        ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4296
0xc2c870 extract_and_process_scc_for_name
        ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4352
0xc2c870 DFS
        ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4404
0xc2d766 sccvn_dom_walker::before_dom_children(basic_block_def*)
        ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4857
0x10beb0a dom_walker::walk(basic_block_def*)
        ../../gcc-7.2.0/gcc/domwalk.c:265
0xc2e32a run_scc_vn(vn_lookup_kind)
        ../../gcc-7.2.0/gcc/tree-ssa-sccvn.c:4981
0xc03744 execute
        ../../gcc-7.2.0/gcc/tree-ssa-pre.c:5201
>From gcc-bugs-return-577816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 12:52:29 2017
Return-Path: <gcc-bugs-return-577816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106860 invoked by alias); 9 Oct 2017 12: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 106777 invoked by uid 48); 9 Oct 2017 12:52:25 -0000
From: "vp at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82442] vect/pr31699.c fails on arm
Date: Mon, 09 Oct 2017 12:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vp at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: 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-82442-4-RlNdwyLGDV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82442-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82442-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00876.txt.bz2
Content-length: 398

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

Vidya Praveen <vp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-09
     Ever confirmed|0                           |1
>From gcc-bugs-return-577817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:06:44 2017
Return-Path: <gcc-bugs-return-577817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99161 invoked by alias); 9 Oct 2017 13: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 99091 invoked by uid 48); 9 Oct 2017 13:06:39 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82163] [8 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:707
Date: Mon, 09 Oct 2017 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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82163-4-uXNrSCrRuz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82163-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82163-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00877.txt.bz2
Content-length: 391

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

amker at gcc dot gnu.org changed:

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

--- Comment #4 from amker at gcc dot gnu.org ---
Fixed.
>From gcc-bugs-return-577818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:10:02 2017
Return-Path: <gcc-bugs-return-577818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124379 invoked by alias); 9 Oct 2017 13:10:02 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 120088 invoked by uid 48); 9 Oct 2017 13:09:53 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81832] [8 Regression] ICE in expand_LOOP_DIST_ALIAS, at internal-fn.c:2273
Date: Mon, 09 Oct 2017 13: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker 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: bug_status cc resolution
Message-ID: <bug-81832-4-kvRLPmTG1J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81832-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81832-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00878.txt.bz2
Content-length: 465

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

amker at gcc dot gnu.org changed:

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

--- Comment #4 from amker at gcc dot gnu.org ---
fixed.
>From gcc-bugs-return-577819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:27:09 2017
Return-Path: <gcc-bugs-return-577819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94906 invoked by alias); 9 Oct 2017 13: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 89607 invoked by uid 48); 9 Oct 2017 13:27:04 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82258] [8 regression] allocate_zerosize_3.f fails since r251949
Date: Mon, 09 Oct 2017 13: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82258-4-Fow5nW1ykV@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: 2017-10/txt/msg00879.txt.bz2
Content-length: 461

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

--- Comment #11 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42330
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42330&action=edit
tree dump for armeb

This is the tree-dump-original for the testcase of comment #8.

My compiler is configured with:
--target=armeb-none-linux-gnueabihf
--with-float=hard
--with-mode=arm --with-cpu=cortex-a9 --with-fpu=neon-fp16
>From gcc-bugs-return-577820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:30:37 2017
Return-Path: <gcc-bugs-return-577820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85787 invoked by alias); 9 Oct 2017 13: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 68365 invoked by uid 48); 9 Oct 2017 13:30:16 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82258] [8 regression] allocate_zerosize_3.f fails since r251949
Date: Mon, 09 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82258-4-bwj44XECxW@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: 2017-10/txt/msg00880.txt.bz2
Content-length: 258

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

--- Comment #12 from Christophe Lyon <clyon at gcc dot gnu.org> ---
There are several differences, but I'm not fluent in fortran.

In case of doubt, note that 'armeb' means arm target in big-endian mode.
>From gcc-bugs-return-577821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:45:32 2017
Return-Path: <gcc-bugs-return-577821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93693 invoked by alias); 9 Oct 2017 13:45: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 93584 invoked by uid 48); 9 Oct 2017 13:45:26 -0000
From: "renlin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/81351] [8 regression] Many LTO testcases FAIL
Date: Mon, 09 Oct 2017 13:45: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.0
X-Bugzilla-Keywords: lto
X-Bugzilla-Severity: normal
X-Bugzilla-Who: renlin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-81351-4-rnwLVXrR1D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81351-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81351-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00881.txt.bz2
Content-length: 440

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

Renlin Li <renlin at gcc dot gnu.org> changed:

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

--- Comment #5 from Renlin Li <renlin at gcc dot gnu.org> ---
similar failures happens on aarch64-linux-gnu & arm-linux-gnueabihf
>From gcc-bugs-return-577822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 13:50:46 2017
Return-Path: <gcc-bugs-return-577822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36173 invoked by alias); 9 Oct 2017 13:50: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 36119 invoked by uid 55); 9 Oct 2017 13:50:41 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82449] code-gen error in get_rename_from_scev
Date: Mon, 09 Oct 2017 13: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: 8.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-82449-4-MHMghY2twM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82449-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00882.txt.bz2
Content-length: 878

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Oct  9 13:50:10 2017
New Revision: 253546

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

        PR tree-optimization/82449
        * sese.c (scev_analyzable_p): Check whether the SCEV is linear.
        * tree-chrec.h (evolution_function_is_constant_p): Adjust to
        allow constant addresses.
        * tree-chrec.c (scev_is_linear_expression): Constant evolutions
        are linear.

        * gfortran.dg/graphite/pr82449.f: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/graphite/pr82449.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sese.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chrec.c
    trunk/gcc/tree-chrec.h
>From gcc-bugs-return-577824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:07:08 2017
Return-Path: <gcc-bugs-return-577824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102918 invoked by alias); 9 Oct 2017 14: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 102655 invoked by uid 48); 9 Oct 2017 14:07:00 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59859] [meta-bug] GRAPHITE issues
Date: Mon, 09 Oct 2017 14:07: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: 4.9.0
X-Bugzilla-Keywords: meta-bug
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 resolution
Message-ID: <bug-59859-4-9aCN7KyKhT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59859-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59859-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00884.txt.bz2
Content-length: 464

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

Bug 82449 Summary: code-gen error in get_rename_from_scev
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82449

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-577823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:07:06 2017
Return-Path: <gcc-bugs-return-577823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102749 invoked by alias); 9 Oct 2017 14:07: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 102635 invoked by uid 48); 9 Oct 2017 14:06:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82449] code-gen error in get_rename_from_scev
Date: Mon, 09 Oct 2017 14: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: 8.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 resolution
Message-ID: <bug-82449-4-o6c56Djfyx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82449-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00883.txt.bz2
Content-length: 429

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

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-577825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:10:28 2017
Return-Path: <gcc-bugs-return-577825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16781 invoked by alias); 9 Oct 2017 14: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 16727 invoked by uid 48); 9 Oct 2017 14:10:24 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82492] [6/7 Regression] ICE: Segmentation fault
Date: Mon, 09 Oct 2017 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: 7.2.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status target_milestone
Message-ID: <bug-82492-4-bBtwwTg4Q3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00885.txt.bz2
Content-length: 478

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2
             Status|NEW                         |ASSIGNED
   Target Milestone|---                         |6.5

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
>From gcc-bugs-return-577826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:12:16 2017
Return-Path: <gcc-bugs-return-577826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20758 invoked by alias); 9 Oct 2017 14:12: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 20638 invoked by uid 48); 9 Oct 2017 14:12:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82492] [6/7 Regression] ICE: Segmentation fault
Date: Mon, 09 Oct 2017 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: 7.2.0
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82492-4-pSYpZohbxs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82492-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00886.txt.bz2
Content-length: 504

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

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

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

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

*** This bug has been marked as a duplicate of bug 82264 ***
>From gcc-bugs-return-577827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:12:16 2017
Return-Path: <gcc-bugs-return-577827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20778 invoked by alias); 9 Oct 2017 14:12: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 20671 invoked by uid 48); 9 Oct 2017 14:12:09 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82264] [6 Regression] ICE in vn_phi_lookup at gcc/tree-ssa-sccvn.c:3125
Date: Mon, 09 Oct 2017 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: 7.1.1
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82264-4-hjMmgcMXxp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82264-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82264-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00887.txt.bz2
Content-length: 443

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc at lanrules dot de

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 82492 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-577828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:14:23 2017
Return-Path: <gcc-bugs-return-577828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25998 invoked by alias); 9 Oct 2017 14: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 25885 invoked by uid 55); 9 Oct 2017 14:14:15 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82397] [8 Regression] qsort comparator non-negative on sorted output: 1 in vect_analyze_data_ref_accesses
Date: Mon, 09 Oct 2017 14: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: 8.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82397-4-sJu8y7ebfb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82397-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00888.txt.bz2
Content-length: 537

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

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Oct  9 14:13:43 2017
New Revision: 253547

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

        PR tree-optimization/82397
        * tree-data-ref.c (data_ref_compare_tree): Make sure to return
        equality only for semantically equal trees.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-data-ref.c
>From gcc-bugs-return-577829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 14:41:45 2017
Return-Path: <gcc-bugs-return-577829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19609 invoked by alias); 9 Oct 2017 14: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 12245 invoked by uid 48); 9 Oct 2017 14:41:40 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound
Date: Mon, 09 Oct 2017 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: 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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82447-4-jm41Ba9wg1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00889.txt.bz2
Content-length: 139

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

--- Comment #3 from amker at gcc dot gnu.org ---
BTW, which target is this?  Thanks.
>From gcc-bugs-return-577830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:02:11 2017
Return-Path: <gcc-bugs-return-577830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100835 invoked by alias); 9 Oct 2017 15: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 88624 invoked by uid 48); 9 Oct 2017 15:02:02 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound
Date: Mon, 09 Oct 2017 15: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: 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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82447-4-SyeSd0VMZb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00890.txt.bz2
Content-length: 824

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

--- Comment #4 from amker at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #2)
> Indeed.  But when the body is:
>         sum += a[size - 1 - i];
> while base 128U with step -1U is considered, it isn't found as the cheapest
> for some reason either.

On 64-bit targets, candidate [128, -1] is added in unsigned int type, while
address IV has pointer type.  IVOPTs simply skips the candidate because it has
smaller precision than the IV use.
On 32-bit targets, I increased cost in case of invariant expression on purpose
in order to avoid generating too many invariant expressions.  So I think this
strategy works better for large cases but not for the simplest cases.  Probably
we should special case simple case with only one address type IV.
>From gcc-bugs-return-577831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:11:12 2017
Return-Path: <gcc-bugs-return-577831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39179 invoked by alias); 9 Oct 2017 15:11: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 39120 invoked by uid 48); 9 Oct 2017 15:11:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound
Date: Mon, 09 Oct 2017 15: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82447-4-L6U5ldPucX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00891.txt.bz2
Content-length: 738

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to amker from comment #4)
> (In reply to Jakub Jelinek from comment #2)
> > Indeed.  But when the body is:
> >         sum += a[size - 1 - i];
> > while base 128U with step -1U is considered, it isn't found as the cheapest
> > for some reason either.
> 
> On 64-bit targets, candidate [128, -1] is added in unsigned int type, while
> address IV has pointer type.  IVOPTs simply skips the candidate because it
> has smaller precision than the IV use.

Yeah, but can't we also add [128UL, -1UL] candidate if we see there are IVs of
that bitsize?  Conversion from that to the unsigned int IV is cheap.
>From gcc-bugs-return-577832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:25:51 2017
Return-Path: <gcc-bugs-return-577832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128169 invoked by alias); 9 Oct 2017 15: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 128115 invoked by uid 48); 9 Oct 2017 15:25:45 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound
Date: Mon, 09 Oct 2017 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: 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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82447-4-EgLsqKap51@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00892.txt.bz2
Content-length: 1016

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

--- Comment #6 from amker at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #5)
> (In reply to amker from comment #4)
> > (In reply to Jakub Jelinek from comment #2)
> > > Indeed.  But when the body is:
> > >         sum += a[size - 1 - i];
> > > while base 128U with step -1U is considered, it isn't found as the cheapest
> > > for some reason either.
> > 
> > On 64-bit targets, candidate [128, -1] is added in unsigned int type, while
> > address IV has pointer type.  IVOPTs simply skips the candidate because it
> > has smaller precision than the IV use.
> 
> Yeah, but can't we also add [128UL, -1UL] candidate if we see there are IVs
> of that bitsize?  Conversion from that to the unsigned int IV is cheap.

Yes we can.  For constant niters loop, currently it's ivcanon adding the
counting down IV, I mentioned during cauldron that we may want to get rid of
iv_canonicalization by adding all necessary IV candidates in IVOTPs.
>From gcc-bugs-return-577833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:37:22 2017
Return-Path: <gcc-bugs-return-577833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9551 invoked by alias); 9 Oct 2017 15: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 8772 invoked by uid 48); 9 Oct 2017 15:37:13 -0000
From: "markos at freevec dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82464] s390x z14: vector float: invalid parameter combination for intrinsic '__builtin_s390_vec_xor'
Date: Mon, 09 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markos at freevec 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-82464-4-AKwP0eQufL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82464-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00893.txt.bz2
Content-length: 153

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

--- Comment #4 from Konstantinos Margaritis <markos at freevec dot org> ---
Fix confirmed to work.
>From gcc-bugs-return-577835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:37:29 2017
Return-Path: <gcc-bugs-return-577835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10233 invoked by alias); 9 Oct 2017 15: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 9799 invoked by uid 48); 9 Oct 2017 15:37:24 -0000
From: "markos at freevec dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82465] vec_sqrt() for vector double erroneously fails for z13
Date: Mon, 09 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markos at freevec 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-82465-4-HXBQ9S8dbI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82465-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82465-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00895.txt.bz2
Content-length: 153

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

--- Comment #2 from Konstantinos Margaritis <markos at freevec dot org> ---
Fix confirmed to work.
>From gcc-bugs-return-577834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:37:26 2017
Return-Path: <gcc-bugs-return-577834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9941 invoked by alias); 9 Oct 2017 15:37: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 9487 invoked by uid 48); 9 Oct 2017 15:37:21 -0000
From: "chinoune.mehdi at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82495] New: forall is very slow comparing to other compilers!
Date: Mon, 09 Oct 2017 15: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chinoune.mehdi 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-82495-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00894.txt.bz2
Content-length: 2676

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

            Bug ID: 82495
           Summary: forall is very slow comparing to other compilers!
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chinoune.mehdi at hotmail dot com
  Target Milestone: ---

This forall construct is very slow comparing to other compilers:

PROGRAM FORALL_EXECUTION
  IMPLICIT NONE

  REAL, ALLOCATABLE :: A(:,:,:), B(:,:,:), C(:,:,:)
  INTEGER :: I, J, K
  REAL :: TIC
  INTEGER :: START, FINISH1, FINISH2, FINISH3, FINISH4, FINISH5, FINISH6
  INTEGER, PARAMETER :: L = 1024, M = 512, N = 512

  ALLOCATE(A(L,M,N), B(L,M,N), C(L,M,N) )
  CALL RANDOM_NUMBER(A)
  CALL RANDOM_NUMBER(B)
  CALL RANDOM_NUMBER(C)

  CALL SYSTEM_CLOCK(START, TIC)

  FORALL(I=1:L, J=1:M, K=1:N)
    C(I,J,K) = A(I,J,K) + B(I,J,K)
  END FORALL

  CALL SYSTEM_CLOCK(FINISH1)
  PRINT*,'I,J,K ',(FINISH1-START)/TIC

  FORALL(I=1:L, K=1:N, J=1:M)
    C(I,J,K) = A(I,J,K) +B(I,J,K)
  END FORALL

  CALL SYSTEM_CLOCK(FINISH2)
  PRINT*,'I,K,J ',(FINISH2-FINISH1)/TIC

  FORALL(J=1:M, I=1:L, K=1:N)
    C(I,J,K) = A(I,J,K) +B(I,J,K)
  END FORALL

  CALL SYSTEM_CLOCK(FINISH3)
  PRINT*,'J,I,K ',(FINISH3-FINISH2)/TIC

  FORALL(J=1:M, K=1:N, I=1:L)
    C(I,J,K) = A(I,J,K) +B(I,J,K)
  END FORALL

  CALL SYSTEM_CLOCK(FINISH4)
  PRINT*,'J,K,I ',(FINISH4-FINISH3)/TIC

  FORALL(K=1:N, I=1:L, J=1:M)
    C(I,J,K) = A(I,J,K) +B(I,J,K)
  END FORALL

  CALL SYSTEM_CLOCK(FINISH5)
  PRINT*,'K,I,J ',(FINISH5-FINISH4)/TIC

  FORALL(K=1:N, J=1:M, I=1:L)
    C(I,J,K) = A(I,J,K) +B(I,J,K)
  END FORALL

  CALL SYSTEM_CLOCK(FINISH6)
  PRINT*,'K,J,I ',(FINISH6-FINISH5)/TIC

END PROGRAM

This program gives:
MinGW 7.2.0 : -Ofast
 I,J,K   0.453000009
 I,K,J   0.531000018
 J,I,K    9.34400082
 J,K,I    14.0630007
 K,I,J    24.0460014
 K,J,I    25.9690018
Ubuntu 7.2.0 : -Ofast
 I,J,K   0.454000026
 I,K,J   0.441000015
 J,I,K    9.14200020
 J,K,I    13.2140007
 K,I,J    22.3860016
 K,J,I    24.7680016

But with other compilers:
PGI Fortran 17.04 : -fast
 I,J,K    0.5161750
 I,K,J    0.3963450
 J,I,K    0.2786350
 J,K,I    0.3162010
 K,I,J    0.3141180
 K,J,I    0.2789040
Flang : -Ofast
 I,J,K    0.4740010
 I,K,J    0.2965370
 J,I,K    0.3045340
 J,K,I    0.4017220
 K,I,J    0.2853640
 K,J,I    0.3081510
Intel Fortran 18.0 : -fast
 I,J,K   0.4370000
 I,K,J   0.3910000
 J,I,K   0.2810000
 J,K,I   0.3600000
 K,I,J   0.3280000
 K,J,I   0.2810000

I think this bug is independent of do-concurrent!
>From gcc-bugs-return-577836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:39:16 2017
Return-Path: <gcc-bugs-return-577836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14623 invoked by alias); 9 Oct 2017 15: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 13824 invoked by uid 48); 9 Oct 2017 15:39:08 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82447] [IVOPTS] Consider removing cmp instruction while iterating on an array of known bound
Date: Mon, 09 Oct 2017 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: 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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82447-4-q09zcyKoLw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82447-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00896.txt.bz2
Content-length: 1324

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

--- Comment #7 from amker at gcc dot gnu.org ---
So with necessary IV candidates added, current cost computation has tie between
address candidate and counting down candidate.  The tie is introduced because
counting down candidate requires invariant expression (thus increased cost by
1); and it is preferred in determine_group_iv_cost_cond (by decreasing cost by
1).  From experience, penalizing invariant expressions in address type IV_USE
is generally better in large cases.  we may be able to break tie with below
trivial change:

   /* When the condition is a comparison of the candidate IV against
      zero, prefer this IV.

      TODO: The constant that we're subtracting from the cost should
      be target-dependent.  This information should be added to the
      target costs for each backend.  */
   if (!elim_cost.infinite_cost_p () /* Do not try to decrease infinite! */
       && integer_zerop (*bound_cst)
       && (operand_equal_p (*control_var, cand->var_after, 0)
          || operand_equal_p (*control_var, cand->var_before, 0)))
-    elim_cost -= 1;
+    elim_cost -= 2;


It breaks the tie while doesn't change behavior in large case which has
multiple address type IV_USEs so preference of counting down IV cand can be
cancelled.
>From gcc-bugs-return-577837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:42:49 2017
Return-Path: <gcc-bugs-return-577837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34098 invoked by alias); 9 Oct 2017 15: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 34044 invoked by uid 48); 9 Oct 2017 15:42:44 -0000
From: "miyuki at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82457] libgcov fork and exec hooks not always used
Date: Mon, 09 Oct 2017 15: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: 5.4.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: miyuki at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82457-4-6ZmLYxPaqr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82457-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82457-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00897.txt.bz2
Content-length: 340

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

--- Comment #6 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #5)
> Well fork and exec does not need to be the semantics of POSIX says it it. 
> So warning is not a good idea.

But don't libgcc wrappers already rely on those semantics?
>From gcc-bugs-return-577839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:50:27 2017
Return-Path: <gcc-bugs-return-577839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68546 invoked by alias); 9 Oct 2017 15: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 68456 invoked by uid 48); 9 Oct 2017 15:50:22 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82471] do-concurrent is much slower than ordinary-do!
Date: Mon, 09 Oct 2017 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: 7.2.0
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:
Message-ID: <bug-82471-4-XGqDIA6gal@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82471-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00899.txt.bz2
Content-length: 183

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

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
*** Bug 82495 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-577838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:50:27 2017
Return-Path: <gcc-bugs-return-577838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68534 invoked by alias); 9 Oct 2017 15: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 68443 invoked by uid 48); 9 Oct 2017 15:50:22 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82495] forall is very slow comparing to other compilers!
Date: Mon, 09 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig 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-82495-4-F39zL9Wc2O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82495-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82495-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00898.txt.bz2
Content-length: 628

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |tkoenig at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Same root cause as PR 82471 - loop interchange (or lack thereof).

*** This bug has been marked as a duplicate of bug 82471 ***
>From gcc-bugs-return-577840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 15:53:21 2017
Return-Path: <gcc-bugs-return-577840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76774 invoked by alias); 9 Oct 2017 15:53: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 76712 invoked by uid 48); 9 Oct 2017 15:53:16 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82471] Reorder loop for unfavorable index ordering in DO  CONCURRENT and FORALL
Date: Mon, 09 Oct 2017 15: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.2.0
X-Bugzilla-Keywords:
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 short_desc bug_severity
Message-ID: <bug-82471-4-dqcZkFwlCQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82471-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00900.txt.bz2
Content-length: 770

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
            Summary|do-concurrent is much       |Reorder loop for
                   |slower than ordinary-do!    |unfavorable index ordering
                   |                            |in DO  CONCURRENT and
                   |                            |FORALL
           Severity|normal                      |enhancement

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Confirming as an enhancement request.

The workaround is clear, see comment #1.
>From gcc-bugs-return-577841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 16:06:38 2017
Return-Path: <gcc-bugs-return-577841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95542 invoked by alias); 9 Oct 2017 16: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 95490 invoked by uid 48); 9 Oct 2017 16:06:35 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82445] ARM target generates unaligned STRD instruction
Date: Mon, 09 Oct 2017 16:06:00 -0000
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.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82445-4-3MWdcKosUa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00901.txt.bz2
Content-length: 387

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

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rearnsha at gcc dot gnu.org
>From gcc-bugs-return-577842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 16:16:19 2017
Return-Path: <gcc-bugs-return-577842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113513 invoked by alias); 9 Oct 2017 16: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 113454 invoked by uid 48); 9 Oct 2017 16:16:16 -0000
From: "markos at freevec dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71648] C++ ICE on ppc64 with -m64
Date: Mon, 09 Oct 2017 16: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: 6.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markos at freevec dot 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-71648-4-qEmS9JLP22@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71648-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71648-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00902.txt.bz2
Content-length: 468

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

Konstantinos Margaritis <markos at freevec dot org> changed:

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

--- Comment #7 from Konstantinos Margaritis <markos at freevec dot org> ---
verified in both g++ 6 and 7.
>From gcc-bugs-return-577843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 16:55:08 2017
Return-Path: <gcc-bugs-return-577843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57697 invoked by alias); 9 Oct 2017 16:55: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 51993 invoked by uid 48); 9 Oct 2017 16:55:04 -0000
From: "miyuki at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82457] libgcov fork and exec hooks not always used
Date: Mon, 09 Oct 2017 16:55: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: 5.4.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: miyuki at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82457-4-p89ldI3IgU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82457-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82457-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00903.txt.bz2
Content-length: 138

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

--- Comment #7 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
I meant libgcov
>From gcc-bugs-return-577844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 16:57:07 2017
Return-Path: <gcc-bugs-return-577844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86463 invoked by alias); 9 Oct 2017 16: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 86405 invoked by uid 48); 9 Oct 2017 16:57:04 -0000
From: "jeff.benshetler at stackpath dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82496] New: Optimization breaks duration_cast
Date: Mon, 09 Oct 2017 16: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jeff.benshetler at stackpath 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-82496-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00904.txt.bz2
Content-length: 1197

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

            Bug ID: 82496
           Summary: Optimization breaks duration_cast
           Product: gcc
           Version: 6.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jeff.benshetler at stackpath dot com
  Target Milestone: ---

Created attachment 42331
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42331&action=edit
Compiler output

duration_cast always returns zero when using any level of optimization.
duration_cast works properly when compiled without optimization

GCC Version: g++ (GCC) 6.3.0

System Type: Darwin Jeffs-MacBook-Pro.local 16.7.0 Darwin Kernel Version
16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64
x86_64

Options when GCC was configured/built:
/Users/jbenshetler/build/gcc/objdir/../gcc-6.3.0/configure
--prefix=/opt/gcc-6.3.0 --enable-languages=c,c++,for    tran --disable-multilib

Exact command line passed to gcc triggering the bug: g++ -O1 -o
duration_cast_error -v -save-temps duration_cast_error.cpp 2>
duration_cast_error.log
>From gcc-bugs-return-577845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 17:01:14 2017
Return-Path: <gcc-bugs-return-577845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97899 invoked by alias); 9 Oct 2017 17: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 97831 invoked by uid 48); 9 Oct 2017 17:01:06 -0000
From: "jeff.benshetler at stackpath dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82496] Optimization breaks duration_cast
Date: Mon, 09 Oct 2017 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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jeff.benshetler at stackpath 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-82496-4-tNcFNDls7g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00905.txt.bz2
Content-length: 881

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

Jeff Benshetler <jeff.benshetler at stackpath dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeff.benshetler at stackpath dot c
                   |                            |om

--- Comment #1 from Jeff Benshetler <jeff.benshetler at stackpath dot com> ---
Created attachment 42332
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42332&action=edit
Preprocessed file that triggers the bug.

When compiled without optimization and run, running the executable produces the
following correct output:
  deltaT=2.00275

When compiled with any level of optimization (-O1 or greater), running the
executable produces the following erroneous output:
  deltaT=0
>From gcc-bugs-return-577846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 18:34:57 2017
Return-Path: <gcc-bugs-return-577846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108860 invoked by alias); 9 Oct 2017 18: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 108664 invoked by uid 48); 9 Oct 2017 18:34:51 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82497] New: valgrind error in get_pdt_constructor
Date: Mon, 09 Oct 2017 18:34: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.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-82497-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00906.txt.bz2
Content-length: 1177

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

            Bug ID: 82497
           Summary: valgrind error in get_pdt_constructor
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I did a build of gcc trunk revision 253416 fortran compiler.

For the fortran source code file gcc/testsuite/gfortran.dg/pdt_14.f03
I get the following results:

$  ~/gcc/results.253416.valgrind/bin/gfortran -c   ./gfortran.dg/pdt_14.f03
==11157== Invalid read of size 4
==11157==    at 0x73E336: get_pdt_constructor(gfc_expr*, gfc_constructor**,
gfc_symbol*) (resolve.c:1191)
==11157==    by 0x74CDBC: resolve_structure_cons(gfc_expr*, int)
(resolve.c:1246)
==11157==    by 0x754741: resolve_values(gfc_symbol*) (resolve.c:11386)
==11157==    by 0x768382: do_traverse_symtree(gfc_symtree*, void
(*)(gfc_symtree*), void (*)(gfc_symbol*)) (symbol.c:4061)

The bug seems to appear between revisions 251689 and 252962.
>From gcc-bugs-return-577847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 18:47:33 2017
Return-Path: <gcc-bugs-return-577847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21041 invoked by alias); 9 Oct 2017 18:47: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 21014 invoked by uid 48); 9 Oct 2017 18:47:28 -0000
From: "jeff.benshetler at stackpath dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82496] Optimization breaks duration_cast
Date: Mon, 09 Oct 2017 18: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jeff.benshetler at stackpath 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-82496-4-nuRr4QcXdm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00907.txt.bz2
Content-length: 226

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

--- Comment #2 from Jeff Benshetler <jeff.benshetler at stackpath dot com> ---
I confirmed that the identical problem exists on Linux for both gcc-6.4.0 and
gcc-7.2.0.
>From gcc-bugs-return-577848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 19:40:03 2017
Return-Path: <gcc-bugs-return-577848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23820 invoked by alias); 9 Oct 2017 19: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 23725 invoked by uid 48); 9 Oct 2017 19:39:59 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82496] Optimization breaks duration_cast
Date: Mon, 09 Oct 2017 19:40: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.4.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 component assigned_to everconfirmed
Message-ID: <bug-82496-4-DngRDJjaIx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00908.txt.bz2
Content-length: 548

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-09
          Component|c++                         |libstdc++
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-577849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 19:41:48 2017
Return-Path: <gcc-bugs-return-577849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31787 invoked by alias); 9 Oct 2017 19: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 31433 invoked by uid 48); 9 Oct 2017 19:41:44 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82496] Optimization breaks duration_cast
Date: Mon, 09 Oct 2017 19: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: 6.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: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82496-4-oRFHINiZ87@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00909.txt.bz2
Content-length: 756

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

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

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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Your asSeconds doesn't return anything:

float asSeconds(Duration dur) {
    using WantedDuration = duration<float>;
    auto f_secs = duration_cast<WantedDuration>(dur);
}

dc.cc: In function ‘float asSeconds(Duration)’:
dc.cc:19:1: warning: no return statement in function returning non-void
[-Wreturn-type]
 }
 ^
>From gcc-bugs-return-577850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 19:44:28 2017
Return-Path: <gcc-bugs-return-577850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38583 invoked by alias); 9 Oct 2017 19: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 38530 invoked by uid 48); 9 Oct 2017 19:44:24 -0000
From: "jeff.benshetler at stackpath dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82496] Optimization breaks duration_cast
Date: Mon, 09 Oct 2017 19: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jeff.benshetler at stackpath dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
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-82496-4-3duL7rWoLI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82496-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00910.txt.bz2
Content-length: 245

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

--- Comment #4 from Jeff Benshetler <jeff.benshetler at stackpath dot com> ---
My apologies. Adding -Wall shows:
warning: no return statement in function returning non-void [-Wreturn-type]
>From gcc-bugs-return-577851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 09 23:46:42 2017
Return-Path: <gcc-bugs-return-577851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28831 invoked by alias); 9 Oct 2017 23:46: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 25799 invoked by uid 48); 9 Oct 2017 23:46:36 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82417] Macros from <complex.h> defined in C++11
Date: Mon, 09 Oct 2017 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: 8.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-82417-4-ZcXkAWcCi6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82417-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82417-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00911.txt.bz2
Content-length: 490

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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm not opposed to a warning in principle, but I'd prefer it to be one
controllable by a -Wxxx option. I don't know how to do that using the
preprocessor, so we'd have to do something like:

#ifndef _GLIBCXX_NO_CCOMPLEX_WARNING
# warning "Including <ccomplex> makes no sense. Define
_GLIBCXX_NO_CCOMPLEX_WARNING to disable this warning."
#endif

And that is a bit ugly.
>From gcc-bugs-return-577852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 00:58:03 2017
Return-Path: <gcc-bugs-return-577852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26943 invoked by alias); 10 Oct 2017 00: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 26807 invoked by uid 48); 10 Oct 2017 00:57:59 -0000
From: "lloyd at randombit dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] New: Missed optimization for x86 rotate instruction
Date: Tue, 10 Oct 2017 00: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lloyd at randombit 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-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00912.txt.bz2
Content-length: 1513

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

            Bug ID: 82498
           Summary: Missed optimization for x86 rotate instruction
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lloyd at randombit dot net
  Target Milestone: ---

GCC doesn't seem to realize that x86 masks the high bits in the rol/ror
instructions. GCC 7.2.0 on x86-64 compiles this function, which is attempting
to do a 32-bit rotate without invoking undefined behavior

#include <stdint.h>

uint32_t rotate_left(uint32_t input, uint8_t rot)
   {
   if(rot == 0)
      return input;
   rot %= 8 * sizeof(uint32_t);
   return static_cast<uint32_t>((input << rot) | (input >>
(8*sizeof(uint32_t)-rot)));;
   }


Into

        movl    %esi, %ecx      # rot, rot
        movl    %edi, %eax      # input, tmp97
        andl    $31, %ecx       #, rot
        roll    %cl, %eax       # rot, tmp97
        testb   %sil, %sil      # rot
        cmove   %edi, %eax      # tmp97,, input, <retval>

The `andl` is unnecessary as the machine will mask the rotation amount for us.
In addition the testb/cmov pair can be omitted. Overall this resulted in a ~15%
slowdown in some code using many variable rotations (CAST-128 cipher being used
in an OpenPGP library).

Some related (but not quite the same, and supposedly fixed) issues: 57157 59100
>From gcc-bugs-return-577853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 04:39:31 2017
Return-Path: <gcc-bugs-return-577853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65617 invoked by alias); 10 Oct 2017 04: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 60366 invoked by uid 48); 10 Oct 2017 04:39:26 -0000
From: "benjamin at benjamin dot pe" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82499] New: x86: small stack initial adjustments could use push
Date: Tue, 10 Oct 2017 04: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: benjamin at benjamin dot pe
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82499-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00913.txt.bz2
Content-length: 758

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

            Bug ID: 82499
           Summary: x86: small stack initial adjustments could use push
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: benjamin at benjamin dot pe
  Target Milestone: ---

consider:
extern void g(void);
int f() {
    g();
    return 42;
}

For f, gcc -Os on the trunk generates

  subq $8, %rsp
  call g
  movl $42, %eax
  popq %rdx
  ret

clang 5.0.0 cleverly generates:

  pushq %rax
  callq g
  movl $42, %eax
  popq %rcx
  retq

"pushq %rax" ends up being 2 bytes shorter than "subq $8, %rsp".
>From gcc-bugs-return-577854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 06:18:03 2017
Return-Path: <gcc-bugs-return-577854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39749 invoked by alias); 10 Oct 2017 06:18: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 33445 invoked by uid 48); 10 Oct 2017 06:17:57 -0000
From: "chr at terma dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82159] [6/7/8 Regression] ICE: in assign_temp, at function.c:961
Date: Tue, 10 Oct 2017 06: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.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chr at terma 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82159-4-BqqmFH8Qew@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00914.txt.bz2
Content-length: 3687

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

--- Comment #8 from chr at terma dot com ---
(In reply to Jakub Jelinek from comment #7)
> If you can't provide a testcase, then we can't do anything with it.
> If the inability to provide a testcase is because it contains some
> proprietary stuff that can't be made public, you always have the option to
> reduce the testcase sufficiently that it is small enough to be releasable
> (perhaps after also changing identifiers).
> See https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction for details how
> to do that.


Hello,

I've tried creduce, worked like a charm.

Following test case fails with -O0, but works with -O1-3.

Source file testcase.cpp:
-------------
class d;
template <typename f> class g { f e; };
class h : g<int[0]> {
public:
  template <typename i> d operator-(i);
};
class d : public h {
public:
  d(const d &);
};
class l : public d {
public:
  template <class j> l(j);
};
template <class an> class m {
public:
  typedef typename an::template n<m> ap;
};
template <class aq> class o { typename m<aq>::ap as; };
class D {
public:
  l av;
};
template <class aw> class p : aw {
public:
  template <typename ay, typename az> p(ay p1, az q) : aw(p1, q) {}
  D *ba;
  virtual void b() { aw::bc(ba); }
};
template <int, typename> class bj;
template <class> class bm {
public:
  typedef int bi;
  class bn {};
  template <class bo> class bp {
  public:
    l bq;
    bp(bi, bo q) : bq(q.av - 0) {}
  };
  bm(bi, bn);
};
template <typename> class r;
template <int bd, typename bv>
class r<bm<bj<bd, bv>>> : public bm<bj<bd, bv>>::bn {};
class s : public bm<bj<2, double>> {
  class t {
  public:
    t(bm *, int);
    void bc(D *p1) {
      bi a;
      bp<D>(a, *p1);
    }
  };

public:
  template <typename ay, typename az> s(ay p1, az q) : bm(p1, q) {}
  int cb;
  virtual int c() { p<t>(this, cb); }
};
template <typename> class H {
  r<bm<bj<2, double>>> cf;
  virtual s cg() { s(0, cf); }
};
template <template <class> class ci> class I {
public:
  I() { ci<int>(); }
};
class u {
public:
  template <class> class n : I<H> {};
};
void v() { o<u> k; }

int main() {
  return 0;
}

Steps to Repro:
-----------------
g++ -O0 testcase.cpp
testcase.cpp: In constructor ‘bm< <template-parameter-1-1> >::bp<bo>::bp(bm<
<template-parameter-1-1> >::bi, bo) [with bo = D; <template-parameter-1-1> =
bj<2, double>]’:
testcase.cpp:38:31: internal compiler error: in assign_temp, at function.c:968
     bp(bi, bo q) : bq(q.av - 0) {}
                               ^
Compiler used:
-----------------
The one included in Fedora 26 gcc version 7.2.1 20170915 (Red Hat 7.2.1-2)

gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/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++,objc,obj-c++,fortran,ada,go,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-libmpx
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)
>From gcc-bugs-return-577855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 06:25:35 2017
Return-Path: <gcc-bugs-return-577855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129095 invoked by alias); 10 Oct 2017 06:25: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 128973 invoked by uid 48); 10 Oct 2017 06:25:21 -0000
From: "chr at terma dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82159] [6/7/8 Regression] ICE: in assign_temp, at function.c:961
Date: Tue, 10 Oct 2017 06: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.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chr at terma 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82159-4-snU609EIfr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00915.txt.bz2
Content-length: 285

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

--- Comment #9 from chr at terma dot com ---
Created attachment 42333
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42333&action=edit
gcc 7.2.1 20170915 ICE testcase

Attached testcase.cpp as file.

g++ -O0 testcase.cpp
>From gcc-bugs-return-577856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 06:43:36 2017
Return-Path: <gcc-bugs-return-577856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23149 invoked by alias); 10 Oct 2017 06:43: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 23053 invoked by uid 48); 10 Oct 2017 06:43:31 -0000
From: "gcc-bugs at marehr dot dialup.fu-berlin.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82410] [7/8 Regression] ICE in replace_placeholders_r
Date: Tue, 10 Oct 2017 06: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc-bugs at marehr dot dialup.fu-berlin.de
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82410-4-Ge3dlpDvoZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82410-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00916.txt.bz2
Content-length: 798

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

gcc-bugs at marehr dot dialup.fu-berlin.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc-bugs at marehr dot dialup.fu-b
                   |                            |erlin.de

--- Comment #4 from gcc-bugs at marehr dot dialup.fu-berlin.de ---
I (may) have run into the same issue:

```
template <typename value_t>
struct twice
{
    value_t _first{};
    value_t _second{_first};

    struct inner{};

    inner get() const
    {
        return inner{};
    }
};

template<typename value_t>
twice(value_t first)
  -> twice<value_t>;

int main()
{
    auto result = twice{0u}.get();
}
```
>From gcc-bugs-return-577857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 07:07:57 2017
Return-Path: <gcc-bugs-return-577857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94539 invoked by alias); 10 Oct 2017 07:07: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 87329 invoked by uid 48); 10 Oct 2017 07:07:52 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
Date: Tue, 10 Oct 2017 07: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-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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-82159-4-ogFdyZUvKp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00917.txt.bz2
Content-length: 785

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[6/7/8 Regression] ICE: in  |[6 Regression] ICE: in
                   |assign_temp, at             |assign_temp, at
                   |function.c:961              |function.c:961

--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to chr from comment #9)
> Created attachment 42333 [details]
> gcc 7.2.1 20170915 ICE testcase
> 
> Attached testcase.cpp as file.
> 
> g++ -O0 testcase.cpp

Works on GCC 7 branch after Jakub's backport. Do you plan Jakub to backport
also to GCC 6 branch?
>From gcc-bugs-return-577858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 07:12:19 2017
Return-Path: <gcc-bugs-return-577858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120066 invoked by alias); 10 Oct 2017 07:12: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 119983 invoked by uid 48); 10 Oct 2017 07:12:13 -0000
From: "daniel.santos at pobox dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82485] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:13232
Date: Tue, 10 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel.santos at pobox 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82485-4-rJaHAjvKpX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82485-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82485-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00918.txt.bz2
Content-length: 1461

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

Daniel Santos <daniel.santos at pobox dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.santos at pobox dot com

--- Comment #3 from Daniel Santos <daniel.santos at pobox dot com> ---
(In reply to Jakub Jelinek from comment #2)
> Daniel, can you please have a look at this?  Thanks.

This looks like a duplicate of pr82002, which I've been a bit slow to resolve. 
The fix to this error is a really small patch:

@@ -15682,7 +15682,7 @@ ix86_expand_epilogue (int style)
         the stack pointer, if we will restore SSE regs via sp.  */
       if (TARGET_64BIT
          && m->fs.sp_offset > 0x7fffffff
-         && sp_valid_at (frame.stack_realign_offset)
+         && sp_valid_at (frame.stack_realign_offset + 1)
          && (frame.nsseregs + frame.nregs) != 0)
        {
          pro_epilogue_adjust_stack (stack_pointer_rtx, stack_pointer_rtx,


The problem is that if you throw in an ms to sysv call, it breaks due to the
the SP offset overflowing and needing to use a temp register.  So I've
rewritten choose_baseaddr so that when this is needed, it can track the value
of a scratch register so that we don't end up repeating the calculation for
each access beyond the 32-bit range.  Anyway, I'll try to finish that up this
week.
>From gcc-bugs-return-577859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 07:52:56 2017
Return-Path: <gcc-bugs-return-577859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18090 invoked by alias); 10 Oct 2017 07: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 18047 invoked by uid 48); 10 Oct 2017 07:52:52 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82500] New: [8 Regression] UBSAN in gcc/profile-count.h:190:14: runtime error: signed integer overflow: 1073741823 * 10000 cannot be represented in type 'int'
Date: Tue, 10 Oct 2017 07:52: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 cc target_milestone
Message-ID: <bug-82500-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00919.txt.bz2
Content-length: 1088

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

            Bug ID: 82500
           Summary: [8 Regression] UBSAN in gcc/profile-count.h:190:14:
                    runtime error: signed integer overflow: 1073741823 *
                    10000 cannot be represented in type 'int'
           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
                CC: hubicka at ucw dot cz
  Target Milestone: ---

Having bootstrap-ubsan, one can see:

$ cat /tmp/ubsan.i
int d();
int e();

__attribute__((__cold__)) int a();
int b() { a(); }
int c() {
  b();
  if (d())
    e();
}

$ gcc -O2 /tmp/ubsan.i -c
../../gcc/profile-count.h:190:14: runtime error: signed integer overflow:
1073741823 * 10000 cannot be represented in type 'int'
../../gcc/profile-count.h:190:14: runtime error: signed integer overflow:
1073741823 * 10000 cannot be represented in type 'int'

I'll fix it.
>From gcc-bugs-return-577860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 07:53:30 2017
Return-Path: <gcc-bugs-return-577860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18994 invoked by alias); 10 Oct 2017 07:53: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 18943 invoked by uid 48); 10 Oct 2017 07:53:26 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82500] [8 Regression] UBSAN in gcc/profile-count.h:190:14: runtime error: signed integer overflow: 1073741823 * 10000 cannot be represented in type 'int'
Date: Tue, 10 Oct 2017 07:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 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 assigned_to everconfirmed cf_known_to_fail
Message-ID: <bug-82500-4-Nwf3BF9lMF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82500-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82500-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00920.txt.bz2
Content-length: 548

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-10
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |8.0
>From gcc-bugs-return-577861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 07:57:11 2017
Return-Path: <gcc-bugs-return-577861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34046 invoked by alias); 10 Oct 2017 07: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 33866 invoked by uid 48); 10 Oct 2017 07:56:59 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] New: AddressSanitizer does not handle negative offset for first global variable
Date: Tue, 10 Oct 2017 07:57: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: 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
Message-ID: <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: 2017-10/txt/msg00921.txt.bz2
Content-length: 821

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

            Bug ID: 82501
           Summary: AddressSanitizer does not handle negative offset for
                    first global variable
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin 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: ---

$ cat main.c
int g = 0;
int main(int argc, char **argv)
{
  int *ptr = &g;
  *(ptr - 1) = 'c'; // should BOOM here
}

$ gcc main.c -fsanitize=address && ./a.out
>From gcc-bugs-return-577862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 07:58:31 2017
Return-Path: <gcc-bugs-return-577862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35818 invoked by alias); 10 Oct 2017 07: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 35440 invoked by uid 48); 10 Oct 2017 07:58:04 -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, 10 Oct 2017 07:58: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-82501-4-atAEBaepFr@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: 2017-10/txt/msg00922.txt.bz2
Content-length: 495

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-10
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-577863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 08:59:14 2017
Return-Path: <gcc-bugs-return-577863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33611 invoked by alias); 10 Oct 2017 08:59: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 33364 invoked by uid 48); 10 Oct 2017 08:59:07 -0000
From: "chr at terma dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
Date: Tue, 10 Oct 2017 08: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.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chr at terma 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82159-4-trVMiN5FiX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00923.txt.bz2
Content-length: 274

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

--- Comment #11 from chr at terma dot com ---
I've build the 7.2.0 with patch. The testcase compiles, but the original code
doesn't compile with the patched compiler. I'll try to run creduce with the
patched compiler.
>From gcc-bugs-return-577864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 09:47:42 2017
Return-Path: <gcc-bugs-return-577864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118600 invoked by alias); 10 Oct 2017 09:47:42 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 118534 invoked by uid 48); 10 Oct 2017 09:47:34 -0000
From: "paul.groke at dynatrace dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82270] incorrect warning [-Wignored-attributes]
Date: Tue, 10 Oct 2017 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: 6.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paul.groke at dynatrace 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-82270-4-vRfbW54bDG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82270-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82270-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00924.txt.bz2
Content-length: 400

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

--- Comment #2 from Paul Groke <paul.groke at dynatrace dot com> ---
I've contributed a workaround to Boost that avoids the bogus warning when using
boost::container::small_vector:
https://github.com/boostorg/move/pull/14

So if whoever fixes this wants to test with boost::container::small_vector,
he/she should use Boost version <= 1.65.1.
>From gcc-bugs-return-577865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 10:17:41 2017
Return-Path: <gcc-bugs-return-577865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39273 invoked by alias); 10 Oct 2017 10: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 39188 invoked by uid 48); 10 Oct 2017 10:17:37 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81299] [8 Regression] Spurious "set but not used" warning with constexpr variable
Date: Tue, 10 Oct 2017 10: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
X-Bugzilla-Keywords: diagnostic, 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on short_desc everconfirmed
Message-ID: <bug-81299-4-liBrxGVFFm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81299-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00925.txt.bz2
Content-length: 972

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-10
            Summary|Spurious "set but not used" |[8 Regression] Spurious
                   |warning with constexpr      |"set but not used" warning
                   |variable                    |with constexpr variable
     Ever confirmed|0                           |1

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Confirmed in gcc-7-branch. In trunk the testcase currently crashes the compiler
with "trying to capture ‘fun’ in instantiation of generic lambda". I think the
ICE is a Dup, however.
>From gcc-bugs-return-577866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 10:17:46 2017
Return-Path: <gcc-bugs-return-577866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39764 invoked by alias); 10 Oct 2017 10: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 39285 invoked by uid 48); 10 Oct 2017 10:17:41 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82500] [8 Regression] UBSAN in gcc/profile-count.h:190:14: runtime error: signed integer overflow: 1073741823 * 10000 cannot be represented in type 'int'
Date: Tue, 10 Oct 2017 10: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: 8.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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: version target_milestone
Message-ID: <bug-82500-4-6VO5qQlJDM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82500-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82500-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00926.txt.bz2
Content-length: 346

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |8.0
   Target Milestone|---                         |8.0
>From gcc-bugs-return-577867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 10:19:54 2017
Return-Path: <gcc-bugs-return-577867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43281 invoked by alias); 10 Oct 2017 10:19: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 43201 invoked by uid 48); 10 Oct 2017 10:19:49 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82499] x86: small stack initial adjustments could use push
Date: Tue, 10 Oct 2017 10: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: 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 cf_gcctarget bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82499-4-oAkWfLgdvP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00927.txt.bz2
Content-length: 623

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Target|                            |x86_64-*-*, i?86-*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-10
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-577868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 10:22:04 2017
Return-Path: <gcc-bugs-return-577868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46811 invoked by alias); 10 Oct 2017 10: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 46723 invoked by uid 48); 10 Oct 2017 10:22:00 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82471] Reorder loop for unfavorable index ordering in DO  CONCURRENT and FORALL
Date: Tue, 10 Oct 2017 10: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.2.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82471-4-KvKkJOSONW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82471-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00928.txt.bz2
Content-length: 254

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

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note I think this is sth for a frontend-optimization given the FE has a better
idea about dependences according to Fortran rules.
>From gcc-bugs-return-577870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 10:26:49 2017
Return-Path: <gcc-bugs-return-577870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52074 invoked by alias); 10 Oct 2017 10: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 51991 invoked by uid 48); 10 Oct 2017 10:26:45 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81318] [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189
Date: Tue, 10 Oct 2017 10: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: ice-on-valid-code
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81318-4-6KRH3IjIYo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00930.txt.bz2
Content-length: 187

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

--- Comment #31 from Martin Liška <marxin at gcc dot gnu.org> ---
*** Bug 82500 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-577869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 10:26:49 2017
Return-Path: <gcc-bugs-return-577869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52053 invoked by alias); 10 Oct 2017 10: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 51900 invoked by uid 48); 10 Oct 2017 10:26:44 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82500] [8 Regression] UBSAN in gcc/profile-count.h:190:14: runtime error: signed integer overflow: 1073741823 * 10000 cannot be represented in type 'int'
Date: Tue, 10 Oct 2017 10: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82500-4-bCre6IKh1L@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82500-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82500-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00929.txt.bz2
Content-length: 497

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

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

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

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

*** This bug has been marked as a duplicate of bug 81318 ***
>From gcc-bugs-return-577871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 10:46:26 2017
Return-Path: <gcc-bugs-return-577871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64272 invoked by alias); 10 Oct 2017 10: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 64055 invoked by uid 48); 10 Oct 2017 10:46:22 -0000
From: "maxim.yegorushkin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82502] New: Cannot roundtrip / stream-read a hexfloat double.
Date: Tue, 10 Oct 2017 10:46: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: 6.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: maxim.yegorushkin 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-82502-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00931.txt.bz2
Content-length: 1146

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

            Bug ID: 82502
           Summary: Cannot roundtrip / stream-read a hexfloat double.
           Product: gcc
           Version: 6.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: maxim.yegorushkin at gmail dot com
  Target Milestone: ---

The following code successfully outputs double's in hexfloat format, but it
cannot read them back:

    #include <sstream>
    #include <iostream>
    #include <iomanip>

    int main() {
        std::cout << "Writing:\n";
        std::stringstream ss;
        ss << std::hexfloat << 1 << '\n' << 2 << '\n' << 1.234 << '\n' << 5.678
<< '\n';
        std::cout << ss.str() << "Reading:\n";
        ss >> std::hexfloat;
        for(double d; ss >> d;)
            std::cout << d << '\n';
    }

It outputs:

    Writing:
    1
    2
    0x1.3be76c8b43958p+0
    0x1.6b645a1cac083p+2
    Reading:
    1
    2
    0

Looks like this issue is related to
https://cplusplus.github.io/LWG/lwg-active.html#2381
>From gcc-bugs-return-577872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 10:57:38 2017
Return-Path: <gcc-bugs-return-577872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67340 invoked by alias); 10 Oct 2017 10:57: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 67279 invoked by uid 48); 10 Oct 2017 10:57:29 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82493] [8 Regression] UBSAN in gcc/sbitmap.c:368:28: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'
Date: Tue, 10 Oct 2017 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: 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 assigned_to short_desc everconfirmed
Message-ID: <bug-82493-4-MojnZoi1e6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82493-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82493-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00932.txt.bz2
Content-length: 1013

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-10
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
            Summary|UBSAN in                    |[8 Regression] UBSAN in
                   |gcc/sbitmap.c:368:28:       |gcc/sbitmap.c:368:28:
                   |runtime error: shift        |runtime error: shift
                   |exponent 64 is too large    |exponent 64 is too large
                   |for 64-bit type 'long       |for 64-bit type 'long
                   |unsigned int'               |unsigned int'
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I've got patch for that.
>From gcc-bugs-return-577874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 11:09:40 2017
Return-Path: <gcc-bugs-return-577874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95533 invoked by alias); 10 Oct 2017 11:09: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 95471 invoked by uid 48); 10 Oct 2017 11:09:36 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81122] parsing f stopped after '0' when reading std::hexfloat >> f;
Date: Tue, 10 Oct 2017 11:09: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.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-81122-4-Jwf1vEynuI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81122-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81122-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00934.txt.bz2
Content-length: 453

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim.yegorushkin at gmail dot com

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 82502 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-577873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 11:09:40 2017
Return-Path: <gcc-bugs-return-577873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95525 invoked by alias); 10 Oct 2017 11:09: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 95455 invoked by uid 48); 10 Oct 2017 11:09:35 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82502] Cannot roundtrip / stream-read a hexfloat double.
Date: Tue, 10 Oct 2017 11:09: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.4.1
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-82502-4-xnYUJxvRET@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82502-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82502-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00933.txt.bz2
Content-length: 741

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

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 Maxim Egorushkin from comment #0)
> Looks like this issue is related to
> https://cplusplus.github.io/LWG/lwg-active.html#2381

Yep, and it's a dup. We implement exactly what the standard requires, which
doesn't support reading hexfloats back.

*** This bug has been marked as a duplicate of bug 81122 ***
>From gcc-bugs-return-577876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 11:26:25 2017
Return-Path: <gcc-bugs-return-577876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41463 invoked by alias); 10 Oct 2017 11: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 38908 invoked by uid 55); 10 Oct 2017 11:26:19 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/59087] Issues including complex.h in C++11/1y mode because of C's complex.h
Date: Tue, 10 Oct 2017 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: 4.8.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-59087-4-lAzxWKdlGG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59087-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59087-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00936.txt.bz2
Content-length: 1815

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

--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Oct 10 11:25:45 2017
New Revision: 253581

URL: https://gcc.gnu.org/viewcvs?rev=253581&root=gcc&view=rev
Log:
PR libstdc++/82417 do not include C99 <complex.h> in strict modes

As an extension the C++ version of <complex.h> includes the C version,
but that defines macros with non-reserved names that should not be
defined in ISO C++. Only include the C header for non-strict modes, or
for pre-C++11 (because C++98 doesn't mention <complex.h> at all).

        PR libstdc++/59087
        PR libstdc++/82417
        * include/c_compatibility/complex.h [!C++98 && __STRICT_ANSI__]: Do
        not include C library's <complex.h>.
        * testsuite/26_numerics/complex/c99.cc: Depend on __STRICT_ANSI__.
        * testsuite/26_numerics/headers/complex.h/std_c++11.h: New test.
        * testsuite/26_numerics/headers/complex.h/std_gnu++11.h: New test.
        * testsuite/26_numerics/headers/complex.h/std_c++98.h: New test.

Added:
    trunk/libstdc++-v3/testsuite/26_numerics/headers/complex.h/
    trunk/libstdc++-v3/testsuite/26_numerics/headers/complex.h/std_c++11.h
      - copied, changed from r253550,
trunk/libstdc++-v3/testsuite/26_numerics/complex/c99.cc
    trunk/libstdc++-v3/testsuite/26_numerics/headers/complex.h/std_c++98.h
      - copied, changed from r253550,
trunk/libstdc++-v3/testsuite/26_numerics/complex/c99.cc
    trunk/libstdc++-v3/testsuite/26_numerics/headers/complex.h/std_gnu++11.h
      - copied, changed from r253550,
trunk/libstdc++-v3/testsuite/26_numerics/complex/c99.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/c_compatibility/complex.h
    trunk/libstdc++-v3/testsuite/26_numerics/complex/c99.cc
>From gcc-bugs-return-577875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 11:26:25 2017
Return-Path: <gcc-bugs-return-577875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41320 invoked by alias); 10 Oct 2017 11:26:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 38518 invoked by uid 55); 10 Oct 2017 11:26:18 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82417] Macros from <complex.h> defined in C++11
Date: Tue, 10 Oct 2017 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.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-82417-4-vywCK95507@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82417-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82417-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00935.txt.bz2
Content-length: 1814

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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Oct 10 11:25:45 2017
New Revision: 253581

URL: https://gcc.gnu.org/viewcvs?rev=253581&root=gcc&view=rev
Log:
PR libstdc++/82417 do not include C99 <complex.h> in strict modes

As an extension the C++ version of <complex.h> includes the C version,
but that defines macros with non-reserved names that should not be
defined in ISO C++. Only include the C header for non-strict modes, or
for pre-C++11 (because C++98 doesn't mention <complex.h> at all).

        PR libstdc++/59087
        PR libstdc++/82417
        * include/c_compatibility/complex.h [!C++98 && __STRICT_ANSI__]: Do
        not include C library's <complex.h>.
        * testsuite/26_numerics/complex/c99.cc: Depend on __STRICT_ANSI__.
        * testsuite/26_numerics/headers/complex.h/std_c++11.h: New test.
        * testsuite/26_numerics/headers/complex.h/std_gnu++11.h: New test.
        * testsuite/26_numerics/headers/complex.h/std_c++98.h: New test.

Added:
    trunk/libstdc++-v3/testsuite/26_numerics/headers/complex.h/
    trunk/libstdc++-v3/testsuite/26_numerics/headers/complex.h/std_c++11.h
      - copied, changed from r253550,
trunk/libstdc++-v3/testsuite/26_numerics/complex/c99.cc
    trunk/libstdc++-v3/testsuite/26_numerics/headers/complex.h/std_c++98.h
      - copied, changed from r253550,
trunk/libstdc++-v3/testsuite/26_numerics/complex/c99.cc
    trunk/libstdc++-v3/testsuite/26_numerics/headers/complex.h/std_gnu++11.h
      - copied, changed from r253550,
trunk/libstdc++-v3/testsuite/26_numerics/complex/c99.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/c_compatibility/complex.h
    trunk/libstdc++-v3/testsuite/26_numerics/complex/c99.cc
>From gcc-bugs-return-577877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 11:32:12 2017
Return-Path: <gcc-bugs-return-577877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123920 invoked by alias); 10 Oct 2017 11:32: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 116780 invoked by uid 48); 10 Oct 2017 11:32:09 -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: Tue, 10 Oct 2017 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: 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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-vO1ayxLfVB@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: 2017-10/txt/msg00937.txt.bz2
Content-length: 1020

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
As discussed on IRC, with current libasan __asan_register_globals, we have 2
options:
1) add an object that we link early with -fsanitize=address that contains zero
sized variables with following redzone registered with __asan_register_globals
in .rodata, .data and .bss sections (similarly to how libasan_preinit.o is
added to non- -shared links, this would be something added to every link)
2) in each TU emit such zero sized variable with following redzone and register
it before the first variable in .data, .rodata and/or .bss if any vars are
emitted there

1) has the advantage that it wastes less memory in red zones (especially with
many TUs), but will work well only if not mixing TUs with -fsanitize=address
and without
2) wastes more memory and is more costly also because registering more globals,
but will work better when mixing TUs with -fsanitize=address and without
>From gcc-bugs-return-577878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 11:35:32 2017
Return-Path: <gcc-bugs-return-577878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28053 invoked by alias); 10 Oct 2017 11:35: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 22740 invoked by uid 48); 10 Oct 2017 11:35:28 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/59087] Issues including complex.h in C++11/1y mode because of C's complex.h
Date: Tue, 10 Oct 2017 11: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: 4.8.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-59087-4-VHCNGwKIFs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59087-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59087-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00938.txt.bz2
Content-length: 742

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

--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Vitali from comment #12)
> Actually, http://en.cppreference.com/w/cpp/header seems to indicate that
> when compiling as C++, complex.h should be equal to including ccomplex in a
> global namespace.

Maybe it used to say that, but it's correct now: <complex.h> just includes
<ccomplex> and doesn't add the content to the global namespace.

>  It seems like the inclusion of C99 complex.h is a GNU
> extension & should only be done if GNU extensions are enabled.

Yes. For GCC 8 you only get C99 <complex.h> for -std=gnu++NN modes, not
-std=c++NN modes.

Is there still any reason to keep this bug open?
>From gcc-bugs-return-577879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 11:39:48 2017
Return-Path: <gcc-bugs-return-577879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82463 invoked by alias); 10 Oct 2017 11:39: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 82390 invoked by uid 48); 10 Oct 2017 11:39:44 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82503] New: Warn on inclusion of <ccomplex> or <complex.h>
Date: Tue, 10 Oct 2017 11:39: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: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82503-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00939.txt.bz2
Content-length: 946

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

            Bug ID: 82503
           Summary: Warn on inclusion of <ccomplex> or <complex.h>
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

From Bug 82417 comment 3:

  Can we get a #warning in that case which explains that including <complex.h>
  in strict C++11+ mode makes no sense? Actually, <ccomplex> could also do with
  a #warning explaining that it never makes sense to include it.

The reasoning is that <ccomplex> is identical to <complex>, except for being
deprecated. There's no reason to ever prefer <ccomplex> to <complex>.

In strict C++11+ modes the header <complex.h> is identical to <ccomplex> so the
same argument applies.
>From gcc-bugs-return-577880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 11:40:34 2017
Return-Path: <gcc-bugs-return-577880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83787 invoked by alias); 10 Oct 2017 11:40: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 83684 invoked by uid 48); 10 Oct 2017 11:40:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82417] Macros from <complex.h> defined in C++11
Date: Tue, 10 Oct 2017 11:40: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status see_also resolution target_milestone
Message-ID: <bug-82417-4-TRls61HaMT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82417-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82417-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00940.txt.bz2
Content-length: 690

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=82503
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk. Bug 82503 opened for the request to add a warning.
>From gcc-bugs-return-577881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 11:41:51 2017
Return-Path: <gcc-bugs-return-577881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85100 invoked by alias); 10 Oct 2017 11:41: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 85053 invoked by uid 48); 10 Oct 2017 11:41:48 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63579] New attribute for empty member optimization
Date: Tue, 10 Oct 2017 11: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: 5.0
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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-63579-4-uzTHPljoHf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63579-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63579-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00941.txt.bz2
Content-length: 402

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-10
     Ever confirmed|0                           |1
>From gcc-bugs-return-577882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 12:25:23 2017
Return-Path: <gcc-bugs-return-577882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62313 invoked by alias); 10 Oct 2017 12:25: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 62246 invoked by uid 48); 10 Oct 2017 12:25:17 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82497] valgrind error in get_pdt_constructor
Date: Tue, 10 Oct 2017 12: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
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-82497-4-PoIzb72prR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82497-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00942.txt.bz2
Content-length: 857

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

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 #1 from Paul Thomas <pault at gcc dot gnu.org> ---
Hello David,

I am impressed by the amount of memory leakage that the compiler itself is
suffering but I cannot reproduce the invalid read that you report. There is no
runtime memory leakage, which I had already checked before, and nothing else
other than a large number of redirections.

I will return to this in a couple of days - in the meantime I have daytime work
to attend to.

Cheers

Paul
>From gcc-bugs-return-577884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 12:27:42 2017
Return-Path: <gcc-bugs-return-577884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64857 invoked by alias); 10 Oct 2017 12:27: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 64500 invoked by uid 48); 10 Oct 2017 12:27:33 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82168] Parameterized Derived Types, problems with default type parameters
Date: Tue, 10 Oct 2017 12: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.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-82168-4-PwFW3GQgK1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82168-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82168-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00944.txt.bz2
Content-length: 458

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

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> ---
Fixed on trunk.

Thanks for the report.

Paul
>From gcc-bugs-return-577883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 12:27:39 2017
Return-Path: <gcc-bugs-return-577883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64584 invoked by alias); 10 Oct 2017 12: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 64528 invoked by uid 48); 10 Oct 2017 12:27:34 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82173] [meta-bug] Parameterized derived type errors
Date: Tue, 10 Oct 2017 12: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: 8.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 resolution
Message-ID: <bug-82173-4-BtJSEck48n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00943.txt.bz2
Content-length: 494

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

Bug 82168 Summary: Parameterized Derived Types, problems with default type parameters
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82168

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-577885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 12:28:28 2017
Return-Path: <gcc-bugs-return-577885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78127 invoked by alias); 10 Oct 2017 12: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 74744 invoked by uid 48); 10 Oct 2017 12:28:23 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82375] PDT components in PDT declarations fail to compile
Date: Tue, 10 Oct 2017 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: 8.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-82375-4-Uq3yZljXes@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82375-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82375-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00945.txt.bz2
Content-length: 458

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

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

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

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on trunk.

Thanks for the report.

Paul
>From gcc-bugs-return-577886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 12:28:29 2017
Return-Path: <gcc-bugs-return-577886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78483 invoked by alias); 10 Oct 2017 12:28: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 76012 invoked by uid 48); 10 Oct 2017 12:28:25 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82173] [meta-bug] Parameterized derived type errors
Date: Tue, 10 Oct 2017 12:28: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: 8.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 resolution
Message-ID: <bug-82173-4-TQZWV4001U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00946.txt.bz2
Content-length: 476

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

Bug 82375 Summary: PDT components in PDT declarations fail to compile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82375

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-577887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 12:36:49 2017
Return-Path: <gcc-bugs-return-577887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57104 invoked by alias); 10 Oct 2017 12:36: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 54088 invoked by uid 48); 10 Oct 2017 12:36:45 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82173] [meta-bug] Parameterized derived type errors
Date: Tue, 10 Oct 2017 12:36: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 at hotmail dot com
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 resolution
Message-ID: <bug-82173-4-4dKZxM1LUH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00947.txt.bz2
Content-length: 468

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

Bug 82497 Summary: valgrind error in get_pdt_constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82497

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME
>From gcc-bugs-return-577888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 12:36:55 2017
Return-Path: <gcc-bugs-return-577888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58555 invoked by alias); 10 Oct 2017 12:36: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 53482 invoked by uid 48); 10 Oct 2017 12:36:44 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82497] valgrind error in get_pdt_constructor
Date: Tue, 10 Oct 2017 12: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 at hotmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
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-82497-4-4SY3Zxp39V@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82497-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00948.txt.bz2
Content-length: 533

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

David Binderman <dcb314 at hotmail dot com> changed:

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

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
>I cannot reproduce the invalid read that you report.

That's fine. Thanks for looking into this problem.
>From gcc-bugs-return-577910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:59 2017
Return-Path: <gcc-bugs-return-577910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69405 invoked by alias); 10 Oct 2017 13: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 64714 invoked by uid 48); 10 Oct 2017 13: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/69702] [5/6/7/8 Regression] excessive stack usage with -fprofile-arcs, LIM store motion lacks a register pressure aware cost model
Date: Tue, 10 Oct 2017 13: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: 5.3.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69702-4-BRj3ScLs1J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69702-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69702-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00966.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:37 2017
Return-Path: <gcc-bugs-return-577903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62885 invoked by alias); 10 Oct 2017 13: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 58358 invoked by uid 48); 10 Oct 2017 13:25:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59124] [5/6 Regression] Wrong warnings "array subscript is above array bounds"
Date: Tue, 10 Oct 2017 13: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: 4.8.3
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: ppalka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-59124-4-sfDr7lzN4V@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59124-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59124-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00959.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #46 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:32 2017
Return-Path: <gcc-bugs-return-577899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59328 invoked by alias); 10 Oct 2017 13: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 55854 invoked by uid 48); 10 Oct 2017 13:25:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/79993] [5/6 Regression] ICE in tree_to_uhwi, at tree.c:7344
Date: Tue, 10 Oct 2017 13: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79993-4-4Na9Fjr9wM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79993-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79993-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00971.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:00 2017
Return-Path: <gcc-bugs-return-577911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71280 invoked by alias); 10 Oct 2017 13: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 65716 invoked by uid 48); 10 Oct 2017 13:25:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/68028] [5/6/7/8 regression] Compilation error "lto1: error: target attribute or pragma changes single precision floating point" with LTO on PowerPC
Date: Tue, 10 Oct 2017 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: 5.2.0
X-Bugzilla-Keywords: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-68028-4-Mt4VG3eOfO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68028-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68028-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00968.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:14 2017
Return-Path: <gcc-bugs-return-577894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54172 invoked by alias); 10 Oct 2017 13:25: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 49691 invoked by uid 48); 10 Oct 2017 13:24:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/65797] [5/6/7/8 regression] IPA ICF causes function to be emitted with no debug line info
Date: Tue, 10 Oct 2017 13: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: 5.0
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: P2
X-Bugzilla-Assigned-To: hubicka at ucw dot cz
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-65797-4-3BY92AiVih@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00956.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:22 2017
Return-Path: <gcc-bugs-return-577896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57153 invoked by alias); 10 Oct 2017 13:25: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 52139 invoked by uid 48); 10 Oct 2017 13:25:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/57955] [5/6/7/8 Regression] Uniquization of constants reduces alignment of initializers
Date: Tue, 10 Oct 2017 13: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: 4.6.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-57955-4-b3M1mgnXC9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57955-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57955-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00954.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:10 2017
Return-Path: <gcc-bugs-return-577893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52084 invoked by alias); 10 Oct 2017 13:25: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 49596 invoked by uid 48); 10 Oct 2017 13:24:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/51017] [5/6/7/8 Regression] GCC performance regression (vs. 4.4/4.5), PRE/LIM increase register pressure too much
Date: Tue, 10 Oct 2017 13: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: 4.6.2
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-51017-4-tgoCbHlFJf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-51017-4@http.gcc.gnu.org/bugzilla/>
References: <bug-51017-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00950.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:18 2017
Return-Path: <gcc-bugs-return-577895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54988 invoked by alias); 10 Oct 2017 13: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 49816 invoked by uid 48); 10 Oct 2017 13:24:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80294] [5/6 Regression] ICE with constexpr and inheritance
Date: Tue, 10 Oct 2017 13: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.0.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80294-4-PNWPeRME6e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80294-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00953.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:08 2017
Return-Path: <gcc-bugs-return-577890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51829 invoked by alias); 10 Oct 2017 13: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 49402 invoked by uid 48); 10 Oct 2017 13:24:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71747] [5/6 Regression] ICE on invalid C++11 code with misuse of overloaded operator '()': Segmentation fault (program cc1plus)
Date: Tue, 10 Oct 2017 13: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.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: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71747-4-LkiuJV1XtN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71747-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71747-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00949.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:46 2017
Return-Path: <gcc-bugs-return-577906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68075 invoked by alias); 10 Oct 2017 13: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 58756 invoked by uid 48); 10 Oct 2017 13:25:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/62051] [5/6/7/8 Regression] Undefined reference to vtable with -O2 and -fdevirtualize-speculatively
Date: Tue, 10 Oct 2017 13: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: 5.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: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-62051-4-bD5cgEOVvE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62051-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00962.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:32 2017
Return-Path: <gcc-bugs-return-577898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58955 invoked by alias); 10 Oct 2017 13:25: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 54806 invoked by uid 48); 10 Oct 2017 13:25:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/80960] [5/6/7/8 Regression] Huge memory use when compiling a very large test case
Date: Tue, 10 Oct 2017 13: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: 6.3.0
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80960-4-wrykEEwm2r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80960-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80960-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00957.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:47 2017
Return-Path: <gcc-bugs-return-577909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68470 invoked by alias); 10 Oct 2017 13: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 63452 invoked by uid 48); 10 Oct 2017 13:25:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/28831] [5/6/7/8 Regression] Aggregate copy not elided when using a return value as a pass-by-value parameter
Date: Tue, 10 Oct 2017 13: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: 4.2.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-28831-4-ucZTa8r2JT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-28831-4@http.gcc.gnu.org/bugzilla/>
References: <bug-28831-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00967.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #30 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:19 2017
Return-Path: <gcc-bugs-return-577913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72908 invoked by alias); 10 Oct 2017 13: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 68945 invoked by uid 48); 10 Oct 2017 13:25:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79633] [5/6 Regression] ICE in gimple_call_arg, at gimple.h:3163
Date: Tue, 10 Oct 2017 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: 7.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: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79633-4-Y438phorHM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00969.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:35 2017
Return-Path: <gcc-bugs-return-577902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62757 invoked by alias); 10 Oct 2017 13: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 55455 invoked by uid 48); 10 Oct 2017 13:25:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/74762] [5/6/7/8 Regression] missing uninitialized warning (C++, parenthesized expr, TREE_NO_WARNING)
Date: Tue, 10 Oct 2017 13: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.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-74762-4-crg7vZki2Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-74762-4@http.gcc.gnu.org/bugzilla/>
References: <bug-74762-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00958.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:48 2017
Return-Path: <gcc-bugs-return-577908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68251 invoked by alias); 10 Oct 2017 13: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 64221 invoked by uid 48); 10 Oct 2017 13:25:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81291] [5/6/7/8 Regression] wrong code with -O2 -fno-rerun-cse-after-loop -fno-tree-ter -fno-tree-vrp -funroll-loops due to improper carry
Date: Tue, 10 Oct 2017 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: 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81291-4-hnW5B6PKk2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81291-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81291-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00965.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:31 2017
Return-Path: <gcc-bugs-return-577897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58674 invoked by alias); 10 Oct 2017 13: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 53223 invoked by uid 48); 10 Oct 2017 13:25:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78707] [5/6 Regression] internal compiler error: in push_reload, at reload.c:1349
Date: Tue, 10 Oct 2017 13: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: 6.2.1
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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78707-4-gun2XCZlDR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78707-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78707-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00960.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:12 2017
Return-Path: <gcc-bugs-return-577889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51775 invoked by alias); 10 Oct 2017 13: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 49113 invoked by uid 48); 10 Oct 2017 13:24:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80259] [5/6/7/8 Regression] ICE deleting friend function
Date: Tue, 10 Oct 2017 13: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.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80259-4-927Myd4YjD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80259-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80259-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00951.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:08 2017
Return-Path: <gcc-bugs-return-577891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51862 invoked by alias); 10 Oct 2017 13: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 48766 invoked by uid 48); 10 Oct 2017 13:24:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81275] [5/6/7/8 Regression] -fsanitize=thread produce incorrect -Wreturn-type warning
Date: Tue, 10 Oct 2017 13: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: 7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81275-4-pydFT8udrY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81275-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81275-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00955.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:08 2017
Return-Path: <gcc-bugs-return-577892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51996 invoked by alias); 10 Oct 2017 13: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 49282 invoked by uid 48); 10 Oct 2017 13:24:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/57193] [5/6/7/8 Regression] suboptimal register allocation for SSE registers
Date: Tue, 10 Oct 2017 13: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: 4.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: P2
X-Bugzilla-Assigned-To: vmakarov at redhat dot com
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-57193-4-z5zPYi5ZCd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57193-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57193-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00952.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:16 2017
Return-Path: <gcc-bugs-return-577912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72193 invoked by alias); 10 Oct 2017 13: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 64556 invoked by uid 48); 10 Oct 2017 13:25:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79960] [5/6 Regression] Class template partial specializations for const volatile types don't match
Date: Tue, 10 Oct 2017 13: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.0.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79960-4-RxT0MIX8rq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79960-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79960-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00970.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:35 2017
Return-Path: <gcc-bugs-return-577904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63049 invoked by alias); 10 Oct 2017 13: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 57747 invoked by uid 48); 10 Oct 2017 13:25:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80017] [5/6 Regression] ICE: Max. number of generated reload insns per insn is achieved (90)
Date: Tue, 10 Oct 2017 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: 7.0
X-Bugzilla-Keywords: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80017-4-0D70sPtOkz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80017-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80017-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00961.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:45 2017
Return-Path: <gcc-bugs-return-577905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64800 invoked by alias); 10 Oct 2017 13: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 60064 invoked by uid 48); 10 Oct 2017 13:25:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/82256] [5/6/7/8 Regression] clones created by create_version_clone_with_body are not observable to insertion hooks
Date: Tue, 10 Oct 2017 13: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: 5.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82256-4-RM1T13BqfW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82256-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82256-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00964.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:48 2017
Return-Path: <gcc-bugs-return-577907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68152 invoked by alias); 10 Oct 2017 13: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 60290 invoked by uid 48); 10 Oct 2017 13:25:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/70341] [5/6/7/8 Regression] cost model for addresses is incorrect, slsr is using reg + reg + CST for arm
Date: Tue, 10 Oct 2017 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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70341-4-Oc9xpbzXyI@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: 2017-10/txt/msg00963.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:32 2017
Return-Path: <gcc-bugs-return-577900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59719 invoked by alias); 10 Oct 2017 13: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 53861 invoked by uid 48); 10 Oct 2017 13:25:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71251] [5/6/7/8 regression] ICE on invalid code, with unusual template name
Date: Tue, 10 Oct 2017 13: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: 7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71251-4-IchSqPdigH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71251-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71251-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00989.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:53 2017
Return-Path: <gcc-bugs-return-577922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86946 invoked by alias); 10 Oct 2017 13:26: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 73349 invoked by uid 48); 10 Oct 2017 13:25:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/52991] [5/6/7/8 Regression] attribute packed broken on mingw32?
Date: Tue, 10 Oct 2017 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: 4.7.0
X-Bugzilla-Keywords: ABI, wrong-code
X-Bugzilla-Severity: major
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-52991-4-pjy9ZbwDb8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52991-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52991-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00980.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:31 2017
Return-Path: <gcc-bugs-return-577916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80263 invoked by alias); 10 Oct 2017 13: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 69572 invoked by uid 48); 10 Oct 2017 13:25:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/69564] [5/6/7/8 Regression] lto and/or C++ make scimark2 LU slower
Date: Tue, 10 Oct 2017 13: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: 6.0
X-Bugzilla-Keywords: lto, 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69564-4-sM4ojTRQCO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69564-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69564-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00972.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #36 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:50 2017
Return-Path: <gcc-bugs-return-577921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84789 invoked by alias); 10 Oct 2017 13:26:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 72407 invoked by uid 48); 10 Oct 2017 13:25:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59642] [5/6 Regression] Performance regression with -ftree-loop-distribute-patterns
Date: Tue, 10 Oct 2017 13:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-59642-4-8upkHAY6Ad@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59642-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59642-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00977.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:27:25 2017
Return-Path: <gcc-bugs-return-577928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95687 invoked by alias); 10 Oct 2017 13: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 81026 invoked by uid 48); 10 Oct 2017 13:26:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/72707] [5/6 regression] local anonymous union member hides names in the same scope
Date: Tue, 10 Oct 2017 13: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: 7.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: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-72707-4-WQN87yQRic@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72707-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72707-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00990.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:49 2017
Return-Path: <gcc-bugs-return-577920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84405 invoked by alias); 10 Oct 2017 13:26: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 72616 invoked by uid 48); 10 Oct 2017 13:25:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/78127] [5/6 Regression] AArch64 internal compiler error: in lra_eliminate, at lra-eliminations.c:1440
Date: Tue, 10 Oct 2017 13: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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78127-4-TOZ0wMYCKY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78127-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78127-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00979.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:53 2017
Return-Path: <gcc-bugs-return-577923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86992 invoked by alias); 10 Oct 2017 13:26: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 73815 invoked by uid 48); 10 Oct 2017 13:25:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/64928] [5/6/7/8 Regression] Inordinate cpu time and memory usage in "phase opt and generate" with -ftest-coverage -fprofile-arcs
Date: Tue, 10 Oct 2017 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: 4.9.2
X-Bugzilla-Keywords: compile-time-hog, memory-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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-64928-4-flEWi7zTFq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64928-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64928-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00988.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:35 2017
Return-Path: <gcc-bugs-return-577918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80432 invoked by alias); 10 Oct 2017 13: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 71861 invoked by uid 48); 10 Oct 2017 13:25:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/70754] [5/6 Regression] ICE during predictive commoning
Date: Tue, 10 Oct 2017 13:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70754-4-GAUlfe9DG2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70754-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70754-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00974.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:27:43 2017
Return-Path: <gcc-bugs-return-577931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101155 invoked by alias); 10 Oct 2017 13:26: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 84210 invoked by uid 48); 10 Oct 2017 13:26:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/70929] [5/6/7/8 regression] Cross-module inlining for functions having argument passed by reference is no longer working.
Date: Tue, 10 Oct 2017 13: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: 6.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70929-4-iI2NSXR7zr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70929-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70929-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00987.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:27:35 2017
Return-Path: <gcc-bugs-return-577930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100796 invoked by alias); 10 Oct 2017 13: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 81668 invoked by uid 48); 10 Oct 2017 13:26:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/38785] [5/6/7/8 Regression] huge performance regression on EEMBC bitmnp01
Date: Tue, 10 Oct 2017 13:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.4.0
X-Bugzilla-Keywords: missed-optimization, patch
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: amylaar at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-38785-4-y4FxBujYko@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-38785-4@http.gcc.gnu.org/bugzilla/>
References: <bug-38785-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00986.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #47 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:24 2017
Return-Path: <gcc-bugs-return-577914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74593 invoked by alias); 10 Oct 2017 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 68779 invoked by uid 48); 10 Oct 2017 13:25:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69224] [5/6/7/8 Regression] -Warray-bounds false positive with -O3 and struct pointer parameter
Date: Tue, 10 Oct 2017 13:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 5.3.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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69224-4-RRcDsbNDKW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69224-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69224-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00976.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:27:32 2017
Return-Path: <gcc-bugs-return-577929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98230 invoked by alias); 10 Oct 2017 13: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 82096 invoked by uid 48); 10 Oct 2017 13:26:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/65821] [5/6/7/8 regression] incorrect debug line # info for main
Date: Tue, 10 Oct 2017 13:26: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: 4.8.2
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-65821-4-8zoM2vrysL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65821-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65821-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00985.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:27:17 2017
Return-Path: <gcc-bugs-return-577925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88741 invoked by alias); 10 Oct 2017 13: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 75897 invoked by uid 48); 10 Oct 2017 13:26:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/46639] [5/6 Regression] Missing optimization due to function splitting and redundant conditionals
Date: Tue, 10 Oct 2017 13:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.6.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-46639-4-hYw1BziUYm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-46639-4@http.gcc.gnu.org/bugzilla/>
References: <bug-46639-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00982.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:53 2017
Return-Path: <gcc-bugs-return-577924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87045 invoked by alias); 10 Oct 2017 13:26: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 74102 invoked by uid 48); 10 Oct 2017 13:25:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/78643] [5/6/7/8 Regression] ICE in convert_move, at expr.c:230
Date: Tue, 10 Oct 2017 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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78643-4-K1YcYgZL18@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78643-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78643-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00991.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:27:20 2017
Return-Path: <gcc-bugs-return-577926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92940 invoked by alias); 10 Oct 2017 13:26: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 75446 invoked by uid 48); 10 Oct 2017 13:26:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80173] [5/6 Regression] ICE in store_bit_field_1, at expmed.c:787
Date: Tue, 10 Oct 2017 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: 4.8.5
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: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80173-4-cHOFbg4QXG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80173-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80173-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00983.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:27:23 2017
Return-Path: <gcc-bugs-return-577927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94616 invoked by alias); 10 Oct 2017 13: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 80458 invoked by uid 48); 10 Oct 2017 13:26:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71662] [5/6/7/8 Regression][DR 1485] ICE on invalid C++11 code with unqualified name look up: in tsubst_copy, at cp/pt.c:14010
Date: Tue, 10 Oct 2017 13: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: 7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71662-4-qxbRjk5fWr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71662-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71662-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00984.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:25 2017
Return-Path: <gcc-bugs-return-577915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75082 invoked by alias); 10 Oct 2017 13: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 69097 invoked by uid 48); 10 Oct 2017 13:25:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/57218] [5/6/7/8 Regression] Excessive inlining even at -Os
Date: Tue, 10 Oct 2017 13:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-57218-4-B18ibkgY2G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57218-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57218-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00981.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:33 2017
Return-Path: <gcc-bugs-return-577917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80385 invoked by alias); 10 Oct 2017 13: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 71419 invoked by uid 48); 10 Oct 2017 13:25:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/39838] [5/6 regression] unoptimal code for two simple loops
Date: Tue, 10 Oct 2017 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: 4.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-39838-4-QkSRZ1zBfs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-39838-4@http.gcc.gnu.org/bugzilla/>
References: <bug-39838-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00973.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:25:32 2017
Return-Path: <gcc-bugs-return-577901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59868 invoked by alias); 10 Oct 2017 13: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 57562 invoked by uid 48); 10 Oct 2017 13:25:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/45273] [5/6/7/8 Regression] The compiler depends on the host double (-fprofile-corection only)
Date: Tue, 10 Oct 2017 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: 4.5.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-45273-4-mPhmcP1OTn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-45273-4@http.gcc.gnu.org/bugzilla/>
References: <bug-45273-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00975.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:26:47 2017
Return-Path: <gcc-bugs-return-577919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82099 invoked by alias); 10 Oct 2017 13: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 72218 invoked by uid 48); 10 Oct 2017 13:25:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/77770] [5/6 Regression] Internal compiler error on source which compiles with earlier versions.
Date: Tue, 10 Oct 2017 13: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: 5.4.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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-77770-4-DOWTvlqJnc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77770-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77770-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00978.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:32 2017
Return-Path: <gcc-bugs-return-577939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120358 invoked by alias); 10 Oct 2017 13: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 89186 invoked by uid 48); 10 Oct 2017 13:26:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug plugins/82371] [5/6/7/8 Regression] Cross-compiling GCC fails when build platform has fread_unlocked but host platform doesn't
Date: Tue, 10 Oct 2017 13:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: plugins
X-Bugzilla-Version: 5.4.0
X-Bugzilla-Keywords: build
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82371-4-YgvrnQtglS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82371-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82371-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00996.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:43 2017
Return-Path: <gcc-bugs-return-577941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122915 invoked by alias); 10 Oct 2017 13: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 89491 invoked by uid 48); 10 Oct 2017 13:26:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79937] [5/6/7/8 Regression] ICE in replace_placeholders_r
Date: Tue, 10 Oct 2017 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: 7.0.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: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79937-4-EeE22bLsFN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79937-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79937-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01000.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:30 2017
Return-Path: <gcc-bugs-return-577938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118695 invoked by alias); 10 Oct 2017 13:27: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 88976 invoked by uid 48); 10 Oct 2017 13:26:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/55278] [5/6/7/8 Regression] Botan performance regressions, other compilers generate better code than gcc
Date: Tue, 10 Oct 2017 13: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: 4.8.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-55278-4-pWEiLpiVMb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55278-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00995.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:32 2017
Return-Path: <gcc-bugs-return-577940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120534 invoked by alias); 10 Oct 2017 13: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 92933 invoked by uid 48); 10 Oct 2017 13:26:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80819] [5/6/7/8 regression] Useless store to the stack  in _mm_set_epi64x with SSE4 -mno-avx
Date: Tue, 10 Oct 2017 13: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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80819-4-4fiPuWm6rV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80819-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80819-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01002.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:00 2017
Return-Path: <gcc-bugs-return-577947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126233 invoked by alias); 10 Oct 2017 13:27: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 98106 invoked by uid 48); 10 Oct 2017 13:26:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71274] [5/6 Regression] deprecated static const member of struct raises warning without use
Date: Tue, 10 Oct 2017 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: 6.1.1
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: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71274-4-zSOyvgVwMM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71274-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01003.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:54 2017
Return-Path: <gcc-bugs-return-577945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124945 invoked by alias); 10 Oct 2017 13: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 97632 invoked by uid 48); 10 Oct 2017 13:26:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78726] [5/6 Regression] Incorrect unsigned arithmetic optimization
Date: Tue, 10 Oct 2017 13: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: 7.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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78726-4-Y2Pq0qfQ16@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78726-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78726-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01001.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:54 2017
Return-Path: <gcc-bugs-return-577944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124132 invoked by alias); 10 Oct 2017 13:27: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 96702 invoked by uid 48); 10 Oct 2017 13:26:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81395] [5/6/7 Regression] basic_filebuf::overflow recurses and overflows stack
Date: Tue, 10 Oct 2017 13: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.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: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81395-4-wUgIvcrdUZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81395-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01006.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:14 2017
Return-Path: <gcc-bugs-return-577933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108506 invoked by alias); 10 Oct 2017 13: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 87345 invoked by uid 48); 10 Oct 2017 13:26:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79360] [5/6 Regression] ICE with NSDMI and enum in union
Date: Tue, 10 Oct 2017 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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79360-4-DNFd7W2W81@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79360-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79360-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01007.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:03 2017
Return-Path: <gcc-bugs-return-577948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126421 invoked by alias); 10 Oct 2017 13:27: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 97822 invoked by uid 48); 10 Oct 2017 13:26:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77849] [5/6 Regression] Warning about deprecated enum even when "-Wdeprecated-declarations" is off
Date: Tue, 10 Oct 2017 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: 6.1.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-77849-4-n3k85HUDDS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77849-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77849-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01004.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:57 2017
Return-Path: <gcc-bugs-return-577946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125351 invoked by alias); 10 Oct 2017 13: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 97317 invoked by uid 48); 10 Oct 2017 13:26:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/38134] [5/6/7/8 Regression] speed regression with many loop invariants
Date: Tue, 10 Oct 2017 13: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: 4.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-38134-4-fwtxTNHQ5O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-38134-4@http.gcc.gnu.org/bugzilla/>
References: <bug-38134-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01005.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:16 2017
Return-Path: <gcc-bugs-return-577952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7497 invoked by alias); 10 Oct 2017 13:27: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 102276 invoked by uid 48); 10 Oct 2017 13:26:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/78407] [5/6 Regression] LTO breaks separate overriding of symbol aliases
Date: Tue, 10 Oct 2017 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: 5.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: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78407-4-iBtxjATUJS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78407-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78407-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01008.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:00 2017
Return-Path: <gcc-bugs-return-577932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105956 invoked by alias); 10 Oct 2017 13: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 87218 invoked by uid 48); 10 Oct 2017 13:26:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/77754] [5/6/7/8 Regression] internal compiler error : tree code 'call_expr' is not supported in LTO streams
Date: Tue, 10 Oct 2017 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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-77754-4-Z9rzLi1Hal@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: 2017-10/txt/msg00992.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:18 2017
Return-Path: <gcc-bugs-return-577936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116019 invoked by alias); 10 Oct 2017 13:27:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 88287 invoked by uid 48); 10 Oct 2017 13:26:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/63311] [5/6/7/8 Regression] -O1 optimization introduces valgrind warning
Date: Tue, 10 Oct 2017 13: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: 5.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-63311-4-ItS3VKnSox@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63311-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63311-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00993.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:17 2017
Return-Path: <gcc-bugs-return-577953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7710 invoked by alias); 10 Oct 2017 13:27: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 101953 invoked by uid 48); 10 Oct 2017 13:26:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/71724] [5/6 Regression] ICE: Segmentation fault, deep recursion between combine_simplify_rtx and subst
Date: Tue, 10 Oct 2017 13: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: 5.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: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71724-4-zih8NA2sIB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71724-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71724-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01009.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:03 2017
Return-Path: <gcc-bugs-return-577950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130834 invoked by alias); 10 Oct 2017 13: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 101487 invoked by uid 48); 10 Oct 2017 13:26:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/49726] [5/6 Regression] -g0 file.S -g does not produce debug info
Date: Tue, 10 Oct 2017 13:27: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.7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-49726-4-RuY8D86k7p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49726-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49726-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01010.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:14 2017
Return-Path: <gcc-bugs-return-577934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108647 invoked by alias); 10 Oct 2017 13:27: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 87579 invoked by uid 48); 10 Oct 2017 13:26:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/78568] [5/6/7/8 Regression] Wtype-limits warning regression
Date: Tue, 10 Oct 2017 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: 7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78568-4-x8hCYDsqiX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78568-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78568-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00997.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:43 2017
Return-Path: <gcc-bugs-return-577942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123333 invoked by alias); 10 Oct 2017 13:27: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 94300 invoked by uid 48); 10 Oct 2017 13:26:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/70023] [5/6/7/8 Regression] ICE: in assign_by_spills, at lra-assigns.c:1417/8 with -fschedule-insns
Date: Tue, 10 Oct 2017 13: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: 6.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70023-4-T4UUtcpXiV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70023-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70023-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00998.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:15 2017
Return-Path: <gcc-bugs-return-577935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115966 invoked by alias); 10 Oct 2017 13:27:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 87852 invoked by uid 48); 10 Oct 2017 13:26:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/61409] [5/6 regression] -Wmaybe-uninitialized false-positive with -O2
Date: Tue, 10 Oct 2017 13: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: 4.9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-61409-4-mGNwkpkAkv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61409-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00999.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:19 2017
Return-Path: <gcc-bugs-return-577937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116852 invoked by alias); 10 Oct 2017 13:27: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 88089 invoked by uid 48); 10 Oct 2017 13:26:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/58479] [5/6/7/8 Regression] slow var-tracking on x86_64-linux at -O1 (and above) with -g, but checking disabled
Date: Tue, 10 Oct 2017 13: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: 4.9.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-58479-4-3X5MGusQIA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58479-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58479-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg00994.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:38 2017
Return-Path: <gcc-bugs-return-577959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22560 invoked by alias); 10 Oct 2017 13: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 106438 invoked by uid 48); 10 Oct 2017 13:27:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81288] [5/6/7/8 Regression] ICE on 32-bit BE powerpc targets -w -misel -O2 (-O3, -Ofast, -Os)
Date: Tue, 10 Oct 2017 13: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: unknown
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81288-4-Qb3CDMjuXh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81288-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81288-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01015.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:30 2017
Return-Path: <gcc-bugs-return-577970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43188 invoked by alias); 10 Oct 2017 13: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 121289 invoked by uid 48); 10 Oct 2017 13:27:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/71660] [5/6/7/8 regression] alignment of std::atomic<8 byte primitive type> (long long, double) is wrong on x86
Date: Tue, 10 Oct 2017 13: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: 6.1.1
X-Bugzilla-Keywords: ABI
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71660-4-KFBgXPxsjl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71660-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71660-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01027.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:52 2017
Return-Path: <gcc-bugs-return-577975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50442 invoked by alias); 10 Oct 2017 13: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 123801 invoked by uid 48); 10 Oct 2017 13:27:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/49442] [5/6/7/8 Regression] Misaligned store support pessimization
Date: Tue, 10 Oct 2017 13: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: 4.6.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-49442-4-iuqMBDuf7j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49442-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49442-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01031.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:04 2017
Return-Path: <gcc-bugs-return-577951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 131050 invoked by alias); 10 Oct 2017 13:27: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 101190 invoked by uid 48); 10 Oct 2017 13:26:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82210] [5/6/7/8 Regression] Having _Alignas in a struct with VLAs causes writing to one array to overwrite another
Date: Tue, 10 Oct 2017 13: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.2.0
X-Bugzilla-Keywords: ABI, 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82210-4-2gil7a8ogs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82210-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01028.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:34 2017
Return-Path: <gcc-bugs-return-577958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14893 invoked by alias); 10 Oct 2017 13: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 107072 invoked by uid 48); 10 Oct 2017 13:27:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71515] [5/6 Regression] ICE on valid C++ code on x86_64-linux-gnu: Segmentation fault (program cc1plus)
Date: Tue, 10 Oct 2017 13: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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71515-4-I1VYwbltN7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71515-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71515-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01017.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:53 2017
Return-Path: <gcc-bugs-return-577976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51217 invoked by alias); 10 Oct 2017 13:28: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 123940 invoked by uid 48); 10 Oct 2017 13:27:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78890] [5/6 Regression] ICE on invalid reference type in union
Date: Tue, 10 Oct 2017 13: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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78890-4-KFHqiMJLDw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78890-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78890-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01032.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:05 2017
Return-Path: <gcc-bugs-return-577967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35309 invoked by alias); 10 Oct 2017 13:28: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 117220 invoked by uid 48); 10 Oct 2017 13:27:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/78102] [5/6 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1
Date: Tue, 10 Oct 2017 13: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: 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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78102-4-C4KFnM27Wf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78102-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78102-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01025.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:36 2017
Return-Path: <gcc-bugs-return-577960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22601 invoked by alias); 10 Oct 2017 13: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 106082 invoked by uid 48); 10 Oct 2017 13:27:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/59393] [5/6/7/8 regression] mips16/7/8 code size
Date: Tue, 10 Oct 2017 13: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: 4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-59393-4-m8m6QxPdGV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59393-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59393-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01014.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:16 2017
Return-Path: <gcc-bugs-return-577969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36914 invoked by alias); 10 Oct 2017 13: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 117688 invoked by uid 48); 10 Oct 2017 13:27:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/56750] [5/6/7/8 Regression] static -lstdc++ logic bleeds into all subdirs
Date: Tue, 10 Oct 2017 13:28: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: 4.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-56750-4-UH4J4lppWJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56750-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56750-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01029.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:03 2017
Return-Path: <gcc-bugs-return-577949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130544 invoked by alias); 10 Oct 2017 13: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 99127 invoked by uid 48); 10 Oct 2017 13:26:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/29256] [5/6/7/8 regression] loop performance regression
Date: Tue, 10 Oct 2017 13: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: 4.2.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-29256-4-tbHX6JCfsE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-29256-4@http.gcc.gnu.org/bugzilla/>
References: <bug-29256-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01020.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #64 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:40 2017
Return-Path: <gcc-bugs-return-577962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22851 invoked by alias); 10 Oct 2017 13: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 107847 invoked by uid 48); 10 Oct 2017 13:27:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79797] [5/6 Regression] ICE with NSDMI, this pointer  and constexpr
Date: Tue, 10 Oct 2017 13: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:
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79797-4-FBm9vsWrgo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01016.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:54 2017
Return-Path: <gcc-bugs-return-577977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51370 invoked by alias); 10 Oct 2017 13: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 124168 invoked by uid 48); 10 Oct 2017 13:27:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71607] [5/6/7/8 Regression] [ARM] ice due to forbidden enabled attribute dependency on instruction operands
Date: Tue, 10 Oct 2017 13: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: thopre01 at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71607-4-IzsbiaASU1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71607-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71607-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01033.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:26 2017
Return-Path: <gcc-bugs-return-577956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12064 invoked by alias); 10 Oct 2017 13:28: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 104556 invoked by uid 48); 10 Oct 2017 13:26:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81410] [5/6 Regression] -O3 breaks code
Date: Tue, 10 Oct 2017 13: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: 7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81410-4-mulvmxr0v0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81410-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01012.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:48 2017
Return-Path: <gcc-bugs-return-577964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26134 invoked by alias); 10 Oct 2017 13: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 109077 invoked by uid 48); 10 Oct 2017 13:27:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82192] [5/6/7 Regression] gcc produces incorrect code with -O2 and bit-field
Date: Tue, 10 Oct 2017 13: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: 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: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82192-4-mXhi7OrWAi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82192-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82192-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01019.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:02 2017
Return-Path: <gcc-bugs-return-577968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35380 invoked by alias); 10 Oct 2017 13:28: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 117892 invoked by uid 48); 10 Oct 2017 13:27:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80162] [5/6 Regression] ICE on invalid code (address of register variable)
Date: Tue, 10 Oct 2017 13: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80162-4-HIpTJQxeUR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80162-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80162-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01024.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:56 2017
Return-Path: <gcc-bugs-return-577966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33753 invoked by alias); 10 Oct 2017 13: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 117035 invoked by uid 48); 10 Oct 2017 13:27:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/79571] [5/6 Regression] ICE in Max. number of generated reload insns per insn is achieved (90)
Date: Tue, 10 Oct 2017 13: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: 7.0
X-Bugzilla-Keywords: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79571-4-3MwTTgsxWY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79571-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79571-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01022.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:36 2017
Return-Path: <gcc-bugs-return-577961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22723 invoked by alias); 10 Oct 2017 13: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 107524 invoked by uid 48); 10 Oct 2017 13:27:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/48150] [5/6/7/8 Regression] gcc.dg/guality/sra-1.c
Date: Tue, 10 Oct 2017 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: 4.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-48150-4-glKkBSonpi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48150-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48150-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01026.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:52 2017
Return-Path: <gcc-bugs-return-577965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30382 invoked by alias); 10 Oct 2017 13: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 108576 invoked by uid 48); 10 Oct 2017 13:27:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71834] [5/6/7/8 Regression] accepts invalid C++11 code with too few number of template arguments for class template
Date: Tue, 10 Oct 2017 13: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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71834-4-PWEs1fOtzm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71834-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71834-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01021.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:20 2017
Return-Path: <gcc-bugs-return-577954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10243 invoked by alias); 10 Oct 2017 13: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 102642 invoked by uid 48); 10 Oct 2017 13:26:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/67326] [5/6 Regression] -ftree-loop-if-convert-stores does not vectorize conditional assignment (anymore)
Date: Tue, 10 Oct 2017 13: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: 6.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: P2
X-Bugzilla-Assigned-To: vekumar at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-67326-4-zypJYWYwGy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67326-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01023.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:24 2017
Return-Path: <gcc-bugs-return-577955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10747 invoked by alias); 10 Oct 2017 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 103684 invoked by uid 48); 10 Oct 2017 13:26:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70468] [5/6/7/8 Regression] ICE on invalid code on x86_64-linux-gnu in emit_mem_initializers, at cp/init.c:1109
Date: Tue, 10 Oct 2017 13: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: 6.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70468-4-DsrRmdsmsY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70468-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70468-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01011.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:47 2017
Return-Path: <gcc-bugs-return-577972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45882 invoked by alias); 10 Oct 2017 13:28: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 122782 invoked by uid 48); 10 Oct 2017 13:27:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/80899] [5/6/7/8 Regression] Devirtualization causes incorrect code generation with placement new in some cases
Date: Tue, 10 Oct 2017 13: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: 7.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80899-4-Om79JW3e3b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80899-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80899-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01030.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:34 2017
Return-Path: <gcc-bugs-return-577957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14120 invoked by alias); 10 Oct 2017 13:28: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 103234 invoked by uid 48); 10 Oct 2017 13:26:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59967] [5/6/7/8 Regression] Performance regression from 4.7.x to 4.8.x (loop not unrolled)
Date: Tue, 10 Oct 2017 13: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: 4.8.2
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-59967-4-usZUHFu8sb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59967-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59967-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01013.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:29:39 2017
Return-Path: <gcc-bugs-return-577963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23053 invoked by alias); 10 Oct 2017 13: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 108178 invoked by uid 48); 10 Oct 2017 13:27:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77581] [5/6 Regression] ICE:  instantiate_template_1, cp/pt.c:17391
Date: Tue, 10 Oct 2017 13: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: 6.2.1
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-77581-4-0bhXNJZrBI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77581-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77581-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01018.txt.bz2
Content-length: 148

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:21 2017
Return-Path: <gcc-bugs-return-577997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80228 invoked by alias); 10 Oct 2017 13:29: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 13311 invoked by uid 48); 10 Oct 2017 13:28:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81994] [5/6 Regression][C++11]Internal error: same_comdat_group list across different groups
Date: Tue, 10 Oct 2017 13: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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81994-4-PvuhDRbz4W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81994-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81994-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01050.txt.bz2
Content-length: 148

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:31 2017
Return-Path: <gcc-bugs-return-578006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92997 invoked by alias); 10 Oct 2017 13: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 31084 invoked by uid 48); 10 Oct 2017 13:28:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78345] [5/6 Regression] ICE on invalid c++ code on x86_64-linux-gnu (internal compiler error: in cxx_eval_outermost_constant_expr, at cp/constexpr.c:4464)
Date: Tue, 10 Oct 2017 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: 7.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: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78345-4-dvS5VdoTLq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78345-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78345-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01056.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:06 2017
Return-Path: <gcc-bugs-return-577987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64889 invoked by alias); 10 Oct 2017 13:29: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 2639 invoked by uid 48); 10 Oct 2017 13:27:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/77881] [5/6 Regression] Non-optimal signed comparison on x86_64 since r146817
Date: Tue, 10 Oct 2017 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: 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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-77881-4-UzhCxDAwCu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77881-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77881-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01040.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:56 2017
Return-Path: <gcc-bugs-return-577980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53881 invoked by alias); 10 Oct 2017 13: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 125274 invoked by uid 48); 10 Oct 2017 13:27:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/27855] [5/6/7/8 regression] reassociation causes the RA to be confused
Date: Tue, 10 Oct 2017 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: 4.2.0
X-Bugzilla-Keywords: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-27855-4-GIuR0BcNDj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-27855-4@http.gcc.gnu.org/bugzilla/>
References: <bug-27855-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01054.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #53 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:32 2017
Return-Path: <gcc-bugs-return-578005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92565 invoked by alias); 10 Oct 2017 13:29: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 30503 invoked by uid 48); 10 Oct 2017 13:28:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/70710] [5/6 Regression] Compile time hog w/ -O -g -fpeel-loops
Date: Tue, 10 Oct 2017 13: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: 5.3.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70710-4-dX4DPE4mtP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70710-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70710-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01057.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:19 2017
Return-Path: <gcc-bugs-return-577998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80312 invoked by alias); 10 Oct 2017 13:29: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 13718 invoked by uid 48); 10 Oct 2017 13:28:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71827] [5/6/7/8 Regression] ICE on invalid C++11 code with non constant diff between two labels
Date: Tue, 10 Oct 2017 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: 6.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71827-4-jBhPH8VcH4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71827-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71827-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01049.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:08 2017
Return-Path: <gcc-bugs-return-577988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67261 invoked by alias); 10 Oct 2017 13: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 2252 invoked by uid 48); 10 Oct 2017 13:27:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/78911] [5/6 Regression] Infinite loop at -O2/O3 optimization levels while trying to compile server.c from Wine-2.0-rc2
Date: Tue, 10 Oct 2017 13: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: 6.2.1
X-Bugzilla-Keywords: compile-time-hog, 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: bernds at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78911-4-DyFaFQ7yXH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78911-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78911-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01041.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:16 2017
Return-Path: <gcc-bugs-return-577993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74743 invoked by alias); 10 Oct 2017 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 12189 invoked by uid 48); 10 Oct 2017 13:28:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/71779] [5/6 regression] isl miscompiled with -mabi=ilp32
Date: Tue, 10 Oct 2017 13: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: 6.1.0
X-Bugzilla-Keywords: ra, 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71779-4-l7wmcJW1r6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71779-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71779-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01046.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:59 2017
Return-Path: <gcc-bugs-return-577982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55563 invoked by alias); 10 Oct 2017 13: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 125524 invoked by uid 48); 10 Oct 2017 13:27:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/80646] [5/6/7 Regression] wrong type info for extern inline function when compiling Emacs
Date: Tue, 10 Oct 2017 13:29: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.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80646-4-4lAGtayzil@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80646-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80646-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01035.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:17 2017
Return-Path: <gcc-bugs-return-577995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76596 invoked by alias); 10 Oct 2017 13: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 12733 invoked by uid 48); 10 Oct 2017 13:28:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/52285] [5/6/7/8 Regression] libgcrypt _gcry_burn_stack slowdown
Date: Tue, 10 Oct 2017 13: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: 4.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: steven at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-52285-4-gRRUseMw0f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52285-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01047.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:55 2017
Return-Path: <gcc-bugs-return-577978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51870 invoked by alias); 10 Oct 2017 13: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 123509 invoked by uid 48); 10 Oct 2017 13:27:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70018] [5/6 Regression] Possible issue around IPO and C++ comdats discovered as pure/const
Date: Tue, 10 Oct 2017 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: 5.3.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: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70018-4-rbz2TCRrDJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70018-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70018-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01038.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:24 2017
Return-Path: <gcc-bugs-return-578000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83287 invoked by alias); 10 Oct 2017 13:29: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 22632 invoked by uid 48); 10 Oct 2017 13:28:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/21485] [5/6/7/8 Regression] missed load PRE, PRE makes i?86/7/8 suck
Date: Tue, 10 Oct 2017 13: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.0.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-21485-4-2uFqr7tyOM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-21485-4@http.gcc.gnu.org/bugzilla/>
References: <bug-21485-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01052.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #64 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:26 2017
Return-Path: <gcc-bugs-return-578001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86042 invoked by alias); 10 Oct 2017 13: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 23253 invoked by uid 48); 10 Oct 2017 13:28:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81897] [5/6/7/8 Regression] spurious -Wmaybe-uninitialized warning
Date: Tue, 10 Oct 2017 13: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.1.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81897-4-8UIz5QdB4y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81897-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81897-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01053.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:18 2017
Return-Path: <gcc-bugs-return-577996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77234 invoked by alias); 10 Oct 2017 13: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 12984 invoked by uid 48); 10 Oct 2017 13:28:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82085] [5/6/7/8 Regression] ICE: Template variable reference used in nested template alias
Date: Tue, 10 Oct 2017 13:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82085-4-BX6tU0yOdv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82085-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82085-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01048.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:11 2017
Return-Path: <gcc-bugs-return-577990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71815 invoked by alias); 10 Oct 2017 13:29: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 10203 invoked by uid 48); 10 Oct 2017 13:27:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69811] [5/6/7/8 Regression] GCC does not simplify 0 == "a"+1 at -O0
Date: Tue, 10 Oct 2017 13: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: 6.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69811-4-EkVEe8QVQY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69811-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69811-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01043.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:00 2017
Return-Path: <gcc-bugs-return-577983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56626 invoked by alias); 10 Oct 2017 13:29: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 126018 invoked by uid 48); 10 Oct 2017 13:27:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79650] [5/6/7/8 Regression] ICE on invalid c++ code with label arithmetic in convert_nontype_argument (pt.c:6515)
Date: Tue, 10 Oct 2017 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: 7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79650-4-iQiyYTtNK2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79650-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79650-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01036.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:13 2017
Return-Path: <gcc-bugs-return-577991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73527 invoked by alias); 10 Oct 2017 13:29: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 10970 invoked by uid 48); 10 Oct 2017 13:28:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/63155] [5/6/7/8 Regression] memory hog
Date: Tue, 10 Oct 2017 13: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: 4.9.0
X-Bugzilla-Keywords: compile-time-hog, memory-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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-63155-4-01cs7XsFJv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63155-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63155-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01044.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:29 2017
Return-Path: <gcc-bugs-return-578004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91802 invoked by alias); 10 Oct 2017 13: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 26688 invoked by uid 48); 10 Oct 2017 13:28:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/80463] [5/6/7/8 Regression] ICE with -fselective-scheduling2 and -fvar-tracking-assignments
Date: Tue, 10 Oct 2017 13: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: 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: abel at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80463-4-CkWGpfIVQP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80463-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80463-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01055.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:10 2017
Return-Path: <gcc-bugs-return-577989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70548 invoked by alias); 10 Oct 2017 13: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 8030 invoked by uid 48); 10 Oct 2017 13:27:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82336] [5/6/7/8 Regression] GCC requires but does not emit defaulted constructors in certain cases
Date: Tue, 10 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords: link-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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82336-4-xlQig9GU9M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82336-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01042.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:02 2017
Return-Path: <gcc-bugs-return-577984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59817 invoked by alias); 10 Oct 2017 13: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 888 invoked by uid 48); 10 Oct 2017 13:27:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79655] [5/6 Regression] ICE on invalid c++ code in cxx_eval_store_expression in cp/constexpr.c:3464
Date: Tue, 10 Oct 2017 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: 7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79655-4-a57MjnamwJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79655-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79655-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01037.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:56 2017
Return-Path: <gcc-bugs-return-577981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54854 invoked by alias); 10 Oct 2017 13: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 125787 invoked by uid 48); 10 Oct 2017 13:27:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/65135] [5/6 Regression] Performance regression  in pic mode after r220674.
Date: Tue, 10 Oct 2017 13: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: 5.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-65135-4-MNfZG2eXhR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65135-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65135-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01034.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:15 2017
Return-Path: <gcc-bugs-return-577992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74470 invoked by alias); 10 Oct 2017 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 11444 invoked by uid 48); 10 Oct 2017 13:28:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/47344] [5/6/7/8 Regression][meta-bug] GCC gets slower and uses more memory
Date: Tue, 10 Oct 2017 13: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: 4.6.0
X-Bugzilla-Keywords: compile-time-hog, memory-hog, 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-47344-4-JFkzVLdJxS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47344-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01045.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:23 2017
Return-Path: <gcc-bugs-return-577999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81059 invoked by alias); 10 Oct 2017 13: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 14409 invoked by uid 48); 10 Oct 2017 13:28:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/33699] [5/6/7/8 regression] missing optimization on const addr area store
Date: Tue, 10 Oct 2017 13: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: 4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-33699-4-oMPyNraQLf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-33699-4@http.gcc.gnu.org/bugzilla/>
References: <bug-33699-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01051.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:04 2017
Return-Path: <gcc-bugs-return-577986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62762 invoked by alias); 10 Oct 2017 13: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 1618 invoked by uid 48); 10 Oct 2017 13:27:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/67153] [5/6/7/8 Regression] integer optimizations 53% slower than std::bitset<>
Date: Tue, 10 Oct 2017 13: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: 5.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-67153-4-20Vj6B7TYr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67153-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67153-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01039.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:34 2017
Return-Path: <gcc-bugs-return-578008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96035 invoked by alias); 10 Oct 2017 13:30: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 34257 invoked by uid 48); 10 Oct 2017 13:28:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/81566] [5/6/7/8 Regression] invalid attribute aligned accepted on functions
Date: Tue, 10 Oct 2017 13: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.0
X-Bugzilla-Keywords: accepts-invalid, diagnostic, documentation, 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: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81566-4-vHeBWTgXB0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81566-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01059.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:56 2017
Return-Path: <gcc-bugs-return-577979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53479 invoked by alias); 10 Oct 2017 13: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 124611 invoked by uid 48); 10 Oct 2017 13:27:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvNzI3NjRdIFs1LzYvNyBSZWdyZXNzaW9uXSBJQ0Ugb24gaW52?= =?UTF-8?B?YWxpZCBDKysxMSBjb2RlIGluc3RhbnRpYXRpbmcgYW4gYWxpYXMgdGVtcGxh?= =?UTF-8?B?dGU6IHRyZWUgY2hlY2s6IGV4cGVjdGVkIGNsYXNzIOKAmHR5cGXigJksIGhh?= =?UTF-8?B?dmUg4oCYZXhjZXB0aW9uYWzigJkgKGVycm9yX21hcmspIGluIHR5cGVkZWZf?= =?UTF-8?B?dmFyaWFudF9wLCBhdCB0cmVlLmM6MTI2NjA=?Date: Tue, 10 Oct 2017 13: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: 7.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: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-72764-4-WK3bkrZeTT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72764-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72764-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01084.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:48 2017
Return-Path: <gcc-bugs-return-578018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121560 invoked by alias); 10 Oct 2017 13: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 39053 invoked by uid 48); 10 Oct 2017 13:28:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/21182] [5/6/7/8 Regression] gcc can use registers but uses stack instead
Date: Tue, 10 Oct 2017 13: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: 3.4.3
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-21182-4-ASuZGvhEwv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-21182-4@http.gcc.gnu.org/bugzilla/>
References: <bug-21182-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01069.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:17 2017
Return-Path: <gcc-bugs-return-577994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76381 invoked by alias); 10 Oct 2017 13: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 12517 invoked by uid 48); 10 Oct 2017 13:28:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/63537] [5/6 Regression] Missed optimization: Loop unrolling adds extra copy when returning aggregate
Date: Tue, 10 Oct 2017 13: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: 4.9.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-63537-4-1z8OinIB7Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63537-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01079.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:34 2017
Return-Path: <gcc-bugs-return-577971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43291 invoked by alias); 10 Oct 2017 13: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 118245 invoked by uid 48); 10 Oct 2017 13:27:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/67288] [5/6/7/8 regression] non optimal simple function (useless additional shift/remove/shift/add)
Date: Tue, 10 Oct 2017 13: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: 4.9.3
X-Bugzilla-Keywords: missed-optimization
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-67288-4-EFhEH8Hsbe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67288-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67288-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01081.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:53 2017
Return-Path: <gcc-bugs-return-578022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2185 invoked by alias); 10 Oct 2017 13:30: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 43606 invoked by uid 48); 10 Oct 2017 13:28:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81921] [5/6 Regression] Fails to always-inline intrinsics with -flto
Date: Tue, 10 Oct 2017 13: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: lto, 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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81921-4-pZPijvhd95@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81921-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81921-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01073.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:03 2017
Return-Path: <gcc-bugs-return-577985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61500 invoked by alias); 10 Oct 2017 13: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 1303 invoked by uid 48); 10 Oct 2017 13:27:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/50417] [5/6/7/8 regression]: memcpy with known alignment
Date: Tue, 10 Oct 2017 13: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: 4.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-50417-4-73cVifa5nG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-50417-4@http.gcc.gnu.org/bugzilla/>
References: <bug-50417-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01077.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #28 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:44 2017
Return-Path: <gcc-bugs-return-578017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118503 invoked by alias); 10 Oct 2017 13: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 37740 invoked by uid 48); 10 Oct 2017 13:28:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/57534] [5/6/7/8 Regression]: Performance regression versus 4.7.3, 4.8.1 is ~15% slower
Date: Tue, 10 Oct 2017 13: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: 4.8.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-57534-4-UxUiyuqwcQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57534-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57534-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01066.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:39 2017
Return-Path: <gcc-bugs-return-578012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107066 invoked by alias); 10 Oct 2017 13:30: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 31904 invoked by uid 48); 10 Oct 2017 13:28:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82167] [5/6/7 Regression] Segmentation fault when dereferencing the address of an array argument
Date: Tue, 10 Oct 2017 13: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: 7.2.0
X-Bugzilla-Keywords: diagnostic, 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: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82167-4-iDfmvRd1cU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82167-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82167-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01063.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:45 2017
Return-Path: <gcc-bugs-return-578016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118056 invoked by alias); 10 Oct 2017 13: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 38020 invoked by uid 48); 10 Oct 2017 13:28:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/59371] [5/6/7/8 Regression] Performance regression in GCC 4.8 and later versions.
Date: Tue, 10 Oct 2017 13: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: 4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-59371-4-rqtP2ZKnAE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59371-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59371-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01067.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:55 2017
Return-Path: <gcc-bugs-return-578023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5162 invoked by alias); 10 Oct 2017 13:30: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 45875 invoked by uid 48); 10 Oct 2017 13:28:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71569] [5/6/7/8 regression] Crash: External definition of template member from template struct
Date: Tue, 10 Oct 2017 13: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: 5.1.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71569-4-JKV6qCc5KW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01074.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:48 2017
Return-Path: <gcc-bugs-return-577974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46524 invoked by alias); 10 Oct 2017 13: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 123177 invoked by uid 48); 10 Oct 2017 13:27:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/78812] [5/6 Regression] Wrong code generation due to hoisting memory load across function call
Date: Tue, 10 Oct 2017 13: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: 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: P2
X-Bugzilla-Assigned-To: law at redhat dot com
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78812-4-k8cy5ItUht@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78812-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78812-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01060.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:56 2017
Return-Path: <gcc-bugs-return-578024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5426 invoked by alias); 10 Oct 2017 13: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 47743 invoked by uid 48); 10 Oct 2017 13:28:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79185] [5/6/7/8 Regression] register allocation in the addition of two 128 bit ints
Date: Tue, 10 Oct 2017 13: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: 7.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79185-4-LYzKsHEgLH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79185-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79185-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01075.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:37 2017
Return-Path: <gcc-bugs-return-578010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97035 invoked by alias); 10 Oct 2017 13: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 33803 invoked by uid 48); 10 Oct 2017 13:28:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/78420] [5/6/7/8 Regression] std::less<T*> is not a total order with -O2 enabled
Date: Tue, 10 Oct 2017 13:30: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.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78420-4-swqCdb6zTd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78420-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78420-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01061.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:49 2017
Return-Path: <gcc-bugs-return-578020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1791 invoked by alias); 10 Oct 2017 13:30: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 38518 invoked by uid 48); 10 Oct 2017 13:28:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/69869] [5/6/7/8 Regression] internal compiler error: Segmentation fault in call to skip_macro_block_comment when using '-traditional-cpp'
Date: Tue, 10 Oct 2017 13:30: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: 5.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69869-4-owHCFKmGlu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69869-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69869-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01070.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:57 2017
Return-Path: <gcc-bugs-return-578025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8780 invoked by alias); 10 Oct 2017 13: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 44122 invoked by uid 48); 10 Oct 2017 13:28:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/64099] [5/6/7/8 Regression] ~15% runtime increase for fatigue.f90.
Date: Tue, 10 Oct 2017 13: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: 5.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-64099-4-Xj2JNa63JQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64099-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64099-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01076.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:28 2017
Return-Path: <gcc-bugs-return-578002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87428 invoked by alias); 10 Oct 2017 13:29: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 23664 invoked by uid 48); 10 Oct 2017 13:28:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79886] [5/6 Regression] ICE in pp_format, at pretty-print.c:681
Date: Tue, 10 Oct 2017 13: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.0
X-Bugzilla-Keywords: diagnostic, 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79886-4-E44EXYSrpd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79886-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79886-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01082.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:38 2017
Return-Path: <gcc-bugs-return-578011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99149 invoked by alias); 10 Oct 2017 13: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 34681 invoked by uid 48); 10 Oct 2017 13:28:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79457] [5/6 Regression] Segmentation fault in templated decltype evaluation
Date: Tue, 10 Oct 2017 13: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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79457-4-JFU9kagHBw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79457-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79457-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01062.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:46 2017
Return-Path: <gcc-bugs-return-578015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115864 invoked by alias); 10 Oct 2017 13: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 37336 invoked by uid 48); 10 Oct 2017 13:28:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/82027] [5/6/7/8 Regression] wrong code with -O3 -flto
Date: Tue, 10 Oct 2017 13:30: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.2.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82027-4-RrUe6FNaPn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01068.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:40 2017
Return-Path: <gcc-bugs-return-578013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108785 invoked by alias); 10 Oct 2017 13:30: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 35357 invoked by uid 48); 10 Oct 2017 13:28:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81073] [5/6 Regression] link failure as C++ misses to instantiate some objects
Date: Tue, 10 Oct 2017 13: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: 7.1.1
X-Bugzilla-Keywords: link-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: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81073-4-fO6V9EmgxO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81073-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81073-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01064.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:33 2017
Return-Path: <gcc-bugs-return-578007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95405 invoked by alias); 10 Oct 2017 13:30: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 31651 invoked by uid 48); 10 Oct 2017 13:28:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvNzE4MjFdIFs1LzYvNy84IHJlZ3Jlc3Npb25dIElDRSBvbiBp?= =?UTF-8?B?bnZhbGlkIEMrKzExIGNvZGUgKGluY29ycmVjdCBhcmd1bWVudCBmb3IgYWxp?= =?UTF-8?B?Z25hcyk6IHVuZXhwZWN0ZWQgZXhwcmVzc2lvbiDigJhmPGludD7igJkgb2Yg?= =?UTF-8?B?a2luZCB0ZW1wbGF0ZV9pZF9leHBy?Date: Tue, 10 Oct 2017 13: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: 7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71821-4-2YZtfUGq80@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71821-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71821-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01058.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:36 2017
Return-Path: <gcc-bugs-return-578009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96096 invoked by alias); 10 Oct 2017 13:30: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 32239 invoked by uid 48); 10 Oct 2017 13:28:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80227] [5/6/7/8 Regression] SFINAE ambiguity with a pointer to array argument
Date: Tue, 10 Oct 2017 13: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: 7.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80227-4-bxWKhDxXGe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80227-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80227-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01083.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:43 2017
Return-Path: <gcc-bugs-return-578014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109283 invoked by alias); 10 Oct 2017 13:30: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 36788 invoked by uid 48); 10 Oct 2017 13:28:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77659] [5/6 Regression] internal compiler error: in gimplify_expr, at gimplify.c:8858
Date: Tue, 10 Oct 2017 13: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: 5.4.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: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-77659-4-SacQCFs3v5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77659-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77659-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01065.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:51 2017
Return-Path: <gcc-bugs-return-578019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125317 invoked by alias); 10 Oct 2017 13: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 43853 invoked by uid 48); 10 Oct 2017 13:28:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/79209] [5/6/7/8 Regression] AArch64: Inconsistent packed volatile bitfield accesses
Date: Tue, 10 Oct 2017 13: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: 7.0.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79209-4-YCERe9V8M8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79209-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79209-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01071.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:28:48 2017
Return-Path: <gcc-bugs-return-577943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123677 invoked by alias); 10 Oct 2017 13:27: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 95010 invoked by uid 48); 10 Oct 2017 13:26:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/53533] [5/6/7/8 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark
Date: Tue, 10 Oct 2017 13: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: 4.7.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-53533-4-otJIFlILA8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53533-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53533-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01078.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-577973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:30:48 2017
Return-Path: <gcc-bugs-return-577973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46238 invoked by alias); 10 Oct 2017 13:28: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 121943 invoked by uid 48); 10 Oct 2017 13:27:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80283] [5/6/7/8 Regression] bad SIMD register allocation
Date: Tue, 10 Oct 2017 13: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: 7.0.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80283-4-2d9uWX4S4R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80283-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80283-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01080.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:28 2017
Return-Path: <gcc-bugs-return-578003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88680 invoked by alias); 10 Oct 2017 13:29: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 24568 invoked by uid 48); 10 Oct 2017 13:28:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/32306] [5/6/7/8 Regression] redundant && || not eliminated
Date: Tue, 10 Oct 2017 13: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: 4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-32306-4-e67BDivs3b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-32306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-32306-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01085.txt.bz2
Content-length: 386

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #35 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:31:52 2017
Return-Path: <gcc-bugs-return-578021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1955 invoked by alias); 10 Oct 2017 13:30: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 43177 invoked by uid 48); 10 Oct 2017 13:28:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81740] [5/6/7/8 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu
Date: Tue, 10 Oct 2017 13: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.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81740-4-I7N1pB45dy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81740-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81740-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01072.txt.bz2
Content-length: 385

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch is being closed
>From gcc-bugs-return-578026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:34:07 2017
Return-Path: <gcc-bugs-return-578026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67152 invoked by alias); 10 Oct 2017 13: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 63257 invoked by uid 48); 10 Oct 2017 13:34:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/47679] [5 Regression] Strange uninitialized warning after SRA
Date: Tue, 10 Oct 2017 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.6.0
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-47679-4-2L4QRRkhJc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01086.txt.bz2
Content-length: 483

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

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

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

--- Comment #34 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:36:17 2017
Return-Path: <gcc-bugs-return-578027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86119 invoked by alias); 10 Oct 2017 13:36: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 80479 invoked by uid 48); 10 Oct 2017 13:36:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56365] [5 Regression] Missed opportunities for smin/smax standard name patterns when compiling as C++
Date: Tue, 10 Oct 2017 13: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.8.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution cf_known_to_fail
Message-ID: <bug-56365-4-QlTtAV6y1O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56365-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01087.txt.bz2
Content-length: 612

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

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

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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:37:19 2017
Return-Path: <gcc-bugs-return-578028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64089 invoked by alias); 10 Oct 2017 13: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 58021 invoked by uid 48); 10 Oct 2017 13:37:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/60936] [5 Regression] Binary code bloat with std::string
Date: Tue, 10 Oct 2017 13: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: 4.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution cf_known_to_fail
Message-ID: <bug-60936-4-HpiU36d5Gg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60936-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60936-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01088.txt.bz2
Content-length: 538

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Known to fail|                            |5.5.0

--- Comment #40 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:38:31 2017
Return-Path: <gcc-bugs-return-578030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49973 invoked by alias); 10 Oct 2017 13:38: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 44247 invoked by uid 48); 10 Oct 2017 13:38:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/62212] [5 Regression] ICE compiling template function with array reference parameter whose size depends on a template parameter
Date: Tue, 10 Oct 2017 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: 5.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: P2
X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-62212-4-PzNCgKjktv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62212-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62212-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01090.txt.bz2
Content-length: 483

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

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> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:38:02 2017
Return-Path: <gcc-bugs-return-578029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4370 invoked by alias); 10 Oct 2017 13:38: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 128806 invoked by uid 48); 10 Oct 2017 13:37:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/61047] [5 Regression] wrong code at -O1 on x86_64-linux
Date: Tue, 10 Oct 2017 13: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: 5.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution cf_known_to_fail
Message-ID: <bug-61047-4-A9P4GdIOHO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61047-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61047-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01089.txt.bz2
Content-length: 538

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Known to fail|                            |5.5.0

--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:39:14 2017
Return-Path: <gcc-bugs-return-578031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116829 invoked by alias); 10 Oct 2017 13: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 110541 invoked by uid 48); 10 Oct 2017 13:39:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63151] [5 regression] Accessibility error when brace-constructing base class with protected defaulted constructor and member variable
Date: Tue, 10 Oct 2017 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: 4.9.1
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: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-63151-4-nIpkLdmRsV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63151-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63151-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01091.txt.bz2
Content-length: 508

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

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 #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed in 5.5 too.
>From gcc-bugs-return-578033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:41:00 2017
Return-Path: <gcc-bugs-return-578033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 564 invoked by alias); 10 Oct 2017 13:40: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 126212 invoked by uid 48); 10 Oct 2017 13:40:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63890] [5 regression] Compiling trivial program with -O -p leads to misaligned stack
Date: Tue, 10 Oct 2017 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: 5.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-63890-4-QGLBWIddSi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63890-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63890-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01093.txt.bz2
Content-length: 483

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

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

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

--- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:40:28 2017
Return-Path: <gcc-bugs-return-578032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83906 invoked by alias); 10 Oct 2017 13: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 72069 invoked by uid 48); 10 Oct 2017 13:40:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug pch/63319] [5 Regression] ICE: Segmentation fault building qt5 with pch
Date: Tue, 10 Oct 2017 13:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: pch
X-Bugzilla-Version: 5.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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-63319-4-IXlhbss0Yo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63319-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63319-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01092.txt.bz2
Content-length: 452

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

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

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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Assuming fixed in GCC 6 and later.
>From gcc-bugs-return-578034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:41:41 2017
Return-Path: <gcc-bugs-return-578034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63332 invoked by alias); 10 Oct 2017 13: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 56355 invoked by uid 48); 10 Oct 2017 13:41:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/64058] [5 Regression] Performance degradation after r216304
Date: Tue, 10 Oct 2017 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: 5.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: P2
X-Bugzilla-Assigned-To: law at redhat dot com
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-64058-4-MDqlub335h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64058-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64058-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01094.txt.bz2
Content-length: 557

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

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

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

--- Comment #23 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:42:55 2017
Return-Path: <gcc-bugs-return-578035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42346 invoked by alias); 10 Oct 2017 13: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 36875 invoked by uid 48); 10 Oct 2017 13:42:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64812] [5 Regression] x86 LibreOffice Build failure: undefined reference to acquire
Date: Tue, 10 Oct 2017 13:42: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.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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution cf_known_to_fail
Message-ID: <bug-64812-4-dvwDEgN8lx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64812-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64812-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01095.txt.bz2
Content-length: 732

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
      Known to fail|                            |5.5.0

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, assuming to be fixed in GCC 6 and later, if that
is not the case, please reopen with details with what supported versions it can
be reproduced and how.
>From gcc-bugs-return-578036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:43:51 2017
Return-Path: <gcc-bugs-return-578036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123508 invoked by alias); 10 Oct 2017 13: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 118655 invoked by uid 48); 10 Oct 2017 13:43:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression
Date: Tue, 10 Oct 2017 13: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: 5.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-65076-4-WVpycPTc1x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65076-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65076-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01096.txt.bz2
Content-length: 483

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

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

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

--- Comment #66 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:44:48 2017
Return-Path: <gcc-bugs-return-578038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61948 invoked by alias); 10 Oct 2017 13: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 55858 invoked by uid 48); 10 Oct 2017 13:44:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65867] [5 Regression] bootstrap fails for mingw32 due to missing header in ssp.c
Date: Tue, 10 Oct 2017 13: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: 5.1.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: trivial
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-65867-4-3aMYN7QJ6f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65867-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65867-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01098.txt.bz2
Content-length: 483

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

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

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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:44:26 2017
Return-Path: <gcc-bugs-return-578037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33050 invoked by alias); 10 Oct 2017 13:44: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 22807 invoked by uid 48); 10 Oct 2017 13:44:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/65337] [5 regression] LTO bootstrap failure with Ada enabled
Date: Tue, 10 Oct 2017 13: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: 5.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-65337-4-dHTIkzUxaz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65337-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01097.txt.bz2
Content-length: 483

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

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

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

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:45:35 2017
Return-Path: <gcc-bugs-return-578039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128323 invoked by alias); 10 Oct 2017 13: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 108984 invoked by uid 48); 10 Oct 2017 13:45:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/65982] [5 Regression] ICE: in lto_output_varpool_node, at lto-cgraph.c:623
Date: Tue, 10 Oct 2017 13:45: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: 6.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: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-65982-4-n7E6fJMUFG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65982-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65982-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01099.txt.bz2
Content-length: 556

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

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> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:46:19 2017
Return-Path: <gcc-bugs-return-578040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58095 invoked by alias); 10 Oct 2017 13:46: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 53060 invoked by uid 48); 10 Oct 2017 13:46:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66076] [5 Regression] ICE: in vec_safe_grow, at vec.h:618 with -funroll-loops -mno-prefer-avx128 -march½ver4
Date: Tue, 10 Oct 2017 13:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 6.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: P2
X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-66076-4-jUXqU7wMcl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66076-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66076-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01100.txt.bz2
Content-length: 556

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

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 #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:46:55 2017
Return-Path: <gcc-bugs-return-578041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105953 invoked by alias); 10 Oct 2017 13: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 98854 invoked by uid 48); 10 Oct 2017 13:46:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66186] [5 Regression] wrong code at -O3 on x86_64-linux-gnu
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-66186-4-Er0M0k9ild@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66186-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66186-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01101.txt.bz2
Content-length: 482

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

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> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:47:45 2017
Return-Path: <gcc-bugs-return-578042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35736 invoked by alias); 10 Oct 2017 13:47: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 30059 invoked by uid 48); 10 Oct 2017 13:47:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/66223] [5 Regression] Diagnostic of pure virtual function call broken, including __cxa_pure_virtual
Date: Tue, 10 Oct 2017 13: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: 5.1.0
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: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-66223-4-HzHXdYF69j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66223-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66223-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01102.txt.bz2
Content-length: 483

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

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

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

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:48:46 2017
Return-Path: <gcc-bugs-return-578043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7432 invoked by alias); 10 Oct 2017 13: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 2472 invoked by uid 48); 10 Oct 2017 13:48:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/59811] [5 Regression] Huge increase in memory usage and compile time in combine
Date: Tue, 10 Oct 2017 13: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: 4.8.2
X-Bugzilla-Keywords: compile-time-hog, memory-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-59811-4-IjnkqnLjqQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59811-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59811-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01103.txt.bz2
Content-length: 483

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

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

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

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:49:39 2017
Return-Path: <gcc-bugs-return-578045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114538 invoked by alias); 10 Oct 2017 13: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 106105 invoked by uid 48); 10 Oct 2017 13:49:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78558] [5 Regression] Incorrect loop optimization leads to crash
Date: Tue, 10 Oct 2017 13:49: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: 5.4.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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-78558-4-xfooV8KcwV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01105.txt.bz2
Content-length: 526

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

Bug 66598 Summary: [5 Regression] With -O3 gcc incorrectly assumes aligned SSE instructions (e.g. movapd) can be used
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66598

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:49:39 2017
Return-Path: <gcc-bugs-return-578044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113653 invoked by alias); 10 Oct 2017 13: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 104300 invoked by uid 48); 10 Oct 2017 13:49:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66598] [5 Regression] With -O3 gcc incorrectly assumes aligned SSE instructions (e.g. movapd) can be used
Date: Tue, 10 Oct 2017 13: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.9.2
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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-66598-4-QcnxqPL1gK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66598-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66598-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01104.txt.bz2
Content-length: 556

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

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> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:50:34 2017
Return-Path: <gcc-bugs-return-578047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49881 invoked by alias); 10 Oct 2017 13:50: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 30812 invoked by uid 48); 10 Oct 2017 13:50:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/67089] [5 Regression] Integer overflow checks not optimized on x86/x86_64
Date: Tue, 10 Oct 2017 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: 5.2.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: minor
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-67089-4-cdWVMeHTO1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67089-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01107.txt.bz2
Content-length: 483

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

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

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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:50:20 2017
Return-Path: <gcc-bugs-return-578046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1139 invoked by alias); 10 Oct 2017 13: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 118892 invoked by uid 48); 10 Oct 2017 13:50:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66788] [5 Regression] Rejects instantiation of class std::deque<long long unsigned int> with -m32
Date: Tue, 10 Oct 2017 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: 5.1.1
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-66788-4-DKKajLkNkR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66788-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66788-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01106.txt.bz2
Content-length: 556

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

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 #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:51:49 2017
Return-Path: <gcc-bugs-return-578050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97540 invoked by alias); 10 Oct 2017 13: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 58603 invoked by uid 48); 10 Oct 2017 13:51:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/67396] [5 regression] Performance regression compiling variadic function with many arguments in RTL DSE
Date: Tue, 10 Oct 2017 13:51: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: 5.2.0
X-Bugzilla-Keywords: alias, compile-time-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-67396-4-4cyuXqskaV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67396-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67396-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01110.txt.bz2
Content-length: 483

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

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

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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:51:07 2017
Return-Path: <gcc-bugs-return-578048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69819 invoked by alias); 10 Oct 2017 13: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 59028 invoked by uid 48); 10 Oct 2017 13:51:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67376] [5 regression] Comparison with pointer to past-the-end of array fails inside constant expression
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-67376-4-HKFO1Feh2B@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67376-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67376-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01108.txt.bz2
Content-length: 483

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

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

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

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:51:07 2017
Return-Path: <gcc-bugs-return-578049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70099 invoked by alias); 10 Oct 2017 13: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 59941 invoked by uid 48); 10 Oct 2017 13:51:04 -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: Tue, 10 Oct 2017 13: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: 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-agzk0vqUN9@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: 2017-10/txt/msg01109.txt.bz2
Content-length: 524

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

Bug 67376 Summary: [5 regression] Comparison with pointer to past-the-end of array fails inside constant expression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:52:00 2017
Return-Path: <gcc-bugs-return-578051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118153 invoked by alias); 10 Oct 2017 13:52: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 109718 invoked by uid 48); 10 Oct 2017 13:51:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/67548] [5 Regression] LTO drops weak binding with "ld -r"
Date: Tue, 10 Oct 2017 13: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: 6.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: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-67548-4-WTeGWhYIgm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67548-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67548-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01111.txt.bz2
Content-length: 557

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

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 #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 13:52:15 2017
Return-Path: <gcc-bugs-return-578052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41262 invoked by alias); 10 Oct 2017 13:52: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 25167 invoked by uid 48); 10 Oct 2017 13:52:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67625] [5 Regression] some constexpr expressions rejected as enumerator value
Date: Tue, 10 Oct 2017 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: 5.2.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-67625-4-2FDn4lNrCD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67625-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67625-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01112.txt.bz2
Content-length: 482

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

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

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:00:53 2017
Return-Path: <gcc-bugs-return-578053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94705 invoked by alias); 10 Oct 2017 14:00: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 77676 invoked by uid 48); 10 Oct 2017 14:00:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67834] Local references inside comdat groups
Date: Tue, 10 Oct 2017 14: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: 5.2.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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc short_desc
Message-ID: <bug-67834-4-mU6h6fW7FC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67834-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67834-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01113.txt.bz2
Content-length: 659

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[5 Regression] Local        |Local references inside
                   |references inside comdat    |comdat groups
                   |groups                      |

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The 5 branch has been closed, it is unclear what the state of this PR is on
supported branches.
>From gcc-bugs-return-578054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:01:01 2017
Return-Path: <gcc-bugs-return-578054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129086 invoked by alias); 10 Oct 2017 14: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 127896 invoked by uid 48); 10 Oct 2017 14:00:56 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82504] New: Optimize away exception allocation and throws handled by catch(...){}
Date: Tue, 10 Oct 2017 14:01: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.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-82504-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01114.txt.bz2
Content-length: 1647

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

            Bug ID: 82504
           Summary: Optimize away exception allocation and throws handled
                    by catch(...){}
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoshkka at gmail dot com
  Target Milestone: ---

Following function

void foo() {
    try {
        throw 1;
    } catch(...) {}
}

produces the following assembly at -O2:

foo():
        mov     edi, 4
        sub     rsp, 8
        call    __cxa_allocate_exception <=== This could be avoided
        xor     edx, edx
        mov     DWORD PTR [rax], 1
        mov     esi, OFFSET FLAT:typeinfo for int
        mov     rdi, rax
        call    __cxa_throw <=== This could be avoided
        jmp     .L2
foo() [clone .cold.0]:
.L2:
        mov     rdi, rax
        call    __cxa_begin_catch <=== This could be avoided
        pop     rax
        jmp     __cxa_end_catch <=== This could be avoided


This is suboptimal as the exception is catched and ignored. Optimal assembly
would be:

foo():
        rep ret

For exception classes with user provided constructors and destructors that have
side effect, leave the calls to constructor and destructor but do no actually
throw the exception:

foo():
        call user_exception()
        call ~user_exception()
        rep ret


The `catch(...){}` expression used widely in C++ code, optimizing it would
improve binary size and performance a lot.
>From gcc-bugs-return-578055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:01:04 2017
Return-Path: <gcc-bugs-return-578055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129970 invoked by alias); 10 Oct 2017 14: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 128872 invoked by uid 48); 10 Oct 2017 14:01:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/67893] [5 Regression] memory hog building a C++ file (on x86_64-linux-gnu)
Date: Tue, 10 Oct 2017 14: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: 5.2.1
X-Bugzilla-Keywords: memory-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-67893-4-6iPBQY4YdZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67893-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67893-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01115.txt.bz2
Content-length: 556

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

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

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:05:47 2017
Return-Path: <gcc-bugs-return-578056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78856 invoked by alias); 10 Oct 2017 14: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 55742 invoked by uid 48); 10 Oct 2017 14:05:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/68205] [5 regression] ICE compiling gcc.c-torture/execute/20040709-2.c with -fno-common on arm-none-eabi
Date: Tue, 10 Oct 2017 14: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: 5.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-68205-4-zzclZCBpYJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68205-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68205-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01116.txt.bz2
Content-length: 556

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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:13:26 2017
Return-Path: <gcc-bugs-return-578057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115624 invoked by alias); 10 Oct 2017 14:13: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 107564 invoked by uid 48); 10 Oct 2017 14:13:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/68252] [5 regression] left operand of shift expression, while we shift > 0 integer
Date: Tue, 10 Oct 2017 14: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: 5.2.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-68252-4-md36tO93bG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68252-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68252-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01117.txt.bz2
Content-length: 559

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

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

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This got fixed with r230365, fixed in 6.0, 5 branch is being closed.
>From gcc-bugs-return-578058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:16:41 2017
Return-Path: <gcc-bugs-return-578058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111867 invoked by alias); 10 Oct 2017 14:16: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 108101 invoked by uid 48); 10 Oct 2017 14:16:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/68273] [5 Regression] Wrong code on mips/mipsel due to (invalid?) peeking at alignments in function_arg.
Date: Tue, 10 Oct 2017 14: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: 5.2.1
X-Bugzilla-Keywords: ABI, 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-68273-4-D5IDIPYNnW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68273-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68273-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01118.txt.bz2
Content-length: 485

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

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

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

--- Comment #41 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.2 and later.
>From gcc-bugs-return-578059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:17:08 2017
Return-Path: <gcc-bugs-return-578059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124169 invoked by alias); 10 Oct 2017 14:17: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 122614 invoked by uid 48); 10 Oct 2017 14:17:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/68470] [5 Regression] Internal Compiler Error observed by g++-4.9.2 and a few other versions (reported to Debian)
Date: Tue, 10 Oct 2017 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: 4.9.2
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-68470-4-aWgsNuyMNe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68470-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68470-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01119.txt.bz2
Content-length: 483

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

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

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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:18:51 2017
Return-Path: <gcc-bugs-return-578061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96898 invoked by alias); 10 Oct 2017 14: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 90604 invoked by uid 48); 10 Oct 2017 14:18:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/68669] [5 regression] -Wunused-variable in anonymous namespace is not correctly supressed by #pragmas
Date: Tue, 10 Oct 2017 14: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: 5.2.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-68669-4-6PPkSB5x9R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68669-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68669-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01121.txt.bz2
Content-length: 557

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

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

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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:18:08 2017
Return-Path: <gcc-bugs-return-578060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37498 invoked by alias); 10 Oct 2017 14: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 31739 invoked by uid 48); 10 Oct 2017 14:18:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/68583] [5 Regression] Missed if-conversion
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution cf_known_to_fail
Message-ID: <bug-68583-4-D2IGjX6mYX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68583-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01120.txt.bz2
Content-length: 611

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
      Known to fail|                            |5.5.0

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:20:18 2017
Return-Path: <gcc-bugs-return-578062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36958 invoked by alias); 10 Oct 2017 14:20: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 30980 invoked by uid 48); 10 Oct 2017 14:20:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/68798] [5 Regression] x_solve.c:181:9: internal compiler error: in execute, at cfgexpand.c:6066
Date: Tue, 10 Oct 2017 14: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.3.0
X-Bugzilla-Keywords: openmp
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-68798-4-iurvhghe6N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68798-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68798-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01122.txt.bz2
Content-length: 556

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

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

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:21:17 2017
Return-Path: <gcc-bugs-return-578064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100112 invoked by alias); 10 Oct 2017 14: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 97531 invoked by uid 48); 10 Oct 2017 14:21:13 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82504] Optimize away exception allocation and throws handled by catch(...){}
Date: Tue, 10 Oct 2017 14: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_severity
Message-ID: <bug-82504-4-SSoKEefgz5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01124.txt.bz2
Content-length: 697

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The example isn't very interesting because it's not very realistic code. To be
useful we need this to happen after inlining:

void foo() {
    throw 1;
}

void bar()
    try {
        foo();
    } catch(...) {}
}

If we can elide the exception when foo() is inlined into bar() then I agree it
would be a valuable optimization.
>From gcc-bugs-return-578063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:21:08 2017
Return-Path: <gcc-bugs-return-578063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94831 invoked by alias); 10 Oct 2017 14: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 79902 invoked by uid 48); 10 Oct 2017 14:20:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/69014] [5 Regression] gcc.c-torture/execute/991023-1.c FAILs with -Os -fmodulo-sched -fno-tree-vrp
Date: Tue, 10 Oct 2017 14: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: 6.0
X-Bugzilla-Keywords: missed-optimization, 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: P2
X-Bugzilla-Assigned-To: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-69014-4-a1wvenOcEu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69014-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69014-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01123.txt.bz2
Content-length: 557

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

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 #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:21:37 2017
Return-Path: <gcc-bugs-return-578065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115908 invoked by alias); 10 Oct 2017 14: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 110743 invoked by uid 48); 10 Oct 2017 14:21:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69148] [5 Regression] ICE (floating point exception) on s390x-linux-gnu
Date: Tue, 10 Oct 2017 14: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: 5.3.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-69148-4-cU1gz5fcsZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69148-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69148-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01125.txt.bz2
Content-length: 483

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

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

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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:21:52 2017
Return-Path: <gcc-bugs-return-578066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128425 invoked by alias); 10 Oct 2017 14:21: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 124574 invoked by uid 48); 10 Oct 2017 14:21:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69166] [5 Regression] ICE in get_initial_def_for_reduction, at tree-vect-loop.c:4188
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-69166-4-oo7PW9512U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69166-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69166-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01126.txt.bz2
Content-length: 483

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

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> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:22:09 2017
Return-Path: <gcc-bugs-return-578067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8863 invoked by alias); 10 Oct 2017 14: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 4992 invoked by uid 48); 10 Oct 2017 14:22:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69264] [5 regression] ICE building spidermonkey -mcpu—0 -maltivec -O3: rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:4350
Date: Tue, 10 Oct 2017 14: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: 5.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-69264-4-gHX5ad1qOp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69264-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69264-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01127.txt.bz2
Content-length: 482

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

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> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:22:38 2017
Return-Path: <gcc-bugs-return-578069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31791 invoked by alias); 10 Oct 2017 14:22: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 28748 invoked by uid 48); 10 Oct 2017 14:22:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/69391] [5 Regression] Incorrect __LINE__ expansion with -ftrack-macro-expansion=0 on g++5.2
Date: Tue, 10 Oct 2017 14:22: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: 5.2.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: P2
X-Bugzilla-Assigned-To: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-69391-4-9FNw48Ndj1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69391-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69391-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01129.txt.bz2
Content-length: 482

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

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

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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:22:21 2017
Return-Path: <gcc-bugs-return-578068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18023 invoked by alias); 10 Oct 2017 14: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 14870 invoked by uid 48); 10 Oct 2017 14:22:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69311] [5 Regression] ICE (cc1 killed) on s390x-linux-gnu
Date: Tue, 10 Oct 2017 14: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: 5.3.1
X-Bugzilla-Keywords: compile-time-hog, memory-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-69311-4-h02WbkCc8k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69311-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69311-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01128.txt.bz2
Content-length: 482

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

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> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:23:12 2017
Return-Path: <gcc-bugs-return-578070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55367 invoked by alias); 10 Oct 2017 14: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 51451 invoked by uid 48); 10 Oct 2017 14:23:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69740] [5 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "verify_loop_structure"
Date: Tue, 10 Oct 2017 14: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: 6.0
X-Bugzilla-Keywords: ice-checking
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: law at redhat dot com
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-69740-4-byYHJ6c9ML@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69740-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69740-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01130.txt.bz2
Content-length: 483

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

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

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

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:29:34 2017
Return-Path: <gcc-bugs-return-578071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80259 invoked by alias); 10 Oct 2017 14: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 73788 invoked by uid 48); 10 Oct 2017 14:29:29 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82504] Optimize away exception allocation and throws handled by catch(...){}
Date: Tue, 10 Oct 2017 14: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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:
Message-ID: <bug-82504-4-hMlwk9k0Mp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01131.txt.bz2
Content-length: 590

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

--- Comment #2 from Antony Polukhin <antoshkka at gmail dot com> ---
+1. Some realistic code examples were the optimization could be very useful if
triggered after inlining:

// Destructors
bar::~bar() {
    try {
        cleanup_some_dangerous_resources();
    } catch(...) {}
}

// Logging
#define SafeLog(X) try { g_logger << X << std::endl; } catch (...){}

// Poor Try* functions
bool try_parse(const char* text) {
    try {
        parse_text(text); // throws
    } catch (...) {
        return false;
    }

    return true;
}
>From gcc-bugs-return-578072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:30:50 2017
Return-Path: <gcc-bugs-return-578072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128719 invoked by alias); 10 Oct 2017 14:30: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 126426 invoked by uid 48); 10 Oct 2017 14:30:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/69824] [5 Regression] internal compiler error in unshare_body
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-69824-4-zmTEqboUlp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69824-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69824-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01132.txt.bz2
Content-length: 482

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

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

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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:31:42 2017
Return-Path: <gcc-bugs-return-578074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62747 invoked by alias); 10 Oct 2017 14: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 47531 invoked by uid 48); 10 Oct 2017 14:31:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70001] [5 Regression] Infinity compilation time
Date: Tue, 10 Oct 2017 14: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.3.0
X-Bugzilla-Keywords: compile-time-hog, memory-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70001-4-fHd4usBhNH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70001-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70001-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01134.txt.bz2
Content-length: 483

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

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

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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:31:02 2017
Return-Path: <gcc-bugs-return-578073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6567 invoked by alias); 10 Oct 2017 14: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 1053 invoked by uid 48); 10 Oct 2017 14:30:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69895] [5 Regression] dependency of gcc-plugin.h not installed on m68k-linux-gnu
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-69895-4-Z7FbJZE2SH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69895-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69895-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01133.txt.bz2
Content-length: 482

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

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> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:32:00 2017
Return-Path: <gcc-bugs-return-578075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87456 invoked by alias); 10 Oct 2017 14:32: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 82104 invoked by uid 48); 10 Oct 2017 14:31:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70035] [5 Regression] Calling a non-virtual member in base-class constructor call with ubsan causes segfault when superclass has virtual member with same name
Date: Tue, 10 Oct 2017 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: 5.3.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70035-4-NJPAaN2glL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70035-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70035-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01135.txt.bz2
Content-length: 483

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

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

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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:33:39 2017
Return-Path: <gcc-bugs-return-578076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22916 invoked by alias); 10 Oct 2017 14:33: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 17405 invoked by uid 48); 10 Oct 2017 14:33:35 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82504] Optimize away exception allocation and throws handled by catch(...){}
Date: Tue, 10 Oct 2017 14:33: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: 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-82504-4-ZBzLtjgWaQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01136.txt.bz2
Content-length: 134

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

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
Dup of PR53294?
>From gcc-bugs-return-578077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:36:37 2017
Return-Path: <gcc-bugs-return-578077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13305 invoked by alias); 10 Oct 2017 14: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 10774 invoked by uid 48); 10 Oct 2017 14:36:30 -0000
From: "gcc at sjor dot sg" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81410] [6 Regression] -O3 breaks code
Date: Tue, 10 Oct 2017 14: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: 7.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at sjor dot sg
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81410-4-vfZYSfpXC2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81410-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01137.txt.bz2
Content-length: 331

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

--- Comment #14 from Sjors Gielen <gcc at sjor dot sg> ---
(In reply to Jakub Jelinek from comment #13)
> GCC 5 branch is being closed

Has there been a fix for this issue at all in a 5 branch release?

And, for the 6 branch, will there be a release with a fix for this issue?
>From gcc-bugs-return-578078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:38:01 2017
Return-Path: <gcc-bugs-return-578078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104057 invoked by alias); 10 Oct 2017 14:38: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 102142 invoked by uid 48); 10 Oct 2017 14:37:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/70100] [5 Regression] ICE: in execute, at cfgexpand.c:6066
Date: Tue, 10 Oct 2017 14: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: 5.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-70100-4-q9nFQX9XMv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70100-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01138.txt.bz2
Content-length: 558

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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed with r228175 for 6.* and later, GCC 5 branch is being closed.
>From gcc-bugs-return-578080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:39:32 2017
Return-Path: <gcc-bugs-return-578080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33451 invoked by alias); 10 Oct 2017 14:39: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 28666 invoked by uid 48); 10 Oct 2017 14:39:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/70123] [5 Regression] Miscompilation of cfitsio testcase on s390x-linux starting with r222144
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70123-4-feDV1aNbUm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70123-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70123-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01140.txt.bz2
Content-length: 483

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

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

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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:39:40 2017
Return-Path: <gcc-bugs-return-578081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40759 invoked by alias); 10 Oct 2017 14:39: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 36769 invoked by uid 48); 10 Oct 2017 14:39:36 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82504] Optimize away exception allocation and throws handled by catch(...){}
Date: Tue, 10 Oct 2017 14: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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:
Message-ID: <bug-82504-4-MEOg0qMyY8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01141.txt.bz2
Content-length: 295

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

--- Comment #4 from Antony Polukhin <antoshkka at gmail dot com> ---
This ticket is a subset of PR53294. PR53294 about any catch expression
optimizations, which could be harder than optimizing away catch(...) {} and
catch(...) { return X; }
>From gcc-bugs-return-578079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:39:01 2017
Return-Path: <gcc-bugs-return-578079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18019 invoked by alias); 10 Oct 2017 14: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 16377 invoked by uid 48); 10 Oct 2017 14:38:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70106] [5 Regression][C++11 or above] adding parenthesis [cerr << (var)] cause error: invalid static_cast from type 'const size_t {aka const long unsigned int}' to type 'size_t& {aka long unsigned int&}'
Date: Tue, 10 Oct 2017 14: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: 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70106-4-FlEE3E8fJj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70106-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70106-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01139.txt.bz2
Content-length: 483

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

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

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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:40:19 2017
Return-Path: <gcc-bugs-return-578083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95030 invoked by alias); 10 Oct 2017 14:40: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 90274 invoked by uid 48); 10 Oct 2017 14:40:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/70199] [5 Regression] Crash at -O2 when using labels.
Date: Tue, 10 Oct 2017 14: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: 5.3.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: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70199-4-zyOOHM4Pc3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70199-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70199-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01143.txt.bz2
Content-length: 482

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

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> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:40:00 2017
Return-Path: <gcc-bugs-return-578082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71018 invoked by alias); 10 Oct 2017 14:40: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 64651 invoked by uid 48); 10 Oct 2017 14:39:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/70144] [5 Regression] g++ ICE at -O1 and above on valid code on x86_64-linux-gnu in "copy_reference_ops_from_ref"
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70144-4-RjniZqrbPR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70144-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70144-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01142.txt.bz2
Content-length: 482

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

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

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:48:57 2017
Return-Path: <gcc-bugs-return-578086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112331 invoked by alias); 10 Oct 2017 14: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 111348 invoked by uid 48); 10 Oct 2017 14:48:52 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53294] Optimize out some exception code
Date: Tue, 10 Oct 2017 14: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: 4.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: antoshkka 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-53294-4-Dpsb6DcA5j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53294-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01146.txt.bz2
Content-length: 185

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

--- Comment #2 from Antony Polukhin <antoshkka at gmail dot com> ---
*** Bug 82504 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:48:41 2017
Return-Path: <gcc-bugs-return-578084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108592 invoked by alias); 10 Oct 2017 14: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 104751 invoked by uid 48); 10 Oct 2017 14:48:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70205] [5 Regression] ICE on valid code on x86_64-linux-gnu: tree check: expected tree_binfo, have error_mark in add_candidates, at cp/call.c:5283
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70205-4-Umhk4c35Xm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70205-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70205-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01144.txt.bz2
Content-length: 483

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

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

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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:48:56 2017
Return-Path: <gcc-bugs-return-578085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112245 invoked by alias); 10 Oct 2017 14: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 111156 invoked by uid 48); 10 Oct 2017 14:48:51 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82504] Optimize away exception allocation and throws handled by catch(...){}
Date: Tue, 10 Oct 2017 14: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: antoshkka 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-82504-4-3TH28E7HfV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82504-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01145.txt.bz2
Content-length: 527

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

Antony Polukhin <antoshkka at gmail dot com> changed:

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

--- Comment #5 from Antony Polukhin <antoshkka at gmail dot com> ---
Oops, no. It's a full dup of PR53294

*** This bug has been marked as a duplicate of bug 53294 ***
>From gcc-bugs-return-578088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:49:54 2017
Return-Path: <gcc-bugs-return-578088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130970 invoked by alias); 10 Oct 2017 14: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 127030 invoked by uid 48); 10 Oct 2017 14:49:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70218] [5 Regression] Illegal access to private fields succeeds with 5/6
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70218-4-9OxrG5J1wK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70218-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70218-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01148.txt.bz2
Content-length: 535

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:49:10 2017
Return-Path: <gcc-bugs-return-578087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115702 invoked by alias); 10 Oct 2017 14: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 113031 invoked by uid 48); 10 Oct 2017 14:48:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70205] [5 Regression] ICE on valid code on x86_64-linux-gnu: tree check: expected tree_binfo, have error_mark in add_candidates, at cp/call.c:5283
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70205-4-e6YvFlKT0z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70205-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70205-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01147.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:50:57 2017
Return-Path: <gcc-bugs-return-578089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75335 invoked by alias); 10 Oct 2017 14:50: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 67742 invoked by uid 48); 10 Oct 2017 14:50:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/70224] [5 regression] ICE: RTL flag check: CROSSING_JUMP_P used with unexpected rtx code 'insn' in relax_delay_slots, at reorg.c:3310
Date: Tue, 10 Oct 2017 14:50: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.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: P2
X-Bugzilla-Assigned-To: law at redhat dot com
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70224-4-kQJGrjiUEw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70224-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70224-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01149.txt.bz2
Content-length: 536

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:51:19 2017
Return-Path: <gcc-bugs-return-578090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110510 invoked by alias); 10 Oct 2017 14:51: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 104151 invoked by uid 48); 10 Oct 2017 14:51:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/70263] [5 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (segmentation fault)
Date: Tue, 10 Oct 2017 14:51: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.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: law at redhat dot com
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-70263-4-FjnlBpIJpG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70263-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70263-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01150.txt.bz2
Content-length: 610

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:56:42 2017
Return-Path: <gcc-bugs-return-578092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19372 invoked by alias); 10 Oct 2017 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 19143 invoked by uid 48); 10 Oct 2017 14:56:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56365] [5 Regression] Missed opportunities for smin/smax standard name patterns when compiling as C++
Date: Tue, 10 Oct 2017 14: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: 4.8.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-56365-4-IzFAyTHM91@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56365-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01153.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:08 2017
Return-Path: <gcc-bugs-return-578101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21131 invoked by alias); 10 Oct 2017 14: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 19476 invoked by uid 48); 10 Oct 2017 14:56:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/68252] [5 regression] left operand of shift expression, while we shift > 0 integer
Date: Tue, 10 Oct 2017 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: 5.2.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-68252-4-xX101ta3WK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68252-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68252-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01158.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:05 2017
Return-Path: <gcc-bugs-return-578099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20927 invoked by alias); 10 Oct 2017 14: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 19598 invoked by uid 48); 10 Oct 2017 14:56:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69264] [5 regression] ICE building spidermonkey -mcpu—0 -maltivec -O3: rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:4350
Date: Tue, 10 Oct 2017 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: 5.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69264-4-EdQt6T5hvy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69264-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69264-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01157.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:25 2017
Return-Path: <gcc-bugs-return-578103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21539 invoked by alias); 10 Oct 2017 14:56: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 20315 invoked by uid 48); 10 Oct 2017 14:56:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/68470] [5 Regression] Internal Compiler Error observed by g++-4.9.2 and a few other versions (reported to Debian)
Date: Tue, 10 Oct 2017 14: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: 4.9.2
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-68470-4-l5OtnL6DpA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68470-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68470-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01161.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:56:49 2017
Return-Path: <gcc-bugs-return-578097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20042 invoked by alias); 10 Oct 2017 14: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 19261 invoked by uid 48); 10 Oct 2017 14:56:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug pch/63319] [5 Regression] ICE: Segmentation fault building qt5 with pch
Date: Tue, 10 Oct 2017 14:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: pch
X-Bugzilla-Version: 5.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: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-63319-4-IAR2GBFN5d@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63319-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63319-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01155.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:11 2017
Return-Path: <gcc-bugs-return-578102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21204 invoked by alias); 10 Oct 2017 14: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 20134 invoked by uid 48); 10 Oct 2017 14:56:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/59811] [5 Regression] Huge increase in memory usage and compile time in combine
Date: Tue, 10 Oct 2017 14: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: 4.8.2
X-Bugzilla-Keywords: compile-time-hog, memory-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-59811-4-LjzxWNh3sa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59811-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59811-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01162.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:56:44 2017
Return-Path: <gcc-bugs-return-578093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19410 invoked by alias); 10 Oct 2017 14: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 19115 invoked by uid 48); 10 Oct 2017 14:56:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/67548] [5 Regression] LTO drops weak binding with "ld -r"
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-67548-4-XZ8h0KLaUo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67548-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67548-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01156.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:10 2017
Return-Path: <gcc-bugs-return-578100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21113 invoked by alias); 10 Oct 2017 14: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 19984 invoked by uid 48); 10 Oct 2017 14:56:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67376] [5 regression] Comparison with pointer to past-the-end of array fails inside constant expression
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-67376-4-StXRqRBeXl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67376-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67376-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01159.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:56:52 2017
Return-Path: <gcc-bugs-return-578098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20083 invoked by alias); 10 Oct 2017 14:56: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 19299 invoked by uid 48); 10 Oct 2017 14:56:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/70199] [5 Regression] Crash at -O2 when using labels.
Date: Tue, 10 Oct 2017 14: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: 5.3.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: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70199-4-kwGnZaeelW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70199-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70199-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01154.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:56:39 2017
Return-Path: <gcc-bugs-return-578091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19346 invoked by alias); 10 Oct 2017 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 19065 invoked by uid 48); 10 Oct 2017 14:56:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/68669] [5 regression] -Wunused-variable in anonymous namespace is not correctly supressed by #pragmas
Date: Tue, 10 Oct 2017 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: 5.2.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-68669-4-qATQcwCtKw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68669-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68669-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01151.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:56:46 2017
Return-Path: <gcc-bugs-return-578095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19746 invoked by alias); 10 Oct 2017 14: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 19002 invoked by uid 48); 10 Oct 2017 14:56:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69311] [5 Regression] ICE (cc1 killed) on s390x-linux-gnu
Date: Tue, 10 Oct 2017 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: 5.3.1
X-Bugzilla-Keywords: compile-time-hog, memory-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69311-4-A6A99VJ3Kd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69311-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69311-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01160.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:56:46 2017
Return-Path: <gcc-bugs-return-578094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19628 invoked by alias); 10 Oct 2017 14: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 19177 invoked by uid 48); 10 Oct 2017 14:56:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70001] [5 Regression] Infinity compilation time
Date: Tue, 10 Oct 2017 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: 5.3.0
X-Bugzilla-Keywords: compile-time-hog, memory-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70001-4-1YswCQicr9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70001-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70001-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01152.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:09 2017
Return-Path: <gcc-bugs-return-578124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25490 invoked by alias); 10 Oct 2017 14:57: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 22009 invoked by uid 48); 10 Oct 2017 14:57:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/65337] [5 regression] LTO bootstrap failure with Ada enabled
Date: Tue, 10 Oct 2017 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: 5.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-65337-4-flEYPJwmVC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65337-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01175.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:14 2017
Return-Path: <gcc-bugs-return-578127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25868 invoked by alias); 10 Oct 2017 14: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 22518 invoked by uid 48); 10 Oct 2017 14:57:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/60936] [5 Regression] Binary code bloat with std::string
Date: Tue, 10 Oct 2017 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: 4.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-60936-4-nXqgjpq4lX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60936-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60936-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01178.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:44 2017
Return-Path: <gcc-bugs-return-578106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22818 invoked by alias); 10 Oct 2017 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 20901 invoked by uid 48); 10 Oct 2017 14:56:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69740] [5 Regression] gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "verify_loop_structure"
Date: Tue, 10 Oct 2017 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: 6.0
X-Bugzilla-Keywords: ice-checking
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: law at redhat dot com
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69740-4-venSG77GXT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69740-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69740-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01166.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:03 2017
Return-Path: <gcc-bugs-return-578120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25120 invoked by alias); 10 Oct 2017 14: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 21742 invoked by uid 48); 10 Oct 2017 14:56:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66788] [5 Regression] Rejects instantiation of class std::deque<long long unsigned int> with -m32
Date: Tue, 10 Oct 2017 14: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: 5.1.1
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-66788-4-x6ZlL4qbuu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66788-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66788-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01171.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:34 2017
Return-Path: <gcc-bugs-return-578105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22182 invoked by alias); 10 Oct 2017 14:57: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 20374 invoked by uid 48); 10 Oct 2017 14:56:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/69824] [5 Regression] internal compiler error in unshare_body
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69824-4-kag5gkkZS9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69824-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69824-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01164.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:12 2017
Return-Path: <gcc-bugs-return-578126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25809 invoked by alias); 10 Oct 2017 14: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 22308 invoked by uid 48); 10 Oct 2017 14:57:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70106] [5 Regression][C++11 or above] adding parenthesis [cerr << (var)] cause error: invalid static_cast from type 'const size_t {aka const long unsigned int}' to type 'size_t& {aka long unsigned int&}'
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70106-4-DjCX1GcQK3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70106-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70106-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01177.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:56:46 2017
Return-Path: <gcc-bugs-return-578096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19962 invoked by alias); 10 Oct 2017 14: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 19229 invoked by uid 48); 10 Oct 2017 14:56:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63151] [5 regression] Accessibility error when brace-constructing base class with protected defaulted constructor and member variable
Date: Tue, 10 Oct 2017 14: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: 4.9.1
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: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-63151-4-WGQft6N6CG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63151-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63151-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01165.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:00 2017
Return-Path: <gcc-bugs-return-578114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24055 invoked by alias); 10 Oct 2017 14:57: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 21402 invoked by uid 48); 10 Oct 2017 14:56:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/64058] [5 Regression] Performance degradation after r216304
Date: Tue, 10 Oct 2017 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: 5.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: P2
X-Bugzilla-Assigned-To: law at redhat dot com
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-64058-4-X5U9utEOwK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64058-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64058-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01174.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:31 2017
Return-Path: <gcc-bugs-return-578138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29467 invoked by alias); 10 Oct 2017 14: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 22928 invoked by uid 48); 10 Oct 2017 14:57:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/70123] [5 Regression] Miscompilation of cfitsio testcase on s390x-linux starting with r222144
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70123-4-bcBooZxn46@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70123-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70123-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01189.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:15 2017
Return-Path: <gcc-bugs-return-578130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26006 invoked by alias); 10 Oct 2017 14: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 22643 invoked by uid 48); 10 Oct 2017 14:57:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/67089] [5 Regression] Integer overflow checks not optimized on x86/x86_64
Date: Tue, 10 Oct 2017 14: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: 5.2.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: minor
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-67089-4-5VRGPhTVCi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67089-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01179.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:00 2017
Return-Path: <gcc-bugs-return-578117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24483 invoked by alias); 10 Oct 2017 14: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 21451 invoked by uid 48); 10 Oct 2017 14:56:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69148] [5 Regression] ICE (floating point exception) on s390x-linux-gnu
Date: Tue, 10 Oct 2017 14: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: 5.3.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69148-4-xdykyaylmp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69148-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69148-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01185.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:31 2017
Return-Path: <gcc-bugs-return-578104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22166 invoked by alias); 10 Oct 2017 14:57: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 20472 invoked by uid 48); 10 Oct 2017 14:56:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/65982] [5 Regression] ICE: in lto_output_varpool_node, at lto-cgraph.c:623
Date: Tue, 10 Oct 2017 14:57: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: 6.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: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-65982-4-Tz5EeeTjJT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65982-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65982-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01163.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:10 2017
Return-Path: <gcc-bugs-return-578125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25592 invoked by alias); 10 Oct 2017 14: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 22441 invoked by uid 48); 10 Oct 2017 14:57:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/47679] [5 Regression] Strange uninitialized warning after SRA
Date: Tue, 10 Oct 2017 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.6.0
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-47679-4-vTQuNa0U8Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01176.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:22 2017
Return-Path: <gcc-bugs-return-578133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26663 invoked by alias); 10 Oct 2017 14: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 22842 invoked by uid 48); 10 Oct 2017 14:57:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/68583] [5 Regression] Missed if-conversion
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-68583-4-BmNGkECatr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68583-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01184.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:58 2017
Return-Path: <gcc-bugs-return-578115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24082 invoked by alias); 10 Oct 2017 14:57: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 21361 invoked by uid 48); 10 Oct 2017 14:56:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/67893] [5 Regression] memory hog building a C++ file (on x86_64-linux-gnu)
Date: Tue, 10 Oct 2017 14:57: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: 5.2.1
X-Bugzilla-Keywords: memory-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-67893-4-JPJOwRB1JB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67893-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67893-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01168.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:27 2017
Return-Path: <gcc-bugs-return-578135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28301 invoked by alias); 10 Oct 2017 14:57: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 23221 invoked by uid 48); 10 Oct 2017 14:57:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/67396] [5 regression] Performance regression compiling variadic function with many arguments in RTL DSE
Date: Tue, 10 Oct 2017 14: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: 5.2.0
X-Bugzilla-Keywords: alias, compile-time-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-67396-4-m2AuH9MZzW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67396-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67396-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01187.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:25 2017
Return-Path: <gcc-bugs-return-578136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28332 invoked by alias); 10 Oct 2017 14:57: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 23043 invoked by uid 48); 10 Oct 2017 14:57:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/62212] [5 Regression] ICE compiling template function with array reference parameter whose size depends on a template parameter
Date: Tue, 10 Oct 2017 14: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: 5.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: P2
X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-62212-4-7JB7I4pYfT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62212-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62212-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01186.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:00 2017
Return-Path: <gcc-bugs-return-578118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24787 invoked by alias); 10 Oct 2017 14:57: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 21630 invoked by uid 48); 10 Oct 2017 14:56:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/70144] [5 Regression] g++ ICE at -O1 and above on valid code on x86_64-linux-gnu in "copy_reference_ops_from_ref"
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70144-4-xLdYfDFhkK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70144-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70144-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01169.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:18 2017
Return-Path: <gcc-bugs-return-578128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25889 invoked by alias); 10 Oct 2017 14: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 22593 invoked by uid 48); 10 Oct 2017 14:57:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69895] [5 Regression] dependency of gcc-plugin.h not installed on m68k-linux-gnu
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69895-4-RDbqoVvTVT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69895-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69895-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01181.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:06 2017
Return-Path: <gcc-bugs-return-578121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25129 invoked by alias); 10 Oct 2017 14: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 21926 invoked by uid 48); 10 Oct 2017 14:57:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64812] [5 Regression] x86 LibreOffice Build failure: undefined reference to acquire
Date: Tue, 10 Oct 2017 14:57: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.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: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-64812-4-wv5Tz6BM6q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64812-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64812-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01173.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:21 2017
Return-Path: <gcc-bugs-return-578131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26421 invoked by alias); 10 Oct 2017 14:57: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 22735 invoked by uid 48); 10 Oct 2017 14:57:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66598] [5 Regression] With -O3 gcc incorrectly assumes aligned SSE instructions (e.g. movapd) can be used
Date: Tue, 10 Oct 2017 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.9.2
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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-66598-4-25D9FXS7qz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66598-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66598-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01183.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:02 2017
Return-Path: <gcc-bugs-return-578119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24843 invoked by alias); 10 Oct 2017 14: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 21694 invoked by uid 48); 10 Oct 2017 14:56:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66186] [5 Regression] wrong code at -O3 on x86_64-linux-gnu
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-66186-4-SFN1NkNu7I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66186-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66186-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01170.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:19 2017
Return-Path: <gcc-bugs-return-578132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26484 invoked by alias); 10 Oct 2017 14:57: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 22782 invoked by uid 48); 10 Oct 2017 14:57:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/66223] [5 Regression] Diagnostic of pure virtual function call broken, including __cxa_pure_virtual
Date: Tue, 10 Oct 2017 14:57: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: 5.1.0
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: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-66223-4-p1vDANAEf2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66223-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66223-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01182.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:05 2017
Return-Path: <gcc-bugs-return-578122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25143 invoked by alias); 10 Oct 2017 14: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 21795 invoked by uid 48); 10 Oct 2017 14:57:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/68798] [5 Regression] x_solve.c:181:9: internal compiler error: in execute, at cfgexpand.c:6066
Date: Tue, 10 Oct 2017 14:57: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.3.0
X-Bugzilla-Keywords: openmp
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-68798-4-SvmBQK3Q3a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68798-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68798-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01172.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:17 2017
Return-Path: <gcc-bugs-return-578129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26004 invoked by alias); 10 Oct 2017 14: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 22397 invoked by uid 48); 10 Oct 2017 14:57:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/68205] [5 regression] ICE compiling gcc.c-torture/execute/20040709-2.c with -fno-common on arm-none-eabi
Date: Tue, 10 Oct 2017 14: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: 5.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-68205-4-IvVKgcQGF9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68205-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68205-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01180.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:57 2017
Return-Path: <gcc-bugs-return-578110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23604 invoked by alias); 10 Oct 2017 14: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 21115 invoked by uid 48); 10 Oct 2017 14:56:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/69391] [5 Regression] Incorrect __LINE__ expansion with -ftrack-macro-expansion=0 on g++5.2
Date: Tue, 10 Oct 2017 14: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: 5.2.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: P2
X-Bugzilla-Assigned-To: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69391-4-8DooVEYCqD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69391-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69391-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01167.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:29 2017
Return-Path: <gcc-bugs-return-578137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28526 invoked by alias); 10 Oct 2017 14:57: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 23122 invoked by uid 48); 10 Oct 2017 14:57:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/69014] [5 Regression] gcc.c-torture/execute/991023-1.c FAILs with -Os -fmodulo-sched -fno-tree-vrp
Date: Tue, 10 Oct 2017 14: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.0
X-Bugzilla-Keywords: missed-optimization, 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: P2
X-Bugzilla-Assigned-To: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69014-4-b3zHNwVnER@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69014-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69014-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01188.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:24 2017
Return-Path: <gcc-bugs-return-578134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26849 invoked by alias); 10 Oct 2017 14:57: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 22894 invoked by uid 48); 10 Oct 2017 14:57:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/65076] [5 Regression] 16% tramp3d-v4.cpp compile time regression
Date: Tue, 10 Oct 2017 14: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: 5.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-65076-4-SUVi2rw7JU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65076-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65076-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01197.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:57 2017
Return-Path: <gcc-bugs-return-578112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23713 invoked by alias); 10 Oct 2017 14: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 21330 invoked by uid 48); 10 Oct 2017 14:56:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/61047] [5 Regression] wrong code at -O1 on x86_64-linux
Date: Tue, 10 Oct 2017 14: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: 5.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-61047-4-HMnj33yyQ2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61047-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61047-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01200.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:44 2017
Return-Path: <gcc-bugs-return-578140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51145 invoked by alias); 10 Oct 2017 14:58: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 49285 invoked by uid 48); 10 Oct 2017 14:58:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70286] [5 Regression] ICE on template specialization
Date: Tue, 10 Oct 2017 14: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: 5.3.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-70286-4-ioVuNzC3rG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70286-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01196.txt.bz2
Content-length: 609

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:55 2017
Return-Path: <gcc-bugs-return-578109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23508 invoked by alias); 10 Oct 2017 14:57: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 20979 invoked by uid 48); 10 Oct 2017 14:56:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/70100] [5 Regression] ICE: in execute, at cfgexpand.c:6066
Date: Tue, 10 Oct 2017 14: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: 5.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70100-4-R2B557diy4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70100-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01194.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:08 2017
Return-Path: <gcc-bugs-return-578123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25451 invoked by alias); 10 Oct 2017 14:57: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 22280 invoked by uid 48); 10 Oct 2017 14:57:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67625] [5 Regression] some constexpr expressions rejected as enumerator value
Date: Tue, 10 Oct 2017 14: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: 5.2.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-67625-4-6g82abM3qu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67625-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67625-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01193.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:00 2017
Return-Path: <gcc-bugs-return-578116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24319 invoked by alias); 10 Oct 2017 14:57: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 21557 invoked by uid 48); 10 Oct 2017 14:56:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63890] [5 regression] Compiling trivial program with -O -p leads to misaligned stack
Date: Tue, 10 Oct 2017 14: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: 5.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-63890-4-Rs7CNm3fso@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63890-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63890-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01195.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:57 2017
Return-Path: <gcc-bugs-return-578113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23925 invoked by alias); 10 Oct 2017 14: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 21264 invoked by uid 48); 10 Oct 2017 14:56:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65867] [5 Regression] bootstrap fails for mingw32 due to missing header in ssp.c
Date: Tue, 10 Oct 2017 14: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: 5.1.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: trivial
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-65867-4-acElUDm1ES@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65867-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65867-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01198.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:52 2017
Return-Path: <gcc-bugs-return-578107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23109 invoked by alias); 10 Oct 2017 14: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 20737 invoked by uid 48); 10 Oct 2017 14:56:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/68273] [5 Regression] Wrong code on mips/mipsel due to (invalid?) peeking at alignments in function_arg.
Date: Tue, 10 Oct 2017 14: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: 5.2.1
X-Bugzilla-Keywords: ABI, 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-68273-4-sKBX1CrjLu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68273-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68273-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01199.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:58:32 2017
Return-Path: <gcc-bugs-return-578139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29569 invoked by alias); 10 Oct 2017 14: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 23296 invoked by uid 48); 10 Oct 2017 14:57:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70035] [5 Regression] Calling a non-virtual member in base-class constructor call with ubsan causes segfault when superclass has virtual member with same name
Date: Tue, 10 Oct 2017 14: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: 5.3.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70035-4-eWoz7g4tEv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70035-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70035-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01190.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:55 2017
Return-Path: <gcc-bugs-return-578108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23382 invoked by alias); 10 Oct 2017 14: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 20837 invoked by uid 48); 10 Oct 2017 14:56:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69166] [5 Regression] ICE in get_initial_def_for_reduction, at tree-vect-loop.c:4188
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69166-4-wG13czgAEs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69166-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69166-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01191.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:57:56 2017
Return-Path: <gcc-bugs-return-578111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23690 invoked by alias); 10 Oct 2017 14:57: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 21185 invoked by uid 48); 10 Oct 2017 14:56:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66076] [5 Regression] ICE: in vec_safe_grow, at vec.h:618 with -funroll-loops -mno-prefer-avx128 -march½ver4
Date: Tue, 10 Oct 2017 14: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: 6.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: P2
X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-66076-4-ryZQhebI0U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66076-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66076-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01192.txt.bz2
Content-length: 290

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.0
>From gcc-bugs-return-578141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 14:59:21 2017
Return-Path: <gcc-bugs-return-578141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73933 invoked by alias); 10 Oct 2017 14: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 71337 invoked by uid 48); 10 Oct 2017 14:59:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70332] [5 Regression] ICE on x86_64-linux-gnu in tsubst_copy, at cp/pt.c:13887
Date: Tue, 10 Oct 2017 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: 6.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: P2
X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70332-4-ezMlzbelCG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70332-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70332-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01201.txt.bz2
Content-length: 535

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:00:15 2017
Return-Path: <gcc-bugs-return-578142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107098 invoked by alias); 10 Oct 2017 15: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 95263 invoked by uid 48); 10 Oct 2017 14:59:56 -0000
From: "david.welch at netronome dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82150] Produces a branch prefetch which causes a hang
Date: Tue, 10 Oct 2017 15: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: david.welch at netronome 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-82150-4-icKzXTKyQp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82150-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82150-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01202.txt.bz2
Content-length: 974

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

david.welch at netronome dot com changed:

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

--- Comment #10 from david.welch at netronome dot com ---
How do I get some feedback on this?  Do I need to create a new ticket?  This is
not about a system hang, this is about GCC output that causes data to be
executed as code in the pipeline.  Was detected through a hang, but perfectly
valid address spaces are affected.  Quite clearly a gcc bug.  The root cause is
GCC is feeding data into the pipeline to be executed.  Just because ARM didnt
publish it doesnt mean their core is without other undocumented problems.  The
MMU is too late the data has started to execute, so that at best is a hack, not
a solution.
>From gcc-bugs-return-578144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:05:48 2017
Return-Path: <gcc-bugs-return-578144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107046 invoked by alias); 10 Oct 2017 15: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 101220 invoked by uid 48); 10 Oct 2017 15:05:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70353] [5 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function
Date: Tue, 10 Oct 2017 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: 5.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: 5.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70353-4-gCmmX6bYdr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70353-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01204.txt.bz2
Content-length: 494

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |5.4

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed in 5.4.
>From gcc-bugs-return-578143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:05:04 2017
Return-Path: <gcc-bugs-return-578143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9810 invoked by alias); 10 Oct 2017 15: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 125956 invoked by uid 48); 10 Oct 2017 15:04:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70338] [5 Regression] ICE combining debug symbols, range-for in lambda in function template accessing captured variable-size array
Date: Tue, 10 Oct 2017 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: 5.3.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-70338-4-stJMKMxU7Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70338-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70338-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01203.txt.bz2
Content-length: 609

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:05:53 2017
Return-Path: <gcc-bugs-return-578145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109709 invoked by alias); 10 Oct 2017 15: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 101949 invoked by uid 48); 10 Oct 2017 15:05:45 -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: Tue, 10 Oct 2017 15:05: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-k4MsEKEOmJ@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: 2017-10/txt/msg01205.txt.bz2
Content-length: 493

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

Bug 70353 Summary: [5 regression] ICE on __PRETTY_FUNCTION__ in a constexpr function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:06:27 2017
Return-Path: <gcc-bugs-return-578146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42486 invoked by alias); 10 Oct 2017 15:06:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 33557 invoked by uid 48); 10 Oct 2017 15:06:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/70355] [5 Regression] ICE: in simplify_subreg_concatn, at lower-subreg.c:617 with -funroll-loops -mavx512f
Date: Tue, 10 Oct 2017 15:06:00 -0000
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: 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: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70355-4-RI4MPq0CN4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70355-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70355-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01206.txt.bz2
Content-length: 535

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:07:08 2017
Return-Path: <gcc-bugs-return-578147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108709 invoked by alias); 10 Oct 2017 15:07: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 100709 invoked by uid 48); 10 Oct 2017 15:07:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70452] [5 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1
Date: Tue, 10 Oct 2017 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: 5.3.1
X-Bugzilla-Keywords: compile-time-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70452-4-tN5HJ4eKPf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70452-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70452-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01207.txt.bz2
Content-length: 536

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:09:54 2017
Return-Path: <gcc-bugs-return-578148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123140 invoked by alias); 10 Oct 2017 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 121706 invoked by uid 48); 10 Oct 2017 15:09:50 -0000
From: "barto at cambridgesemantics dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82505] New: g++ -O3 -funroll-loops generates weird code
Date: Tue, 10 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: barto at cambridgesemantics 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-82505-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01208.txt.bz2
Content-length: 1114

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

            Bug ID: 82505
           Summary: g++ -O3 -funroll-loops generates weird code
           Product: gcc
           Version: 7.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: barto at cambridgesemantics dot com
  Target Milestone: ---

Created attachment 42334
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42334&action=edit
Assembly output from g++ -O3 -funroll-loops -S

In the following code, the first two tests generate much the same code when
compiled
with g++ -O3 -funroll-loops.
The third test generates an excess of loads and moves. Assembly attached.

extern char *dest;
extern char *src;

int t0()
{
  for (int i = 0; i < 5; ++i)
  {
    dest[i] = src[i];
  }
}

int t1()
{
    dest[0] = src[0];
    dest[1] = src[1];
    dest[2] = src[2];
    dest[3] = src[3];
    dest[4] = src[4];
}

int t2()
{
  for (int i = 0; i < 5; ++i)
  {
    *dest = *src;
    ++dest;
    ++src;
  }
}
>From gcc-bugs-return-578149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:11:41 2017
Return-Path: <gcc-bugs-return-578149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100184 invoked by alias); 10 Oct 2017 15: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 97779 invoked by uid 48); 10 Oct 2017 15:11:36 -0000
From: "barto at cambridgesemantics dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82505] g++ -O3 -funroll-loops generates weird code
Date: Tue, 10 Oct 2017 15: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.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: barto at cambridgesemantics 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-82505-4-FBcVreRlBz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01209.txt.bz2
Content-length: 205

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

--- Comment #1 from David Barto <barto at cambridgesemantics dot com> ---
This is gcc-mp-7 pre-built object from MacPorts.
Should have mentioned that.
>From gcc-bugs-return-578150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:14:40 2017
Return-Path: <gcc-bugs-return-578150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99034 invoked by alias); 10 Oct 2017 15:14: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 94539 invoked by uid 48); 10 Oct 2017 15:14:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70505] [5 Regression] Constexpr failure when template type specified
Date: Tue, 10 Oct 2017 15: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: 6.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: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70505-4-5WjfQ1CXUE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70505-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01210.txt.bz2
Content-length: 423

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

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

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:15:54 2017
Return-Path: <gcc-bugs-return-578152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17829 invoked by alias); 10 Oct 2017 15: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 5815 invoked by uid 48); 10 Oct 2017 15:15:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70528] [5 Regression] bogus error: constructor required before non-static data member
Date: Tue, 10 Oct 2017 15: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: 6.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: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70528-4-hF1f16EU2u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70528-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70528-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01212.txt.bz2
Content-length: 536

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:15:23 2017
Return-Path: <gcc-bugs-return-578151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109419 invoked by alias); 10 Oct 2017 15:15: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 104716 invoked by uid 48); 10 Oct 2017 15:15:00 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/81037] Xcode 9 requires back ports on gcc-5-branch for bootstrapping under Xcode 9
Date: Tue, 10 Oct 2017 15:15: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.3.1
X-Bugzilla-Keywords: build, patch
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-81037-4-xwbygRJ5XO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81037-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81037-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01211.txt.bz2
Content-length: 507

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

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

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

--- Comment #14 from Eric Gallager <egallager at gcc dot gnu.org> ---
gcc-5-branch is now closed and gcc-6-branch is fixed, so closing this as FIXED.
>From gcc-bugs-return-578153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:16:31 2017
Return-Path: <gcc-bugs-return-578153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75886 invoked by alias); 10 Oct 2017 15: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 70172 invoked by uid 48); 10 Oct 2017 15:16:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/70614] [5 Regression] GCC gets stuck with -O
Date: Tue, 10 Oct 2017 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: 5.2.1
X-Bugzilla-Keywords: compile-time-hog
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70614-4-foFoq5VSq4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70614-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01213.txt.bz2
Content-length: 535

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:17:14 2017
Return-Path: <gcc-bugs-return-578154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8400 invoked by alias); 10 Oct 2017 15: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 127180 invoked by uid 48); 10 Oct 2017 15:17:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/70680] [5 Regression] OpenMP SIMD linear variable privatized too eagerly
Date: Tue, 10 Oct 2017 15: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: 5.1.0
X-Bugzilla-Keywords: openmp
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70680-4-MwW4eDkKxr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70680-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70680-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01214.txt.bz2
Content-length: 535

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.2

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:17:43 2017
Return-Path: <gcc-bugs-return-578155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42978 invoked by alias); 10 Oct 2017 15:17: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 30599 invoked by uid 48); 10 Oct 2017 15:17:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70709] [5 Regression] gcc hangs on valid C++ code on x86_64-linux-gnu
Date: Tue, 10 Oct 2017 15: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: 6.0
X-Bugzilla-Keywords: compile-time-hog
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: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-70709-4-DzX7oSGz4M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70709-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70709-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01215.txt.bz2
Content-length: 535

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.2

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:19:00 2017
Return-Path: <gcc-bugs-return-578156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104804 invoked by alias); 10 Oct 2017 15:19: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 102004 invoked by uid 48); 10 Oct 2017 15:18:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70735] [5 Regression] problem combining std::function, generic lambdas and static variables
Date: Tue, 10 Oct 2017 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: 5.3.1
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: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-70735-4-eLzthz4Vie@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70735-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70735-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01216.txt.bz2
Content-length: 612

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

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

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

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.2 and later.
>From gcc-bugs-return-578157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:19:11 2017
Return-Path: <gcc-bugs-return-578157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108351 invoked by alias); 10 Oct 2017 15: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 105140 invoked by uid 48); 10 Oct 2017 15:19:00 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0
Date: Tue, 10 Oct 2017 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: 5.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-63773-4-3yQ5M9QSHr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63773-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63773-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01217.txt.bz2
Content-length: 1375

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

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

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

--- Comment #38 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #37)
> (In reply to Rainer Orth from comment #35)
> > (In reply to Iain Sandoe from comment #31)
> > > (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #30)
> > > > With Xcode 6.4 as, 32-bit bootstrap is now well into running the testsuite.
> > > > 
> > > > I've filed bug
> > > > 
> > > > 	23669324 Xcode 7 as creates relocation ld cannot handle
> > > 
> > > Thanks!
> > > 
> > > The .s file in your attachment crashes TOT llvm/clang (clang -target
> > > i686-apple-darwin12 xxxx.s -o t.o ) with an assertion "Value does not fit in
> > > Fixup field".  Will try to investigate if I have any spare cycles today.
> > 
> > I've just been notified that the bug is fixed in Xcode 7.3.1.  Will try that
> > as
> > soon as it hits the Appstore.
> > 
> >   Rainer
> 
> So does this bug still need to stay open then?

Guess not. gcc-5-branch is closed now, anyways, so I'm closing this bug.
>From gcc-bugs-return-578159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:19:22 2017
Return-Path: <gcc-bugs-return-578159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112734 invoked by alias); 10 Oct 2017 15: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 110604 invoked by uid 48); 10 Oct 2017 15:19:17 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82494] UBSAN in gcc/tree-data-ref.c:3427:16: runtime error: signed integer overflow: 131072 * -131072 cannot be represented in type 'int'
Date: Tue, 10 Oct 2017 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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 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: cc
Message-ID: <bug-82494-4-2YfHUxj58P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82494-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01219.txt.bz2
Content-length: 819

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

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
I tried a -fsanitize=undefined build of today's gcc trunk with -O3
and the runtime errors I found are:

$ grep error: mk.out
../../trunk/gcc/tree-data-ref.c:3640:26: runtime error: signed integer
overflow: 9223372036854775807 - -1 cannot be represented in type 'long int [3]'
../../trunk/gcc/tree-data-ref.c:3642:52: runtime error: signed integer
overflow: -9223372036854775808 - 1 cannot be represented in type 'long int [3]'
$
>From gcc-bugs-return-578158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:19:22 2017
Return-Path: <gcc-bugs-return-578158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112574 invoked by alias); 10 Oct 2017 15: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 110941 invoked by uid 48); 10 Oct 2017 15:19:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70778] [5 regression] internal compiler error: in tsubst, at cp/pt.c:12158
Date: Tue, 10 Oct 2017 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: 5.3.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: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-70778-4-PuotHdCzSi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70778-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70778-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01218.txt.bz2
Content-length: 611

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

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

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.2 and later.
>From gcc-bugs-return-578160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:24:37 2017
Return-Path: <gcc-bugs-return-578160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43288 invoked by alias); 10 Oct 2017 15: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 41336 invoked by uid 48); 10 Oct 2017 15:24:33 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/50229] [6/7/8 Regression] Can't cross compile for i686-apple-darwin10 from x86_64-redhat_linux
Date: Tue, 10 Oct 2017 15:24: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: 4.7.0
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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-50229-4-zS4PzfaeYn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-50229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-50229-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01220.txt.bz2
Content-length: 420

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.4

--- Comment #30 from Eric Gallager <egallager at gcc dot gnu.org> ---
Changing milestone since gcc-5-branch has been closed.
>From gcc-bugs-return-578161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:26:07 2017
Return-Path: <gcc-bugs-return-578161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103474 invoked by alias); 10 Oct 2017 15: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 91689 invoked by uid 48); 10 Oct 2017 15:25:59 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/39533] [6/7/8 Regression] -MM may list a header file twice
Date: Tue, 10 Oct 2017 15: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: 4.4.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: egallager 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: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-39533-4-vn69Qx8Uhw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-39533-4@http.gcc.gnu.org/bugzilla/>
References: <bug-39533-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01221.txt.bz2
Content-length: 428

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.5                         |6.4

--- Comment #20 from Eric Gallager <egallager at gcc dot gnu.org> ---
GCC 5 branch is being closed.

(Why is this still in WAITING?)
>From gcc-bugs-return-578162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:27:46 2017
Return-Path: <gcc-bugs-return-578162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62478 invoked by alias); 10 Oct 2017 15:27: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 60610 invoked by uid 48); 10 Oct 2017 15:27:42 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug boehm-gc/64042] FAIL: boehm-gc.c/gctest.c -O2 execution test
Date: Tue, 10 Oct 2017 15:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: boehm-gc
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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-64042-4-FS0j4zB11N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64042-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64042-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01222.txt.bz2
Content-length: 1272

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

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

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

--- Comment #17 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #16)
> (In reply to Tom de Vries from comment #13)
> > (In reply to Eric Gallager from comment #12)
> > > (In reply to Tom de Vries from comment #11)
> > > > Reported upstream here:
> > > > https://lists.opendylan.org/pipermail/bdwgc/2015-January/006071.html
> > > 
> > > This link doesn't work for me; is there a better upstream bug link URL?
> > 
> > The archive seems to be down, and also gmane doesn't seem to work. I'll post
> > the thread here.
> 
> OK, since there's no working link to an upstream bug report, I can't close
> this as MOVED... gcc trunk no longer carries its own copy of the boehm-gc
> sources, but since this bug is for the 5 branch, I'll wait until that branch
> is closed to close this bug as WONTFIX.

gcc-5-branch has now been closed, so I'm closing this bug, too.
>From gcc-bugs-return-578163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:30:40 2017
Return-Path: <gcc-bugs-return-578163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101131 invoked by alias); 10 Oct 2017 15:30: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 94785 invoked by uid 48); 10 Oct 2017 15:30:36 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug boehm-gc/66848] boehm-gc fails test suite on x86_64-apple-darwin15
Date: Tue, 10 Oct 2017 15:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: boehm-gc
X-Bugzilla-Version: 5.2.0
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: cc
Message-ID: <bug-66848-4-suqICYvGHb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66848-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66848-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01223.txt.bz2
Content-length: 497

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

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

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

--- Comment #33 from Eric Gallager <egallager at gcc dot gnu.org> ---
gcc no longer carries its own copy of the boehm-gc sources. Is there any reason
to keep this bug open?
>From gcc-bugs-return-578164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:32:26 2017
Return-Path: <gcc-bugs-return-578164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38635 invoked by alias); 10 Oct 2017 15:32: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 36682 invoked by uid 48); 10 Oct 2017 15:32:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/70887] [5 Regression] internal compiler error in trunc_int_for_mode, at explow.c:78
Date: Tue, 10 Oct 2017 15: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: 5.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-70887-4-yTYcslCSyt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70887-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70887-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01224.txt.bz2
Content-length: 603

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This got fixed with r229086.  GCC 5 branch has been closed.
>From gcc-bugs-return-578165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:33:35 2017
Return-Path: <gcc-bugs-return-578165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122586 invoked by alias); 10 Oct 2017 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 117211 invoked by uid 48); 10 Oct 2017 15:33:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/70978] [5 Regression] internal compiler error: in assign_by_spills, at lra-assigns.c:1428 on arm
Date: Tue, 10 Oct 2017 15: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: 5.3.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-70978-4-oTt6vcy3qG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70978-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70978-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01225.txt.bz2
Content-length: 556

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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:37:43 2017
Return-Path: <gcc-bugs-return-578166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114513 invoked by alias); 10 Oct 2017 15: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 108054 invoked by uid 48); 10 Oct 2017 15:37:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71195] [5 Regression] ICE in classify_argument on invalid code
Date: Tue, 10 Oct 2017 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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, 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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-71195-4-dRpwSXApXT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71195-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71195-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01226.txt.bz2
Content-length: 594

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed with r233506.  GCC 5 branch has been closed.
>From gcc-bugs-return-578167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:43:23 2017
Return-Path: <gcc-bugs-return-578167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23233 invoked by alias); 10 Oct 2017 15: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 16436 invoked by uid 48); 10 Oct 2017 15:43:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/71264] [5 Regression] ICE in convert_move
Date: Tue, 10 Oct 2017 15: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: 4.8.4
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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-71264-4-MzwpB5rRdY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71264-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71264-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01227.txt.bz2
Content-length: 612

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

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

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

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.2 and later.
>From gcc-bugs-return-578168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:44:30 2017
Return-Path: <gcc-bugs-return-578168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65755 invoked by alias); 10 Oct 2017 15:44: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 63800 invoked by uid 48); 10 Oct 2017 15:44:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/71506] [5 Regression] ICE with libvpx with -floop-interchange: isl_constraint.c:627: expecting integer value
Date: Tue, 10 Oct 2017 15: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: 5.3.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-71506-4-W4AWlJhbQx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71506-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01228.txt.bz2
Content-length: 610

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:44:59 2017
Return-Path: <gcc-bugs-return-578169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79972 invoked by alias); 10 Oct 2017 15:44: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 77955 invoked by uid 48); 10 Oct 2017 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++/71576] [5 Regression] ICE on valid C++11 code (with xvalue and bitfield) on x86_64-linux-gnu: in build_target_expr, at cp/tree.c:385
Date: Tue, 10 Oct 2017 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.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: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-71576-4-eZUBSU2C3h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71576-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71576-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01229.txt.bz2
Content-length: 537

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.2

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.2 and later.
>From gcc-bugs-return-578171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:45:48 2017
Return-Path: <gcc-bugs-return-578171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108753 invoked by alias); 10 Oct 2017 15:45: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 102919 invoked by uid 48); 10 Oct 2017 15:45:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71748] [5 Regression] ICE on valid (?) C++ template code invoking a base destructor: in build_base_path, at cp/class.c:304
Date: Tue, 10 Oct 2017 15: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: 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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-71748-4-LV2UPf9qIN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71748-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71748-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01231.txt.bz2
Content-length: 537

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.2

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.2 and later.
>From gcc-bugs-return-578170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:45:36 2017
Return-Path: <gcc-bugs-return-578170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97505 invoked by alias); 10 Oct 2017 15:45: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 91411 invoked by uid 48); 10 Oct 2017 15:45:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71728] [5 Regression] ICE with goto in statement-expression inside a condition
Date: Tue, 10 Oct 2017 15: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: 6.1.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-71728-4-l2cPEjP7kv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71728-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71728-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01230.txt.bz2
Content-length: 537

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.2

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.2 and later.
>From gcc-bugs-return-578172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:47:24 2017
Return-Path: <gcc-bugs-return-578172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85980 invoked by alias); 10 Oct 2017 15: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 78037 invoked by uid 48); 10 Oct 2017 15: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/71762] [5 Regression] ~X & Y to X < Y doesn't work for uninitialized values
Date: Tue, 10 Oct 2017 15: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.4
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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-71762-4-YU59nIk6tj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71762-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71762-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01232.txt.bz2
Content-length: 612

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

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

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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.3 and later.
>From gcc-bugs-return-578173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:51:30 2017
Return-Path: <gcc-bugs-return-578173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83413 invoked by alias); 10 Oct 2017 15: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 80746 invoked by uid 48); 10 Oct 2017 15:51:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71875] [5 Regression] template specialization compile error
Date: Tue, 10 Oct 2017 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: 6.1.1
X-Bugzilla-Keywords: assemble-failure, 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-71875-4-5ryugtToxJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71875-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71875-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01233.txt.bz2
Content-length: 611

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.2

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.2 and later.
>From gcc-bugs-return-578174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:52:14 2017
Return-Path: <gcc-bugs-return-578174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116326 invoked by alias); 10 Oct 2017 15:52: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 109222 invoked by uid 48); 10 Oct 2017 15:52:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/76490] [5 Regression] when use -O2 -fcheck-founds compiler appears to hang and consumes all memory
Date: Tue, 10 Oct 2017 15: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: 5.4.0
X-Bugzilla-Keywords: compile-time-hog, memory-hog
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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-76490-4-2BqcouGJN4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-76490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-76490-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01234.txt.bz2
Content-length: 611

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

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

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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.3 and later.
>From gcc-bugs-return-578175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 15:53:24 2017
Return-Path: <gcc-bugs-return-578175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62431 invoked by alias); 10 Oct 2017 15:53: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 49871 invoked by uid 48); 10 Oct 2017 15:53:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77316] [5 Regression] Unnecessary template copy constructor weak symbol emitted in wrong section
Date: Tue, 10 Oct 2017 15: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: 5.4.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-77316-4-TnOpkCyq86@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77316-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01235.txt.bz2
Content-length: 609

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:02:52 2017
Return-Path: <gcc-bugs-return-578176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115348 invoked by alias); 10 Oct 2017 16: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 114137 invoked by uid 48); 10 Oct 2017 16:02:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77578] [5 Regression] ICE in cp_parser_omp_for_loop (cp/parser.c:29404)
Date: Tue, 10 Oct 2017 16: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: 5.4.0
X-Bugzilla-Keywords: ice-on-invalid-code, openmp
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-77578-4-VU6nJUAsvj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77578-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77578-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01236.txt.bz2
Content-length: 556

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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:03:06 2017
Return-Path: <gcc-bugs-return-578177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120956 invoked by alias); 10 Oct 2017 16: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 118510 invoked by uid 48); 10 Oct 2017 16:03:03 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82505] g++ -O3 -funroll-loops generates weird code
Date: Tue, 10 Oct 2017 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: 7.1.1
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-82505-4-aGLAAf4kH2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01237.txt.bz2
Content-length: 213

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

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
dest/src might alias anything (even themselves), so the compiler can't really
optimize much.
>From gcc-bugs-return-578178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:04:45 2017
Return-Path: <gcc-bugs-return-578178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97883 invoked by alias); 10 Oct 2017 16:04: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 92099 invoked by uid 48); 10 Oct 2017 16:04:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/77728] [5 Regression] Miscompilation multiple vector iteration on ARM
Date: Tue, 10 Oct 2017 16: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: 6.2.1
X-Bugzilla-Keywords: ABI, 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-77728-4-GtpNy2itcf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77728-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77728-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01238.txt.bz2
Content-length: 538

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.4

--- Comment #62 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.4 and later.
>From gcc-bugs-return-578179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:05:34 2017
Return-Path: <gcc-bugs-return-578179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61470 invoked by alias); 10 Oct 2017 16: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 50414 invoked by uid 48); 10 Oct 2017 16:05:31 -0000
From: "barto at cambridgesemantics dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82505] g++ -O3 -funroll-loops generates weird code
Date: Tue, 10 Oct 2017 16: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.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: barto at cambridgesemantics 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-82505-4-TX5mgYuiHP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01239.txt.bz2
Content-length: 282

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

--- Comment #3 from David Barto <barto at cambridgesemantics dot com> ---
I understand that it can't optimize much, my major concern is that the pointer
version of the code is so much worse than the index version of the code.
>From gcc-bugs-return-578180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:08:22 2017
Return-Path: <gcc-bugs-return-578180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107100 invoked by alias); 10 Oct 2017 16:08: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 104977 invoked by uid 48); 10 Oct 2017 16:08:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77786] [5 Regression] ICE in tsubst_copy, at cp/pt.c:13040
Date: Tue, 10 Oct 2017 16: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.4.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-77786-4-n6E4VgIuYq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77786-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77786-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01240.txt.bz2
Content-length: 609

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:18:24 2017
Return-Path: <gcc-bugs-return-578181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55643 invoked by alias); 10 Oct 2017 16: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 49183 invoked by uid 55); 10 Oct 2017 16:18:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82437] [8 Regression] false-positive -Wtautological-compare warning with -std=gnu89
Date: Tue, 10 Oct 2017 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: 8.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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82437-4-MNQKD2S1MR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82437-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82437-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01241.txt.bz2
Content-length: 629

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 16:17:47 2017
New Revision: 253589

URL: https://gcc.gnu.org/viewcvs?rev=253589&root=gcc&view=rev
Log:
        PR c/82437
        * c-warn.c (warn_tautological_bitwise_comparison): Use wi::to_wide
        instead of wide_int::from.

        * c-c++-common/Wtautological-compare-7.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/Wtautological-compare-7.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-warn.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:27:47 2017
Return-Path: <gcc-bugs-return-578182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44271 invoked by alias); 10 Oct 2017 16:27: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 37161 invoked by uid 48); 10 Oct 2017 16:27:43 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/80914] gcc-go binaries don't run
Date: Tue, 10 Oct 2017 16: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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs dot net
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-80914-4-YmPnHWVMj1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01242.txt.bz2
Content-length: 939

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

--- Comment #4 from Steven Noonan <steven at uplinklabs dot net> ---
This bug is still present, but I believe I know what is causing this.

At the time I reported this, I was using a binutils configured with
--enable-compressed-debug-sections=all. The resulting go.gcc binary just
crashed when run.

If I build GCC using a binutils configured with
--enable-compressed-debug-sections=none instead, then the resulting go.gcc runs
fine:

$ go.gcc version
go version go1.8.3 gccgo (GCC) 7.2.1 20171005 linux/amd64

I see that libbacktrace was made to support compressed debug sections in trunk
only very recently:

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

So while it's likely unreasonable to ask that this be ported over into 7.2.x,
could some work be done to make libbacktrace fail more gracefully if GCC is
built without compressed debug section support enabled?
>From gcc-bugs-return-578183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:46:03 2017
Return-Path: <gcc-bugs-return-578183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52107 invoked by alias); 10 Oct 2017 16:46: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 49806 invoked by uid 48); 10 Oct 2017 16:45:58 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82505] g++ -O3 -funroll-loops generates weird code
Date: Tue, 10 Oct 2017 16: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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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-82505-4-sf97qH8Gpf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01243.txt.bz2
Content-length: 840

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

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 #4 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
t2 needs more code simply because it does more work: in C you can read
representations of objects byte-by-byte via 'char *' pointers. Consider what
happens if src is initialized like 'src = (void *)&src;' prior to invoking t2
(then the loop in t2 modifies src on each iteration, and also reads a byte of
its representation).
>From gcc-bugs-return-578184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:50:12 2017
Return-Path: <gcc-bugs-return-578184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25901 invoked by alias); 10 Oct 2017 16:50: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 20835 invoked by uid 55); 10 Oct 2017 16:50:03 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Tue, 10 Oct 2017 16:50: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-EHfux3PYEd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01244.txt.bz2
Content-length: 808

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

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Oct 10 16:49:32 2017
New Revision: 253593

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

        PR libfortran/82233
        * intrinsics/execute_command_line.c (execute_command_line):
        No call to runtime_error if cmdstat is present.

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

        PR libfortran/82233
        * gfortran.dg/execute_command_line_3.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/execute_command_line_3.f90
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/intrinsics/execute_command_line.c
>From gcc-bugs-return-578185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:55:41 2017
Return-Path: <gcc-bugs-return-578185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47703 invoked by alias); 10 Oct 2017 16:55: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 41590 invoked by uid 55); 10 Oct 2017 16:55:36 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/80914] gcc-go binaries don't run
Date: Tue, 10 Oct 2017 16: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: 7.1.1
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-80914-4-9bRw9Lblok@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01245.txt.bz2
Content-length: 497

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

--- Comment #5 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Tue Oct 10 16:55:04 2017
New Revision: 253594

URL: https://gcc.gnu.org/viewcvs?rev=253594&root=gcc&view=rev
Log:
        PR go/80914
        * elf.c (SHF_COMPRESSED): Define.
        (elf_add): Ignore debug sections with SHF_COMPRESSED set.

Modified:
    branches/gcc-7-branch/libbacktrace/ChangeLog
    branches/gcc-7-branch/libbacktrace/elf.c
>From gcc-bugs-return-578186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:57:21 2017
Return-Path: <gcc-bugs-return-578186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50659 invoked by alias); 10 Oct 2017 16:57: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 50597 invoked by uid 48); 10 Oct 2017 16:57:18 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/80914] gcc-go binaries don't run
Date: Tue, 10 Oct 2017 16:57: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.1.1
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-80914-4-gkpqK5eluq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01246.txt.bz2
Content-length: 709

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

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

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

--- Comment #6 from Ian Lance Taylor <ian at airs dot com> ---
Thanks for figuring it out.  I committed a patch to the GCC 7 branch to ignore
compressed debug sections.  With this change many programs will work, but
programs that rely on runtime.Callers information will fail.

As you say, compressing debug sections should work fine in the GCC 8 release.
>From gcc-bugs-return-578187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 16:59:29 2017
Return-Path: <gcc-bugs-return-578187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57435 invoked by alias); 10 Oct 2017 16:59: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 57385 invoked by uid 48); 10 Oct 2017 16:59:25 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvODI0NzRdIFs4IFJlZ3Jlc3Npb25dIElDRTogdHJ5aW5nIHRv?= =?UTF-8?B?IGNhcHR1cmUg4oCYbGlzdOKAmSBpbiBpbnN0YW50aWF0aW9uIG9mIGdlbmVy?= =?UTF-8?B?aWMgbGFtYmRh?Date: Tue, 10 Oct 2017 16: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82474-4-72cGIRuduQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82474-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01247.txt.bz2
Content-length: 146

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

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Related to PR81299.
>From gcc-bugs-return-578188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:10:35 2017
Return-Path: <gcc-bugs-return-578188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52932 invoked by alias); 10 Oct 2017 17: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 52864 invoked by uid 48); 10 Oct 2017 17:10:32 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82505] g++ -O3 -funroll-loops generates weird code
Date: Tue, 10 Oct 2017 17: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.1.1
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-82505-4-k1rqvF5vcY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01248.txt.bz2
Content-length: 137

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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
dup of PR 82394?
>From gcc-bugs-return-578189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:12:19 2017
Return-Path: <gcc-bugs-return-578189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81499 invoked by alias); 10 Oct 2017 17:12: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 81446 invoked by uid 48); 10 Oct 2017 17:12:16 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82505] g++ -O3 -funroll-loops generates weird code
Date: Tue, 10 Oct 2017 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: 7.1.1
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-82505-4-HYfVt34jO4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82505-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01249.txt.bz2
Content-length: 222

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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ah no, because we have global pointers here, with potentially unknowable
aliasing, as Alexander said.
>From gcc-bugs-return-578190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:13:16 2017
Return-Path: <gcc-bugs-return-578190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82525 invoked by alias); 10 Oct 2017 17: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 82462 invoked by uid 48); 10 Oct 2017 17:13:11 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58706] ICE with lambda in OpenMP for-loop
Date: Tue, 10 Oct 2017 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: 4.9.0
X-Bugzilla-Keywords: ice-on-valid-code, openmp
X-Bugzilla-Severity: normal
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: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-58706-4-1p2hOU3fof@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58706-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58706-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01250.txt.bz2
Content-length: 504

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.0

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in 7.1.0 then.
>From gcc-bugs-return-578191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:19:50 2017
Return-Path: <gcc-bugs-return-578191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111149 invoked by alias); 10 Oct 2017 17:19: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 110721 invoked by uid 48); 10 Oct 2017 17:19:46 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/82506] New: Stringizing raw string literals
Date: Tue, 10 Oct 2017 17:19: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82506-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01251.txt.bz2
Content-length: 524

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

            Bug ID: 82506
           Summary: Stringizing raw string literals
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nathan at gcc dot gnu.org
  Target Milestone: ---

Created attachment 42335
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42335&action=edit
example
>From gcc-bugs-return-578192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:22:07 2017
Return-Path: <gcc-bugs-return-578192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114544 invoked by alias); 10 Oct 2017 17: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 114496 invoked by uid 48); 10 Oct 2017 17:22:03 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/82506] Stringizing raw string literals
Date: Tue, 10 Oct 2017 17:22: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82506-4-xBjAiRQWL4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82506-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01252.txt.bz2
Content-length: 395

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

--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
We fail to stringize raw string literals containing \n chars:
./xg++ -B./ q.cc -E  
gives:

"R\"(
)\""

(snipping line markers).  That's a regular string literal with a naked LF char
in it.  This is like the recent fix for __FILE__ dying with filenames
containing LF.
>From gcc-bugs-return-578193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:22:25 2017
Return-Path: <gcc-bugs-return-578193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115296 invoked by alias); 10 Oct 2017 17:22: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 115248 invoked by uid 48); 10 Oct 2017 17:22:22 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/82506] Stringizing raw string literals
Date: Tue, 10 Oct 2017 17:22: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan 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-82506-4-j5NAAa4kyL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82506-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01253.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82506

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-10
           Assignee|unassigned at gcc dot gnu.org      |nathan at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-578194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:26:53 2017
Return-Path: <gcc-bugs-return-578194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41269 invoked by alias); 10 Oct 2017 17:26: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 41211 invoked by uid 48); 10 Oct 2017 17:26:50 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79367] ICE on valid C++11 code on x86_64-linux-gnu: verify_gimple failed
Date: Tue, 10 Oct 2017 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: unknown
X-Bugzilla-Keywords: ice-checking, 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-79367-4-rqJjYNJwUN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79367-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01254.txt.bz2
Content-length: 158

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79367

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Related to PR60230 and PR64000.
>From gcc-bugs-return-578195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:31:17 2017
Return-Path: <gcc-bugs-return-578195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15783 invoked by alias); 10 Oct 2017 17: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 15727 invoked by uid 48); 10 Oct 2017 17:31:13 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79620] decltype() inside a lambda capturing-by-value
Date: Tue, 10 Oct 2017 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: 6.3.1
X-Bugzilla-Keywords: rejects-valid
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-79620-4-vws3mnxkFR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79620-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79620-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01255.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79620

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-10
     Ever confirmed|0                           |1
>From gcc-bugs-return-578196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:35:59 2017
Return-Path: <gcc-bugs-return-578196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65952 invoked by alias); 10 Oct 2017 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 63653 invoked by uid 48); 10 Oct 2017 17:35:54 -0000
From: "eric.niebler at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82507] New: [concepts] premature substitution into constraint of non-template member function
Date: Tue, 10 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eric.niebler 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-82507-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01256.txt.bz2
Content-length: 960

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82507

            Bug ID: 82507
           Summary: [concepts] premature substitution into constraint of
                    non-template member function
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eric.niebler at gmail dot com
  Target Milestone: ---

According to Andrew Sutton, the following code should compile:

template <class I>
concept bool True = true;

template <class T>
concept bool HasType = requires { typename T::type; };

template <class T>
struct S {
  void foo() requires HasType<T> && True<typename T::type>;
};

S<int> s;


The failure of the HasType<T> constraint should prevent substitution from
happening into True<>, avoiding a hard error. Instead, substitution happens
eagerly, leading to a hard error.
>From gcc-bugs-return-578197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 17:54:12 2017
Return-Path: <gcc-bugs-return-578197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74372 invoked by alias); 10 Oct 2017 17: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 74282 invoked by uid 48); 10 Oct 2017 17:54:08 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/80914] gcc-go binaries don't run
Date: Tue, 10 Oct 2017 17:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: go
X-Bugzilla-Version: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs dot net
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-80914-4-2I1ZfajbNa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01257.txt.bz2
Content-length: 876

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80914

--- Comment #7 from Steven Noonan <steven at uplinklabs dot net> ---
With the compressed debug section support added to libbacktrace, gccgo will run
fine when built using a binutils configured with
--enable-compressed-debug-sections=all. However, programs built with that gccgo
+ binutils will crash:

(Using the github.com/twstrike/ed448 go package as an example)

$ go.gcc test -gccgoflags -Wl,--compress-debug-sections=none
OK: 136 passed
PASS
ok      github.com/twstrike/ed448       0.366s

$ go.gcc test -gccgoflags -Wl,--compress-debug-sections=zlib
fatal error: ranges offset out of range

runtime stack:
fatal error: ranges offset out of range
panic during panic

runtime stack:
fatal error: ranges offset out of range
stack trace unavailable
exit status 4
FAIL    github.com/twstrike/ed448       0.051s
>From gcc-bugs-return-578198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 18:17:47 2017
Return-Path: <gcc-bugs-return-578198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68416 invoked by alias); 10 Oct 2017 18: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 68348 invoked by uid 48); 10 Oct 2017 18:17:44 -0000
From: "kristerw at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82296] Warn for code removal due to "code never accesses array out of bounds" assumption
Date: Tue, 10 Oct 2017 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: 7.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kristerw 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-82296-4-B91qZVmHZD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82296-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82296-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01258.txt.bz2
Content-length: 750

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82296

Krister Walfridsson <kristerw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kristerw at gcc dot gnu.org

--- Comment #7 from Krister Walfridsson <kristerw at gcc dot gnu.org> ---
The C89 rules are the same as for C11 -- you can find the relevant text in C90
6.3.6 (it does not cover the "UB 62" from the ARR30-C page, but that is because
C89 does not have flexible array members...)

Using -std=c89 will compile following the rules in C89, so you will not suffer
from new undefined behaviors introduced in newer standards.
>From gcc-bugs-return-578199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 18:43:11 2017
Return-Path: <gcc-bugs-return-578199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33521 invoked by alias); 10 Oct 2017 18:43: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 30146 invoked by uid 48); 10 Oct 2017 18:43:07 -0000
From: "andreas.moog at warperbbs dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82508] New: Possibly false positive implicit-fallthrough warning
Date: Tue, 10 Oct 2017 18: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andreas.moog at warperbbs 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-82508-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01259.txt.bz2
Content-length: 999

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82508

            Bug ID: 82508
           Summary: Possibly false positive implicit-fallthrough warning
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andreas.moog at warperbbs dot de
  Target Milestone: ---

#include <stdlib.h>

void nothing(int rtn_code)
{
    exit(rtn_code);
}

int x = 0;
int ch = 3;

int main() {
    switch (ch) {
    case 1:
        x=1;
        nothing(0);
    case 2:
        x=2;
        break;
    default:
        exit(1);
        }
    }

This produces a warning:

test-implicit-fallthrough.c:15:9: warning: this statement may fall through
[-Wimplicit-fallthrough=]
         nothing();
         ^~~~~~~~~
test-implicit-fallthrough.c:16:5: note: here

gcc (Debian 20170923-1) 8.0.0 20170923 (experimental) [trunk revision 253114]
>From gcc-bugs-return-578200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 18:53:09 2017
Return-Path: <gcc-bugs-return-578200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81372 invoked by alias); 10 Oct 2017 18:53: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 81320 invoked by uid 48); 10 Oct 2017 18:53:05 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/80914] gcc-go binaries don't run
Date: Tue, 10 Oct 2017 18: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: 7.1.1
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:
Message-ID: <bug-80914-4-toMM6zPwot@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01260.txt.bz2
Content-length: 167

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80914

--- Comment #8 from Ian Lance Taylor <ian at airs dot com> ---
Which version of GCC are you using in comment #7?
>From gcc-bugs-return-578201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 18:57:06 2017
Return-Path: <gcc-bugs-return-578201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88444 invoked by alias); 10 Oct 2017 18:57: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 88389 invoked by uid 55); 10 Oct 2017 18:57:02 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/82506] Stringizing raw string literals
Date: Tue, 10 Oct 2017 18: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82506-4-cgwi45lY3b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82506-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01261.txt.bz2
Content-length: 708

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82506

--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Oct 10 18:56:31 2017
New Revision: 253605

URL: https://gcc.gnu.org/viewcvs?rev=253605&root=gcc&view=rev
Log:
[PATCH] preprocessor stringizing raw strings

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00611.html
        libcpp/
        PR preprocessor/82506
        * macro.c (cpp_quote_string): Escape raw LFs.

        gcc/testsuite/
        PR preprocessor/82506
        * g++.dg/cpp/string-3.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/cpp/string-3.C
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/macro.c
>From gcc-bugs-return-578202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 19:03:02 2017
Return-Path: <gcc-bugs-return-578202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22476 invoked by alias); 10 Oct 2017 19:03: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 22311 invoked by uid 48); 10 Oct 2017 19:02:57 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/82506] Stringizing raw string literals
Date: Tue, 10 Oct 2017 19:03: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82506-4-MBazmxIGjS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82506-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01262.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82506

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Fixed r253605
>From gcc-bugs-return-578203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 19:19:14 2017
Return-Path: <gcc-bugs-return-578203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61743 invoked by alias); 10 Oct 2017 19:19: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 61673 invoked by uid 48); 10 Oct 2017 19:19:09 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80957] internal compiler error when building Qt 5.9 source
Date: Tue, 10 Oct 2017 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: 4.7.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini 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: bug_status cc resolution
Message-ID: <bug-80957-4-FEFpF0pha7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80957-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80957-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01263.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80957

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|bokorn at tvn dot hu               |
         Resolution|---                         |INVALID

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
No testcase.
>From gcc-bugs-return-578204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 19:36:45 2017
Return-Path: <gcc-bugs-return-578204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8203 invoked by alias); 10 Oct 2017 19: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 8162 invoked by uid 48); 10 Oct 2017 19:36:40 -0000
From: "peeterjoot at protonmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82509] New: DW_AT_endianity issues with attribute scalar_storage_order
Date: Tue, 10 Oct 2017 19: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peeterjoot 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 attachments.created
Message-ID: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01264.txt.bz2
Content-length: 2964

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509

            Bug ID: 82509
           Summary: DW_AT_endianity issues with attribute
                    scalar_storage_order
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peeterjoot at protonmail dot com
  Target Milestone: ---

Created attachment 42336
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42336&action=edit
code using scalar_storage_order attribute

The attached code only ends up with DW_AT_endianity dwarf attributes when no
typedefs are used.

Example:


~/gcc8/bin/gcc -g test.c -o mixed
~/gcc8/bin/gcc -g bewtypedef.c -o bewtypedef -DWITH_TYPEDEFS
~/gcc8/bin/gcc -g bewtypedef.c -o bentypedef

/bin/eu-readelf --debug-dump bewtypedef |grep -i endian

[no output]

/bin/eu-readelf --debug-dump bentypedef |grep -i endian
             endianity            (data1) 1
             endianity            (data1) 1
          attr: endianity, form: data1, offset: 0xda
          attr: endianity, form: data1, offset: 0xe7

Consistent availability of the DW_AT_endianity attributes would allow gdb (or
other debuggers) to display non-native endian members to show these fields with
values that match their intended use, instead of showing their representation.

There is an additional problem with the DW_AT_endianity attributes with respect
to gdb specifically.  gdb does not have any infrastructure to have variations
of types, and builds a single 'struct type' that represents a given type (such
as int, short, ...).

For this reason, I would suggest that gcc use an alternate DW_AT_name for any
type that has non-native endianity.  For example, in:

struct other {
    int v;
    short a[4];
} 
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
__attribute__( ( scalar_storage_order( "big-endian" ) ) )
#else
__attribute__( ( scalar_storage_order( "little-endian" ) ) )
#endif
;

gcc could use DW_AT_name's of "int.be" and "short.be" respectively instead of
"int" and "short" for the members v, and a above (assuming a little endian
target).  This would allow gdb to display both native and non-native endianity
int and short variables.  Right now, if the DW_AT_endianity information is
pushed into gdb's struct type, the debugged program can have only one of the
native or non-native representations in the debugger session.  

A gdb patch with preliminary experimental support for DW_AT_endianity can be
found here: https://sourceware.org/ml/gdb-patches/2017-10/msg00145.html

It could be argued not being able to encode additional attributes in the gdb
type representation is a bug in gdb, but given that gdb and gcc should play
nicely together, it seems reasonable to me to use an alternate DW_AT_name when
emitting the dwarf info for code using the scalar_storage_order attribute.
>From gcc-bugs-return-578205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:07:10 2017
Return-Path: <gcc-bugs-return-578205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33183 invoked by alias); 10 Oct 2017 20:07: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 33079 invoked by uid 55); 10 Oct 2017 20:07:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82483] ICE on invalid use w/ -mno-mmx
Date: Tue, 10 Oct 2017 20: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: unknown
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:
Message-ID: <bug-82483-4-C8lxkGCgnJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82483-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82483-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01265.txt.bz2
Content-length: 2121

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82483

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:06:33 2017
New Revision: 253609

URL: https://gcc.gnu.org/viewcvs?rev=253609&root=gcc&view=rev
Log:
        PR target/79565
        PR target/82483
        * config/i386/i386.c (ix86_init_mmx_sse_builtins): Add
        OPTION_MASK_ISA_MMX for __builtin_ia32_maskmovq,
        __builtin_ia32_vec_ext_v4hi and __builtin_ia32_vec_set_v4hi.
        (ix86_expand_builtin): Treat OPTION_MASK_ISA_MMX similarly
        to OPTION_MASK_ISA_AVX512VL - builtins that have both
        OPTION_MASK_ISA_MMX and some other bit set require both
        mmx and the ISAs without the mmx bit.
        * config/i386/i386-builtin.def (__builtin_ia32_cvtps2pi,
        __builtin_ia32_cvttps2pi, __builtin_ia32_cvtpi2ps,
        __builtin_ia32_pavgb, __builtin_ia32_pavgw, __builtin_ia32_pmulhuw,
        __builtin_ia32_pmaxub, __builtin_ia32_pmaxsw, __builtin_ia32_pminub,
        __builtin_ia32_pminsw, __builtin_ia32_psadbw, __builtin_ia32_pmovmskb,
        __builtin_ia32_pshufw, __builtin_ia32_cvtpd2pi,
        __builtin_ia32_cvttpd2pi, __builtin_ia32_cvtpi2pd,
        __builtin_ia32_pmuludq, __builtin_ia32_pabsb, __builtin_ia32_pabsw,
        __builtin_ia32_pabsd, __builtin_ia32_phaddw, __builtin_ia32_phaddd,
        __builtin_ia32_phaddsw, __builtin_ia32_phsubw, __builtin_ia32_phsubd,
        __builtin_ia32_phsubsw, __builtin_ia32_pmaddubsw,
        __builtin_ia32_pmulhrsw, __builtin_ia32_pshufb, __builtin_ia32_psignb,
        __builtin_ia32_psignw, __builtin_ia32_psignd, __builtin_ia32_movntq,
        __builtin_ia32_paddq, __builtin_ia32_psubq, __builtin_ia32_palignr):
        Add OPTION_MASK_ISA_MMX.

        * gcc.target/i386/pr82483-1.c: New test.
        * gcc.target/i386/pr82483-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82483-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr82483-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386-builtin.def
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:07:10 2017
Return-Path: <gcc-bugs-return-578206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33250 invoked by alias); 10 Oct 2017 20:07: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 33082 invoked by uid 55); 10 Oct 2017 20:07:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79565] ICE in copy_to_mode_reg, at explow.c:612
Date: Tue, 10 Oct 2017 20: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: 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: 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-79565-4-8tGS6CArs0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79565-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79565-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01266.txt.bz2
Content-length: 2121

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79565

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:06:33 2017
New Revision: 253609

URL: https://gcc.gnu.org/viewcvs?rev=253609&root=gcc&view=rev
Log:
        PR target/79565
        PR target/82483
        * config/i386/i386.c (ix86_init_mmx_sse_builtins): Add
        OPTION_MASK_ISA_MMX for __builtin_ia32_maskmovq,
        __builtin_ia32_vec_ext_v4hi and __builtin_ia32_vec_set_v4hi.
        (ix86_expand_builtin): Treat OPTION_MASK_ISA_MMX similarly
        to OPTION_MASK_ISA_AVX512VL - builtins that have both
        OPTION_MASK_ISA_MMX and some other bit set require both
        mmx and the ISAs without the mmx bit.
        * config/i386/i386-builtin.def (__builtin_ia32_cvtps2pi,
        __builtin_ia32_cvttps2pi, __builtin_ia32_cvtpi2ps,
        __builtin_ia32_pavgb, __builtin_ia32_pavgw, __builtin_ia32_pmulhuw,
        __builtin_ia32_pmaxub, __builtin_ia32_pmaxsw, __builtin_ia32_pminub,
        __builtin_ia32_pminsw, __builtin_ia32_psadbw, __builtin_ia32_pmovmskb,
        __builtin_ia32_pshufw, __builtin_ia32_cvtpd2pi,
        __builtin_ia32_cvttpd2pi, __builtin_ia32_cvtpi2pd,
        __builtin_ia32_pmuludq, __builtin_ia32_pabsb, __builtin_ia32_pabsw,
        __builtin_ia32_pabsd, __builtin_ia32_phaddw, __builtin_ia32_phaddd,
        __builtin_ia32_phaddsw, __builtin_ia32_phsubw, __builtin_ia32_phsubd,
        __builtin_ia32_phsubsw, __builtin_ia32_pmaddubsw,
        __builtin_ia32_pmulhrsw, __builtin_ia32_pshufb, __builtin_ia32_psignb,
        __builtin_ia32_psignw, __builtin_ia32_psignd, __builtin_ia32_movntq,
        __builtin_ia32_paddq, __builtin_ia32_psubq, __builtin_ia32_palignr):
        Add OPTION_MASK_ISA_MMX.

        * gcc.target/i386/pr82483-1.c: New test.
        * gcc.target/i386/pr82483-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82483-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr82483-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386-builtin.def
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:09:12 2017
Return-Path: <gcc-bugs-return-578207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42474 invoked by alias); 10 Oct 2017 20: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 42416 invoked by uid 55); 10 Oct 2017 20:09:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/68252] [5 regression] left operand of shift expression, while we shift > 0 integer
Date: Tue, 10 Oct 2017 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: 5.2.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-68252-4-BtE62qvrjv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68252-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68252-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01267.txt.bz2
Content-length: 470

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68252

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:08:36 2017
New Revision: 253610

URL: https://gcc.gnu.org/viewcvs?rev=253610&root=gcc&view=rev
Log:
2017-10-10  Jakub Jelinek  <jakub@redhat.com>

        PR c++/68252
        * g++.dg/other/pr68252.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/pr68252.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:09:37 2017
Return-Path: <gcc-bugs-return-578208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43644 invoked by alias); 10 Oct 2017 20:09: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 43575 invoked by uid 55); 10 Oct 2017 20:09:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/70100] [5 Regression] ICE: in execute, at cfgexpand.c:6066
Date: Tue, 10 Oct 2017 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: 5.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-70100-4-n3yJuuSpfT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70100-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01268.txt.bz2
Content-length: 426

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70100

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:09:01 2017
New Revision: 253611

URL: https://gcc.gnu.org/viewcvs?rev=253611&root=gcc&view=rev
Log:
        PR middle-end/70100
        * g++.dg/opt/pr70100.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr70100.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:10:06 2017
Return-Path: <gcc-bugs-return-578209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44934 invoked by alias); 10 Oct 2017 20:10: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 44697 invoked by uid 55); 10 Oct 2017 20:10:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77578] [5 Regression] ICE in cp_parser_omp_for_loop (cp/parser.c:29404)
Date: Tue, 10 Oct 2017 20: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: 5.4.0
X-Bugzilla-Keywords: ice-on-invalid-code, openmp
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-77578-4-Ha5dkxHtdX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77578-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77578-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01269.txt.bz2
Content-length: 421

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77578

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:09:29 2017
New Revision: 253612

URL: https://gcc.gnu.org/viewcvs?rev=253612&root=gcc&view=rev
Log:
        PR c++/77578
        * g++.dg/gomp/pr77578.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr77578.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:10:40 2017
Return-Path: <gcc-bugs-return-578210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46152 invoked by alias); 10 Oct 2017 20: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 46087 invoked by uid 55); 10 Oct 2017 20:10:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71875] [5 Regression] template specialization compile error
Date: Tue, 10 Oct 2017 20: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: 6.1.1
X-Bugzilla-Keywords: assemble-failure, 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71875-4-v3bMi11F0Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71875-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71875-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01270.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71875

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:10:00 2017
New Revision: 253613

URL: https://gcc.gnu.org/viewcvs?rev=253613&root=gcc&view=rev
Log:
        PR c++/71875
        * g++.dg/cpp1y/pr71875.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr71875.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:11:58 2017
Return-Path: <gcc-bugs-return-578213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49681 invoked by alias); 10 Oct 2017 20: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 49600 invoked by uid 55); 10 Oct 2017 20:11:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/70887] [5 Regression] internal compiler error in trunc_int_for_mode, at explow.c:78
Date: Tue, 10 Oct 2017 20: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: 5.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-70887-4-zhQQhO8u4r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70887-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70887-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01273.txt.bz2
Content-length: 477

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70887

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:11:21 2017
New Revision: 253616

URL: https://gcc.gnu.org/viewcvs?rev=253616&root=gcc&view=rev
Log:
2017-10-10  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/70887
        * g++.dg/cpp0x/pr70887.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr70887.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:11:02 2017
Return-Path: <gcc-bugs-return-578211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47267 invoked by alias); 10 Oct 2017 20: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 47152 invoked by uid 55); 10 Oct 2017 20:10:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77786] [5 Regression] ICE in tsubst_copy, at cp/pt.c:13040
Date: Tue, 10 Oct 2017 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: 5.4.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-77786-4-p4tH8AKrZW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77786-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77786-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01271.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77786

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:10:25 2017
New Revision: 253614

URL: https://gcc.gnu.org/viewcvs?rev=253614&root=gcc&view=rev
Log:
        PR c++/77786
        * g++.dg/cpp1y/pr77786.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr77786.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:11:32 2017
Return-Path: <gcc-bugs-return-578212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48513 invoked by alias); 10 Oct 2017 20:11: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 48444 invoked by uid 55); 10 Oct 2017 20:11:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70338] [5 Regression] ICE combining debug symbols, range-for in lambda in function template accessing captured variable-size array
Date: Tue, 10 Oct 2017 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: 5.3.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-70338-4-91jfDgrkjf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70338-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70338-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01272.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70338

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:10:56 2017
New Revision: 253615

URL: https://gcc.gnu.org/viewcvs?rev=253615&root=gcc&view=rev
Log:
        PR c++/70338
        * g++.dg/cpp0x/pr70338.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr70338.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:12:24 2017
Return-Path: <gcc-bugs-return-578214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50942 invoked by alias); 10 Oct 2017 20:12: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 50887 invoked by uid 55); 10 Oct 2017 20:12:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67625] [5 Regression] some constexpr expressions rejected as enumerator value
Date: Tue, 10 Oct 2017 20: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: 5.2.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-67625-4-YGAWe08vnw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67625-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67625-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01274.txt.bz2
Content-length: 470

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67625

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:11:47 2017
New Revision: 253617

URL: https://gcc.gnu.org/viewcvs?rev=253617&root=gcc&view=rev
Log:
2017-10-10  Jakub Jelinek  <jakub@redhat.com>

        PR c++/67625
        * g++.dg/cpp0x/pr67625.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr67625.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:12:45 2017
Return-Path: <gcc-bugs-return-578215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51732 invoked by alias); 10 Oct 2017 20: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 51685 invoked by uid 55); 10 Oct 2017 20:12:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/68205] [5 regression] ICE compiling gcc.c-torture/execute/20040709-2.c with -fno-common on arm-none-eabi
Date: Tue, 10 Oct 2017 20: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: 5.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-68205-4-9Smn7NNPFY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68205-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68205-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01275.txt.bz2
Content-length: 460

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68205

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 10 20:12:08 2017
New Revision: 253618

URL: https://gcc.gnu.org/viewcvs?rev=253618&root=gcc&view=rev
Log:
        PR rtl-optimization/68205
        * gcc.c-torture/execute/20040709-3.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/20040709-3.c
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:14:23 2017
Return-Path: <gcc-bugs-return-578216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20858 invoked by alias); 10 Oct 2017 20: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 14020 invoked by uid 48); 10 Oct 2017 20:14:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79565] ICE in copy_to_mode_reg, at explow.c:612
Date: Tue, 10 Oct 2017 20: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: 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: 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-79565-4-eaQ68jBj36@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79565-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79565-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01276.txt.bz2
Content-length: 437

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79565

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed now.
>From gcc-bugs-return-578217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:14:53 2017
Return-Path: <gcc-bugs-return-578217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55662 invoked by alias); 10 Oct 2017 20: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 55618 invoked by uid 48); 10 Oct 2017 20:14:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82483] ICE on invalid use w/ -mno-mmx
Date: Tue, 10 Oct 2017 20: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: 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: 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-82483-4-QIjuVEX0dl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82483-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82483-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01277.txt.bz2
Content-length: 436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82483

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 on the trunk.
>From gcc-bugs-return-578218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:17:16 2017
Return-Path: <gcc-bugs-return-578218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57797 invoked by alias); 10 Oct 2017 20: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 57739 invoked by uid 55); 10 Oct 2017 20:17:12 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81032] [6/7/8 Regression] ICE with lambda and broken constexpr
Date: Tue, 10 Oct 2017 20: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: 7.1.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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81032-4-nxZZhyOumY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81032-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81032-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01278.txt.bz2
Content-length: 508

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81032

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 10 20:16:40 2017
New Revision: 253619

URL: https://gcc.gnu.org/viewcvs?rev=253619&root=gcc&view=rev
Log:
2017-10-10  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/81032
        * g++.dg/cpp1y/lambda-generic-ice6.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice6.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:18:01 2017
Return-Path: <gcc-bugs-return-578219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59939 invoked by alias); 10 Oct 2017 20:18: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 59430 invoked by uid 48); 10 Oct 2017 20:17:54 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81032] [6/7 Regression] ICE with lambda and broken constexpr
Date: Tue, 10 Oct 2017 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: 7.1.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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-81032-4-lLRQjJ5hAt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81032-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81032-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01279.txt.bz2
Content-length: 507

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81032

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[6/7/8 Regression] ICE with |[6/7 Regression] ICE with
                   |lambda and broken constexpr |lambda and broken constexpr

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Works in trunk, I added the testcase.
>From gcc-bugs-return-578220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:47:05 2017
Return-Path: <gcc-bugs-return-578220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29881 invoked by alias); 10 Oct 2017 20: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 29728 invoked by uid 55); 10 Oct 2017 20:46:58 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78006] [6/7/8 Regression] Segmentation fault with 'using' and generic lambda trailing return types
Date: Tue, 10 Oct 2017 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: 7.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: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78006-4-W4MHBtjzzF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78006-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01280.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78006

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 10 20:46:26 2017
New Revision: 253621

URL: https://gcc.gnu.org/viewcvs?rev=253621&root=gcc&view=rev
Log:
2017-10-10  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/78006
        * g++.dg/cpp1y/auto-fn40.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn40.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:49:43 2017
Return-Path: <gcc-bugs-return-578221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37706 invoked by alias); 10 Oct 2017 20:49: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 37631 invoked by uid 48); 10 Oct 2017 20:49:39 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78006] [6/7 Regression] Segmentation fault with 'using' and generic lambda trailing return types
Date: Tue, 10 Oct 2017 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: 7.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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-78006-4-Wx3UU9clvM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78006-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01281.txt.bz2
Content-length: 694

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78006

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[6/7/8 Regression]          |[6/7 Regression]
                   |Segmentation fault with     |Segmentation fault with
                   |'using' and generic lambda  |'using' and generic lambda
                   |trailing return types       |trailing return types

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is accepted as expected in trunk (it requires C++14 support), I added the
testcase.
>From gcc-bugs-return-578222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:50:10 2017
Return-Path: <gcc-bugs-return-578222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38671 invoked by alias); 10 Oct 2017 20:50: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 38602 invoked by uid 48); 10 Oct 2017 20:50:07 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Tue, 10 Oct 2017 20: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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82498-4-EICN2UfrsL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01282.txt.bz2
Content-length: 1110

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-10
     Ever confirmed|0                           |1

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Looks like https://stackoverflow.com/q/44000956/1918193 . During combine, we
try to match

(set (reg:SI 97)
    (rotate:SI (reg/v:SI 90 [ input ])
        (and:QI (subreg:QI (reg:SI 92 [ rot ]) 0)
            (const_int 31 [0x1f]))))

But the pattern in i386.md has 'and' and 'subreg' reversed.

For the other part, we have a very limited transform that removes the test in
this case:
uint32_t rotate_left(uint32_t input, int rot)
{
  if(rot == 0)
    return input;
  return static_cast<uint32_t>((input << rot) | (input >>
(8*sizeof(uint32_t)-rot)));;
}
But it only works when there is a single gimple insn involved, not
and+cast+rotate.
>From gcc-bugs-return-578223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 20:54:48 2017
Return-Path: <gcc-bugs-return-578223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43546 invoked by alias); 10 Oct 2017 20: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 43505 invoked by uid 48); 10 Oct 2017 20:54:43 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82499] x86: small stack initial adjustments could use push
Date: Tue, 10 Oct 2017 20: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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82499-4-V29yrqIllu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01283.txt.bz2
Content-length: 232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82499

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 42337
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42337&action=edit
Does it look OK?
>From gcc-bugs-return-578224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 21:10:36 2017
Return-Path: <gcc-bugs-return-578224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114878 invoked by alias); 10 Oct 2017 21: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 114844 invoked by uid 48); 10 Oct 2017 21:10:31 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82508] Possibly false positive implicit-fallthrough warning
Date: Tue, 10 Oct 2017 21: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: 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-82508-4-MEnsmkaGPN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82508-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82508-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01284.txt.bz2
Content-length: 1018

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82508

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> ---
$ /usr/local/bin/gcc -c -Wall -Wextra -Wmissing-noreturn -O2 82508.c
82508.c: In function ‘main’:
82508.c:15:4: warning: this statement may fall through
[-Wimplicit-fallthrough=]
    nothing(0);
    ^~~~~~~~~~
82508.c:16:3: note: here
   case 2:
   ^~~~
82508.c: In function ‘nothing’:
82508.c:3:6: warning: function might be candidate for attribute ‘noreturn’
[-Wsuggest-attribute=noreturn]
 void nothing(int rtn_code)
      ^~~~~~~
$

Adding __attribute__((noreturn)) to nothing() leads to the implicit fallthrough
warning being silenced. Does that solve your problem?
>From gcc-bugs-return-578225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 21:26:45 2017
Return-Path: <gcc-bugs-return-578225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88237 invoked by alias); 10 Oct 2017 21: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 88189 invoked by uid 48); 10 Oct 2017 21:26:39 -0000
From: "heinzisoft at web dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82481] dangling reference in mutex:693
Date: Tue, 10 Oct 2017 21: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: 7.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: heinzisoft at web dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82481-4-2lEYpSf1d9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01285.txt.bz2
Content-length: 371

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82481

--- Comment #4 from heinzisoft at web dot de ---
(In reply to Jonathan Wakely from comment #3)
> (In reply to heinzisoft from comment #0)
> > Building the following minimal example with libstdc++ 7.0.1
> 
> And why are you using that unsupported version?

I installed it on Ubuntu using ppa:ubuntu-toolchain-r/test
>From gcc-bugs-return-578226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 21:30:33 2017
Return-Path: <gcc-bugs-return-578226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99358 invoked by alias); 10 Oct 2017 21: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 99228 invoked by uid 48); 10 Oct 2017 21:30:25 -0000
From: "heinzisoft at web dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82481] dangling reference in mutex:693
Date: Tue, 10 Oct 2017 21:30: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: heinzisoft at web dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82481-4-vPAEHY768H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01286.txt.bz2
Content-length: 835

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82481

--- Comment #5 from heinzisoft at web dot de ---
(In reply to Jonathan Wakely from comment #2)
> It is a dangling pointer, but it can't be dereferenced, so it doesn't matter.
> 
> It's only used by std::call_once and will be set to a different local
> variable by the next call. We could zero the pointer, but it would be a
> waste of cycles.

Can we still fix this? It prevents people from doing clang-tidy analysis on
their code base because it can't be distinguished from errors in their code.

Since it actually is a dangling pointer, I don't think we can push
responsibility to clang-tidy. If we don't want to waste the cycle of setting it
to zero, we could consider adding something to make clang-tidy ignore this
error. I think this can be done with special comments.
>From gcc-bugs-return-578227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 22:50:07 2017
Return-Path: <gcc-bugs-return-578227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31552 invoked by alias); 10 Oct 2017 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 31424 invoked by uid 48); 10 Oct 2017 22:50:00 -0000
From: "doug at idaccr dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82510] New: C compiler ignores user definition of log
Date: Tue, 10 Oct 2017 22: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doug at idaccr 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-82510-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01287.txt.bz2
Content-length: 700

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82510

            Bug ID: 82510
           Summary: C compiler ignores user definition of log
           Product: gcc
           Version: 4.8.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doug at idaccr dot org
  Target Milestone: ---

Created attachment 42338
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42338&action=edit
compile with "gcc -O0 log-bug.c" - it should print 2.5 when run.

When I define my own "log" function in a C program the one defined in math.h
is used, even when I don't include math.h.
>From gcc-bugs-return-578228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 23:11:15 2017
Return-Path: <gcc-bugs-return-578228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71745 invoked by alias); 10 Oct 2017 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 71614 invoked by uid 48); 10 Oct 2017 23:11:09 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67834] Local references inside comdat groups
Date: Tue, 10 Oct 2017 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: 5.2.1
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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-67834-4-P6cwGXMknR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67834-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67834-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01288.txt.bz2
Content-length: 526

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67834

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> ---
The test case now compiles successfully with 5.4.1 20171003 (Debian 5.4.1-14),
g++-6 and g++-7.
>From gcc-bugs-return-578229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 10 23:39:54 2017
Return-Path: <gcc-bugs-return-578229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49935 invoked by alias); 10 Oct 2017 23:39: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 49893 invoked by uid 48); 10 Oct 2017 23:39:51 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/45174] Make fails in zlib
Date: Tue, 10 Oct 2017 23: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: 4.5.1
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: cc
Message-ID: <bug-45174-4-rlk38Dz6kz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-45174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-45174-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01289.txt.bz2
Content-length: 440

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45174

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #30 from Eric Gallager <egallager at gcc dot gnu.org> ---
Is there a reason this bug is still in WAITING?
>From gcc-bugs-return-578230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 00:27:55 2017
Return-Path: <gcc-bugs-return-578230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36805 invoked by alias); 11 Oct 2017 00:27: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 36731 invoked by uid 48); 11 Oct 2017 00:27:50 -0000
From: "James.A.Paget at aero dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82511] New: ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
Date: Wed, 11 Oct 2017 00: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: James.A.Paget at aero 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-82511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01290.txt.bz2
Content-length: 2928

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511

            Bug ID: 82511
           Summary: ICE Bad IO basetype (12) on attempted read or write of
                    entire DEC structure
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: James.A.Paget at aero dot org
  Target Milestone: ---

Created attachment 42339
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42339&action=edit
The program that, when compiled, illustrates the bug.

Minimal code that demonstrates the problem is in attached file bugbug.f.

Command line used to compile:
    gfortran -c -Wall -Wextra -fdec-structure -save-temps bugbug.f -o bugbug.o

Output from above command line:
    f951.exe: internal compiler error: Bad IO basetype (12)
    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.

Output of gcc -v:
    Built by Equation Solution <http://www.Equation.com>.
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=c:/mingw8/bin/../libexec/gcc/x86_64-w64-
    mingw32/8.0.0/lto-wrapper.exe
    Target: x86_64-w64-mingw32
    Configured with: ../gcc-8-20171008-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/8-
    20171008 --with-sysroot=/home/gfortran/gcc-
    home/binary/mingw32/cross/x86_64/gcc/8-20170709 --with-
    gcc --with-gnu-ld --with-gnu-as --with-ld64=no --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 8.0.0 20171008 (experimental) (GCC)

There are no preprocessor (*.i*) files generated.

System type: PC, Windows 7 Professional 64-bit running 64-bit MinGW.

This bug also occurs in gfortran 7.1.0.

The code is admittedly incorrect (I should be reading into "bucket.c16" instead
of "bucket"), but instead of an ICE I should get a diagnostic with the location
of the error.
>From gcc-bugs-return-578231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 00:57:10 2017
Return-Path: <gcc-bugs-return-578231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94636 invoked by alias); 11 Oct 2017 00:57: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 94597 invoked by uid 48); 11 Oct 2017 00:57:06 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/33145] Should combine float/int conversion and rounding functions
Date: Wed, 11 Oct 2017 00: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: 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: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-33145-4-MFYhWZDgug@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-33145-4@http.gcc.gnu.org/bugzilla/>
References: <bug-33145-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01291.txt.bz2
Content-length: 542

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33145

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed at least in GCC 7 (maybe even in GCC 6 but I did not test it).
>From gcc-bugs-return-578232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 01:05:57 2017
Return-Path: <gcc-bugs-return-578232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104222 invoked by alias); 11 Oct 2017 01:05: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 104185 invoked by uid 48); 11 Oct 2017 01:05:53 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/41460] value-numbering does not handle type-punning in a user-friendly way
Date: Wed, 11 Oct 2017 01: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: 4.5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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: bug_status resolution
Message-ID: <bug-41460-4-jF4WGrtRRy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-41460-4@http.gcc.gnu.org/bugzilla/>
References: <bug-41460-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01292.txt.bz2
Content-length: 675

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41460

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed since at least GCC 7.

With -fno-tree-ccp (since ccp changes the MEM to use VCE):
ealias:
  a = 1.0e+0;
  _2 = MEM[(int *)&a];
  b = _2;
  a ={v} {CLOBBER};


fre1:
  <bb 2> [0.00%]:
  a = 1.0e+0;
  b = 1065353216;
  a ={v} {CLOBBER};
>From gcc-bugs-return-578233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 01:25:12 2017
Return-Path: <gcc-bugs-return-578233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122821 invoked by alias); 11 Oct 2017 01:25: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 122714 invoked by uid 48); 11 Oct 2017 01:25:06 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/65337] [5 regression] LTO bootstrap failure with Ada enabled
Date: Wed, 11 Oct 2017 01: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: 5.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs dot net
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: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65337-4-NXnIo2bP1Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65337-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01293.txt.bz2
Content-length: 1712

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65337

--- Comment #18 from Steven Noonan <steven at uplinklabs dot net> ---
I'm still seeing an Ada-related failure when using
--with-build-config=bootstrap-lto on the current gcc-7-branch (r253607).


/build/gcc-multilib/src/gcc/gcc/ada/g-dyntab.adb: In function
‘prep__symbol_table__free’:
/build/gcc-multilib/src/gcc/gcc/ada/g-dyntab.adb:140:9: internal compiler
error: in gen_typedef_die, at dwarf2out.c:24370
    end Free;
         ^
0x8b8067 gen_typedef_die
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24370
0x8b9f6d gen_decl_die
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25390
0x8b85ad gen_type_die_with_usage
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24547
0x8b8d24 gen_type_die
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24758
0x8b9fec gen_decl_die
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25410
0x8b9146 process_scope_var
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24903
0x8b91a4 decls_for_scope
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:24928
0x8b3c5c gen_subprogram_die
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:22465
0x8b9e9a gen_decl_die
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25364
0x8bacd2 dwarf2out_decl
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25873
0x8bad31 dwarf2out_function_decl
        /build/gcc-multilib/src/gcc/gcc/dwarf2out.c:25888
0x939924 rest_of_handle_final
        /build/gcc-multilib/src/gcc/gcc/final.c:4520
0x939a92 execute
        /build/gcc-multilib/src/gcc/gcc/final.c:4562
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
>From gcc-bugs-return-578234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 02:03:12 2017
Return-Path: <gcc-bugs-return-578234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49991 invoked by alias); 11 Oct 2017 02: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 26795 invoked by uid 48); 11 Oct 2017 02:03:01 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82510] C compiler ignores user definition of log
Date: Wed, 11 Oct 2017 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: 4.8.5
X-Bugzilla-Keywords:
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: bug_status resolution
Message-ID: <bug-82510-4-cDJZk2pTAm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82510-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82510-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01294.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82510

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Use -fno-builtins as log as an identifier is reserved.
>From gcc-bugs-return-578235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 02:03:17 2017
Return-Path: <gcc-bugs-return-578235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53443 invoked by alias); 11 Oct 2017 02: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 50034 invoked by uid 48); 11 Oct 2017 02:03:12 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82510] C compiler ignores user definition of log
Date: Wed, 11 Oct 2017 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: 4.8.5
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: resolution
Message-ID: <bug-82510-4-X1d4lRzNYR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82510-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82510-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01295.txt.bz2
Content-length: 419

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82510

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Use -fno-builtins as log as an identifier is reserved.
>From gcc-bugs-return-578236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 03:24:26 2017
Return-Path: <gcc-bugs-return-578236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70911 invoked by alias); 11 Oct 2017 03:24: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 70775 invoked by uid 55); 11 Oct 2017 03:24:16 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81434] AArch64 instruction fusing and pipeline scheduling problem
Date: Wed, 11 Oct 2017 03: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilson at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81434-4-OmzoCeRZJw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81434-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01296.txt.bz2
Content-length: 635

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81434

--- Comment #9 from Jim Wilson <wilson at gcc dot gnu.org> ---
Author: wilson
Date: Wed Oct 11 03:23:41 2017
New Revision: 253628

URL: https://gcc.gnu.org/viewcvs?rev=253628&root=gcc&view=rev
Log:
Allow 2 insns from sched group to issue in same cycle, if no stalls needed.

        gcc/
        PR rtl-optimization/81434
        * haifa-sched.c (prune_ready_list): Init min_cost_group to 0.  Update
        comment for main loop.  In sched_group_found if, also add checks for
        pass and min_cost_group.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/haifa-sched.c
>From gcc-bugs-return-578238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 04:40:41 2017
Return-Path: <gcc-bugs-return-578238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69481 invoked by alias); 11 Oct 2017 04:40: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 69392 invoked by uid 48); 11 Oct 2017 04:40:37 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/54367] [meta-bug] lambda expressions
Date: Wed, 11 Oct 2017 04:40: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: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: 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-54367-4-n4C9es6g30@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54367-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01298.txt.bz2
Content-length: 523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367
Bug 54367 depends on bug 82474, which changed state.

Bug 82474 Summary: [8 Regression] ICE: trying to capture ‘list’ in instantiation of generic lambda
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82474

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 04:40:41 2017
Return-Path: <gcc-bugs-return-578237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69462 invoked by alias); 11 Oct 2017 04:40: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 69368 invoked by uid 48); 11 Oct 2017 04:40:36 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvODI0NzRdIFs4IFJlZ3Jlc3Npb25dIElDRTogdHJ5aW5nIHRv?= =?UTF-8?B?IGNhcHR1cmUg4oCYbGlzdOKAmSBpbiBpbnN0YW50aWF0aW9uIG9mIGdlbmVy?= =?UTF-8?B?aWMgbGFtYmRh?Date: Wed, 11 Oct 2017 04: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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: bug_status resolution
Message-ID: <bug-82474-4-mp0wSIIBTb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82474-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01297.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82474

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed by r253601.
>From gcc-bugs-return-578241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 04:42:29 2017
Return-Path: <gcc-bugs-return-578241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78919 invoked by alias); 11 Oct 2017 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 77081 invoked by uid 48); 11 Oct 2017 04:42:25 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/54367] [meta-bug] lambda expressions
Date: Wed, 11 Oct 2017 04:42: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: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: 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-54367-4-PktyScdiwQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54367-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01301.txt.bz2
Content-length: 591

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367
Bug 54367 depends on bug 82230, which changed state.

Bug 82230 Summary: [8 Regression] ICE: in tsubst, at cp/pt.c:13686 when binding lambda to variable inside a generic lambda inside a template member function inside a template class
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82230

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 04:42:28 2017
Return-Path: <gcc-bugs-return-578240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78564 invoked by alias); 11 Oct 2017 04:42: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 76717 invoked by uid 48); 11 Oct 2017 04:42:24 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82230] [8 Regression] ICE: in tsubst, at cp/pt.c:13686 when binding lambda to variable inside a generic lambda inside a template member function inside a template class
Date: Wed, 11 Oct 2017 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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82230-4-hDGJystteN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82230-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82230-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01300.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82230

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed by r253601.
>From gcc-bugs-return-578239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 04:42:11 2017
Return-Path: <gcc-bugs-return-578239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72104 invoked by alias); 11 Oct 2017 04: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 72047 invoked by uid 48); 11 Oct 2017 04:42:07 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81299] [8 Regression] Spurious "set but not used" warning with constexpr variable
Date: Wed, 11 Oct 2017 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: 8.0
X-Bugzilla-Keywords: diagnostic, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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-81299-4-9v26owdFSf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81299-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01299.txt.bz2
Content-length: 529

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81299

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed by r253601.
>From gcc-bugs-return-578242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 06:03:56 2017
Return-Path: <gcc-bugs-return-578242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109003 invoked by alias); 11 Oct 2017 06: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 108942 invoked by uid 48); 11 Oct 2017 06:03:51 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
Date: Wed, 11 Oct 2017 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: 8.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-82511-4-Y2q9xVBKIn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01302.txt.bz2
Content-length: 1150

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-11
                 CC|                            |jvdelisle at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org,
                   |                            |pault at gcc dot gnu.org
   Target Milestone|---                         |7.3
            Summary|ICE Bad IO basetype (12) on |[7/8 Regression] ICE Bad IO
                   |attempted read or write of  |basetype (12) on attempted
                   |entire DEC structure        |read or write of entire DEC
                   |                            |structure
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r239880.
>From gcc-bugs-return-578243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 06:11:29 2017
Return-Path: <gcc-bugs-return-578243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115674 invoked by alias); 11 Oct 2017 06: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 115617 invoked by uid 48); 11 Oct 2017 06:11:26 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82512] New: attribute alias warning suppressed (the wrong way)
Date: Wed, 11 Oct 2017 06: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.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-82512-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01303.txt.bz2
Content-length: 587

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82512

            Bug ID: 82512
           Summary: attribute alias warning suppressed (the wrong way)
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bernd.edlinger at hotmail dot de
  Target Milestone: ---

$ cat test.c
int f(int) __attribute__((alias("z")));
float z()
{
  return 0;
}
$ gcc -Wall -W -c test.c
no warning.

I think this is actually unintentional
>From gcc-bugs-return-578244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 06:41:24 2017
Return-Path: <gcc-bugs-return-578244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58319 invoked by alias); 11 Oct 2017 06: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 58257 invoked by uid 48); 11 Oct 2017 06:41:20 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Wed, 11 Oct 2017 06:41: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: 6.4.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82233-4-gLviy0kKLH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01304.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clyon at gcc dot gnu.org

--- Comment #7 from Christophe Lyon <clyon at gcc dot gnu.org> ---
The new test fails at execution on ARM and AArch64:
FAIL:    gfortran.dg/execute_command_line_3.f90   -O  execution test
>From gcc-bugs-return-578245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 06:46:38 2017
Return-Path: <gcc-bugs-return-578245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65828 invoked by alias); 11 Oct 2017 06: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 65742 invoked by uid 48); 11 Oct 2017 06:46:29 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Wed, 11 Oct 2017 06:46: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: 6.4.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-qQKMy8WVoZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01305.txt.bz2
Content-length: 504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #7)
> The new test fails at execution on ARM and AArch64:
> FAIL:    gfortran.dg/execute_command_line_3.f90   -O  execution test

Does not fail for me with either of my builds of r253621 (ed8e4f5) on
aarch64-linux-gnu:
https://gcc.gnu.org/ml/gcc-testresults/2017-10/msg00859.html
https://gcc.gnu.org/ml/gcc-testresults/2017-10/msg00847.html
>From gcc-bugs-return-578246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 06:52:24 2017
Return-Path: <gcc-bugs-return-578246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13456 invoked by alias); 11 Oct 2017 06: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 10855 invoked by uid 48); 11 Oct 2017 06:52:20 -0000
From: "gene at genethomas dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82513] New: regex [z\-a] fails to compile
Date: Wed, 11 Oct 2017 06:52: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: 5.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gene at genethomas 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-82513-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01306.txt.bz2
Content-length: 965

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82513

            Bug ID: 82513
           Summary: regex [z\-a] fails to compile
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gene at genethomas dot com
  Target Milestone: ---

The regex [z\-a] fails to compile in <regex> and throws a regex_error. It seems
to be interpreting the \- as a - and thinking the z-a range is invalid. Sample
program below:

#include <regex>
#include <iostream>
#include <exception>

using namespace std;

int main(int argc, char **argv) {

    try {
        regex::flag_type flags = regex::ECMAScript;
        regex theRegex("[z\\-a]", flags);
        cout << "ok\n";
        return 0;
    } catch (exception &e) {
        cerr << "fatal error: " << e.what() << "\n";
        return 1;
    }
}
>From gcc-bugs-return-578247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 07:06:28 2017
Return-Path: <gcc-bugs-return-578247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78083 invoked by alias); 11 Oct 2017 07:06: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 78054 invoked by uid 48); 11 Oct 2017 07:06:24 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82514] New: [8 Regression] ICE: in operator[], at vec.h:749
Date: Wed, 11 Oct 2017 07: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82514-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01307.txt.bz2
Content-length: 5415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82514

            Bug ID: 82514
           Summary: [8 Regression] ICE: in operator[], at vec.h:749
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: jason at gcc dot gnu.org
  Target Milestone: ---

% cat minimal_product.ii
template <typename _Iftrue> struct A { typedef _Iftrue type; };
template <int, typename _Iftrue, typename>
using conditional_t = typename A<_Iftrue>::type;
struct B;
template <typename> struct ebo {};
template <bool> struct C;
template <typename, typename = void> struct tag_of;
template <typename> struct D;
struct unpack_t {
  template <typename Xs, typename F>
  constexpr decltype(auto) operator()(Xs &&, F &&) const;
} a;
template <typename _Tp, _Tp...> struct F;
template <typename _Tp, _Tp> using make_integer_sequence = F<_Tp>;
template <long... _Idx> using index_sequence = F<unsigned long, _Idx...>;
template <int>
using make_index_sequence = make_integer_sequence<unsigned long, 0>;
template <typename...> struct G;
template <long... n, typename... Xn>
struct G<index_sequence<n...>, Xn...> : ebo<Xn>... {};
template <typename... Xn>
struct M : G<make_index_sequence<sizeof...(Xn)>, Xn...> {};
template <typename... Xn> struct tag_of<M<Xn...>> { using type = B; };
template <> struct D<B> {
  template <typename... Xn, typename F>
  static auto apply(G<index_sequence<>, Xn...> p1, F p2) {
    p2(static_cast<ebo<Xn>>(p1)...);
  }
};
template <typename T, typename> struct tag_of : tag_of<T, C<0>> {};
template <typename T, bool condition> struct tag_of<T, C<condition>> {
  using type = typename T::hana_tag;
};
template <typename T> struct tag_of<T &> : tag_of<T> {};
template <typename> struct H {
  template <typename X> constexpr decltype(auto) operator()(X &&) const;
};
struct {
  H<int> to;
} b;
template <typename Xs, typename F>
constexpr decltype(auto) unpack_t::operator()(Xs &&p1, F &&p2) const {
  using S = typename tag_of<Xs>::type;
  using Unpack = conditional_t<0, D<S>, int>;
  Unpack::apply(p1, p2);
}
template <typename... Xn> struct I {
  M<Xn...> storage_;
  using hana_tag = int;
};
template <> struct D<int> {
  template <typename Xs, typename F> static auto apply(Xs p1, F p2) {
    a(p1.storage_, p2);
  }
};
template <typename Algorithm>
template <typename X>
constexpr decltype(auto) H<Algorithm>::operator()(X &&) const {}
template <typename T, typename = void> struct N : N<T, C<0>> {};
struct for_each_t {
  template <typename Xs, typename F>
  constexpr void operator()(Xs &&, F &&) const;
} c;
template <typename Xs, typename F>
constexpr void for_each_t::operator()(Xs &&p1, F &&p2) const {
  using S = typename tag_of<Xs>::type;
  using ForEach = conditional_t<0, N<S>, int>;
  ForEach::apply(p1, p2);
}
template <typename F> struct J {
  F f;
  template <typename... Xs> void operator()(Xs... p1) {
    using Swallow = int;
    Swallow{((*f)(p1), 0)...};
  }
};
template <typename T, bool condition> struct N<T, C<condition>> {
  template <typename Xs, typename F> static void apply(Xs p1, F p2) {
    a(p1, J<decltype(&p2)>{});
  }
};
struct K {
  template <typename Foldables> K(Foldables p1) {
    c(p1, [](auto) {
      struct L {};
      b.to(L{});
    });
  }
};
I<int> d;
int main() { K{d}; }


 % g++ -c minimal_product.ii
minimal_product.ii: In instantiation of ‘constexpr decltype(auto) H<
<template-parameter-1-1> >::operator()(X&&) const [with X =
K::K(Foldables)::<lambda(auto:1)> [with auto:1 = ebo<int>; Foldables =
I<int>]::L; <template-parameter-1-1> = int]’:
minimal_product.ii:58:26:   required from here
minimal_product.ii:58:26: internal compiler error: in operator[], at vec.h:749
 constexpr decltype(auto) H<Algorithm>::operator()(X &&) const {}
                          ^~~~~~~~~~~~
0x10362fa3 vec<tree_node*, va_gc, vl_embed>::operator[](unsigned int)
        ../../gcc/gcc/vec.h:749
0x10362fa3 local_class_index
        ../../gcc/gcc/cp/mangle.c:1894
0x1036d25b discriminator_for_local_entity
        ../../gcc/gcc/cp/mangle.c:1930
0x1036d25b write_local_name
        ../../gcc/gcc/cp/mangle.c:2031
0x1036d25b write_name
        ../../gcc/gcc/cp/mangle.c:964
0x10372fe3 write_encoding
        ../../gcc/gcc/cp/mangle.c:825
0x1036ce33 write_local_name
        ../../gcc/gcc/cp/mangle.c:2000
0x1036ce33 write_name
        ../../gcc/gcc/cp/mangle.c:964
0x1036defb write_class_enum_type
        ../../gcc/gcc/cp/mangle.c:2781
0x1036defb write_type
        ../../gcc/gcc/cp/mangle.c:2195
0x1036cb43 write_template_args
        ../../gcc/gcc/cp/mangle.c:2810
0x10374c83 write_nested_name
        ../../gcc/gcc/cp/mangle.c:1063
0x1036d047 write_name
        ../../gcc/gcc/cp/mangle.c:976
0x10372fe3 write_encoding
        ../../gcc/gcc/cp/mangle.c:825
0x10375893 mangle_decl_string
        ../../gcc/gcc/cp/mangle.c:3760
0x10375bfb get_mangled_id
        ../../gcc/gcc/cp/mangle.c:3782
0x10375bfb mangle_decl(tree_node*)
        ../../gcc/gcc/cp/mangle.c:3820
0x10f3024f decl_assembler_name(tree_node*)
        ../../gcc/gcc/tree.c:673
0x10f612eb assign_assembler_name_if_needed(tree_node*)
        ../../gcc/gcc/tree.c:5595
0x10690e1f cgraph_node::analyze()
        ../../gcc/gcc/cgraphunit.c:663
>From gcc-bugs-return-578248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 07:07:38 2017
Return-Path: <gcc-bugs-return-578248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94470 invoked by alias); 11 Oct 2017 07: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 91800 invoked by uid 48); 11 Oct 2017 07:07:34 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82514] [8 Regression] ICE: in operator[], at vec.h:749
Date: Wed, 11 Oct 2017 07: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82514-4-CzGawG7LEL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82514-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01308.txt.bz2
Content-length: 157

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82514

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
PR77787 trace looks similar.
>From gcc-bugs-return-578249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 07:21:35 2017
Return-Path: <gcc-bugs-return-578249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118836 invoked by alias); 11 Oct 2017 07: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 118778 invoked by uid 48); 11 Oct 2017 07:21:30 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82509] DW_AT_endianity issues with attribute scalar_storage_order
Date: Wed, 11 Oct 2017 07: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: 8.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: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-82509-4-hQeZtqKIbg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01309.txt.bz2
Content-length: 2850

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-11
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> The attached code only ends up with DW_AT_endianity dwarf attributes when no
> typedefs are used.
> 
> Example:
> 
> 
> ~/gcc8/bin/gcc -g test.c -o mixed
> ~/gcc8/bin/gcc -g bewtypedef.c -o bewtypedef -DWITH_TYPEDEFS
> ~/gcc8/bin/gcc -g bewtypedef.c -o bentypedef
> 
> /bin/eu-readelf --debug-dump bewtypedef |grep -i endian
> 
> [no output]
> 
> /bin/eu-readelf --debug-dump bentypedef |grep -i endian
>              endianity            (data1) 1
>              endianity            (data1) 1
>           attr: endianity, form: data1, offset: 0xda
>           attr: endianity, form: data1, offset: 0xe7

Indeed, the code is correct but not the debug info in this case.

> For this reason, I would suggest that gcc use an alternate DW_AT_name for
> any type that has non-native endianity.  For example, in:
> 
> struct other {
>     int v;
>     short a[4];
> } 
> #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
> __attribute__( ( scalar_storage_order( "big-endian" ) ) )
> #else
> __attribute__( ( scalar_storage_order( "little-endian" ) ) )
> #endif
> ;
> 
> gcc could use DW_AT_name's of "int.be" and "short.be" respectively instead
> of "int" and "short" for the members v, and a above (assuming a little
> endian target).  This would allow gdb to display both native and non-native
> endianity int and short variables.  Right now, if the DW_AT_endianity
> information is pushed into gdb's struct type, the debugged program can have
> only one of the native or non-native representations in the debugger
> session.  

The decision was made to use strict DWARF and we'll stick to it I think.

> A gdb patch with preliminary experimental support for DW_AT_endianity can be
> found here: https://sourceware.org/ml/gdb-patches/2017-10/msg00145.html

Great, thanks for working on this.

> It could be argued not being able to encode additional attributes in the gdb
> type representation is a bug in gdb, but given that gdb and gcc should play
> nicely together, it seems reasonable to me to use an alternate DW_AT_name
> when emitting the dwarf info for code using the scalar_storage_order
> attribute.

Custom encoding are necessary when the debug info format lacks expressiveness
but this is not the case here so IMO GDB will have to bite the bullet.
>From gcc-bugs-return-578251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 07:22:44 2017
Return-Path: <gcc-bugs-return-578251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121484 invoked by alias); 11 Oct 2017 07: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 121271 invoked by uid 48); 11 Oct 2017 07:22:39 -0000
From: "akrzemi1 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))
Date: Wed, 11 Oct 2017 07: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: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: akrzemi1 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-66425-4-HYcAHvpBoB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66425-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66425-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01311.txt.bz2
Content-length: 730

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425

Andrzej Krzemienski <akrzemi1 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akrzemi1 at gmail dot com

--- Comment #29 from Andrzej Krzemienski <akrzemi1 at gmail dot com> ---
Note that the discussed problem only applies to
`__attribute__((warn_unused_result))` and `[[gnu::warn_unused_result]]`. Since
version 7, GCC also implements `[[nodiscard]]` which works as recommended by
the C++ Standard:

```
[[nodiscard]] int f () { return 1; }

int main()
{
  f();       // warns
  (void)f(); // doesn't warn
}
```
>From gcc-bugs-return-578250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 07:22:22 2017
Return-Path: <gcc-bugs-return-578250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120260 invoked by alias); 11 Oct 2017 07: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 120041 invoked by uid 48); 11 Oct 2017 07:22:18 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82509] DW_AT_endianity issues with attribute scalar_storage_order
Date: Wed, 11 Oct 2017 07:22: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:
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-82509-4-arhqSNsz9y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01310.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509

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 #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Investigating.
>From gcc-bugs-return-578252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 07:26:39 2017
Return-Path: <gcc-bugs-return-578252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125838 invoked by alias); 11 Oct 2017 07:26: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 125790 invoked by uid 48); 11 Oct 2017 07:26:35 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/80914] gcc-go binaries don't run
Date: Wed, 11 Oct 2017 07:26: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.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs dot net
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-80914-4-LUtdyH1hHq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01312.txt.bz2
Content-length: 380

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80914

--- Comment #9 from Steven Noonan <steven at uplinklabs dot net> ---
(In reply to Ian Lance Taylor from comment #8)
> Which version of GCC are you using in comment #7?

Oops, forgot to mention that bit. Built from trunk a few hours ago:

$ go.gcc version
go version go1.9 gccgo (GCC) 8.0.0 20171010 (experimental) linux/amd64
>From gcc-bugs-return-578253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 07:39:35 2017
Return-Path: <gcc-bugs-return-578253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67516 invoked by alias); 11 Oct 2017 07: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 67433 invoked by uid 48); 11 Oct 2017 07:39:29 -0000
From: "chr at terma dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
Date: Wed, 11 Oct 2017 07: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: 7.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chr at terma 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82159-4-59jteH9wbe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01313.txt.bz2
Content-length: 4116

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159

--- Comment #12 from chr at terma dot com ---
I've build a gcc 7.2.0 + above patch using crosstool ng. The original test code
passes, so I should have managed to succesfully create a patches gcc. 

Steps to Repro:
-----------------

g++ -c -O0 testcase2.cpp
testcase2.cpp: In constructor 'bd< <template-parameter-1-1> >::bg<bf>::bg(bd<
<template-parameter-1-1> >::bb, bf) [with bf = l; <template-parameter-1-1> =
bc<2, double>]':
testcase2.cpp:37:31: internal compiler error: in assign_temp, at function.c:968
     bg(bb, bf n) : bh(n.ap - 0) {}


Source file testcase2.cpp:
-------------

template <typename b> class d { b e; };
class f : d<int[0]> {
public:
  f(const f &);
};
class g : f {
public:
  template <class h> g operator-(h);
};
template <class ai> class i {
public:
  typedef typename ai::template j<i> ak;
};
template <class al> class k { typename i<al>::ak an; };
class l {
public:
  g ap;
};
class aq {
public:
  ~aq();
};
template <class ar> class m : ar {
public:
  template <typename at, typename au> m(at, au);
  l av;
  virtual void aw() { ar::ax(&av); }
};
template <int, typename> class bc;
template <class> class bd {
public:
  typedef int bb;
  class be {};
  template <class bf> class bg {
  public:
    g bh;
    bg(bb, bf n) : bh(n.ap - 0) {}
  };
  bd(bb, be);
};
template <typename> class o;
template <int az, typename bl>
class o<bd<bc<az, bl>>> : public bd<bc<az, bl>>::be {};
class L : bd<bc<2, double>> {
  class p : aq {
  public:
    void ax(l *p1) {
      bb a;
      bg<l>(a, *p1);
    }
  };

public:
  template <typename at, typename au> L(at p1, au n) : bd(p1, n) {}
  int br;
  virtual int bs() { m<p>(this, br); }
};
template <typename> class q {
  o<bd<bc<2, double>>> bv;
  virtual L bw() { L(0, bv); }
};
template <template <class> class by> class r {
public:
  r() { by<int>(); }
};
class s {
public:
  template <class> class j : r<q> {};
};
void t() { k<s> c; }

int main() {
return 0;
}

Compiler used:
-----------------
x86_64-corei7_avx-linux-gnu-g++ -v
Using built-in specs.
COLLECT_GCC=x86_64-corei7_avx-linux-gnu-g++
COLLECT_LTO_WRAPPER=/home/ries/work/build/tools/x86_64/gcc-7.2.0-glibc-2.25-x86_64/x86_64-corei7_avx-linux-gnu/libexec/gcc/x86_64-corei7_avx-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-corei7_avx-linux-gnu
Configured with:
/home/ries/work/build/tools/x86_64/gcc-7.2.0-glibc-2.25-x86_64/.build/x86_64-corei7_avx-linux-gnu/src/gcc/configure
--build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
--target=x86_64-corei7_avx-linux-gnu
--prefix=/home/ries/work/build/tools/x86_64/gcc-7.2.0-glibc-2.25-x86_64/x86_64-corei7_avx-linux-gnu
--with-sysroot=/home/ries/work/build/tools/x86_64/gcc-7.2.0-glibc-2.25-x86_64/x86_64-corei7_avx-linux-gnu/x86_64-corei7_avx-linux-gnu/sysroot
--enable-languages=c,c++ --with-arch=corei7-avx --with-tune=corei7-avx
--with-pkgversion='crosstool-NG
astrax_ASTRAX_902085-002_REL_A-2760-gc1aa3992abc-dirty' --enable-__cxa_atexit
--disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath
--disable-libquadmath-support --disable-libsanitizer --enable-libmpx
--with-gmp=/home/ries/work/build/tools/x86_64/gcc-7.2.0-glibc-2.25-x86_64/.build/x86_64-corei7_avx-linux-gnu/buildtools
--with-mpfr=/home/ries/work/build/tools/x86_64/gcc-7.2.0-glibc-2.25-x86_64/.build/x86_64-corei7_avx-linux-gnu/buildtools
--with-mpc=/home/ries/work/build/tools/x86_64/gcc-7.2.0-glibc-2.25-x86_64/.build/x86_64-corei7_avx-linux-gnu/buildtools
--with-isl=/home/ries/work/build/tools/x86_64/gcc-7.2.0-glibc-2.25-x86_64/.build/x86_64-corei7_avx-linux-gnu/buildtools
--enable-lto --with-host-libstdcxx='-static-libgcc
-Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --enable-threads=posix
--enable-target-optspace --disable-plugin --disable-nls --disable-multilib
--with-local-prefix=/home/ries/work/build/tools/x86_64/gcc-7.2.0-glibc-2.25-x86_64/x86_64-corei7_avx-linux-gnu/x86_64-corei7_avx-linux-gnu/sysroot
--enable-long-long
Thread model: posix
gcc version 7.2.0 (crosstool-NG gc1aa3992abc-dirty)
>From gcc-bugs-return-578254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 07:51:45 2017
Return-Path: <gcc-bugs-return-578254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119220 invoked by alias); 11 Oct 2017 07: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 119145 invoked by uid 48); 11 Oct 2017 07:51:40 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
Date: Wed, 11 Oct 2017 07: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.2.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: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82159-4-1hxaaflY7D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01314.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159

--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to chr from comment #12)
> I've build a gcc 7.2.0 + above patch using crosstool ng. The original test
> code passes, so I should have managed to succesfully create a patches gcc. 
> 

Confirm, all branches affected. Started also with r232167.
>From gcc-bugs-return-578255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:05:22 2017
Return-Path: <gcc-bugs-return-578255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118626 invoked by alias); 11 Oct 2017 08: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 118563 invoked by uid 48); 11 Oct 2017 08:05:17 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Wed, 11 Oct 2017 08:05: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: 6.4.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-VNpiAGvWtS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01315.txt.bz2
Content-length: 372

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #9 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Indeed, it passes/fails randomly in subsequent builds. It is killed, maybe
because of a timeout, but there is nothing in the standard logs.

I've been trying to patch dejagnu to be more verbose in such cases, to avoid
reporting noise; it's still wip.
>From gcc-bugs-return-578256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:15:31 2017
Return-Path: <gcc-bugs-return-578256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37836 invoked by alias); 11 Oct 2017 08:15: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 35325 invoked by uid 48); 11 Oct 2017 08:15:01 -0000
From: "yangyibiao at nju dot edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82515] New: incorrect implicit integer type conversion by arm-linux-gnueabi
Date: Wed, 11 Oct 2017 08: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: 5.4.0
X-Bugzilla-Keywords: wrong-code
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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget
Message-ID: <bug-82515-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01316.txt.bz2
Content-length: 4228

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82515

            Bug ID: 82515
           Summary: incorrect implicit integer type conversion by
                    arm-linux-gnueabi
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yangyibiao at nju dot edu.cn
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: arm-linux-gnueabi

~$ cat test.c
#include <stdio.h>

void main()
{
    int t = 0xFB0310B8;
    printf("%X\n", t > 4294967291UL);
}

~$ arm-linux-gnueabi-gcc -static test.c; ./a.out
0

~$ gcc -static test.c; ./a.out
1




------------------------------------------------------------------------
arm-gcc version
------------------------------------------------------------------------
~$ arm-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabi/5/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
5.4.0-6ubuntu1~16.04.4' --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-armel-cross/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-armel-cross
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-armel-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=armv5t --with-float=soft --disable-werror
--enable-multilib --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=arm-linux-gnueabi
--program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) 


------------------------------------------------------------------------
gcc version:
------------------------------------------------------------------------
~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
5.4.1-2ubuntu1~16.04' --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-vtable-verify --enable-libmpx --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-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --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 5.4.1 20160904 (Ubuntu 5.4.1-2ubuntu1~16.04)
>From gcc-bugs-return-578257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:23:21 2017
Return-Path: <gcc-bugs-return-578257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12096 invoked by alias); 11 Oct 2017 08: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 12030 invoked by uid 48); 11 Oct 2017 08:23:17 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Wed, 11 Oct 2017 08:23: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-PQet47IMYH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01317.txt.bz2
Content-length: 635

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #9)
> Indeed, it passes/fails randomly in subsequent builds. It is killed, maybe
> because of a timeout, but there is nothing in the standard logs.
> 
> I've been trying to patch dejagnu to be more verbose in such cases, to avoid
> reporting noise; it's still wip.

There could be one issue with the test case: Possibly, there
could be output to standard error. This didn't cause any problem
during regression testing.

What happens if you run the test case by hand?
>From gcc-bugs-return-578258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:36:25 2017
Return-Path: <gcc-bugs-return-578258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63404 invoked by alias); 11 Oct 2017 08:36: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 61965 invoked by uid 48); 11 Oct 2017 08:36:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/77844] [5 Regression] Compilation of simple C++ example exhaust memory
Date: Wed, 11 Oct 2017 08: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: 4.9.4
X-Bugzilla-Keywords: compile-time-hog, memory-hog
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-77844-4-Au4roc4OGm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77844-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77844-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01318.txt.bz2
Content-length: 518

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77844

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |7.0

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 7+, 6.x doesn't exhibit this problem.
>From gcc-bugs-return-578259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:37:02 2017
Return-Path: <gcc-bugs-return-578259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78293 invoked by alias); 11 Oct 2017 08:37: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 69036 invoked by uid 48); 11 Oct 2017 08:36:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78025] [5 Regression] ICE in simd_clone_adjust, at omp-simd-clone.c:1126
Date: Wed, 11 Oct 2017 08: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: 7.0
X-Bugzilla-Keywords: ice-on-invalid-code, openmp
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: 6.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-78025-4-KNvcJWoFw9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78025-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78025-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01319.txt.bz2
Content-length: 537

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78025

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.3

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.3 and later.
>From gcc-bugs-return-578260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:38:15 2017
Return-Path: <gcc-bugs-return-578260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37015 invoked by alias); 11 Oct 2017 08: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 30697 invoked by uid 48); 11 Oct 2017 08:37:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78189] [5 Regression] movaps generated for unaligned store in aligned struct, when struct is referenced via unaligned member.
Date: Wed, 11 Oct 2017 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: 6.2.1
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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-78189-4-HDGcAWXO7L@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78189-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78189-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01320.txt.bz2
Content-length: 611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78189

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.3

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.3 and later.
>From gcc-bugs-return-578261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:38:20 2017
Return-Path: <gcc-bugs-return-578261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37624 invoked by alias); 11 Oct 2017 08: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 37258 invoked by uid 48); 11 Oct 2017 08:38:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78482] [5 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu
Date: Wed, 11 Oct 2017 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: 7.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-78482-4-b9oDYegP1d@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78482-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01321.txt.bz2
Content-length: 538

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78482

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.3

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.3 and later.
>From gcc-bugs-return-578262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:51:12 2017
Return-Path: <gcc-bugs-return-578262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130515 invoked by alias); 11 Oct 2017 08:51: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 129321 invoked by uid 48); 11 Oct 2017 08:50:16 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82457] libgcov fork and exec hooks not always used
Date: Wed, 11 Oct 2017 08:51: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: 5.4.0
X-Bugzilla-Keywords: documentation
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: cc
Message-ID: <bug-82457-4-2h5dtzeZCi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82457-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82457-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01322.txt.bz2
Content-length: 751

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82457

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |nathan at gcc dot gnu.org

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Ok so the functions like (execve, fork) are recognized as builtins in
non-strict mode:
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html (Outside strict ISO C
mode...)
I would incline to provide either warning or to include these builtins with
--coverage? Adding gcov maintainers.
>From gcc-bugs-return-578263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:51:42 2017
Return-Path: <gcc-bugs-return-578263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 752 invoked by alias); 11 Oct 2017 08: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 709 invoked by uid 55); 11 Oct 2017 08:51:38 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81299] [8 Regression] Spurious "set but not used" warning with constexpr variable
Date: Wed, 11 Oct 2017 08: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: 8.0
X-Bugzilla-Keywords: diagnostic, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo 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-81299-4-rfKyBUMa91@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81299-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01323.txt.bz2
Content-length: 508

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81299

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct 11 08:50:15 2017
New Revision: 253630

URL: https://gcc.gnu.org/viewcvs?rev=253630&root=gcc&view=rev
Log:
2017-10-11  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/81299
        * g++.dg/cpp1y/lambda-generic-ice7.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice7.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:52:39 2017
Return-Path: <gcc-bugs-return-578264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2060 invoked by alias); 11 Oct 2017 08:52: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 1977 invoked by uid 48); 11 Oct 2017 08:52:21 -0000
From: "yangyibiao at nju dot edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82515] incorrect implicit integer type conversion by arm-linux-gnueabi
Date: Wed, 11 Oct 2017 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: 5.4.0
X-Bugzilla-Keywords: wrong-code
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:
Message-ID: <bug-82515-4-IQ2MWxvgur@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82515-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82515-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01324.txt.bz2
Content-length: 1082

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82515

--- Comment #1 from Yibiao Yang <yangyibiao at nju dot edu.cn> ---
While using clang to compile this code, the output is also 1. This, at a
certain extent, indicates that the problem was caused by the
arm-linux-gnueabic-gcc compiler. 

$ clang -w -static test.c; ./a.out
1



Here is the GIMPLE representation by gcc-x86.

$ gcc -static -fdump-tree-gimple test.c; cat test.c.004t.gimple
main ()
{
  _Bool D.2287;
  int D.2288;
  int t;

  t = -83685192;
  D.2287 = t < 0;
  D.2288 = (int) D.2287;
  printf ("%X\n", D.2288);
}



Here is the GIMPLE representation by gcc-arm. We can found that t was converted
to long unsigned int in arm-linux-gnueabi-gcc. 

$ arm-linux-gnueabi-gcc -static -fdump-tree-gimple test.c; cat
test.c.004t.gimple
main ()
{
  long unsigned int t.0;
  _Bool D.4677;
  int D.4678;
  int t;

  t = -83685192;
  t.0 = (long unsigned int) t;
  D.4677 = t.0 > 4294967291;
  D.4678 = (int) D.4677;
  printf ("%X\n", D.4678);
}



Note that this issue was found by Yibiao Yang and shqking.
>From gcc-bugs-return-578265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:53:10 2017
Return-Path: <gcc-bugs-return-578265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2902 invoked by alias); 11 Oct 2017 08: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 2069 invoked by uid 48); 11 Oct 2017 08:52:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78523] [5 Regression] ICE on valid lambda code with implicit capture
Date: Wed, 11 Oct 2017 08: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: 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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-78523-4-UOIQObwI4O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78523-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78523-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01325.txt.bz2
Content-length: 592

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78523

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed by r231863.  GCC 5 branch has been closed.
>From gcc-bugs-return-578266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 08:55:18 2017
Return-Path: <gcc-bugs-return-578266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4590 invoked by alias); 11 Oct 2017 08: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 4518 invoked by uid 48); 11 Oct 2017 08:55:14 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Wed, 11 Oct 2017 08:55: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-F26p1IMqQU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01326.txt.bz2
Content-length: 210

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Another idea: Could there be a network drive in the PATH
that does not respond in time?
>From gcc-bugs-return-578267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:05:56 2017
Return-Path: <gcc-bugs-return-578267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77266 invoked by alias); 11 Oct 2017 09: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 77171 invoked by uid 55); 11 Oct 2017 09:05:47 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82230] [8 Regression] ICE: in tsubst, at cp/pt.c:13686 when binding lambda to variable inside a generic lambda inside a template member function inside a template class
Date: Wed, 11 Oct 2017 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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82230-4-n5VF9VeLH9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82230-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82230-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01327.txt.bz2
Content-length: 508

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82230

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct 11 09:04:29 2017
New Revision: 253631

URL: https://gcc.gnu.org/viewcvs?rev=253631&root=gcc&view=rev
Log:
2017-10-11  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/82230
        * g++.dg/cpp1y/lambda-generic-ice8.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice8.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:07:43 2017
Return-Path: <gcc-bugs-return-578268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78700 invoked by alias); 11 Oct 2017 09: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 78602 invoked by uid 48); 11 Oct 2017 09:07:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78558] [5 Regression] Incorrect loop optimization leads to crash
Date: Wed, 11 Oct 2017 09: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: 5.4.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-78558-4-w80gnPtTv2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01328.txt.bz2
Content-length: 609

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78558

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:08:20 2017
Return-Path: <gcc-bugs-return-578269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80279 invoked by alias); 11 Oct 2017 09: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 79601 invoked by uid 48); 11 Oct 2017 09:08:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78742] [5 Regression] internal compiler error: in int_cst_value, at tree.c:10782
Date: Wed, 11 Oct 2017 09: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: 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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-78742-4-XFEEZqFhFx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78742-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78742-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01329.txt.bz2
Content-length: 612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78742

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.4 and later.
>From gcc-bugs-return-578270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:09:05 2017
Return-Path: <gcc-bugs-return-578270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81345 invoked by alias); 11 Oct 2017 09: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 81271 invoked by uid 55); 11 Oct 2017 09:09:01 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81410] [6 Regression] -O3 breaks code
Date: Wed, 11 Oct 2017 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: 7.1.1
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81410-4-HwXNrz6853@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81410-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01330.txt.bz2
Content-length: 724

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81410

--- Comment #15 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 10 Oct 2017, gcc at sjor dot sg wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81410
> 
> --- Comment #14 from Sjors Gielen <gcc at sjor dot sg> ---
> (In reply to Jakub Jelinek from comment #13)
> > GCC 5 branch is being closed
> 
> Has there been a fix for this issue at all in a 5 branch release?

No.

> And, for the 6 branch, will there be a release with a fix for this issue?

Eventually, as you see the fix caused some fallout which needed fixing
and that fix needs to propagate to release branches as well.  Which
also means that followup fix needs some burn-in.
>From gcc-bugs-return-578271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:12:59 2017
Return-Path: <gcc-bugs-return-578271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97924 invoked by alias); 11 Oct 2017 09: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 97845 invoked by uid 48); 11 Oct 2017 09:12:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79050] [5 Regression] ICE: tree code 'template_type_parm' is not supported in LTO streams
Date: Wed, 11 Oct 2017 09: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: 5.4.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-79050-4-28ycpR3wTa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79050-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79050-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01331.txt.bz2
Content-length: 538

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79050

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.4 and later.
>From gcc-bugs-return-578272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:13:41 2017
Return-Path: <gcc-bugs-return-578272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98906 invoked by alias); 11 Oct 2017 09: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 98838 invoked by uid 48); 11 Oct 2017 09:13:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79461] [5 Regression] [C++1z] ICE when capturing a variable in a lambda in a constexpr constructor
Date: Wed, 11 Oct 2017 09: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: 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: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-79461-4-hR3VP2hOjh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79461-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01332.txt.bz2
Content-length: 611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79461

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.4 and later.
>From gcc-bugs-return-578273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:14:07 2017
Return-Path: <gcc-bugs-return-578273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99733 invoked by alias); 11 Oct 2017 09:14: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 99657 invoked by uid 48); 11 Oct 2017 09:14:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79580] [5 Regression] ICE in nested_anon_class_index, at cp/mangle.c:1604
Date: Wed, 11 Oct 2017 09: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: 6.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-79580-4-JO3Z1CTcoU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01333.txt.bz2
Content-length: 611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79580

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.4 and later.
>From gcc-bugs-return-578274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:15:27 2017
Return-Path: <gcc-bugs-return-578274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101094 invoked by alias); 11 Oct 2017 09:15: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 100845 invoked by uid 48); 11 Oct 2017 09:15:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79607] [5 Regression] ICE with brace-initialization of static const member
Date: Wed, 11 Oct 2017 09: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.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-79607-4-DkcPA0wY5r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79607-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79607-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01334.txt.bz2
Content-length: 444

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79607

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 5.5, 6.4+ and 7+.
>From gcc-bugs-return-578275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:16:08 2017
Return-Path: <gcc-bugs-return-578275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103494 invoked by alias); 11 Oct 2017 09: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 102977 invoked by uid 48); 11 Oct 2017 09:16:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79822] [5 Regression] ICE with void statement expression
Date: Wed, 11 Oct 2017 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.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-79822-4-9BTzCBXjPk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79822-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79822-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01335.txt.bz2
Content-length: 536

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79822

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |7.0

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Unreproduceable in 6.x, fixed in 7+, GCC 5 branch has been closed.
>From gcc-bugs-return-578276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:16:56 2017
Return-Path: <gcc-bugs-return-578276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106842 invoked by alias); 11 Oct 2017 09:16: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 106439 invoked by uid 48); 11 Oct 2017 09:16:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvODAwNzVdIFs1IFJlZ3Jlc3Npb25dIElDRTogInN0YXRlbWVu?= =?UTF-8?B?dCBtYXJrZWQgZm9yIHRocm93LCBidXQgZG9lc27igJl0IiB3aXRoIC1mbm9u?= =?UTF-8?B?LWNhbGwtZXhjZXB0aW9ucw==?Date: Wed, 11 Oct 2017 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.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-80075-4-jDbKdFt9a5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80075-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80075-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01336.txt.bz2
Content-length: 611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80075

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.4 and later.
>From gcc-bugs-return-578277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:20:21 2017
Return-Path: <gcc-bugs-return-578277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112653 invoked by alias); 11 Oct 2017 09: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 112556 invoked by uid 48); 11 Oct 2017 09:20:15 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82307] unscoped enum-base incorrect cast
Date: Wed, 11 Oct 2017 09: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: 6.4.0
X-Bugzilla-Keywords: rejects-valid
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: mukesh.kapoor at oracle dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-82307-4-gd9MdkjGWZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82307-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01337.txt.bz2
Content-length: 539

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82307

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|mukesh.kapoor at oracle dot com    |
           Assignee|unassigned at gcc dot gnu.org      |mukesh.kapoor at oracle dot com

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mukesh is on it.
>From gcc-bugs-return-578278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:21:00 2017
Return-Path: <gcc-bugs-return-578278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113768 invoked by alias); 11 Oct 2017 09:21: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 113663 invoked by uid 48); 11 Oct 2017 09:20:56 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82513] regex [z\-a] fails to compile
Date: Wed, 11 Oct 2017 09: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: 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-82513-4-ThHOuYHu9z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82513-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01338.txt.bz2
Content-length: 508

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82513

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> ---
Already fixed in GCC 7.

*** This bug has been marked as a duplicate of bug 77356 ***
>From gcc-bugs-return-578279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:21:01 2017
Return-Path: <gcc-bugs-return-578279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113924 invoked by alias); 11 Oct 2017 09: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 113706 invoked by uid 48); 11 Oct 2017 09:20:57 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/77356] regex error for a ECMAScript syntax string
Date: Wed, 11 Oct 2017 09: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: 7.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: timshen at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-77356-4-YQEbwVrou6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77356-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01339.txt.bz2
Content-length: 443

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77356

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gene at genethomas dot com

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 82513 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:24:16 2017
Return-Path: <gcc-bugs-return-578280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116917 invoked by alias); 11 Oct 2017 09: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 116782 invoked by uid 48); 11 Oct 2017 09:24:00 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/78808] target_clones not applying to openmp functions
Date: Wed, 11 Oct 2017 09:24: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs 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: version
Message-ID: <bug-78808-4-mZYLJ2f7f6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01340.txt.bz2
Content-length: 545

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808

Steven Noonan <steven at uplinklabs dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|6.2.0                       |7.2.1

--- Comment #6 from Steven Noonan <steven at uplinklabs dot net> ---
Any chance this work will be picked up sometime soon? It's been waiting quite a
while. I'm bumping the GCC version on this report since it still affects the
current 7.x branch.
>From gcc-bugs-return-578281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:25:03 2017
Return-Path: <gcc-bugs-return-578281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118181 invoked by alias); 11 Oct 2017 09: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 118071 invoked by uid 48); 11 Oct 2017 09:24:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80194] [5 Regression] ICE with local constant referenced by a lambda expression
Date: Wed, 11 Oct 2017 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: 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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-80194-4-CmRbB2b80t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80194-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80194-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01341.txt.bz2
Content-length: 597

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80194

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed by r231863 in 6+, GCC 5 branch has been closed.
>From gcc-bugs-return-578282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:27:43 2017
Return-Path: <gcc-bugs-return-578282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121325 invoked by alias); 11 Oct 2017 09: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 121230 invoked by uid 48); 11 Oct 2017 09:27:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/78808] target_clones not applying to openmp functions
Date: Wed, 11 Oct 2017 09:27: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78808-4-XDdCLBL6Nb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01342.txt.bz2
Content-length: 200

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I believe this might work fine on the trunk after PR82374, but haven't
verified.
>From gcc-bugs-return-578284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:29:00 2017
Return-Path: <gcc-bugs-return-578284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123581 invoked by alias); 11 Oct 2017 09: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 123518 invoked by uid 48); 11 Oct 2017 09:28:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80341] [5 Regression] gcc miscompiles division of signed char
Date: Wed, 11 Oct 2017 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: 7.0.1
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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-80341-4-rDerovN6D6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80341-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01344.txt.bz2
Content-length: 612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80341

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.4

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.4 and later.
>From gcc-bugs-return-578283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:28:19 2017
Return-Path: <gcc-bugs-return-578283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122316 invoked by alias); 11 Oct 2017 09: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 122266 invoked by uid 48); 11 Oct 2017 09:28:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80281] [5 Regression] Wrong constant folding
Date: Wed, 11 Oct 2017 09: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: 7.0.1
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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-80281-4-NRvOMOq4eW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80281-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80281-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01343.txt.bz2
Content-length: 538

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80281

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.4

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.4 and later.
>From gcc-bugs-return-578285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:39:49 2017
Return-Path: <gcc-bugs-return-578285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124588 invoked by alias); 11 Oct 2017 09: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 124532 invoked by uid 48); 11 Oct 2017 09:39:45 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71737] [6 Regression] ICE following 2x pack expansion in non-pack with template alias
Date: Wed, 11 Oct 2017 09: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: 7.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: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-71737-4-Hklo1BvNPJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71737-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71737-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01345.txt.bz2
Content-length: 621

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71737

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |7.0

--- Comment #12 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Let's close this as fixed in 7.1.0. In gcc-6-branch the issue is just a
"confused by earlier errors, bailing out" during error recovery.
>From gcc-bugs-return-578286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:42:34 2017
Return-Path: <gcc-bugs-return-578286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1477 invoked by alias); 11 Oct 2017 09: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 1396 invoked by uid 48); 11 Oct 2017 09:42:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80421] [5 Regression] Case dispatch is scrambled in switch-statement
Date: Wed, 11 Oct 2017 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: 5.4.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-80421-4-NWwY3DZSKO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80421-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80421-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01346.txt.bz2
Content-length: 609

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80421

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:43:32 2017
Return-Path: <gcc-bugs-return-578287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11450 invoked by alias); 11 Oct 2017 09: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 8466 invoked by uid 48); 11 Oct 2017 09:43:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80492] [5 Regression] Wrong code when unrolling a loop with inline asm and local regs
Date: Wed, 11 Oct 2017 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: 6.3.1
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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-80492-4-VentIopVSH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80492-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01347.txt.bz2
Content-length: 612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80492

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.4

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.4 and later.
>From gcc-bugs-return-578288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:44:32 2017
Return-Path: <gcc-bugs-return-578288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27388 invoked by alias); 11 Oct 2017 09:44: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 27322 invoked by uid 48); 11 Oct 2017 09:44:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80543] [5 Regression] ICE in tsubst_copy, at cp/pt.c:13039
Date: Wed, 11 Oct 2017 09: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: 5.4.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: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-80543-4-rAfH2wy5FQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80543-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80543-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01348.txt.bz2
Content-length: 609

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80543

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:45:46 2017
Return-Path: <gcc-bugs-return-578289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28754 invoked by alias); 11 Oct 2017 09: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 28604 invoked by uid 48); 11 Oct 2017 09:45:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81505] [5 Regression] ICE in tree-ssa-loop-manip.c:95 with -fsanitize=signed-integer-overflow
Date: Wed, 11 Oct 2017 09:45: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
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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-81505-4-Qof2DoDDsu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81505-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01349.txt.bz2
Content-length: 537

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81505

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.5

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.5 and later.
>From gcc-bugs-return-578290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:48:40 2017
Return-Path: <gcc-bugs-return-578290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32042 invoked by alias); 11 Oct 2017 09:48: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 31939 invoked by uid 48); 11 Oct 2017 09:48:32 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/78808] target_clones not applying to openmp functions
Date: Wed, 11 Oct 2017 09:48: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs 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:
Message-ID: <bug-78808-4-dZP2Mu4eMW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01350.txt.bz2
Content-length: 205

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808

--- Comment #8 from Steven Noonan <steven at uplinklabs dot net> ---
Oh, awesome! I just tested a gcc trunk build and it's definitely working there.
>From gcc-bugs-return-578292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:49:47 2017
Return-Path: <gcc-bugs-return-578292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34026 invoked by alias); 11 Oct 2017 09: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 33921 invoked by uid 48); 11 Oct 2017 09:49:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82084] [5 Regression] ICE: constructing wstring with -O3
Date: Wed, 11 Oct 2017 09: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: 7.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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-82084-4-Iut93Py2n3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82084-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82084-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01352.txt.bz2
Content-length: 546

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82084

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.5

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.5 and 7.3 and later.
>From gcc-bugs-return-578291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 09:49:15 2017
Return-Path: <gcc-bugs-return-578291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33121 invoked by alias); 11 Oct 2017 09: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 32974 invoked by uid 48); 11 Oct 2017 09:49:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81977] [5 Regression] Issue with inline memcpy with optimizations enabled
Date: Wed, 11 Oct 2017 09: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: 6.3.1
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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-81977-4-GbFaaRljS8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81977-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81977-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01351.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81977

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6.5, 7.3 and later.
>From gcc-bugs-return-578294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:02:40 2017
Return-Path: <gcc-bugs-return-578294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86973 invoked by alias); 11 Oct 2017 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 86838 invoked by uid 48); 11 Oct 2017 10:02:32 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80412] [c++17] crash with class template deduction guide and inheritance
Date: Wed, 11 Oct 2017 10: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-80412-4-DAEpYnROr9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80412-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01354.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80412

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in trunk.
>From gcc-bugs-return-578293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:02:07 2017
Return-Path: <gcc-bugs-return-578293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72164 invoked by alias); 11 Oct 2017 10: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 62811 invoked by uid 55); 11 Oct 2017 10:01:55 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80412] [c++17] crash with class template deduction guide and inheritance
Date: Wed, 11 Oct 2017 10: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80412-4-Da8PQQhyC0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80412-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01353.txt.bz2
Content-length: 504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80412

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct 11 10:01:23 2017
New Revision: 253632

URL: https://gcc.gnu.org/viewcvs?rev=253632&root=gcc&view=rev
Log:
2017-10-11  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/80412
        * g++.dg/cpp1z/class-deduction44.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction44.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:16:02 2017
Return-Path: <gcc-bugs-return-578295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61425 invoked by alias); 11 Oct 2017 10:16: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 61330 invoked by uid 48); 11 Oct 2017 10:15:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82414] [5 Regression] Issue with ODR/LTO in G++
Date: Wed, 11 Oct 2017 10: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: 5.4.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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-82414-4-39R37jH8mF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82414-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82414-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01355.txt.bz2
Content-length: 609

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82414

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |6.0

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5 branch has been closed, should be fixed in GCC 6 and later.
>From gcc-bugs-return-578296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:19:48 2017
Return-Path: <gcc-bugs-return-578296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77140 invoked by alias); 11 Oct 2017 10:19: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 68335 invoked by uid 48); 11 Oct 2017 10:19:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80294] [6 Regression] ICE with constexpr and inheritance
Date: Wed, 11 Oct 2017 10: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: 7.0.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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-80294-4-JSgjd9qmLs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80294-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01356.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80294

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|6.5                         |5.5

--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed in 6.4 and 5.5 too.
>From gcc-bugs-return-578297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:22:31 2017
Return-Path: <gcc-bugs-return-578297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87082 invoked by alias); 11 Oct 2017 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 87014 invoked by uid 48); 11 Oct 2017 10:22:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77907] [6 Regression] Add "const" to argument of constexpr constructor causes the object to be left in unconstructed state
Date: Wed, 11 Oct 2017 10: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.2.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: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-77907-4-lf35Z2W5PI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77907-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77907-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01357.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77907

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|6.5                         |6.3

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed in 6.3+ and 7+.
>From gcc-bugs-return-578298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:23:39 2017
Return-Path: <gcc-bugs-return-578298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116622 invoked by alias); 11 Oct 2017 10: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 116564 invoked by uid 48); 11 Oct 2017 10:23:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71515] [6 Regression] ICE on valid C++ code on x86_64-linux-gnu: Segmentation fault (program cc1plus)
Date: Wed, 11 Oct 2017 10: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.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: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-71515-4-ApfQZdVIbW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71515-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71515-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01358.txt.bz2
Content-length: 448

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71515

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> ---
Should be fixed in 6.3+ and 7+.
>From gcc-bugs-return-578299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:24:42 2017
Return-Path: <gcc-bugs-return-578299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118256 invoked by alias); 11 Oct 2017 10:24: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 118158 invoked by uid 48); 11 Oct 2017 10:24:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71274] [6 Regression] deprecated static const member of struct raises warning without use
Date: Wed, 11 Oct 2017 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: 6.1.1
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: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-71274-4-n2NEZgmJOV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71274-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01359.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71274

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|6.5                         |6.3

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed in 6.3+ and 7+.
>From gcc-bugs-return-578300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:27:29 2017
Return-Path: <gcc-bugs-return-578300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122157 invoked by alias); 11 Oct 2017 10:27: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 122072 invoked by uid 48); 11 Oct 2017 10:27:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81671] [7 Regression] std::nullptr_t incompatible to std::nullptr_t
Date: Wed, 11 Oct 2017 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: 7.1.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: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-81671-4-lZfWXxcW5C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81671-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81671-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01360.txt.bz2
Content-length: 516

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81671

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 #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed for 7.3+.
>From gcc-bugs-return-578301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:29:42 2017
Return-Path: <gcc-bugs-return-578301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124496 invoked by alias); 11 Oct 2017 10:29: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 124416 invoked by uid 48); 11 Oct 2017 10:29:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80725] [7 Regression] s390x ICE on alsa-lib
Date: Wed, 11 Oct 2017 10: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: 7.1.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-80725-4-EdRZPziW3e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80725-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80725-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01361.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80725

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|7.3                         |7.2

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed in 7.2+.
>From gcc-bugs-return-578302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:31:09 2017
Return-Path: <gcc-bugs-return-578302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5385 invoked by alias); 11 Oct 2017 10: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 5226 invoked by uid 48); 11 Oct 2017 10:31:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71607] [6 Regression] [ARM] ice due to forbidden enabled attribute dependency on instruction operands
Date: Wed, 11 Oct 2017 10: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.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: thopre01 at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc short_desc
Message-ID: <bug-71607-4-g3b1vg19tK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71607-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71607-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01362.txt.bz2
Content-length: 764

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71607

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[6/7/8 Regression] [ARM]    |[6 Regression] [ARM] ice
                   |ice due to forbidden        |due to forbidden enabled
                   |enabled attribute           |attribute dependency on
                   |dependency on instruction   |instruction operands
                   |operands                    |

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I believe this should now be fixed for 7.2+.
>From gcc-bugs-return-578303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:32:15 2017
Return-Path: <gcc-bugs-return-578303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8801 invoked by alias); 11 Oct 2017 10: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 8754 invoked by uid 48); 11 Oct 2017 10:32:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82437] [8 Regression] false-positive -Wtautological-compare warning with -std=gnu89
Date: Wed, 11 Oct 2017 10: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: 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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82437-4-4djQYIylxP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82437-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82437-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01363.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82437

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-578304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:32:54 2017
Return-Path: <gcc-bugs-return-578304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9772 invoked by alias); 11 Oct 2017 10:32: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 9692 invoked by uid 48); 11 Oct 2017 10:32:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82389] [8 Regression] ICE on valid code on x86_64-linux-gnu: Segmentation fault
Date: Wed, 11 Oct 2017 10: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82389-4-JEYppxdM0Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82389-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82389-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01364.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82389

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:33:25 2017
Return-Path: <gcc-bugs-return-578305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10779 invoked by alias); 11 Oct 2017 10: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 10698 invoked by uid 48); 11 Oct 2017 10:33:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82388] [8 Regression] wrong code at -O1 and above on x86_64-linux-gnu in 32-bit mode
Date: Wed, 11 Oct 2017 10: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: 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: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82388-4-XPdSM7xyBb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82388-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82388-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01365.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82388

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.
>From gcc-bugs-return-578306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:33:48 2017
Return-Path: <gcc-bugs-return-578306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11566 invoked by alias); 11 Oct 2017 10:33: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 11501 invoked by uid 48); 11 Oct 2017 10: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/82387] [8 Regression] wrong code at -O1 and -Os on x86_64-linux-gnu in 64-bit mode
Date: Wed, 11 Oct 2017 10: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: 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: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82387-4-IvqKY2h6Mh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82387-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01366.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82387

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.
>From gcc-bugs-return-578307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:34:34 2017
Return-Path: <gcc-bugs-return-578307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12722 invoked by alias); 11 Oct 2017 10:34: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 12580 invoked by uid 48); 11 Oct 2017 10:34:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82386] [8 Regression] internal compiler error: Segmentation fault on 32-bit powerpc BE targets
Date: Wed, 11 Oct 2017 10: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.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82386-4-WoqdaPQbpm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82386-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82386-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01367.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82386

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-578309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:35:03 2017
Return-Path: <gcc-bugs-return-578309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14412 invoked by alias); 11 Oct 2017 10:35: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 14296 invoked by uid 48); 11 Oct 2017 10:34:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82407] [8 Regression][meta-bug] qsort_chk fallout tracking
Date: Wed, 11 Oct 2017 10:35: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82407-4-mNDgMSMT3i@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: 2017-10/txt/msg01369.txt.bz2
Content-length: 489

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82407
Bug 82407 depends on bug 82381, which changed state.

Bug 82381 Summary: [8 Regression] internal compiler error: qsort checking failed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82381

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:35:18 2017
Return-Path: <gcc-bugs-return-578310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15741 invoked by alias); 11 Oct 2017 10: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 15604 invoked by uid 48); 11 Oct 2017 10:35:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82342] [8 regression] i386/pr82260-2.c fail
Date: Wed, 11 Oct 2017 10: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: 8.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: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82342-4-csSpKNCPLc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82342-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82342-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01370.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82342

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-578308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:35:03 2017
Return-Path: <gcc-bugs-return-578308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14399 invoked by alias); 11 Oct 2017 10:35: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 14226 invoked by uid 48); 11 Oct 2017 10:34:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82381] [8 Regression] internal compiler error: qsort checking failed
Date: Wed, 11 Oct 2017 10: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: ice-checking
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82381-4-jUbqLJo16u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82381-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82381-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01368.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82381

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:36:24 2017
Return-Path: <gcc-bugs-return-578311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17407 invoked by alias); 11 Oct 2017 10:36: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 17291 invoked by uid 48); 11 Oct 2017 10:36:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82155] [7 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:21655
Date: Wed, 11 Oct 2017 10: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: 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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc short_desc
Message-ID: <bug-82155-4-elNuQqlrak@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82155-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82155-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01371.txt.bz2
Content-length: 626

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82155

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[7/8 Regression] ICE in     |[7 Regression] ICE in
                   |dwarf2out_abstract_function |dwarf2out_abstract_function
                   |, at dwarf2out.c:21655      |, at dwarf2out.c:21655

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Assuming fixed on the trunk.
>From gcc-bugs-return-578312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:37:08 2017
Return-Path: <gcc-bugs-return-578312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19142 invoked by alias); 11 Oct 2017 10:37: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 19067 invoked by uid 48); 11 Oct 2017 10:37:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82078] [8 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu
Date: Wed, 11 Oct 2017 10: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: 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: P3
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-82078-4-MGDlRhtMKK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82078-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82078-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01372.txt.bz2
Content-length: 519

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82078

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 #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Assuming this is fixed now.
>From gcc-bugs-return-578313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:37:46 2017
Return-Path: <gcc-bugs-return-578313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70793 invoked by alias); 11 Oct 2017 10:37: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 62896 invoked by uid 48); 11 Oct 2017 10:37:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82024] wrong code with -Og -fgcse-sm -frerun-cse-after-loop --param=max-combine-insns=3
Date: Wed, 11 Oct 2017 10: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: 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: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc short_desc
Message-ID: <bug-82024-4-B9Sye0JOGR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82024-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82024-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01373.txt.bz2
Content-length: 701

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82024

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[8 Regression] wrong code   |wrong code with -Og
                   |with -Og -fgcse-sm          |-fgcse-sm
                   |-frerun-cse-after-loop      |-frerun-cse-after-loop
                   |--param=max-combine-insns=3 |--param=max-combine-insns=3

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Not a trunk regression anymore then.
>From gcc-bugs-return-578314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:38:36 2017
Return-Path: <gcc-bugs-return-578314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124852 invoked by alias); 11 Oct 2017 10: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 123145 invoked by uid 48); 11 Oct 2017 10:38:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81981] [8 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear
Date: Wed, 11 Oct 2017 10: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.0
X-Bugzilla-Keywords: diagnostic, 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81981-4-xB7IUYxLQd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81981-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81981-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01374.txt.bz2
Content-length: 420

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81981

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> ---
.
>From gcc-bugs-return-578315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:41:16 2017
Return-Path: <gcc-bugs-return-578315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29643 invoked by alias); 11 Oct 2017 10:41: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 29559 invoked by uid 48); 11 Oct 2017 10:41:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81799] [8 Regression] ICE on valid code at -O3: verify_gimple failed
Date: Wed, 11 Oct 2017 10: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: 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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-81799-4-7BROiHU0Q9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81799-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81799-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01375.txt.bz2
Content-length: 1011

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81799

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: amker
Date: Mon Aug 14 11:46:03 2017
New Revision: 251088

URL: https://gcc.gnu.org/viewcvs?rev=251088&root=gcc&view=rev
Log:
        PR tree-optimization/81799
        * tree-loop-distribution.c (version_loop_by_alias_check): Force
        cond_expr to simple gimple operand.

        gcc/testsuite
        * gcc.dg/tree-ssa/pr81799.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr81799.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-loop-distribution.c
>From gcc-bugs-return-578316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:41:57 2017
Return-Path: <gcc-bugs-return-578316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30750 invoked by alias); 11 Oct 2017 10:41: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 30679 invoked by uid 48); 11 Oct 2017 10:41:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81768] [8 Regression] error: control flow in the middle of basic block
Date: Wed, 11 Oct 2017 10: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.0
X-Bugzilla-Keywords: ice-on-valid-code, openmp
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81768-4-pKEYXk3KMw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81768-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81768-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01376.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:43:35 2017
Return-Path: <gcc-bugs-return-578317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32340 invoked by alias); 11 Oct 2017 10: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 32261 invoked by uid 48); 11 Oct 2017 10:43:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/81624] [8 Regression] FAIL: gcc.target/i386/pr59501-3a.c scan-assembler-not and[^\n\r]*sp
Date: Wed, 11 Oct 2017 10: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: 8.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: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-81624-4-vuGxewcikq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81624-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81624-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01377.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81624

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 #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Assuming fixed.
>From gcc-bugs-return-578318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:44:33 2017
Return-Path: <gcc-bugs-return-578318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37861 invoked by alias); 11 Oct 2017 10:44: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 36904 invoked by uid 48); 11 Oct 2017 10:44:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81481] [7 Regression] Spills %xmm to stack in glibc strspn SSE 4.2 variant
Date: Wed, 11 Oct 2017 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: 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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc short_desc everconfirmed
Message-ID: <bug-81481-4-yzdPDgEhgy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01378.txt.bz2
Content-length: 776

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81481

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-11
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[7/8 Regression] Spills     |[7 Regression] Spills %xmm
                   |%xmm to stack in glibc      |to stack in glibc strspn
                   |strspn SSE 4.2 variant      |SSE 4.2 variant
     Ever confirmed|0                           |1

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk.
>From gcc-bugs-return-578319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:45:39 2017
Return-Path: <gcc-bugs-return-578319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44950 invoked by alias); 11 Oct 2017 10: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 44396 invoked by uid 48); 11 Oct 2017 10:45:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81423] [6/7 Regression] Wrong code at -O2
Date: Wed, 11 Oct 2017 10: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: 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: P2
X-Bugzilla-Assigned-To: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc short_desc
Message-ID: <bug-81423-4-CLeg5YVHoi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01379.txt.bz2
Content-length: 552

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81423

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[6/7/8 Regression] Wrong    |[6/7 Regression] Wrong code
                   |code at -O2                 |at -O2

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Assuming this is fixed on the trunk now.
>From gcc-bugs-return-578320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:50:46 2017
Return-Path: <gcc-bugs-return-578320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117445 invoked by alias); 11 Oct 2017 10:50: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 115437 invoked by uid 48); 11 Oct 2017 10:50:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81184] [8 regression] gcc.dg/pr21643.c and gcc.dg/tree-ssa/phi-opt-11.c fail starting with r249450
Date: Wed, 11 Oct 2017 10: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: 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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81184-4-seVBCXr4Ug@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81184-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81184-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01380.txt.bz2
Content-length: 212

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81184

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Most likely the test need better guards on -mbranch-cost= and/or
logical_op_short_circuit.
>From gcc-bugs-return-578321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:52:41 2017
Return-Path: <gcc-bugs-return-578321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10957 invoked by alias); 11 Oct 2017 10:52: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 10201 invoked by uid 48); 11 Oct 2017 10:52:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81030] [8 Regression] ICE on valid code at -O1 (only) on x86_64-linux-gnu: verify_flow_info failed
Date: Wed, 11 Oct 2017 10: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: 8.0
X-Bugzilla-Keywords: 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: P1
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 cc resolution
Message-ID: <bug-81030-4-zx8FnxVTGu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81030-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81030-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01381.txt.bz2
Content-length: 505

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81030

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I assume yes.
>From gcc-bugs-return-578322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:53:34 2017
Return-Path: <gcc-bugs-return-578322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13124 invoked by alias); 11 Oct 2017 10: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 12997 invoked by uid 48); 11 Oct 2017 10:53:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80969] [8 Regression] ICE in ix86_expand_prologue, at config/i386/i386.c:14606
Date: Wed, 11 Oct 2017 10: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.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-80969-4-osR4IR6K8S@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80969-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80969-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01382.txt.bz2
Content-length: 585

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80969

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I believe this is fixed (but there are regressions caused by that change,
tracked separately).
>From gcc-bugs-return-578324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:56:11 2017
Return-Path: <gcc-bugs-return-578324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15545 invoked by alias); 11 Oct 2017 10:56: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 14969 invoked by uid 48); 11 Oct 2017 10:56:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/80843] [8 Regression] bootstrap fails in stage1 on powerpc-linux-gnu
Date: Wed, 11 Oct 2017 10: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-80843-4-B3wcrsuZwA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80843-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80843-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01384.txt.bz2
Content-length: 407

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80843

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> ---
Ping, can this be closed now?
>From gcc-bugs-return-578323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:56:07 2017
Return-Path: <gcc-bugs-return-578323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15134 invoked by alias); 11 Oct 2017 10:56:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 15024 invoked by uid 48); 11 Oct 2017 10:56:02 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82516] New: Optimize jmp chain
Date: Wed, 11 Oct 2017 10: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: 8.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-82516-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01383.txt.bz2
Content-length: 893

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82516

            Bug ID: 82516
           Summary: Optimize jmp chain
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoshkka at gmail dot com
  Target Milestone: ---

Following code

unsigned bar();
unsigned foo1(int i) {
    if (i < 0) {
        return bar();
    }
    return i;
}

at -O2 produces the assembly:

foo1(int):
        test    edi, edi
        js      .L4     <== use "js bar()" instead
        mov     eax, edi
        ret
.L4:
        jmp     bar()   <== this could be removed


Generally speaking, any chain of jmps could be optimized to directly jumping to
a target. For example

js A
A: jmp B
B: jmp C

could be optimized to "js C"
>From gcc-bugs-return-578326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:59:36 2017
Return-Path: <gcc-bugs-return-578326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18519 invoked by alias); 11 Oct 2017 10: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 18216 invoked by uid 48); 11 Oct 2017 10:59:32 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug hsa/82416] Miscompilation due to HSA BE expanding all sub-integer types to integer types
Date: Wed, 11 Oct 2017 10:59: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: 8.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-82416-4-8hVdJ3P1Sl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82416-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01386.txt.bz2
Content-length: 427

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82416

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 10:59:33 2017
Return-Path: <gcc-bugs-return-578325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18257 invoked by alias); 11 Oct 2017 10:59: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 18156 invoked by uid 48); 11 Oct 2017 10:59:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/80609] [8 Regression] crash_signal in reset_inline_summary on ia64 bootstrap
Date: Wed, 11 Oct 2017 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.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-80609-4-pInEt27XaN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80609-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01385.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80609

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> ---
Fixed?
>From gcc-bugs-return-578327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 11:00:38 2017
Return-Path: <gcc-bugs-return-578327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20416 invoked by alias); 11 Oct 2017 11:00: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 20258 invoked by uid 48); 11 Oct 2017 11:00:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/80491] [6/7 Regression] Compiler regression for long-add case.
Date: Wed, 11 Oct 2017 11:00: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.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-80491-4-4QFqML6mlE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80491-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01387.txt.bz2
Content-length: 527

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[6/7/8 Regression] Compiler |[6/7 Regression] Compiler
                   |regression for long-add     |regression for long-add
                   |case.                       |case.

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk.
>From gcc-bugs-return-578328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 11:19:02 2017
Return-Path: <gcc-bugs-return-578328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11861 invoked by alias); 11 Oct 2017 11: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 8533 invoked by uid 48); 11 Oct 2017 11:18:57 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/80843] [8 Regression] bootstrap fails in stage1 on powerpc-linux-gnu
Date: Wed, 11 Oct 2017 11:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko 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: bug_status resolution
Message-ID: <bug-80843-4-UMsvZ6n6Rd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80843-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80843-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01388.txt.bz2
Content-length: 420

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80843

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Matthias Klose <doko at gcc dot gnu.org> ---
yes
>From gcc-bugs-return-578329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 11:23:25 2017
Return-Path: <gcc-bugs-return-578329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16886 invoked by alias); 11 Oct 2017 11: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 16732 invoked by uid 48); 11 Oct 2017 11:23:20 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82508] Possibly false positive implicit-fallthrough warning
Date: Wed, 11 Oct 2017 11: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: unknown
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-82508-4-L0S7oNPfRD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82508-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82508-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01389.txt.bz2
Content-length: 545

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82508

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Adding the attribute is the way to go here.
>From gcc-bugs-return-578330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 11:44:06 2017
Return-Path: <gcc-bugs-return-578330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128829 invoked by alias); 11 Oct 2017 11: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 128725 invoked by uid 48); 11 Oct 2017 11:44:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6/7/8 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Wed, 11 Oct 2017 11: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: 5.4.1
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone short_desc
Message-ID: <bug-81924-4-W6l1aRcgaT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01390.txt.bz2
Content-length: 2074

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|5.5                         |6.5
            Summary|[5 Regression] ICE: in      |[6/7/8 Regression] ICE: in
                   |simplify_binary_operation_1 |simplify_binary_operation_1
                   |, at simplify-rtx.c:3678 on |, at simplify-rtx.c:3678 on
                   |powerpc64le-linux-gnu       |powerpc64le-linux-gnu

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
We don't ICE anymore on this starting with r229173, but that IMHO just makes
the bug latent rather than being a real fix.
The bug I see is that the powerpc backend splits
(insn 75 74 76 2 (set (mem/c:V1TI (reg:DI 8 8) [0  S16 A128])
        (reg:V1TI 10 10)) 662 {*vsx_movv1ti}
     (nil))
(insn 76 75 15 2 (set (reg:V1TI 77 0)
        (mem/c:V1TI (reg:DI 8 8) [0  S16 A128])) 634 {*vsx_le_perm_load_v1ti}
     (nil))
into:
(insn 111 74 112 2 (set (mem/c:DI (reg:DI 8 8) [0  S8 A128])
        (reg:DI 10 10)) 417 {*movdi_internal64}
     (nil))
(insn 112 111 113 2 (set (mem/c:DI (plus:DI (reg:DI 8 8)
                (const_int 8 [0x8])) [0  S8 A64])
        (reg:DI 11 11 [+8 ])) 417 {*movdi_internal64}
     (nil))
(insn 113 112 114 2 (set (reg:V1TI 77 0)
        (vec_select:V1TI (mem/c:V1TI (reg:DI 8 8) [0  S16 A128])
            (parallel [
                    (const_int 1 [0x1])
                    (const_int 0 [0])
                ]))) 797 {*vsx_lxvd2x2_le_v1ti}
     (nil))
(insn 114 113 15 2 (set (reg:V1TI 77 0)
        (vec_select:V1TI (reg:V1TI 77 0)
            (parallel [
                    (const_int 1 [0x1])
                    (const_int 0 [0])
                ]))) 789 {*vsx_xxpermdi2_le_v1ti}
     (nil))

That is obviously invalid RTL, V1TImode has only one element, so you can't
select part 1 of it, only part 0.
>From gcc-bugs-return-578331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 11:48:59 2017
Return-Path: <gcc-bugs-return-578331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49934 invoked by alias); 11 Oct 2017 11: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 49902 invoked by uid 48); 11 Oct 2017 11:48:54 -0000
From: "yangyibiao at nju dot edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82515] incorrect implicit integer type conversion by arm-linux-gnueabi
Date: Wed, 11 Oct 2017 11: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: 5.4.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yangyibiao at nju dot edu.cn
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-82515-4-XnpzxvdGlz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82515-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82515-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01391.txt.bz2
Content-length: 618

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82515

Yibiao Yang <yangyibiao at nju dot edu.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Yibiao Yang <yangyibiao at nju dot edu.cn> ---
Sorry for the wrong bug report. 

The difference of the outputs was caused by the different size of unsigned long
between ARM and x86.

In ARM, unsigned long is 32bit and in x86 it is 64 bit.
>From gcc-bugs-return-578332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 11:52:53 2017
Return-Path: <gcc-bugs-return-578332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54610 invoked by alias); 11 Oct 2017 11:52: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 54547 invoked by uid 48); 11 Oct 2017 11:52:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Wed, 11 Oct 2017 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: 5.4.1
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-81924-4-nfO4bfe3F9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01392.txt.bz2
Content-length: 703

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[6/7/8 Regression] ICE: in  |[6 Regression] ICE: in
                   |simplify_binary_operation_1 |simplify_binary_operation_1
                   |, at simplify-rtx.c:3678 on |, at simplify-rtx.c:3678 on
                   |powerpc64le-linux-gnu       |powerpc64le-linux-gnu

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, it seems like this has been already fixed in 7+ in r246015.
So it is only latent in GCC 6.x.
>From gcc-bugs-return-578333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:02:58 2017
Return-Path: <gcc-bugs-return-578333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62146 invoked by alias); 11 Oct 2017 12: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 43056 invoked by uid 48); 11 Oct 2017 12:02:45 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82514] [8 Regression] ICE: in operator[], at vec.h:749
Date: Wed, 11 Oct 2017 12: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82514-4-Kl60lqjw6o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82514-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01393.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82514

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
>From gcc-bugs-return-578334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:08:09 2017
Return-Path: <gcc-bugs-return-578334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39692 invoked by alias); 11 Oct 2017 12: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 39589 invoked by uid 48); 11 Oct 2017 12:08:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82499] x86: small stack initial adjustments could use push
Date: Wed, 11 Oct 2017 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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82499-4-GVRDOB4NQa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01394.txt.bz2
Content-length: 603

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82499

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> ---
When the other adjacent macros are prefixed with ix86, shouldn't the new one be
too instead of x86?
Should the testcase also use -fno-stack-protector? I think with
-fstack-protector-all one might get also extra stack space.
>From gcc-bugs-return-578335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:10:16 2017
Return-Path: <gcc-bugs-return-578335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42476 invoked by alias); 11 Oct 2017 12: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 42420 invoked by uid 48); 11 Oct 2017 12:10:12 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82516] Optimize jmp chain
Date: Wed, 11 Oct 2017 12: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: 8.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 component everconfirmed
Message-ID: <bug-82516-4-Hz5aTY1DZv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82516-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01395.txt.bz2
Content-length: 752

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82516

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-11
          Component|target                      |rtl-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think the tail/sibling call isn't represented as actual jump and thus
BB-reorder (who's supposed to "fix" such cases) doesn't grok this case.
>From gcc-bugs-return-578336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:16:03 2017
Return-Path: <gcc-bugs-return-578336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54483 invoked by alias); 11 Oct 2017 12: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 54401 invoked by uid 48); 11 Oct 2017 12:15:58 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82517] New: use-after-scope for a variable with big alignment causes a false positive
Date: Wed, 11 Oct 2017 12: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: 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 cf_gcctarget
Message-ID: <bug-82517-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01396.txt.bz2
Content-length: 3201

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82517

            Bug ID: 82517
           Summary: use-after-scope for a variable with big alignment
                    causes a false positive
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin 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: ---
            Target: aarch64-linux-gnu

Considering a target with MAX_SUPPORTED_STACK_ALIGNMENT being limited, we have:

$ cat bug_1.c 
static int *pp;

void baz() {
  return;
}

void bar(int *p) {
  *p = 1;
}

void foo(int a) {
  if (a == 2) {
lab:
    baz();
    return;
  } 
  if (a > 1) {
    int x __attribute__((aligned(256)));
    pp = &x;
    bar(&x);
    if (!x)
      goto lab;
  }
}

int main(int argc, char **argv) {
  foo(4);
  foo(3);
}

$ gcc bug_1.c  -fsanitize=address && ./a.out 
=================================================================
==6958==ERROR: AddressSanitizer: stack-use-after-scope on address
0xffffcd0fe400 at pc 0x000000400a70 bp 0xffffcd0fe310 sp 0xffffcd0fe328
WRITE of size 4 at 0xffffcd0fe400 thread T0
    #0 0x400a6f in bar (/tmp/a.out+0x400a6f)
    #1 0x400ae3 in foo (/tmp/a.out+0x400ae3)
    #2 0x400b93 in main (/tmp/a.out+0x400b93)
    #3 0xffffacb5182f in __libc_start_main (/lib64/libc.so.6+0x1f82f)
    #4 0x400937  (/tmp/a.out+0x400937)

Address 0xffffcd0fe400 is located in stack of thread T0
SUMMARY: AddressSanitizer: stack-use-after-scope (/tmp/a.out+0x400a6f) in bar
Shadow bytes around the buggy address:
  0x200ff9a1fc30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x200ff9a1fc40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x200ff9a1fc50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x200ff9a1fc60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x200ff9a1fc70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x200ff9a1fc80:[f8]00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x200ff9a1fc90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x200ff9a1fca0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x200ff9a1fcb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x200ff9a1fcc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x200ff9a1fcd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Problem is that we don't add a stack_variable to asan_decl_vec in else branch:

  1119        if (alignb * BITS_PER_UNIT <= MAX_SUPPORTED_STACK_ALIGNMENT)
  1120          {
  1121            base = virtual_stack_vars_rtx;
  1122            if ((asan_sanitize_stack_p ())
...
  1153                data->asan_decl_vec.safe_push (repr_decl);
...
  1172        else
  1173          {
  1174            /* Large alignment is only processed in the last pass.  */
  1175            if (pred)
...
>From gcc-bugs-return-578337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:25:21 2017
Return-Path: <gcc-bugs-return-578337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83960 invoked by alias); 11 Oct 2017 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 79466 invoked by uid 55); 11 Oct 2017 12:25:16 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82484] [8 Regression] ICE in verify_gimple failed w/ -fsanitize­dress
Date: Wed, 11 Oct 2017 12: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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82484-4-OcsFkV86cc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82484-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82484-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01397.txt.bz2
Content-length: 752

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82484

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Oct 11 12:24:44 2017
New Revision: 253637

URL: https://gcc.gnu.org/viewcvs?rev=253637&root=gcc&view=rev
Log:
Do not handled volatile arguments (PR sanitizer/82484).

2017-10-11  Martin Liska  <mliska@suse.cz>

        PR sanitizer/82484
        * sanopt.c (sanitize_rewrite_addressable_params): Do not handle
        volatile arguments.
2017-10-11  Martin Liska  <mliska@suse.cz>

        PR sanitizer/82484
        * gcc.dg/asan/pr82484.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/asan/pr82484.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sanopt.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:28:07 2017
Return-Path: <gcc-bugs-return-578338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120822 invoked by alias); 11 Oct 2017 12: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 113770 invoked by uid 48); 11 Oct 2017 12:28:03 -0000
From: "t.e.knigge at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/57925] discrete_distribution can be improved to O(1) per sampling
Date: Wed, 11 Oct 2017 12: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: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: t.e.knigge 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-57925-4-DAOnR8uwZg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57925-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57925-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01398.txt.bz2
Content-length: 762

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57925

Timon Knigge <t.e.knigge at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.e.knigge at gmail dot com

--- Comment #8 from Timon Knigge <t.e.knigge at gmail dot com> ---
Hi, is this still open? I implemented aforementioned algorithm recently and
found this bug. Since this is unassigned, I could try implementing said
algorithm in std::discrete_distribution, if only because I think the underlying
algorithm is pretty cool (I assume reducing runtime complexity for sampling
from a discrete distribution isn't at the top of your priorities :-) ).
>From gcc-bugs-return-578339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:32:39 2017
Return-Path: <gcc-bugs-return-578339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67710 invoked by alias); 11 Oct 2017 12:32: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 67603 invoked by uid 55); 11 Oct 2017 12:32:30 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82490] Please don't error out on unknown no_sanitize attributes.
Date: Wed, 11 Oct 2017 12: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.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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82490-4-02gnkp5wAq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82490-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01399.txt.bz2
Content-length: 1090

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82490

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Oct 11 12:31:59 2017
New Revision: 253640

URL: https://gcc.gnu.org/viewcvs?rev=253640&root=gcc&view=rev
Log:
Do not error for no_sanitize attributes (PR sanitizer/82490).

2017-10-11  Martin Liska  <mliska@suse.cz>

        PR sanitizer/82490
        * opts.c (parse_no_sanitize_attribute): Do not use error_value
        variable.
        * opts.h (parse_no_sanitize_attribute): Remove last argument.
2017-10-11  Martin Liska  <mliska@suse.cz>

        PR sanitizer/82490
        * c-attribs.c (handle_no_sanitize_attribute): Report directly
        Wattributes warning.
2017-10-11  Martin Liska  <mliska@suse.cz>

        PR sanitizer/82490
        * c-c++-common/ubsan/attrib-5.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/ubsan/attrib-5.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-attribs.c
    trunk/gcc/opts.c
    trunk/gcc/opts.h
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:34:01 2017
Return-Path: <gcc-bugs-return-578340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73062 invoked by alias); 11 Oct 2017 12: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 73011 invoked by uid 48); 11 Oct 2017 12:33:58 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/80914] gcc-go binaries don't run
Date: Wed, 11 Oct 2017 12: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: 7.1.1
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:
Message-ID: <bug-80914-4-H7Wic2XVW3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01400.txt.bz2
Content-length: 1093

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80914

--- Comment #10 from Ian Lance Taylor <ian at airs dot com> ---
I can't recreate the problem.  I did the same commands in
github.com/twstrike/ed448 and they worked for me.

Using `go test -c -gccgoflags -Wl,--compress-debug-sections=zlib` to generate
an executable, and using `readelf -S --wide` to look at the section headers, I
can see that the debug sections are compressed:

  [31] .debug_info       PROGBITS        0000000000000000 1e15d8 012fb5 00   C  
0   0  1
  [32] .debug_abbrev     PROGBITS        0000000000000000 1f458d 00062d 00   C 
0   0  1
  [33] .debug_aranges    PROGBITS        0000000000000000 1f4bc0 0000d9 00   C 
0   0 16
  [34] .debug_line       PROGBITS        0000000000000000 1f4c99 00782b 00   C 
0   0  1
  [35] .debug_str        PROGBITS        0000000000000000 1fc4c4 00626e 01 MSC 
0   0  1
  [36] .debug_ranges     PROGBITS        0000000000000000 202732 000201 00   C 
0   0  1
  [37] .debug_loc        PROGBITS        0000000000000000 202933 000b62 00   C 
0   0  1
>From gcc-bugs-return-578341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:47:28 2017
Return-Path: <gcc-bugs-return-578341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45119 invoked by alias); 11 Oct 2017 12: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 45096 invoked by uid 48); 11 Oct 2017 12:47:22 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82518] New: [8 regression] gfortran.fortran-torture/execute/in-pack.f90 fails on armeb since r252917
Date: Wed, 11 Oct 2017 12: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: 8.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: ---
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-82518-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01401.txt.bz2
Content-length: 745

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82518

            Bug ID: 82518
           Summary: [8 regression]
                    gfortran.fortran-torture/execute/in-pack.f90 fails on
                    armeb since r252917
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

I have noticed that since r252917
FAIL:    gfortran.fortran-torture/execute/in-pack.f90 execution,  -O3 -g 
on armeb-none-linux-gnueabihf
--with-mode arm
--with-cpu cortex-a9
--with-fpu neon-fp16

O0, O1, O2*, -Os still pass.
>From gcc-bugs-return-578342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:48:41 2017
Return-Path: <gcc-bugs-return-578342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57231 invoked by alias); 11 Oct 2017 12: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 57206 invoked by uid 48); 11 Oct 2017 12:48:37 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82518] [8 regression] gfortran.fortran-torture/execute/in-pack.f90 fails on armeb since r252917
Date: Wed, 11 Oct 2017 12: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: 8.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget
Message-ID: <bug-82518-4-dwbhJQKuYY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82518-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82518-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01402.txt.bz2
Content-length: 411

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82518

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |armeb

--- Comment #1 from Christophe Lyon <clyon at gcc dot gnu.org> ---
r252917 was a fix for PR tree-optimization/82220
>From gcc-bugs-return-578343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:56:13 2017
Return-Path: <gcc-bugs-return-578343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80125 invoked by alias); 11 Oct 2017 12:56: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 77745 invoked by uid 48); 11 Oct 2017 12:56:09 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82490] Please don't error out on unknown no_sanitize attributes.
Date: Wed, 11 Oct 2017 12:56: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: diagnostic
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-82490-4-4TQ1tgaDcV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82490-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01403.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82490

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> ---
Fixed.
>From gcc-bugs-return-578344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 12:58:11 2017
Return-Path: <gcc-bugs-return-578344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88105 invoked by alias); 11 Oct 2017 12: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 87637 invoked by uid 48); 11 Oct 2017 12:58:07 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82518] [8 regression] gfortran.fortran-torture/execute/in-pack.f90 fails on armeb since r252917
Date: Wed, 11 Oct 2017 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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone
Message-ID: <bug-82518-4-4l5YIj9mYp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82518-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82518-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01404.txt.bz2
Content-length: 512

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82518

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |8.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
So it was broken before the rev. with -fno-vect-cost-model added I guess.
>From gcc-bugs-return-578345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 13:04:51 2017
Return-Path: <gcc-bugs-return-578345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103149 invoked by alias); 11 Oct 2017 13:04: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 103071 invoked by uid 55); 11 Oct 2017 13:04:38 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82472] [8 Regression] ICE in generate_code_for_partition, at tree-loop-distribution.c:1145
Date: Wed, 11 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82472-4-o2RvOKW7DR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82472-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82472-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01405.txt.bz2
Content-length: 668

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82472

--- Comment #3 from amker at gcc dot gnu.org ---
Author: amker
Date: Wed Oct 11 13:04:05 2017
New Revision: 253641

URL: https://gcc.gnu.org/viewcvs?rev=253641&root=gcc&view=rev
Log:
        PR tree-optimization/82472
        * tree-loop-distribution.c (sort_partitions_by_post_order): Refine
        comment.
        (break_alias_scc_partitions): Update postorder number.

        gcc/testsuite
        * gcc.dg/tree-ssa/pr82472.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr82472.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-loop-distribution.c
>From gcc-bugs-return-578346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 13:06:54 2017
Return-Path: <gcc-bugs-return-578346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108640 invoked by alias); 11 Oct 2017 13: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 108549 invoked by uid 48); 11 Oct 2017 13:06:41 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82514] [8 Regression] ICE: in operator[], at vec.h:749
Date: Wed, 11 Oct 2017 13: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82514-4-cc2sO4pWcK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82514-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01406.txt.bz2
Content-length: 507

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82514

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-11
     Ever confirmed|0                           |1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r251433.
>From gcc-bugs-return-578347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 13:16:42 2017
Return-Path: <gcc-bugs-return-578347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31454 invoked by alias); 11 Oct 2017 13:16: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 31347 invoked by uid 48); 11 Oct 2017 13:16:37 -0000
From: "matz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/80609] [8 Regression] crash_signal in reset_inline_summary on ia64 bootstrap
Date: Wed, 11 Oct 2017 13: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: matz 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: bug_status resolution
Message-ID: <bug-80609-4-0nNWevuARU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80609-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01407.txt.bz2
Content-length: 479

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80609

Michael Matz <matz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Michael Matz <matz at gcc dot gnu.org> ---
At least the spec tester bootstraps again, so I assume that it is.
>From gcc-bugs-return-578348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 14:37:43 2017
Return-Path: <gcc-bugs-return-578348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77309 invoked by alias); 11 Oct 2017 14: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 77243 invoked by uid 48); 11 Oct 2017 14:37:38 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82512] attribute alias warning suppressed (the wrong way)
Date: Wed, 11 Oct 2017 14: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
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-82512-4-sB5lfAR6oB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82512-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82512-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01408.txt.bz2
Content-length: 595

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82512

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
I agree this should be diagnosed.  It's being tracked in bug 82323 for both
attribute ifunc and attribute alias.

*** This bug has been marked as a duplicate of bug 82323 ***
>From gcc-bugs-return-578349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 14:37:48 2017
Return-Path: <gcc-bugs-return-578349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77901 invoked by alias); 11 Oct 2017 14: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 77262 invoked by uid 48); 11 Oct 2017 14:37:40 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82323] circular ifunc attribute on a function definition silently accepted
Date: Wed, 11 Oct 2017 14: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
X-Bugzilla-Keywords: accepts-invalid, 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82323-4-JFGD7nBqwD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82323-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01409.txt.bz2
Content-length: 449

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot de

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
*** Bug 82512 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 14:38:12 2017
Return-Path: <gcc-bugs-return-578350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78895 invoked by alias); 11 Oct 2017 14:38: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 78820 invoked by uid 48); 11 Oct 2017 14:38:08 -0000
From: "chrisj at rtems dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 11 Oct 2017 14: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: 7.2.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chrisj at rtems 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-81797-4-RDXCway2h9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01410.txt.bz2
Content-length: 335

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #20 from Chris Johns <chrisj at rtems dot org> ---
I have been testing the patch attached to RTEMS ticket
https://devel.rtems.org/ticket/3171 and it has built gcc once for ARM and then
it did not build for SPARC plus SPARC build can fail on different header files.
>From gcc-bugs-return-578351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 15:02:56 2017
Return-Path: <gcc-bugs-return-578351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116151 invoked by alias); 11 Oct 2017 15:02: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 116069 invoked by uid 48); 11 Oct 2017 15:02:47 -0000
From: "dmalcolm 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: Wed, 11 Oct 2017 15: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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-82479-4-mFqaX0v9xq@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: 2017-10/txt/msg01411.txt.bz2
Content-length: 629

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #8 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
FWIW, llvm appears to implement this within:
 
https://github.com/llvm-mirror/llvm/blob/master/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

(Matt Godbolt mentioned this in his recent CppCon talk:
  https://youtu.be/bSkpMdDe4g4?t=2408 )
>From gcc-bugs-return-578352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 15:08:41 2017
Return-Path: <gcc-bugs-return-578352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54558 invoked by alias); 11 Oct 2017 15: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 54303 invoked by uid 48); 11 Oct 2017 15:08:31 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Wed, 11 Oct 2017 15:08: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: 6.4.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-3ZbsJTF6GG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01412.txt.bz2
Content-length: 1267

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #12 from Christophe Lyon <clyon at gcc dot gnu.org> ---
I am running the GCC tests under proot + qemu.
proot is similar to chroot but does not require root privileges,
qemu is a well known emulator that enables me to run validations for
arm/aarch64 on x86 hosts.

I use proot to make sure the simulated process only sees the filesystem part it
needs; in particular this is mandatory when simulating armeb (big-endian) to
prevent the test from trying to parse the host's /etc/ld.so.cache and
crashing...

Back to the problem: if I run the testcase using qemu only (no proot), I get:
$ qemu-wrapper.sh ./execute_command_line_3.exe
sh: 1: notthere: not found
sh: 1: notthere: not found
sh: 1: notthere: not found

sh: 1: notthere: not found
sh: 1: notthere: not found
$ echo $?
0

If I use proot, I get:
$ qemu-wrapper.sh ./execute_command_line_3.exe

$ echo $?
0

In both cases, stdout contains 257 white spaces followed by a newline.

So it seems the output is the same. Does the test care about stderr?

When I use proot, command-line execution fails earlier because there is no
/bin/sh, but the return-code of execve is still 127 (command not found), so the
behaviour should still be the same.
>From gcc-bugs-return-578353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 15:28:02 2017
Return-Path: <gcc-bugs-return-578353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111593 invoked by alias); 11 Oct 2017 15:28: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 111490 invoked by uid 48); 11 Oct 2017 15:27:55 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/80914] gcc-go binaries don't run
Date: Wed, 11 Oct 2017 15:28: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.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs dot net
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-80914-4-ry7g61ZquI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01413.txt.bz2
Content-length: 22637

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80914

--- Comment #11 from Steven Noonan <steven at uplinklabs dot net> ---
Weird, I wonder why you can't repro it.

I built with this to get a stack trace (I assume -O<n> and -ggdb work properly
when placed here):

$ go.gcc test -o testbin -gccgoflags '-O0 -ggdb3
-Wl,--compress-debug-sections=zlib'

Added a breakpoint on exit() and this was the call stack:


(gdb) bt
#0  0x00007ffff5a3d4a0 in exit () from /usr/lib/libc.so.6
#1  0x00007ffff7272217 in runtime.startpanic () at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/panic.go:859
#2  0x00007ffff7261785 in runtime.throw (s=...) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/panic.go:806
#3  0x00007ffff6df4181 in runtime_throw (s=s@entry=0x7ffff750cae1 "ranges
offset out of range") at
/build/gcc-multilib-trunk/src/gcc/libgo/runtime/panic.c:13
#4  0x00007ffff6df1cf3 in error_callback (data=data@entry=0x7ffff55cca30,
msg=msg@entry=0x7ffff750cae1 "ranges offset out of range",
errnum=errnum@entry=0) at
/build/gcc-multilib-trunk/src/gcc/libgo/runtime/go-callers.c:154
#5  0x00007ffff7384a98 in add_unit_ranges (addrs=0x7ffff55cbf40,
data=0x7ffff55cca30, error_callback=0x7ffff6df1cc0 <error_callback>,
dwarf_ranges_size=0, dwarf_ranges=0x0, is_bigendian=0, base=0, ranges=640,
u=0x7ffff7f7a920, base_address=0, state=0x7ffff7f9d000) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:1195
#6  find_address_ranges (state=state@entry=0x7ffff7f9d000,
base_address=base_address@entry=0, unit_buf=unit_buf@entry=0x7ffff55cbfa0,
dwarf_str=dwarf_str@entry=0x7ffff7f60000 "uint16",
dwarf_str_size=dwarf_str_size@entry=87720, dwarf_ranges=dwarf_ranges@entry=0x0,
dwarf_ranges_size=0, is_bigendian=0, error_callback=0x7ffff6df1cc0
<error_callback>, data=0x7ffff55cca30, u=0x7ffff7f7a920, addrs=0x7ffff55cbf40)
at /build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:1356
#7  0x00007ffff7387355 in build_address_map (addrs=0x7ffff55cbf40,
data=0x7ffff55cca30, error_callback=0x7ffff6df1cc0 <error_callback>,
is_bigendian=0, dwarf_str_size=87720, dwarf_str=0x7ffff7f60000 "uint16",
dwarf_ranges_size=0, dwarf_ranges=0x0, dwarf_abbrev_size=4564,
dwarf_abbrev=0x7ffff7f76000
"\001\021\001%\016\023\v\003\016\033\016\021\001\022\a\020\027",
dwarf_info_size=152763, dwarf_info=0x7ffff451b000 "\361\026", base_address=0,
state=0x7ffff7f9d000) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:1498
#8  build_dwarf_data (data=0x7ffff55cca30, error_callback=0x7ffff6df1cc0
<error_callback>, is_bigendian=0, dwarf_str_size=87720,
dwarf_str=0x7ffff7f60000 "uint16", dwarf_ranges_size=0, dwarf_ranges=0x0,
dwarf_abbrev_size=4564, dwarf_abbrev=0x7ffff7f76000
"\001\021\001%\016\023\v\003\016\033\016\021\001\022\a\020\027",
dwarf_line_size=0, dwarf_line=0x0, dwarf_info_size=152763,
dwarf_info=0x7ffff451b000 "\361\026", base_address=0, state=0x7ffff7f9d000) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:2935
#9  backtrace_dwarf_add (state=state@entry=0x7ffff7f9d000,
base_address=base_address@entry=0, dwarf_info=0x7ffff451b000 "\361\026",
dwarf_info_size=152763, dwarf_line=0x0, dwarf_line_size=0,
dwarf_abbrev=0x7ffff7f76000
"\001\021\001%\016\023\v\003\016\033\016\021\001\022\a\020\027",
dwarf_abbrev_size=4564, dwarf_ranges=0x0, dwarf_ranges_size=0,
dwarf_str=0x7ffff7f60000 "uint16", dwarf_str_size=87720, is_bigendian=0,
error_callback=0x7ffff6df1cc0 <error_callback>, data=0x7ffff55cca30,
fileline_fn=0x7ffff55cc598) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:2995
#10 0x00007ffff738ab49 in elf_add () at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/elf.c:3027
#11 0x00007ffff738aff2 in backtrace_initialize
(state=state@entry=0x7ffff7f9d000, filename=filename@entry=0x7fffffffce44
"/home/steven/Development/gocode/src/github.com/twstrike/ed448/testbin",
descriptor=3, error_callback=error_callback@entry=0x7ffff6df1cc0
<error_callback>, data=data@entry=0x7ffff55cca30,
fileline_fn=fileline_fn@entry=0x7ffff55cc648) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/elf.c:3152
#12 0x00007ffff73878d7 in fileline_initialize
(state=state@entry=0x7ffff7f9d000,
error_callback=error_callback@entry=0x7ffff6df1cc0 <error_callback>,
data=data@entry=0x7ffff55cca30) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/fileline.c:143
#13 0x00007ffff7387a02 in backtrace_pcinfo (state=0x7ffff7f9d000,
pc=140737335205254, callback=0x7ffff6df1a40 <callback>,
error_callback=0x7ffff6df1cc0 <error_callback>, data=0x7ffff55cca30) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/fileline.c:177
#14 0x00007ffff7387fb7 in unwind (context=<optimized out>,
vdata=0x7ffff55cc9e0) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/backtrace.c:91
#15 0x00007ffff5dcd349 in _Unwind_Backtrace (trace=trace@entry=0x7ffff7387f10
<unwind>, trace_argument=trace_argument@entry=0x7ffff55cc9e0) at
/build/gcc-multilib-trunk/src/gcc/libgcc/unwind.inc:295
#16 0x00007ffff738804c in backtrace_full (state=0x7ffff7f9d000,
skip=skip@entry=0, callback=callback@entry=0x7ffff6df1a40 <callback>,
error_callback=error_callback@entry=0x7ffff6df1cc0 <error_callback>,
data=data@entry=0x7ffff55cca30) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/backtrace.c:127
#17 0x00007ffff6df1d87 in runtime_callers (skip=<optimized out>,
locbuf=locbuf@entry=0x7ffff55cca60, m=m@entry=100,
keep_thunks=keep_thunks@entry=false) at
/build/gcc-multilib-trunk/src/gcc/libgo/runtime/go-callers.c:184
#18 0x00007ffff7260ef6 in runtime.traceback (skip=skip@entry=0) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/traceback_gccgo.go:64
#19 0x00007ffff72615c4 in runtime.dopanic (unused=0) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/panic.go:891
#20 0x00007ffff72721da in runtime.startpanic () at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/panic.go:851
#21 0x00007ffff7261785 in runtime.throw (s=...) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/panic.go:806
#22 0x00007ffff6df4181 in runtime_throw (s=s@entry=0x7ffff750cae1 "ranges
offset out of range") at
/build/gcc-multilib-trunk/src/gcc/libgo/runtime/panic.c:13
#23 0x00007ffff6df1cf3 in error_callback (data=data@entry=0x7ffff55ceaf0,
msg=msg@entry=0x7ffff750cae1 "ranges offset out of range",
errnum=errnum@entry=0) at
/build/gcc-multilib-trunk/src/gcc/libgo/runtime/go-callers.c:154
#24 0x00007ffff7384a98 in add_unit_ranges (addrs=0x7ffff55ce000,
data=0x7ffff55ceaf0, error_callback=0x7ffff6df1cc0 <error_callback>,
dwarf_ranges_size=0, dwarf_ranges=0x0, is_bigendian=0, base=0, ranges=640,
u=0x7ffff7f9b920, base_address=0, state=0x7ffff7f9d000) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:1195
#25 find_address_ranges (state=state@entry=0x7ffff7f9d000,
base_address=base_address@entry=0, unit_buf=unit_buf@entry=0x7ffff55ce060,
dwarf_str=dwarf_str@entry=0x7ffff45b8000 "uint16",
dwarf_str_size=dwarf_str_size@entry=87720, dwarf_ranges=dwarf_ranges@entry=0x0,
dwarf_ranges_size=0, is_bigendian=0, error_callback=0x7ffff6df1cc0
<error_callback>, data=0x7ffff55ceaf0, u=0x7ffff7f9b920, addrs=0x7ffff55ce000)
at /build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:1356
#26 0x00007ffff7387355 in build_address_map (addrs=0x7ffff55ce000,
data=0x7ffff55ceaf0, error_callback=0x7ffff6df1cc0 <error_callback>,
is_bigendian=0, dwarf_str_size=87720, dwarf_str=0x7ffff45b8000 "uint16",
dwarf_ranges_size=0, dwarf_ranges=0x0, dwarf_abbrev_size=4564,
dwarf_abbrev=0x7ffff7f57000
"\001\021\001%\016\023\v\003\016\033\016\021\001\022\a\020\027",
dwarf_info_size=152763, dwarf_info=0x7ffff7e7a000 "\361\026", base_address=0,
state=0x7ffff7f9d000) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:1498
#27 build_dwarf_data (data=0x7ffff55ceaf0, error_callback=0x7ffff6df1cc0
<error_callback>, is_bigendian=0, dwarf_str_size=87720,
dwarf_str=0x7ffff45b8000 "uint16", dwarf_ranges_size=0, dwarf_ranges=0x0,
dwarf_abbrev_size=4564, dwarf_abbrev=0x7ffff7f57000
"\001\021\001%\016\023\v\003\016\033\016\021\001\022\a\020\027",
dwarf_line_size=0, dwarf_line=0x0, dwarf_info_size=152763,
dwarf_info=0x7ffff7e7a000 "\361\026", base_address=0, state=0x7ffff7f9d000) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:2935
#28 backtrace_dwarf_add (state=state@entry=0x7ffff7f9d000,
base_address=base_address@entry=0, dwarf_info=0x7ffff7e7a000 "\361\026",
dwarf_info_size=152763, dwarf_line=0x0, dwarf_line_size=0,
dwarf_abbrev=0x7ffff7f57000
"\001\021\001%\016\023\v\003\016\033\016\021\001\022\a\020\027",
dwarf_abbrev_size=4564, dwarf_ranges=0x0, dwarf_ranges_size=0,
dwarf_str=0x7ffff45b8000 "uint16", dwarf_str_size=87720, is_bigendian=0,
error_callback=0x7ffff6df1cc0 <error_callback>, data=0x7ffff55ceaf0,
fileline_fn=0x7ffff55ce658) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:2995
#29 0x00007ffff738ab49 in elf_add () at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/elf.c:3027
#30 0x00007ffff738aff2 in backtrace_initialize
(state=state@entry=0x7ffff7f9d000, filename=filename@entry=0x7fffffffce44
"/home/steven/Development/gocode/src/github.com/twstrike/ed448/testbin",
descriptor=3, error_callback=error_callback@entry=0x7ffff6df1cc0
<error_callback>, data=data@entry=0x7ffff55ceaf0,
fileline_fn=fileline_fn@entry=0x7ffff55ce708) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/elf.c:3152
#31 0x00007ffff73878d7 in fileline_initialize
(state=state@entry=0x7ffff7f9d000,
error_callback=error_callback@entry=0x7ffff6df1cc0 <error_callback>,
data=data@entry=0x7ffff55ceaf0) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/fileline.c:143
#32 0x00007ffff7387a02 in backtrace_pcinfo (state=0x7ffff7f9d000,
pc=140737335205254, callback=0x7ffff6df1a40 <callback>,
error_callback=0x7ffff6df1cc0 <error_callback>, data=0x7ffff55ceaf0) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/fileline.c:177
#33 0x00007ffff7387fb7 in unwind (context=<optimized out>,
vdata=0x7ffff55ceaa0) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/backtrace.c:91
#34 0x00007ffff5dcd349 in _Unwind_Backtrace (trace=trace@entry=0x7ffff7387f10
<unwind>, trace_argument=trace_argument@entry=0x7ffff55ceaa0) at
/build/gcc-multilib-trunk/src/gcc/libgcc/unwind.inc:295
#35 0x00007ffff738804c in backtrace_full (state=0x7ffff7f9d000,
skip=skip@entry=0, callback=callback@entry=0x7ffff6df1a40 <callback>,
error_callback=error_callback@entry=0x7ffff6df1cc0 <error_callback>,
data=data@entry=0x7ffff55ceaf0) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/backtrace.c:127
#36 0x00007ffff6df1d87 in runtime_callers (skip=<optimized out>,
locbuf=locbuf@entry=0x7ffff55ceb20, m=m@entry=100,
keep_thunks=keep_thunks@entry=false) at
/build/gcc-multilib-trunk/src/gcc/libgo/runtime/go-callers.c:184
#37 0x00007ffff7260ef6 in runtime.traceback (skip=skip@entry=0) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/traceback_gccgo.go:64
#38 0x00007ffff72615c4 in runtime.dopanic (unused=0) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/panic.go:891
#39 0x00007ffff726178a in runtime.throw (s=...) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/panic.go:807
#40 0x00007ffff6df4181 in runtime_throw (s=s@entry=0x7ffff750cae1 "ranges
offset out of range") at
/build/gcc-multilib-trunk/src/gcc/libgo/runtime/panic.c:13
#41 0x00007ffff6df1cf3 in error_callback (data=data@entry=0x7ffff55d0b70,
msg=msg@entry=0x7ffff750cae1 "ranges offset out of range",
errnum=errnum@entry=0) at
/build/gcc-multilib-trunk/src/gcc/libgo/runtime/go-callers.c:154
#42 0x00007ffff7384a98 in add_unit_ranges (addrs=0x7ffff55d0080,
data=0x7ffff55d0b70, error_callback=0x7ffff6df1cc0 <error_callback>,
dwarf_ranges_size=0, dwarf_ranges=0x0, is_bigendian=0, base=0, ranges=640,
u=0x7ffff7f9c920, base_address=0, state=0x7ffff7f9d000) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:1195
#43 find_address_ranges (state=state@entry=0x7ffff7f9d000,
base_address=base_address@entry=0, unit_buf=unit_buf@entry=0x7ffff55d00e0,
dwarf_str=dwarf_str@entry=0x7ffff7ea0000 "uint16",
dwarf_str_size=dwarf_str_size@entry=87720, dwarf_ranges=dwarf_ranges@entry=0x0,
dwarf_ranges_size=0, is_bigendian=0, error_callback=0x7ffff6df1cc0
<error_callback>, data=0x7ffff55d0b70, u=0x7ffff7f9c920, addrs=0x7ffff55d0080)
at /build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:1356
#44 0x00007ffff7387355 in build_address_map (addrs=0x7ffff55d0080,
data=0x7ffff55d0b70, error_callback=0x7ffff6df1cc0 <error_callback>,
is_bigendian=0, dwarf_str_size=87720, dwarf_str=0x7ffff7ea0000 "uint16",
dwarf_ranges_size=0, dwarf_ranges=0x0, dwarf_abbrev_size=4564,
dwarf_abbrev=0x7ffff7f5b000
"\001\021\001%\016\023\v\003\016\033\016\021\001\022\a\020\027",
dwarf_info_size=152763, dwarf_info=0x7ffff7edc000 "\361\026", base_address=0,
state=0x7ffff7f9d000) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:1498
#45 build_dwarf_data (data=0x7ffff55d0b70, error_callback=0x7ffff6df1cc0
<error_callback>, is_bigendian=0, dwarf_str_size=87720,
dwarf_str=0x7ffff7ea0000 "uint16", dwarf_ranges_size=0, dwarf_ranges=0x0,
dwarf_abbrev_size=4564, dwarf_abbrev=0x7ffff7f5b000
"\001\021\001%\016\023\v\003\016\033\016\021\001\022\a\020\027",
dwarf_line_size=0, dwarf_line=0x0, dwarf_info_size=152763,
dwarf_info=0x7ffff7edc000 "\361\026", base_address=0, state=0x7ffff7f9d000) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:2935
#46 backtrace_dwarf_add (state=state@entry=0x7ffff7f9d000,
base_address=base_address@entry=0, dwarf_info=0x7ffff7edc000 "\361\026",
dwarf_info_size=152763, dwarf_line=0x0, dwarf_line_size=0,
dwarf_abbrev=0x7ffff7f5b000
"\001\021\001%\016\023\v\003\016\033\016\021\001\022\a\020\027",
dwarf_abbrev_size=4564, dwarf_ranges=0x0, dwarf_ranges_size=0,
dwarf_str=0x7ffff7ea0000 "uint16", dwarf_str_size=87720, is_bigendian=0,
error_callback=0x7ffff6df1cc0 <error_callback>, data=0x7ffff55d0b70,
fileline_fn=0x7ffff55d06d8) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/dwarf.c:2995
#47 0x00007ffff738ab49 in elf_add () at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/elf.c:3027
#48 0x00007ffff738aff2 in backtrace_initialize
(state=state@entry=0x7ffff7f9d000, filename=filename@entry=0x7fffffffce44
"/home/steven/Development/gocode/src/github.com/twstrike/ed448/testbin",
descriptor=3, error_callback=error_callback@entry=0x7ffff6df1cc0
<error_callback>, data=data@entry=0x7ffff55d0b70,
fileline_fn=fileline_fn@entry=0x7ffff55d0788) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/elf.c:3152
#49 0x00007ffff73878d7 in fileline_initialize
(state=state@entry=0x7ffff7f9d000,
error_callback=error_callback@entry=0x7ffff6df1cc0 <error_callback>,
data=data@entry=0x7ffff55d0b70) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/fileline.c:143
#50 0x00007ffff7387a02 in backtrace_pcinfo (state=0x7ffff7f9d000,
pc=140737335205254, callback=0x7ffff6df1a40 <callback>,
error_callback=0x7ffff6df1cc0 <error_callback>, data=0x7ffff55d0b70) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/fileline.c:177
#51 0x00007ffff7387fb7 in unwind (context=<optimized out>,
vdata=0x7ffff55d0b20) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/backtrace.c:91
#52 0x00007ffff5dcd349 in _Unwind_Backtrace (trace=trace@entry=0x7ffff7387f10
<unwind>, trace_argument=trace_argument@entry=0x7ffff55d0b20) at
/build/gcc-multilib-trunk/src/gcc/libgcc/unwind.inc:295
#53 0x00007ffff738804c in backtrace_full (state=0x7ffff7f9d000,
skip=skip@entry=0, callback=callback@entry=0x7ffff6df1a40 <callback>,
error_callback=error_callback@entry=0x7ffff6df1cc0 <error_callback>,
data=data@entry=0x7ffff55d0b70) at
/build/gcc-multilib-trunk/src/gcc/libbacktrace/backtrace.c:127
#54 0x00007ffff6df1d87 in runtime_callers (skip=skip@entry=1, locbuf=<optimized
out>, m=<optimized out>, keep_thunks=keep_thunks@entry=false) at
/build/gcc-multilib-trunk/src/gcc/libgo/runtime/go-callers.c:184
#55 0x00007ffff725cd71 in runtime.callers (skip=skip@entry=1, locbuf=...) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/traceback_gccgo.go:55
#56 0x00007ffff726952c in runtime.mcommoninit (mp=mp@entry=0xc420028800) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:515
#57 0x00007ffff727fa19 in runtime.allocm (_p_=_p_@entry=0xc420023000,
fn=<optimized out>, allocatestack=allocatestack@entry=false) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:1300
#58 0x00007ffff727fb67 in runtime.newm (fn=<optimized out>,
_p_=_p_@entry=0xc420023000) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:1582
#59 0x00007ffff7284f16 in runtime.startm (_p_=0xc420023000, _p_@entry=0x0,
spinning=spinning@entry=true) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:1657
#60 0x00007ffff72853d2 in runtime.wakep () at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:1738
#61 0x00007ffff728862f in __go_go (fn=fn@entry=140737340058896,
arg=arg@entry=0x0) at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:2831
#62 0x00007ffff729a39c in runtime.$init3 () at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:249
#63 runtime..import () at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:247
#64 0x000000000040e9f1 in main.init () at
/tmp/go-build/github.com/twstrike/ed448/_test/_testmain.go:2
#65 0x00007ffff727956e in runtime.main () at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:193
#66 0x00007ffff7284107 in runtime.kickoff () at
/build/gcc-multilib-trunk/src/gcc/libgo/go/runtime/proc.go:1122
#67 0x00007ffff5a50080 in ?? () from /usr/lib/libc.so.6
#68 0x0000000000000000 in ?? ()



Does that help explain anything about it? Also, here's a readelf -S on it:

$ readelf -S --wide ./testbin
There are 41 section headers, starting at offset 0x1f93e0:

Section Headers:
  [Nr] Name              Type            Address          Off    Size   ES Flg
Lk Inf Al
  [ 0]                   NULL            0000000000000000 000000 000000 00     
0   0  0
  [ 1] .interp           PROGBITS        0000000000400270 000270 00001c 00   A 
0   0  1
  [ 2] .note.ABI-tag     NOTE            000000000040028c 00028c 000020 00   A 
0   0  4
  [ 3] .note.gnu.build-id NOTE            00000000004002ac 0002ac 000024 00   A
 0   0  4
  [ 4] .gnu.hash         GNU_HASH        00000000004002d0 0002d0 000a60 00   A 
5   0  8
  [ 5] .dynsym           DYNSYM          0000000000400d30 000d30 003b10 18   A 
6   1  8
  [ 6] .dynstr           STRTAB          0000000000404840 004840 004e5b 00   A 
0   0  1
  [ 7] .gnu.version      VERSYM          000000000040969c 00969c 0004ec 02   A 
5   0  2
  [ 8] .gnu.version_r    VERNEED         0000000000409b88 009b88 000070 00   A 
6   3  8
  [ 9] .rela.dyn         RELA            0000000000409bf8 009bf8 000f78 18   A 
5   0  8
  [10] .rela.plt         RELA            000000000040ab70 00ab70 001cc8 18  AI 
5  26  8
  [11] .init             PROGBITS        000000000040c838 00c838 000017 00  AX 
0   0  4
  [12] .plt              PROGBITS        000000000040c850 00c850 001340 10  AX 
0   0 16
  [13] .plt.got          PROGBITS        000000000040db90 00db90 000008 08  AX 
0   0  8
  [14] .text             PROGBITS        000000000040dba0 00dba0 0fce82 00  AX 
0   0 16
  [15] .fini             PROGBITS        000000000050aa24 10aa24 000009 00  AX 
0   0  4
  [16] .rodata           PROGBITS        000000000050aa40 10aa40 037487 00   A 
0   0 32
  [17] .eh_frame_hdr     PROGBITS        0000000000541ec8 141ec8 002004 00   A 
0   0  4
  [18] .eh_frame         PROGBITS        0000000000543ed0 143ed0 009698 00   A 
0   0  8
  [19] .gcc_except_table PROGBITS        000000000054d568 14d568 0003fd 00   A 
0   0  4
  [20] .tbss             NOBITS          000000000074ddc0 14ddc0 0000c8 00 WAT 
0   0  8
  [21] .init_array       INIT_ARRAY      000000000074ddc0 14ddc0 000018 08  WA 
0   0  8
  [22] .fini_array       FINI_ARRAY      000000000074ddd8 14ddd8 000008 08  WA 
0   0  8
  [23] .data.rel.ro      PROGBITS        000000000074dde0 14dde0 000ec0 00  WA 
0   0 32
  [24] .dynamic          DYNAMIC         000000000074eca0 14eca0 000210 10  WA 
6   0  8
  [25] .got              PROGBITS        000000000074eeb0 14eeb0 000150 08  WA 
0   0  8
  [26] .got.plt          PROGBITS        000000000074f000 14f000 0009b0 08  WA 
0   0  8
  [27] .data             PROGBITS        000000000074f9c0 14f9c0 023338 00  WA 
0   0 32
  [28] .bss              NOBITS          0000000000772d00 172cf8 001d20 00  WA 
0   0 32
  [29] .comment          PROGBITS        0000000000000000 172cf8 000043 01  MS 
0   0  1
  [30] .go_export        PROGBITS        0000000000000000 172d3b 01bb48 00     
0   0  1
  [31] .debug_aranges    PROGBITS        0000000000000000 1deece 00009f 00   C 
0   0  1
  [32] .debug_info       PROGBITS        0000000000000000 1def6d 01017f 00   C 
0   0  1
  [33] .debug_abbrev     PROGBITS        0000000000000000 1ef0ec 0003b2 00   C 
0   0  1
  [34] .debug_line       PROGBITS        0000000000000000 1ef49e 005f61 00   C 
0   0  1
  [35] .debug_str        PROGBITS        0000000000000000 1f53ff 003d1a 01 MSC 
0   0  1
  [36] .debug_loc        PROGBITS        0000000000000000 1f9119 000054 00   C 
0   0  1
  [37] .debug_ranges     PROGBITS        0000000000000000 1f916d 0000e1 00   C 
0   0  1
  [38] .symtab           SYMTAB          0000000000000000 18e888 026988 18    
39 4224  8
  [39] .strtab           STRTAB          0000000000000000 1b5210 029cbe 00     
0   0  1
  [40] .shstrtab         STRTAB          0000000000000000 1f924e 000190 00     
0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  L (link order), O (extra OS processing required), G (group), T (TLS),
  C (compressed), x (unknown), o (OS specific), E (exclude),
  l (large), p (processor specific)
>From gcc-bugs-return-578354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 15:30:36 2017
Return-Path: <gcc-bugs-return-578354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49052 invoked by alias); 11 Oct 2017 15:30: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 46039 invoked by uid 48); 11 Oct 2017 15:30:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
Date: Wed, 11 Oct 2017 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: 7.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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82159-4-JnutfY0d10@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01414.txt.bz2
Content-length: 263

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42340
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42340&action=edit
gcc8-pr82159.patch

Untested fix for that.
>From gcc-bugs-return-578355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 15:40:17 2017
Return-Path: <gcc-bugs-return-578355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100550 invoked by alias); 11 Oct 2017 15:40: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 88869 invoked by uid 48); 11 Oct 2017 15:40:09 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros
Date: Wed, 11 Oct 2017 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: 8.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 cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-81404-4-Dw8h4HnOAr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01415.txt.bz2
Content-length: 1142

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-11
                 CC|                            |dmalcolm at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Thanks for filing this.

Confirmed.

Presumably we should print something like:

a.c:1:9: error: ‘INT_MAX’ undeclared here (not in a function)
 int i = INT_MAX;
         ^~~~~~~
a.c:1:9: note: 'INT_MAX' is defined in header '<limits.h>'; did you forget to
'#include <limits.h>'?
+#include <limits.h>

(note the fix-it hint)

FWIW this looks close to being covered by this (not-yet-in-trunk) patch:
  https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00438.html

(Presumably we'd want it for the C++ FE also; presumably recommending <climits>
rather than <limits.h> there)
>From gcc-bugs-return-578356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 15:41:24 2017
Return-Path: <gcc-bugs-return-578356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45613 invoked by alias); 11 Oct 2017 15: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 43473 invoked by uid 48); 11 Oct 2017 15:41:19 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/80914] gcc-go binaries don't run
Date: Wed, 11 Oct 2017 15: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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs dot net
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-80914-4-MJSc9x4zuy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80914-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01416.txt.bz2
Content-length: 936

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80914

--- Comment #12 from Steven Noonan <steven at uplinklabs dot net> ---
Oh this is kind of interesting. It runs fine at '-O1 -ggdb3'

$ go.gcc test -o testbin -gccgoflags '-O1 -ggdb3
-Wl,--compress-debug-sections=zlib'
OK: 136 passed
PASS
ok      github.com/twstrike/ed448       0.289s

And at '-O0 -g0':

$ go.gcc test -o testbin1 -gccgoflags '-O0 -g0
-Wl,--compress-debug-sections=zlib'
OK: 136 passed
PASS
ok      github.com/twstrike/ed448       0.496s



But not at '-O0 -ggdb3':

$ go.gcc test -o testbin -gccgoflags '-O0 -ggdb3
-Wl,--compress-debug-sections=zlib'
fatal error: ranges offset out of range

goroutine 1 [running, locked to thread]:
fatal error: ranges offset out of range
panic during panic

goroutine 1 [running, locked to thread]:
fatal error: ranges offset out of range
stack trace unavailable
exit status 4
FAIL    github.com/twstrike/ed448       0.054s
>From gcc-bugs-return-578357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 15:45:50 2017
Return-Path: <gcc-bugs-return-578357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36025 invoked by alias); 11 Oct 2017 15:45: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 34087 invoked by uid 48); 11 Oct 2017 15:45:46 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros
Date: Wed, 11 Oct 2017 15: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81404-4-jjO7C5tZ79@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01417.txt.bz2
Content-length: 189

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
Probably all reserved identifiers should be discuraged for fixit hints.
>From gcc-bugs-return-578358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 16:23:02 2017
Return-Path: <gcc-bugs-return-578358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115972 invoked by alias); 11 Oct 2017 16:23: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 113269 invoked by uid 48); 11 Oct 2017 16:22:56 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82435] new __attribute__((alias)) warning gets in the way
Date: Wed, 11 Oct 2017 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.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-82435-4-W81mlsZeLv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82435-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01418.txt.bz2
Content-length: 594

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82435

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 #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
I've added a new option (-Wattribute-alias) in the latest update to my patch
for bug 82301:
https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00678.html
>From gcc-bugs-return-578359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 16:48:45 2017
Return-Path: <gcc-bugs-return-578359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58967 invoked by alias); 11 Oct 2017 16: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 50393 invoked by uid 48); 11 Oct 2017 16:48:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Wed, 11 Oct 2017 16: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.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82498-4-piXj0QV8Wf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01419.txt.bz2
Content-length: 961

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

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 pattern is written for what people normally do, i.e. use int/unsigned int
shift count rather than unsigned char.

BTW, in any case, this isn't portable rotate that you get efficient code for
anyway, you get much better code if you don't special case the 0:
#include <limits.h>
#include <stdint.h>

uint32_t
baz (uint32_t x, unsigned y)
{
  y %= CHAR_BIT * sizeof (uint32_t);
  return (x << y) | (x >> (-y % (CHAR_BIT * sizeof (uint32_t))));
}

is what the compiler will pattern match and generate optimal code for, but if
it doesn't is still efficient and without branches.
>From gcc-bugs-return-578362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 16:52:47 2017
Return-Path: <gcc-bugs-return-578362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68740 invoked by alias); 11 Oct 2017 16:52: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 66675 invoked by uid 48); 11 Oct 2017 16:52:43 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69576] tailcall could use a conditional branch on x86, but doesn't
Date: Wed, 11 Oct 2017 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: 5.3.0
X-Bugzilla-Keywords: missed-optimization
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_status cf_reconfirmed_on everconfirmed bug_severity
Message-ID: <bug-69576-4-6tPYNqppy4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69576-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69576-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01422.txt.bz2
Content-length: 536

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69576

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-11
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.
>From gcc-bugs-return-578360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 16:52:23 2017
Return-Path: <gcc-bugs-return-578360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59318 invoked by alias); 11 Oct 2017 16:52: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 57240 invoked by uid 48); 11 Oct 2017 16:52:19 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82516] Optimize jmp chain
Date: Wed, 11 Oct 2017 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: 8.0
X-Bugzilla-Keywords: missed-optimization
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-82516-4-ZDc3ai9VNk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82516-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01420.txt.bz2
Content-length: 504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82516

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 69576.

*** This bug has been marked as a duplicate of bug 69576 ***
>From gcc-bugs-return-578361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 16:52:24 2017
Return-Path: <gcc-bugs-return-578361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59506 invoked by alias); 11 Oct 2017 16:52: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 57411 invoked by uid 48); 11 Oct 2017 16:52:19 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69576] tailcall could use a conditional branch on x86, but doesn't
Date: Wed, 11 Oct 2017 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: 5.3.0
X-Bugzilla-Keywords: missed-optimization
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-69576-4-uPGpCNBMvF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69576-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69576-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01421.txt.bz2
Content-length: 445

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69576

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |antoshkka at gmail dot com

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 82516 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 16:53:01 2017
Return-Path: <gcc-bugs-return-578363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74459 invoked by alias); 11 Oct 2017 16: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 72604 invoked by uid 48); 11 Oct 2017 16:52:57 -0000
From: "ajax at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82520] New: Missing warning when stack addresses escape the current scope
Date: Wed, 11 Oct 2017 16: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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ajax 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 target_milestone
Message-ID: <bug-82520-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01423.txt.bz2
Content-length: 898

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82520

            Bug ID: 82520
           Summary: Missing warning when stack addresses escape the
                    current scope
           Product: gcc
           Version: 7.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ajax at redhat dot com
  Target Milestone: ---

Testcase:

-----
#include <malloc.h>

struct foo { void *v; };

struct foo *bar(void)
{
    int a[10];
    struct foo *ret = malloc(sizeof(struct foo));

    ret->v = &a;

    return ret;
}
-----

The address of 'a' is just somewhere on the stack. There might be rare cases
where you'd want to do this, but usually this would be a bug.

Bug 63181 is perhaps a C++ variation of the same kind of problem, but clang
doesn't warn for this one.
>From gcc-bugs-return-578364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 16:53:11 2017
Return-Path: <gcc-bugs-return-578364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77849 invoked by alias); 11 Oct 2017 16:53: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 76207 invoked by uid 48); 11 Oct 2017 16:53:07 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82481] dangling reference in mutex:693
Date: Wed, 11 Oct 2017 16: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: 7.0.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 resolution assigned_to everconfirmed
Message-ID: <bug-82481-4-99afWl4O2q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01424.txt.bz2
Content-length: 1110

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82481

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |ASSIGNED
   Last reconfirmed|                            |2017-10-11
         Resolution|INVALID                     |---
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This would solve it:

--- a/libstdc++-v3/include/std/mutex
+++ b/libstdc++-v3/include/std/mutex
@@ -688,6 +688,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
         __set_once_functor_lock_ptr(0);
 #endif

+#ifdef __clang_analyzer__
+      // PR libstdc++/82481
+      __once_callable = nullptr;
+      __once_call = nullptr;
+#endif
+
       if (__e)
        __throw_system_error(__e);
     }


But you should stop using whatever pre-release 7.0.1 build you're using, that's
not a supported release.
>From gcc-bugs-return-578365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 16:53:58 2017
Return-Path: <gcc-bugs-return-578365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120052 invoked by alias); 11 Oct 2017 16:53: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 113602 invoked by uid 48); 11 Oct 2017 16:53:54 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros
Date: Wed, 11 Oct 2017 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: 8.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:
Message-ID: <bug-81404-4-eiLmoVnhDO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01425.txt.bz2
Content-length: 726

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Agreed with comment #2 for reserved symbols that have non-reserved counterparts
(such as INT_MAX).  (If the set of non-reserved symbols changes depending on
options, e.g., with -std=c11 vs earlier modes, it would be a nice touch for the
hint to take it into consideration.)

But there are also quite a few reserved identifiers that have no equivalents in
the user namespace.  Examples include C/C++ standard macros such __STDC__,
__FILE__, etc., and GCC's own predefined macros such as _LP64 or built-ins like
__builtin_expect.  It's helpful for GCC to continue to suggest those when
appropriate.
>From gcc-bugs-return-578366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 16:55:39 2017
Return-Path: <gcc-bugs-return-578366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71454 invoked by alias); 11 Oct 2017 16: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 70286 invoked by uid 48); 11 Oct 2017 16:55:35 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82520] Missing warning when stack addresses escape the current scope
Date: Wed, 11 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords: diagnostic
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: keywords bug_severity
Message-ID: <bug-82520-4-nZpwfy1yQi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82520-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01426.txt.bz2
Content-length: 468

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82520

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Severity|normal                      |enhancement

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this is hard warning to happen.
>From gcc-bugs-return-578367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 17:06:33 2017
Return-Path: <gcc-bugs-return-578367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69465 invoked by alias); 11 Oct 2017 17: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 63114 invoked by uid 48); 11 Oct 2017 17:06:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Wed, 11 Oct 2017 17:06:00 -0000
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.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82498-4-VrfFUDEGHC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01427.txt.bz2
Content-length: 2568

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Not to mention that the #c0 code has undefined behavior if rot is not 0, but a
multiple of 8 * sizeof(uint32_t), like 32, 64, ...
If you insisted on the rot == 0 check it would need to be done after the the
rot %= ... and then GCC wouldn't recognize the and operation to be useless.

So, on a more complete testcase where f1, f2, f3 have UB on multiples of 32
other than 0, we get most efficient code on f5 and f8
unsigned
f1 (unsigned x, unsigned char y)
{
  if (y == 0)
    return x;
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  return (x << y) | (x >> (__CHAR_BIT__ * __SIZEOF_INT__ - y));
}

unsigned
f2 (unsigned x, unsigned y)
{
  if (y == 0)
    return x;
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  return (x << y) | (x >> (__CHAR_BIT__ * __SIZEOF_INT__ - y));
}

unsigned
f3 (unsigned x, unsigned short y)
{
  if (y == 0)
    return x;
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  return (x << y) | (x >> (__CHAR_BIT__ * __SIZEOF_INT__ - y));
}

unsigned
f4 (unsigned x, unsigned char y)
{
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  if (y == 0)
    return x;
  return (x << y) | (x >> (__CHAR_BIT__ * __SIZEOF_INT__ - y));
}

unsigned
f5 (unsigned x, unsigned y)
{
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  if (y == 0)
    return x;
  return (x << y) | (x >> (__CHAR_BIT__ * __SIZEOF_INT__ - y));
}

unsigned
f6 (unsigned x, unsigned short y)
{
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  if (y == 0)
    return x;
  return (x << y) | (x >> (__CHAR_BIT__ * __SIZEOF_INT__ - y));
}

unsigned
f7 (unsigned x, unsigned char y)
{
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  return (x << y) | (x >> (-y % (__CHAR_BIT__ * __SIZEOF_INT__)));
}

unsigned
f8 (unsigned x, unsigned int y)
{
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  return (x << y) | (x >> (-y % (__CHAR_BIT__ * __SIZEOF_INT__)));
}

unsigned
f9 (unsigned x, unsigned short y)
{
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  return (x << y) | (x >> (-y % (__CHAR_BIT__ * __SIZEOF_INT__)));
}

where f8 is pattern recognized as x r<< (y & 31) and f5 is pattern recognized
and phiopt optimized into that.
The rest produce inefficient code, f1/f4/f6 with useless & and useless
comparison + cmov, f2/f3 just with useless comparison/cmov, and f7/f9 aren't
even pattern recognized as rotates.

The real question is how many different portable and non-portable ways of doing
this we really need to pattern recognize, there are many weirdo ways this can
be written.
>From gcc-bugs-return-578368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 17:17:40 2017
Return-Path: <gcc-bugs-return-578368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47720 invoked by alias); 11 Oct 2017 17: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 41256 invoked by uid 48); 11 Oct 2017 17:17:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Wed, 11 Oct 2017 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: 7.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82498-4-HsV1CNdpui@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01428.txt.bz2
Content-length: 916

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Two further cases:
unsigned
f10 (unsigned x, unsigned char y)
{
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  return (x << y) | (x >> (-y & ((__CHAR_BIT__ * __SIZEOF_INT__) - 1)));
}

unsigned
f11 (unsigned x, unsigned short y)
{
  y %= __CHAR_BIT__ * __SIZEOF_INT__;
  return (x << y) | (x >> (-y & ((__CHAR_BIT__ * __SIZEOF_INT__) - 1)));
}

On f11 GCC generates also efficient code, on f10 useless &.
Guess the f10 case would be improved by addition of a
*<rotate_insn><mode>3_mask_1 define_insn_and_split (and similarly the
inefficient/nonportable  f1 code would be slightly improved).

Looking at LLVM, f1/f3/f5 are worse in LLVM than in GCC, and in all cases
instead of cmov it uses branching; f7/f8/f9/f10/f11 all generate efficient code
though, so the same like GCC in case of f8 and f11.
>From gcc-bugs-return-578369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 19:05:32 2017
Return-Path: <gcc-bugs-return-578369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90820 invoked by alias); 11 Oct 2017 19:05: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 90739 invoked by uid 48); 11 Oct 2017 19:05:28 -0000
From: "prathamesh3492 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80155] [7/8 regression] Performance regression with code hoisting enabled
Date: Wed, 11 Oct 2017 19: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: prathamesh3492 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-80155-4-nsW4cKDz4J@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: 2017-10/txt/msg01429.txt.bz2
Content-length: 2914

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80155

--- Comment #33 from prathamesh3492 at gcc dot gnu.org ---
Created attachment 42341
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42341&action=edit
Test-case to reproduce regression with cortex-m7

I have attached an artificial test-case that is fairly representative of the
regression we are seeing in a benchmark. The test-case mimics a deterministic
finite automaton. With code-hoisting there's an additional spill of r5 near
beginning of the function.

Looking at the loop from the attached test-case:
for (; *a && b != 'z'; a++)
  {
    next = *a;
    if (next == ',')
      {
        a++;
        break;
      }
    switch (b) { ... }
  }

The for loop has same computation a++ in two sibling basic blocks,
which gets hoisted.

From PRE dump with code-hoisting:
  <bb 26> [23.80%] [count: INV]:
  # _25 = PHI <_151(25), _23(2)>
  # b_50 = PHI <b_152(25), 97(2)>
  # a_55 = PHI <a_153(25), a_28(2)>
  next_29 = (int) _25;
  _44 = a_55 + 1;
  if (next_29 == 44)
    goto <bb 27>; [5.00%] [count: INV]
  else
    goto <bb 12>; [95.00%] [count: INV]

(a+1) seems to get hoisted in bb26:
_44 = a_55 + 1
just before
if (next_29 == 44) which corresponds to if (next == ',') condition.

The issue I think is that there is a use of 'a' near end of function:
*s = a;
which possibly results in register pressure forcing the compiler to spill r5.
Commenting out the assignment removes the spill.

Looking at register allocation with code-hoisting, it seems r2 is used
to hold the hoisted value (a + 1):

r0 = s
r1 = tab
r3 = a
r4 = b
r5 = *a
r2 = r3 + 1 (holding the hoisted value)

And without code-hoisting, it seems only r3 is assigned to 'a'.
r0 = s
r1 = tab
r2 = b
r3 = a
r4 = *a


This is evident from asm differences for the early-exit code-path:
if (next == ',')
  {
    a++;
    break;
  }

<breaks to>:
  *s = a;
  return b;


Without code-hoisting:
.L2:
        cmp     r4, #44
        beq     .L4

.L4:
        adds    r3, r3, #1
        ldr     r4, [sp], #4
        str     r3, [r0]
        mov     r0, r2
        bx      lr

With code-hoisting:
.L2:
        cmp     r5, #44
        add     r2, r3, #1
        beq     .L3

.L3:
        str     r2, [r0]
        mov     r0, r4
        pop     {r4, r5}
        bx      lr

Without code-hoisting it is reusing r3 to store a + 1, while due to code
hoisting it uses the extra register 'r2' to store the value of hoisted
expression a + 1.

Would it be a good idea to somehow "limit" the distance (in terms of number of
basic blocks maybe?) between the definition of hoisted variable and it's
furthest use during PRE ? If that exceeds a certain threshold then PRE should
choose not to hoist that expression. The threshold could be a param that can be
set by backends.
Does this analysis look reasonable ?

Thanks,
Prathamesh
>From gcc-bugs-return-578370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 19:33:04 2017
Return-Path: <gcc-bugs-return-578370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18206 invoked by alias); 11 Oct 2017 19: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 18054 invoked by uid 48); 11 Oct 2017 19:32:58 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/7356] syntax errors immediately before an #include are reported for within the included file
Date: Wed, 11 Oct 2017 19: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: 2.95
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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 assigned_to
Message-ID: <bug-7356-4-Kl5PFIuDsJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-7356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-7356-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01430.txt.bz2
Content-length: 524

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7356

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

--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Candidate patch:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82013
>From gcc-bugs-return-578371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 19:34:09 2017
Return-Path: <gcc-bugs-return-578371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19552 invoked by alias); 11 Oct 2017 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 19504 invoked by uid 48); 11 Oct 2017 19:34:04 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/7356] syntax errors immediately before an #include are reported for within the included file
Date: Wed, 11 Oct 2017 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: 2.95
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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-7356-4-67aDpBRpFE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-7356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-7356-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01431.txt.bz2
Content-length: 336

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7356

--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #6)
> Candidate patch:
>   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82013

Oops; wrong link; correct link is:
  https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00697.html
>From gcc-bugs-return-578372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 19:36:24 2017
Return-Path: <gcc-bugs-return-578372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24913 invoked by alias); 11 Oct 2017 19:36: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 24828 invoked by uid 55); 11 Oct 2017 19:36:21 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82353] [8 Regression] runtime ubsan crash
Date: Wed, 11 Oct 2017 19:36: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vmakarov 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82353-4-2oFauyhD9p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01432.txt.bz2
Content-length: 1025

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353

--- Comment #6 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Wed Oct 11 19:35:48 2017
New Revision: 253656

URL: https://gcc.gnu.org/viewcvs?rev=253656&root=gcc&view=rev
Log:
2017-10-11  Vladimir Makarov  <vmakarov@redhat.com>

        PR sanitizer/82353
        * lra.c (collect_non_operand_hard_regs): Don't ignore operator
        locations.
        * lra-lives.c (bb_killed_pseudos, bb_gen_pseudos): Move up.
        (make_hard_regno_born, make_hard_regno_dead): Update
        bb_killed_pseudos and bb_gen_pseudos.

2017-10-11  Vladimir Makarov  <vmakarov@redhat.com>

        PR sanitizer/82353
        * gcc.target/i386/i386.exp (tests): Permit '.C' extension.
        * gcc.target/i386/pr82353.C: New.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82353.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-lives.c
    trunk/gcc/lra.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/i386.exp
>From gcc-bugs-return-578373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 19:42:24 2017
Return-Path: <gcc-bugs-return-578373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52553 invoked by alias); 11 Oct 2017 19: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 52490 invoked by uid 48); 11 Oct 2017 19:42:20 -0000
From: "enrique.fernandez.perdomo at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82521] New: No -Wtype-limits warning when using templates
Date: Wed, 11 Oct 2017 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: 5.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: enrique.fernandez.perdomo 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-82521-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01433.txt.bz2
Content-length: 801

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82521

            Bug ID: 82521
           Summary: No -Wtype-limits warning when using templates
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: enrique.fernandez.perdomo at gmail dot com
  Target Milestone: ---

Inside templated functions or classes, even when the template arguments don't
affect the type of the variables involved in the expression, the type-limits
warnings don't show up.

Example code and output (value == -1, with value uint8_t):

https://wandbox.org/permlink/o3kbJSnQHta3d9Hw

gcc 5.4.0 and newer version up to HEAD in wandbox.org are affected.
>From gcc-bugs-return-578374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 19:44:35 2017
Return-Path: <gcc-bugs-return-578374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60807 invoked by alias); 11 Oct 2017 19:44: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 58483 invoked by uid 55); 11 Oct 2017 19:44:27 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81422] [aarch64] internal compiler error: in update_equiv_regs, at ira.c:3425
Date: Wed, 11 Oct 2017 19: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: ice-on-valid-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: qing.zhao at oracle dot com
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81422-4-QNVxgYydhY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81422-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01434.txt.bz2
Content-length: 791

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81422

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct 11 19:43:54 2017
New Revision: 253657

URL: https://gcc.gnu.org/viewcvs?rev=253657&root=gcc&view=rev
Log:
/gcc
2017-10-11  Qing Zhao  <qing.zhao@oracle.com>

        PR target/81422
        * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
        Check whether the dest is REG before adding REG_EQUIV note.

/gcc/testsuite
2017-10-11  Qing Zhao  <qing.zhao@oracle.com>

        PR target/81422
        * gcc.target/aarch64/pr81422.C: New test.

Added:
    trunk/gcc/testsuite/gcc.target/aarch64/pr81422.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 19:46:22 2017
Return-Path: <gcc-bugs-return-578375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91826 invoked by alias); 11 Oct 2017 19:46: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 89103 invoked by uid 48); 11 Oct 2017 19:46:18 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81422] [aarch64] internal compiler error: in update_equiv_regs, at ira.c:3425
Date: Wed, 11 Oct 2017 19: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: ice-on-valid-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: P3
X-Bugzilla-Assigned-To: qing.zhao at oracle dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-81422-4-nYfpvjIehN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81422-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01435.txt.bz2
Content-length: 604

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81422

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|ibuclaw at gdcproject dot org,     |
                   |qing.zhao at oracle dot com        |
         Resolution|---                         |FIXED
   Target Milestone|5.5                         |8.0

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.
>From gcc-bugs-return-578376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 20:46:05 2017
Return-Path: <gcc-bugs-return-578376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24355 invoked by alias); 11 Oct 2017 20: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 24258 invoked by uid 48); 11 Oct 2017 20:45:59 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82323] circular ifunc attribute on a function definition silently accepted
Date: Wed, 11 Oct 2017 20: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
X-Bugzilla-Keywords: accepts-invalid, diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
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-82323-4-dxsbGHy0Rs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82323-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01436.txt.bz2
Content-length: 562

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323

--- Comment #6 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
I wonder why this condition on the warning is symmetrical:

   (!FUNC_OR_METHOD_TYPE_P (t2)
    || (prototype_p (t1)
        && prototype_p (t2)
        && !types_compatible_p (t1, t2))))

I mean if you have this example

void f() __attribute__((alias("g")));
int g(int a)
{
  return a;
}

only f can be w/o prototype, but g has to use the correct argument list;
thus the term "prototype_p (t2)" should be removed from the condition.
>From gcc-bugs-return-578377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 20:50:23 2017
Return-Path: <gcc-bugs-return-578377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30642 invoked by alias); 11 Oct 2017 20: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 30354 invoked by uid 55); 11 Oct 2017 20:50:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80194] [5 Regression] ICE with local constant referenced by a lambda expression
Date: Wed, 11 Oct 2017 20: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: 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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80194-4-EiCkfUjRqj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80194-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80194-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01437.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80194

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 11 20:49:46 2017
New Revision: 253658

URL: https://gcc.gnu.org/viewcvs?rev=253658&root=gcc&view=rev
Log:
        PR c++/80194
        * g++.dg/cpp1y/pr80194.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr80194.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 20:50:44 2017
Return-Path: <gcc-bugs-return-578378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32354 invoked by alias); 11 Oct 2017 20: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 32008 invoked by uid 55); 11 Oct 2017 20:50:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78523] [5 Regression] ICE on valid lambda code with implicit capture
Date: Wed, 11 Oct 2017 20: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: 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: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78523-4-NzJZVD22sC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78523-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78523-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01438.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78523

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 11 20:50:07 2017
New Revision: 253659

URL: https://gcc.gnu.org/viewcvs?rev=253659&root=gcc&view=rev
Log:
        PR c++/78523
        * g++.dg/cpp1y/pr78523.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr78523.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 20:51:24 2017
Return-Path: <gcc-bugs-return-578380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35082 invoked by alias); 11 Oct 2017 20: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 34764 invoked by uid 55); 11 Oct 2017 20:51:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78558] [5 Regression] Incorrect loop optimization leads to crash
Date: Wed, 11 Oct 2017 20: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.4.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: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78558-4-Z8XlTmGuB2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01440.txt.bz2
Content-length: 435

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78558

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 11 20:50:46 2017
New Revision: 253661

URL: https://gcc.gnu.org/viewcvs?rev=253661&root=gcc&view=rev
Log:
        PR tree-optimization/78558
        * gcc.dg/vect/pr78558.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr78558.c
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 20:51:45 2017
Return-Path: <gcc-bugs-return-578381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36864 invoked by alias); 11 Oct 2017 20: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 36788 invoked by uid 55); 11 Oct 2017 20:51:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80421] [5 Regression] Case dispatch is scrambled in switch-statement
Date: Wed, 11 Oct 2017 20: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: 5.4.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80421-4-Lq1r1Wwgxs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80421-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80421-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01441.txt.bz2
Content-length: 448

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80421

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 11 20:51:08 2017
New Revision: 253662

URL: https://gcc.gnu.org/viewcvs?rev=253662&root=gcc&view=rev
Log:
        PR middle-end/80421
        * gcc.c-torture/execute/pr80421.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr80421.c
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 20:51:05 2017
Return-Path: <gcc-bugs-return-578379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33832 invoked by alias); 11 Oct 2017 20:51: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 33549 invoked by uid 55); 11 Oct 2017 20:51:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82414] [5 Regression] Issue with ODR/LTO in G++
Date: Wed, 11 Oct 2017 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: 5.4.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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82414-4-zHzA06ABeS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82414-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82414-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01439.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82414

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 11 20:50:27 2017
New Revision: 253660

URL: https://gcc.gnu.org/viewcvs?rev=253660&root=gcc&view=rev
Log:
        PR c++/82414
        * g++.dg/lto/pr82414_0.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/lto/pr82414_0.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 22:08:54 2017
Return-Path: <gcc-bugs-return-578382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128001 invoked by alias); 11 Oct 2017 22: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 127965 invoked by uid 48); 11 Oct 2017 22:08:45 -0000
From: "jengelh at inai dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82522] New: std::map::insert(value_type &&) not selected
Date: Wed, 11 Oct 2017 22: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jengelh at inai 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-82522-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01442.txt.bz2
Content-length: 8022

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522

            Bug ID: 82522
           Summary: std::map::insert(value_type &&) not selected
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jengelh at inai dot de
  Target Milestone: ---

#include <map>
struct only_movable {
        only_movable(){}
        only_movable(only_movable&&){}
        only_movable &operator=(only_movable&&){return *this;}
};
int main()
{
        std::map<int, only_movable> map;
        map.insert({0, only_movable()});
}

----
Building this code succeeds with clang++, but fails under g++ 7.2.1/8.0 with:


In file included from
/opt/wandbox/gcc-head/include/c++/8.0.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33:0,
                 from
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/allocator.h:46,
                 from
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_tree.h:64,
                 from /opt/wandbox/gcc-head/include/c++/8.0.0/map:60,
                 from prog.cc:1:
/opt/wandbox/gcc-head/include/c++/8.0.0/ext/new_allocator.h: In instantiation
of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up
= std::pair<const int, only_movable>; _Args = {const std::pair<const int,
only_movable>&}; _Tp = std::_Rb_tree_node<std::pair<const int, only_movable>
>]':
/opt/wandbox/gcc-head/include/c++/8.0.0/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 = std::pair<const int, only_movable>; _Args =
{const std::pair<const int, only_movable>&}; _Tp =
std::_Rb_tree_node<std::pair<const int, only_movable> >;
std::allocator_traits<std::allocator<_Tp1> >::allocator_type =
std::allocator<std::_Rb_tree_node<std::pair<const int, only_movable> > >]'
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_tree.h:626:32:   required from
'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_M_construct_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_Link_type, _Args&& ...) [with _Args = {const std::pair<const int,
only_movable>&}; _Key = int; _Val = std::pair<const int, only_movable>;
_KeyOfValue = std::_Select1st<std::pair<const int, only_movable> >; _Compare =
std::less<int>; _Alloc = std::allocator<std::pair<const int, only_movable> >;
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type =
std::_Rb_tree_node<std::pair<const int, only_movable> >*]'
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_tree.h:643:4:   required from
'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::pair<const int,
only_movable>&}; _Key = int; _Val = std::pair<const int, only_movable>;
_KeyOfValue = std::_Select1st<std::pair<const int, only_movable> >; _Compare =
std::less<int>; _Alloc = std::allocator<std::pair<const int, only_movable> >;
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type =
std::_Rb_tree_node<std::pair<const int, only_movable> >*]'
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_tree.h:556:62:   required from
'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_Alloc_node::operator()(_Arg&&) const [with _Arg = const
std::pair<const int, only_movable>&; _Key = int; _Val = std::pair<const int,
only_movable>; _KeyOfValue = std::_Select1st<std::pair<const int, only_movable>
>; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int,
only_movable> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, only_movable>
>*]'
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_tree.h:1758:29:   required
from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_M_insert_(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_Base_ptr, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_Base_ptr, _Arg&&, _NodeGen&) [with _Arg = const std::pair<const int,
only_movable>&; _NodeGen = std::_Rb_tree<int, std::pair<const int,
only_movable>, std::_Select1st<std::pair<const int, only_movable> >,
std::less<int>, std::allocator<std::pair<const int, only_movable> >
>::_Alloc_node; _Key = int; _Val = std::pair<const int, only_movable>;
_KeyOfValue = std::_Select1st<std::pair<const int, only_movable> >; _Compare =
std::less<int>; _Alloc = std::allocator<std::pair<const int, only_movable> >;
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator =
std::_Rb_tree_iterator<std::pair<const int, only_movable> >;
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr =
std::_Rb_tree_node_base*]'
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_tree.h:2101:11:   required
from 'std::pair<std::_Rb_tree_iterator<_Val>, bool> std::_Rb_tree<_Key, _Val,
_KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = const
std::pair<const int, only_movable>&; _Key = int; _Val = std::pair<const int,
only_movable>; _KeyOfValue = std::_Select1st<std::pair<const int, only_movable>
>; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int,
only_movable> >]'
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_map.h:797:41:   required from
'std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>,
std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<std::pair<const _Key, _Tp>
>::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(const
value_type&) [with _Key = int; _Tp = only_movable; _Compare = std::less<int>;
_Alloc = std::allocator<std::pair<const int, only_movable> >; typename
std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const
_Key, _Tp> >, _Compare, typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<std::pair<const _Key, _Tp>
>::other>::iterator = std::_Rb_tree_iterator<std::pair<const int, only_movable>
>; std::map<_Key, _Tp, _Compare, _Alloc>::value_type = std::pair<const int,
only_movable>]'
prog.cc:10:32:   required from here
/opt/wandbox/gcc-head/include/c++/8.0.0/ext/new_allocator.h:136:4: error: use
of deleted function 'constexpr std::pair<_T1, _T2>::pair(const std::pair<_T1,
_T2>&) [with _T1 = const int; _T2 = only_movable]'
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_algobase.h:64:0,
                 from
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_tree.h:63,
                 from /opt/wandbox/gcc-head/include/c++/8.0.0/map:60,
                 from prog.cc:1:
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_pair.h:292:17: note:
'constexpr std::pair<_T1, _T2>::pair(const std::pair<_T1, _T2>&) [with _T1 =
const int; _T2 = only_movable]' is implicitly deleted because the default
definition would be ill-formed:
       constexpr pair(const pair&) = default;
                 ^~~~
/opt/wandbox/gcc-head/include/c++/8.0.0/bits/stl_pair.h:292:17: error: use of
deleted function 'constexpr only_movable::only_movable(const only_movable&)'
prog.cc:2:8: note: 'constexpr only_movable::only_movable(const only_movable&)'
is implicitly declared as deleted because 'only_movable' declares a move
constructor or move assignment operator
 struct only_movable {
        ^~~~~~~~~~~~
----

(I used the online compilers at http://wandbox.org/; equally happens with local
one.) So for some reason, g++ decides to not use the insert(value_type &&) and
pair(pair &&) variants, and instead opts for const value_type &.
>From gcc-bugs-return-578383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 22:23:51 2017
Return-Path: <gcc-bugs-return-578383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21237 invoked by alias); 11 Oct 2017 22: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 21162 invoked by uid 48); 11 Oct 2017 22:23:46 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82323] circular ifunc attribute on a function definition silently accepted
Date: Wed, 11 Oct 2017 22: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
X-Bugzilla-Keywords: accepts-invalid, 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82323-4-LwZn0jqOHB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82323-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01443.txt.bz2
Content-length: 455

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323

--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #6)

Sounds reasonable.  I put the following example together to illustrate an
incompatible alias declaration that should be diagnosed but isn't.

  char* f (void) __attribute__ ((alias ("g")));   // missing -Wattribute-alias

  int g (s)
    char *s;
  {
    return __builtin_strlen (s);
  }
>From gcc-bugs-return-578384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 22:43:45 2017
Return-Path: <gcc-bugs-return-578384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87231 invoked by alias); 11 Oct 2017 22:43: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 87189 invoked by uid 48); 11 Oct 2017 22:43:41 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82522] std::map::insert(value_type &&) not selected
Date: Wed, 11 Oct 2017 22: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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: component
Message-ID: <bug-82522-4-AdxQXIML2P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01444.txt.bz2
Content-length: 430

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |libstdc++

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
If anything, first blush seems a library issue to me.
>From gcc-bugs-return-578385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 23:27:26 2017
Return-Path: <gcc-bugs-return-578385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10668 invoked by alias); 11 Oct 2017 23: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 10537 invoked by uid 48); 11 Oct 2017 23:27:22 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82522] std::map::insert(value_type &&) not selected
Date: Wed, 11 Oct 2017 23: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.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-82522-4-FMaog5c6CQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01445.txt.bz2
Content-length: 605

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-11
     Ever confirmed|0                           |1

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We don't have a map::insert(value_type&&) member, because there was no such
member in C++11 or C++14. It's been added for C++17 though.
>From gcc-bugs-return-578386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 11 23:28:46 2017
Return-Path: <gcc-bugs-return-578386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12118 invoked by alias); 11 Oct 2017 23:28: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 12071 invoked by uid 48); 11 Oct 2017 23:28:41 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82522] std::map::insert(value_type &&) not selected
Date: Wed, 11 Oct 2017 23: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.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-82522-4-YwtlOaUMqJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01446.txt.bz2
Content-length: 194

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It was added by http://wg21.link/lwg2354 and we don't implement that yet.
>From gcc-bugs-return-578387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 01:35:31 2017
Return-Path: <gcc-bugs-return-578387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79474 invoked by alias); 12 Oct 2017 01:35: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 79424 invoked by uid 48); 12 Oct 2017 01:35:27 -0000
From: "lloyd at randombit dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Thu, 12 Oct 2017 01: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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lloyd at randombit 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:
Message-ID: <bug-82498-4-OyLVBD6p1p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01447.txt.bz2
Content-length: 528

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #5 from Jack Lloyd <lloyd at randombit dot net> ---
Jakub thank you very much for your comments, this was helpful for me in getting
consistent rol/ror generation.

Speaking as a user it's frustrating that Clang and GCC don't just have a
builtin for rotations like MSVC does, instead you have to guess what
expressions the optimizer(s) know about. That said there are a lot of strange
ways to right a rotate and probably GCC doesn't need to know all of them.
>From gcc-bugs-return-578388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 04:22:20 2017
Return-Path: <gcc-bugs-return-578388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28774 invoked by alias); 12 Oct 2017 04: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 28730 invoked by uid 48); 12 Oct 2017 04:22:16 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81434] AArch64 instruction fusing and pipeline scheduling problem
Date: Thu, 12 Oct 2017 04: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilson 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-81434-4-nBIrAI60A4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81434-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01448.txt.bz2
Content-length: 441

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81434

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Jim Wilson <wilson at gcc dot gnu.org> ---
Patch checked in to fix it.
>From gcc-bugs-return-578389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 06:35:17 2017
Return-Path: <gcc-bugs-return-578389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116040 invoked by alias); 12 Oct 2017 06: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 99485 invoked by uid 48); 12 Oct 2017 06:35:05 -0000
From: "bugzila at zhorachu dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82523] New: test
Date: Thu, 12 Oct 2017 06:35: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: bugzila at zhorachu 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-82523-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01449.txt.bz2
Content-length: 391

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82523

            Bug ID: 82523
           Summary: test
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzila at zhorachu dot com
  Target Milestone: ---

test
>From gcc-bugs-return-578390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 06:51:18 2017
Return-Path: <gcc-bugs-return-578390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83044 invoked by alias); 12 Oct 2017 06:51: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 81098 invoked by uid 48); 12 Oct 2017 06:51:13 -0000
From: "Vasilis.Vlachoudis at cern dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82524] New: expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 06: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Vasilis.Vlachoudis at cern 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 attachments.created
Message-ID: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01450.txt.bz2
Content-length: 975

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

            Bug ID: 82524
           Summary: expensive-optimizations produces wrong results
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Vasilis.Vlachoudis at cern dot ch
  Target Milestone: ---

Created attachment 42342
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42342&action=edit
Bug example

System: Fresh installation of Fedora Core 26
Compiler:  g++ --version
g++ (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)

The attached file when compiled with/out the -fexpensive-optimization or
fno-expensive-optimization flag produces different results

$ g++ -O2 -fno-expensive-optimizations bug.cc; a.out
A=00FFFFFF B=FFFFFFFF alphaBlend(A,B)=00FFFFFF
$ g++ -O2 bug.cc; a.out
A=00FFFFFF B=FFFFFFFF alphaBlend(A,B)=0000FFFF
>From gcc-bugs-return-578391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 06:56:37 2017
Return-Path: <gcc-bugs-return-578391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102223 invoked by alias); 12 Oct 2017 06: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 95029 invoked by uid 48); 12 Oct 2017 06:56:33 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82524] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 06: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: 7.2.1
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-82524-4-orc2s6pG6b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01451.txt.bz2
Content-length: 233

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most likely this is the bswap optimization gone wrong. There has been fixes to
that pass since September too.
>From gcc-bugs-return-578392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 07:07:01 2017
Return-Path: <gcc-bugs-return-578392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48894 invoked by alias); 12 Oct 2017 07: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 46395 invoked by uid 48); 12 Oct 2017 07:06:56 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Thu, 12 Oct 2017 07: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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
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-82498-4-nnpCaPXzHA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01452.txt.bz2
Content-length: 741

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jack Lloyd from comment #5)
> Jakub thank you very much for your comments, this was helpful for me in
> getting consistent rol/ror generation.
> 
> Speaking as a user it's frustrating that Clang and GCC don't just have a
> builtin for rotations like MSVC does, instead you have to guess what
> expressions the optimizer(s) know about. That said there are a lot of
> strange ways to right a rotate and probably GCC doesn't need to know all of
> them.

You can use __rol{b,w,d,q} and __ror{b,w,d,q} (and their aliases) from
ia32intrin.h. These are standardized; you have to include x86intrin.h header.
>From gcc-bugs-return-578393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 07:22:52 2017
Return-Path: <gcc-bugs-return-578393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26136 invoked by alias); 12 Oct 2017 07: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 17760 invoked by uid 55); 12 Oct 2017 07:22:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82353] [8 Regression] runtime ubsan crash
Date: Thu, 12 Oct 2017 07:22: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82353-4-7n8EX5RMgo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01453.txt.bz2
Content-length: 784

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 12 07:22:12 2017
New Revision: 253672

URL: https://gcc.gnu.org/viewcvs?rev=253672&root=gcc&view=rev
Log:
        PR target/82353
        * gcc.target/i386/i386.exp (tests): Revert the '.C' extension change.
        * gcc.target/i386/pr82353.C: Moved to ...
        * g++.dg/ubsan/pr82353.C: ... here.  Restrict to i?86/x86_64 && lp64.

Added:
    trunk/gcc/testsuite/g++.dg/ubsan/pr82353.C
      - copied, changed from r253671,
trunk/gcc/testsuite/gcc.target/i386/pr82353.C
Removed:
    trunk/gcc/testsuite/gcc.target/i386/pr82353.C
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/i386.exp
>From gcc-bugs-return-578394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 07:24:00 2017
Return-Path: <gcc-bugs-return-578394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91341 invoked by alias); 12 Oct 2017 07: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 88674 invoked by uid 55); 12 Oct 2017 07:23:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
Date: Thu, 12 Oct 2017 07: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: 7.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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82159-4-y3ktyrjzRS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01454.txt.bz2
Content-length: 598

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 12 07:23:24 2017
New Revision: 253673

URL: https://gcc.gnu.org/viewcvs?rev=253673&root=gcc&view=rev
Log:
        PR c++/82159
        * expr.c (store_field): Don't optimize away bitsize == 0 store
        from CALL_EXPR with addressable return type.

        * g++.dg/opt/pr82159-2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr82159-2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 07:30:45 2017
Return-Path: <gcc-bugs-return-578395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35649 invoked by alias); 12 Oct 2017 07:30: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 128960 invoked by uid 48); 12 Oct 2017 07:29:58 -0000
From: "chr at terma dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82159] [6 Regression] ICE: in assign_temp, at function.c:961
Date: Thu, 12 Oct 2017 07: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: 7.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chr at terma 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82159-4-zoCbP72DOb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82159-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01455.txt.bz2
Content-length: 283

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82159

--- Comment #16 from chr at terma dot com ---
(In reply to Jakub Jelinek from comment #14)
> Created attachment 42340 [details]
> gcc8-pr82159.patch
> 
> Untested fix for that.

Applied both patches to GCC 7.2.0. Works for us.
>From gcc-bugs-return-578396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 07:31:54 2017
Return-Path: <gcc-bugs-return-578396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85578 invoked by alias); 12 Oct 2017 07:31: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 80078 invoked by uid 48); 12 Oct 2017 07:31:50 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Thu, 12 Oct 2017 07: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.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
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-82498-4-Dpf0UFyPBI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01456.txt.bz2
Content-length: 615

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #7 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #6)
> You can use __rol{b,w,d,q} and __ror{b,w,d,q} (and their aliases) from
> ia32intrin.h. These are standardized; you have to include x86intrin.h header.

Some of those break if you use -fsanitize=undefined.

#include <x86intrin.h>

int main(){
  unsigned i = 0;
  return __rold(i,0);
}

/usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/8/include/ia32intrin.h:150:30:
runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'
>From gcc-bugs-return-578397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 07:33:42 2017
Return-Path: <gcc-bugs-return-578397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70084 invoked by alias); 12 Oct 2017 07: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 66835 invoked by uid 48); 12 Oct 2017 07:33:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Thu, 12 Oct 2017 07: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: 7.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82498-4-sl9H7Zc9Dv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01457.txt.bz2
Content-length: 1077

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #6)
> (In reply to Jack Lloyd from comment #5)
> > Jakub thank you very much for your comments, this was helpful for me in
> > getting consistent rol/ror generation.
> > 
> > Speaking as a user it's frustrating that Clang and GCC don't just have a
> > builtin for rotations like MSVC does, instead you have to guess what
> > expressions the optimizer(s) know about. That said there are a lot of
> > strange ways to right a rotate and probably GCC doesn't need to know all of
> > them.
> 
> You can use __rol{b,w,d,q} and __ror{b,w,d,q} (and their aliases) from
> ia32intrin.h. These are standardized; you have to include x86intrin.h header.

Well, at least as currently implemented, __ro{l,r}{d,q} require the shift count
to be 1 to bitsize - 1.  So at least I think we should change their
implementation to be like f8 (with & instead of %) which we know we generate
optimal code for for any shift count.
>From gcc-bugs-return-578398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 07:36:04 2017
Return-Path: <gcc-bugs-return-578398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105029 invoked by alias); 12 Oct 2017 07: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 103129 invoked by uid 48); 12 Oct 2017 07:36:00 -0000
From: "julia.koval at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82344] [8 Regression] SPEC CPU2006 435.gromacs ~10% performance regression with trunk@250855
Date: Thu, 12 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: julia.koval 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82344-4-zO0WRD1nwF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82344-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01458.txt.bz2
Content-length: 510

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82344

Yulia Koval <julia.koval at intel dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com

--- Comment #2 from Yulia Koval <julia.koval at intel dot com> ---
Hi, do you have any hints, how we should approach this issue? Fix it in the
middle end or disable the cases affected in backend?
>From gcc-bugs-return-578399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 08:10:45 2017
Return-Path: <gcc-bugs-return-578399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49284 invoked by alias); 12 Oct 2017 08: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 49168 invoked by uid 48); 12 Oct 2017 08:10:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Thu, 12 Oct 2017 08: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: 7.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82498-4-rVSvKy28J9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01459.txt.bz2
Content-length: 284

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42343
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42343&action=edit
gcc8-pr82498-intrin.patch

Untested patch to fix the intrinsics.
>From gcc-bugs-return-578400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 08:19:10 2017
Return-Path: <gcc-bugs-return-578400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87522 invoked by alias); 12 Oct 2017 08: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 87409 invoked by uid 48); 12 Oct 2017 08:19:00 -0000
From: "costamagnagianfranco at yahoo dot it" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82327] [7 Regression] ICE in equal_mem_array_ref_p, at tree-ssa-scopedtables.c:429 (i686-linux-gnu)
Date: Thu, 12 Oct 2017 08: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: 7.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: costamagnagianfranco at yahoo dot it
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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82327-4-4L6TVDe2a9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82327-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82327-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01460.txt.bz2
Content-length: 187

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82327

--- Comment #7 from Gianfranco <costamagnagianfranco at yahoo dot it> ---
Now with gcc using rev 253388 everything is working again.
>From gcc-bugs-return-578401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 08:33:19 2017
Return-Path: <gcc-bugs-return-578401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41055 invoked by alias); 12 Oct 2017 08:33: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 40520 invoked by uid 48); 12 Oct 2017 08:33:12 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Thu, 12 Oct 2017 08: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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
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-82498-4-54o2NkUQUT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01461.txt.bz2
Content-length: 677

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #10 from Marc Glisse <glisse at gcc dot gnu.org> ---
f1...f6 already have a LROTATE_EXPR in the .original dump. The others don't get
one until forwprop1, which is after einline, so there is a small chance of
inlining causing other optimizations that mess with rotate detection (or the
large-ish code before rotate is recognized may prevent early inlining, missing
optimizations). I guess without going through the large job of moving the
rotate code from forwprop to match.pd it would be possible to add one basic
transform to recognize precisely the case in those intrinsics, if we pick one
in f7...f11.
>From gcc-bugs-return-578402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 08:50:53 2017
Return-Path: <gcc-bugs-return-578402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85369 invoked by alias); 12 Oct 2017 08:50: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 85302 invoked by uid 48); 12 Oct 2017 08:50:49 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82525] New: [GRAPHITE] codegen error for modulo operations we cannot represent
Date: Thu, 12 Oct 2017 08:50: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.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 blocked target_milestone
Message-ID: <bug-82525-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01462.txt.bz2
Content-length: 1183

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82525

            Bug ID: 82525
           Summary: [GRAPHITE] codegen error for modulo operations we
                    cannot represent
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
            Blocks: 59859
  Target Milestone: ---

We generate modulo constraints to represent conversions / unsigned operations.
With Fortran array-descriptors we run into codegen issues when those are not
elided by ISL itself and the original type matches the type we use for ISL IVs.

module OPMATRIX_MODULE
   implicit none
   type opmatrix_type
   real(kind=kind(1.0d0)), dimension(:,:), pointer :: restricted
   end type
   interface zero_
      module procedure zero
   end interface
contains
   subroutine zero(self)
      type(opmatrix_type) :: self
      self%restricted = 0.0d0
   end subroutine
end


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59859
[Bug 59859] [meta-bug] GRAPHITE issues
>From gcc-bugs-return-578403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 08:51:06 2017
Return-Path: <gcc-bugs-return-578403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87114 invoked by alias); 12 Oct 2017 08:51: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 87070 invoked by uid 48); 12 Oct 2017 08:51:03 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82525] [GRAPHITE] codegen error for modulo operations we cannot represent
Date: Thu, 12 Oct 2017 08: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.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-82525-4-LdRvccjO7Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82525-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01463.txt.bz2
Content-length: 577

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82525

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-12
           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 patch.
>From gcc-bugs-return-578404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 09:21:08 2017
Return-Path: <gcc-bugs-return-578404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98780 invoked by alias); 12 Oct 2017 09:21:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 98713 invoked by uid 48); 12 Oct 2017 09:21:02 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82344] [8 Regression] SPEC CPU2006 435.gromacs ~10% performance regression with trunk@250855
Date: Thu, 12 Oct 2017 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.0
X-Bugzilla-Keywords: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on component everconfirmed
Message-ID: <bug-82344-4-x5mgp5lkXd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82344-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01464.txt.bz2
Content-length: 1892

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82344

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ra
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-12
          Component|target                      |middle-end
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
So the newton-raphson step causes register pressure to increase and post
haswell this makes code slower than not using rsqrt (thus using sqrtf and a
division)?

I wonder whether it would be profitable to SLP vectorize this (of course
we're not considering this because SLP vectorization is looking for stores).
SLP vectorization would need to do 4 (or 8 with avx256) vector inserts
and extracts but then could do the rsqrt and newton raphson together.
The argument computation to the sqrt also loop vectorizable and the ultimate
operands even come from continuous memory.  One of the tricky parts would be
to see that the only first rsqrt arg is re-used and thus taking
rinv21 to rinv33 (8 rsqrts) for the vectorization is probably best.

          rinv11           = 1.0/sqrt(rsq11)
          rinv21           = 1.0/sqrt(rsq21)
          rinv31           = 1.0/sqrt(rsq31)
          rinv12           = 1.0/sqrt(rsq12)
          rinv22           = 1.0/sqrt(rsq22)
          rinv32           = 1.0/sqrt(rsq32)
          rinv13           = 1.0/sqrt(rsq13)
          rinv23           = 1.0/sqrt(rsq23)
          rinv33           = 1.0/sqrt(rsq33)
          r11              = rsq11*rinv11

What does ICC do to this loop?

I can confirm the regression on our tester (a Haswell machine btw).
>From gcc-bugs-return-578405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 09:23:21 2017
Return-Path: <gcc-bugs-return-578405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125651 invoked by alias); 12 Oct 2017 09: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 125593 invoked by uid 48); 12 Oct 2017 09:23:17 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82344] [8 Regression] SPEC CPU2006 435.gromacs ~10% performance regression with trunk@250855
Date: Thu, 12 Oct 2017 09: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.0
X-Bugzilla-Keywords: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82344-4-2GsPkuqZEH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82344-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01465.txt.bz2
Content-length: 231

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82344

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 42344
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42344&action=edit
testcase
>From gcc-bugs-return-578406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 10:39:16 2017
Return-Path: <gcc-bugs-return-578406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6515 invoked by alias); 12 Oct 2017 10: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 6432 invoked by uid 48); 12 Oct 2017 10:39:12 -0000
From: "jan.willem.ps at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82526] New: Confusing error for constructor of member
Date: Thu, 12 Oct 2017 10: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jan.willem.ps 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-82526-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01466.txt.bz2
Content-length: 2320

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82526

            Bug ID: 82526
           Summary: Confusing error for constructor of member
           Product: gcc
           Version: 6.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jan.willem.ps at gmail dot com
  Target Milestone: ---

When your class has multiple members of the same type, and in the initializer
list you initialize the last one, but forget to initialize a previous one, you
get a very confusing error message.
The compiler error shows an error on the end of the initializer list, which in
this case points to the member that has been correctly initialized. It doesn't
mention the name of the member that has the error, so it is easy to confuse the
error message with the member it is pointing to..

The example will demonstrate clearly:

// file baderror.cpp
class Point {
 public:
  explicit Point(int x, int y);
};

class Rectangle {
 public:
  Rectangle(int x1, int x2, int y1, int y2)
      :
      mBottomRight(x1, y1)
  {}
 private:
  Point mTopLeft;
  Point mBottomRight;
};

# compiling:
docker run --rm -v $PWD:/src -w /src gcc:6.4.0 gcc baderror.cpp

# output:
baderror.cpp: In constructor 'Rectangle::Rectangle(int, int, int, int)':
baderror.cpp:10:26: error: no matching function for call to 'Point::Point()'
       mBottomRight(x1, y1)
                          ^
baderror.cpp:3:12: note: candidate: Point::Point(int, int)
   explicit Point(int x, int y);
            ^~~~~
baderror.cpp:3:12: note:   candidate expects 2 arguments, 0 provided
baderror.cpp:1:7: note: candidate: constexpr Point::Point(const Point&)
 class Point {
       ^~~~~
baderror.cpp:1:7: note:   candidate expects 1 argument, 0 provided
baderror.cpp:1:7: note: candidate: constexpr Point::Point(Point&&)
baderror.cpp:1:7: note:   candidate expects 1 argument, 0 provided

In this case there is no mention of member mTopLeft, which hasn't been
initialized. So the compiler tries to call the default constructor, which
doesn't exist. The only clue is that there are 0 arguments, but no reference to
the member it is complaining about.

In short: it would be very helpful to have the member name in the error
message.
>From gcc-bugs-return-578407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 10:47:48 2017
Return-Path: <gcc-bugs-return-578407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35198 invoked by alias); 12 Oct 2017 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 34698 invoked by uid 48); 12 Oct 2017 10:47:43 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82523] test
Date: Thu, 12 Oct 2017 10:47: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: 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 cc resolution
Message-ID: <bug-82523-4-wKjzWIhOWr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82523-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82523-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01467.txt.bz2
Content-length: 561

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82523

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |egallager at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
Congrats your test bug was opened. I'm closing it now.
>From gcc-bugs-return-578408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 11:16:06 2017
Return-Path: <gcc-bugs-return-578408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23688 invoked by alias); 12 Oct 2017 11: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 23644 invoked by uid 48); 12 Oct 2017 11:16:01 -0000
From: "eDeviser at mailbox dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82527] New: Branch probabilities does not match on optimized switch cases
Date: Thu, 12 Oct 2017 11:16: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eDeviser at mailbox 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 cc target_milestone
Message-ID: <bug-82527-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01468.txt.bz2
Content-length: 3819

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82527

            Bug ID: 82527
           Summary: Branch probabilities does not match on optimized
                    switch cases
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eDeviser at mailbox dot org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Having a switch case with an empty case as shown below, causes a wrong branch
report:

    #include <stdio.h>
    int main() {
      for (int i = 0; i < 100; i++) {
        switch (i) {
        case 0:
          printf("0");
          break;
        case 9999:
          break;
        default:
          printf("d");
          break;
        }
      }
      return 0;
    }

Compile it, execute it and generate the *.gcov file:
gcc main.c -O3 -fprofile-arcs -ftest-coverage && ./a.out && gcov -bc main.c &&
cat main.c.gcov 

Take a look to the report:

        -:    0:Source:main.c
        -:    0:Graph:main.gcno
        -:    0:Data:main.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        -:    1:#include <stdio.h>
function main called 1 returned 100% blocks executed 100%
        1:    2:  int main() {
      101:    3:    for (int i = 0; i < 100; i++) {
branch  0 taken 100
branch  1 taken 1 (fallthrough)
      100:    4:      switch (i) {
branch  0 taken 1
branch  1 taken 99
branch  2 taken 0
        -:    5:      case 0:
        -:    6:        printf("0");
        -:    7:        break;
        -:    8:      case 9999:
        -:    9:        break;
        -:   10:      default:
        -:   11:        printf("d");
        -:   12:        break;
        -:   13:      }
        -:   14:    }
        -:   15:    return 0;
        -:   16:  }

Doing the same thing again but with `-O0` instead of `-O3` shows this report:

        -:    0:Source:main.c
        -:    0:Graph:main.gcno
        -:    0:Data:main.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        -:    1:#include <stdio.h>
function main called 1 returned 100% blocks executed 91%
        1:    2:  int main() {
      101:    3:    for (int i = 0; i < 100; i++) {
branch  0 taken 100
branch  1 taken 1 (fallthrough)
      100:    4:      switch (i) {
branch  0 taken 1
branch  1 taken 0
branch  2 taken 99
        -:    5:      case 0:
        1:    6:        printf("0");
call    0 returned 1
        1:    7:        break;
        -:    8:      case 9999:
    #####:    9:        break;
        -:   10:      default:
       99:   11:        printf("d");
call    0 returned 99
       99:   12:        break;
        -:   13:      }
        -:   14:    }
        1:   15:    return 0;
        -:   16:  }

The coverage report says, that the switch case has three branches. Thats right.
The first branch is the `case 0`, the second one is the `case 999` and the last
one is the `default`. But the optimized report looks really wrong.

Lets put both branch reports next to each other to see the problem:

CASE      |  WITH -O0            |  WITH -O3
==========|======================|=====================
case 0    |  branch  0 taken 1   |  branch  0 taken 1
case 9999 |  branch  1 taken 0   |  branch  1 taken 99
default   |  branch  2 taken 99  |  branch  2 taken 0


This is an idea what the bug is about: For me it the optimized version seems to
remove the 9999 case because it is empty. So Branch 1 with -O3 is the case
default and Branch 2 with -O3 is not existent and must not be shown in the
report.

I hope the thing is clear. If not feel free to ask! :-)
>From gcc-bugs-return-578409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 11:26:00 2017
Return-Path: <gcc-bugs-return-578409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7660 invoked by alias); 12 Oct 2017 11: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 6386 invoked by uid 48); 12 Oct 2017 11:25:55 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 11: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: 7.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget priority bug_status cf_known_to_work cf_reconfirmed_on component cc everconfirmed short_desc target_milestone cf_known_to_fail
Message-ID: <bug-82524-4-wE1xvdLYaR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01469.txt.bz2
Content-length: 1450

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*, i?86-*-*
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |6.4.1
   Last reconfirmed|                            |2017-10-12
          Component|middle-end                  |rtl-optimization
                 CC|                            |segher at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|expensive-optimizations     |[7/8 Regression]
                   |produces wrong results      |expensive-optimizations
                   |                            |produces wrong results
   Target Milestone|---                         |7.3
      Known to fail|                            |7.2.1, 8.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's not bswap.  Looks like a RTL optimization issue to me.
--param max-combine-insns=2 fixes it for me.

> g++-7 t.C -O2 --param max-combine-insns=2 
> ./a.out 
A=00FFFFFF B=FFFFFFFF alphaBlend(A,B)=00FFFFFF
> g++-7 t.C -O2 --param max-combine-insns=3
> ./a.out 
A=00FFFFFF B=FFFFFFFF alphaBlend(A,B)=0000FFFF
>From gcc-bugs-return-578410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 11:32:53 2017
Return-Path: <gcc-bugs-return-578410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1174 invoked by alias); 12 Oct 2017 11:32: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 1136 invoked by uid 48); 12 Oct 2017 11:32:48 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82527] Branch probabilities does not match on optimized switch cases
Date: Thu, 12 Oct 2017 11:32: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: 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 assigned_to everconfirmed
Message-ID: <bug-82527-4-QwgpOPthZR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82527-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82527-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01470.txt.bz2
Content-length: 584

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82527

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-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> ---
I'll take a look.
>From gcc-bugs-return-578411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 11:38:46 2017
Return-Path: <gcc-bugs-return-578411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67073 invoked by alias); 12 Oct 2017 11: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 62630 invoked by uid 48); 12 Oct 2017 11:38:42 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/59714] complex division is surprising on aarch64
Date: Thu, 12 Oct 2017 11:38: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: 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 everconfirmed
Message-ID: <bug-59714-4-LcZa6Q395t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01471.txt.bz2
Content-length: 1470

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59714

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-12
                 CC|                            |wilco at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #6 from Wilco <wilco at gcc dot gnu.org> ---
The question is whether the algorithm used in __divdc3 is accurate - it appears
to want to use FMA explictly, otherwise you'd see uses of TRUNC like in
__muldc3. When I build the example with -Ofast (adding volatile etc to avoid it
optimizing away), I get:

        fmul    d3, d3, d2
        fmul    d2, d2, d2
        fnmsub  d0, d0, d1, d3
        fmadd   d1, d1, d1, d2
        fdiv    d0, d0, d1

> ./a.out
0

With -O3:

        bl      __divdc3

> ./a.out
-1.66533e-17

So this bit of the code needs to be investigated for accuracy when using FMA:

  if (FABS (c) < FABS (d))
    {
      ratio = c / d;
      denom = (c * ratio) + d;
      x = ((a * ratio) + b) / denom;
      y = ((b * ratio) - a) / denom;
    }
  else
    {
      ratio = d / c;
      denom = (d * ratio) + c;
      x = ((b * ratio) + a) / denom;
      y = (b - (a * ratio)) / denom;
    }

As Richard already pointed out, this is a generic issue.
>From gcc-bugs-return-578412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 11:49:10 2017
Return-Path: <gcc-bugs-return-578412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17183 invoked by alias); 12 Oct 2017 11: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 10796 invoked by uid 48); 12 Oct 2017 11:49:05 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/59714] complex division is surprising on targets with FMA (was: on aarch64)
Date: Thu, 12 Oct 2017 11:49: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: 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:
Message-ID: <bug-59714-4-kZCeZeE0Py@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01472.txt.bz2
Content-length: 352

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59714

--- Comment #7 from Wilco <wilco at gcc dot gnu.org> ---
Btw this is also totally broken in libgcc2.c:

#define isnan(x)        __builtin_expect ((x) != (x), 0)
#define isfinite(x)     __builtin_expect (!isnan((x) - (x)), 1)
#define isinf(x)        __builtin_expect (!isnan(x) & !isfinite(x), 0)
>From gcc-bugs-return-578413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 12:00:47 2017
Return-Path: <gcc-bugs-return-578413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91971 invoked by alias); 12 Oct 2017 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 91776 invoked by uid 48); 12 Oct 2017 12:00:39 -0000
From: "fw at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82528] New: Warning for conversion from bool to enum
Date: Thu, 12 Oct 2017 12: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: 8.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82528-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01473.txt.bz2
Content-length: 1162

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82528

            Bug ID: 82528
           Summary: Warning for conversion from bool to enum
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fw at gcc dot gnu.org
  Target Milestone: ---

I think this program should emit a warning in C mode:

#define TRUE  ((_Bool) 1)
#define FALSE ((_Bool) 0)

typedef enum { a, b, c } result;

result
f (int flag)
{
  if (flag)
    return TRUE;
  else
    return FALSE;
}

Likewise, this should warn as well:

#include <stdbool.h>

typedef enum { a, b, c } result;

result
f (int flag)
{
  if (flag)
    return true;
  else
    return false;
}

This may require the definition of __true and __false as compiler built-ins,
similar to what exists for NULL in the C++ front end, so that the compiler can
keep up the fiction that true and false are the integer constants 1 and 0
(apparently, false is a valid NULL pointer constant, but warning about false
where NULL could be used seems reasonable to me).
>From gcc-bugs-return-578414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 12:11:51 2017
Return-Path: <gcc-bugs-return-578414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99277 invoked by alias); 12 Oct 2017 12:11: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 99217 invoked by uid 55); 12 Oct 2017 12:11:45 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/59714] complex division is surprising on targets with FMA (was: on aarch64)
Date: Thu, 12 Oct 2017 12:11: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: normal
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-59714-4-4FyhvULBOD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01474.txt.bz2
Content-length: 1670

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59714

--- Comment #8 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
The algorithm isn't expecting to use FMA; it's just treating 
floating-point numbers as approximate real numbers.  I'm not sure why 
multiplication has TRUNC, but my guess is it's about excess range not 
precision - excess precision would improve results, but excess range in 
only one of two numbers added/subtracted could result in an infinity of 
the wrong sign as a result on overflow.

The division for scaling is, as commented, inferior to scalbn / logb 
approaches as in Annex G, but to use such logarithmic scaling would 
require appropriate built-in functions for scalbn / logb supported with 
inline expansion on the target.  Even then, accuracy in the sense of at 
most a few ulps error in real and imaginary parts separately requires fmma 
(a*b + c*d) as the atomic operation, not fma; without that, you have the 
more complicated task (if you want that accuracy) of constructing 
(approximate) fmma out of available operations such as fma.

It's true that now we have full __builtin_isnan / __builtin_isfinite / 
__builtin_isinf those macros for the complex functions should probably use 
them.

As noted above, one could consider proposing complex multiplication / 
division with better / better defined accuracy (or other new facilities) 
for the next revision of the C standard.  Proposals for C2x can be made 
over the next few years (we don't actually have a C2x working draft yet, 
just a C17 bug-fix version being reviewed, but you can still make C2x 
proposals).
>From gcc-bugs-return-578415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 12:21:21 2017
Return-Path: <gcc-bugs-return-578415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94756 invoked by alias); 12 Oct 2017 12: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 94673 invoked by uid 48); 12 Oct 2017 12:21:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 12: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.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82524-4-MXBiMKdB46@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01475.txt.bz2
Content-length: 489

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |uros at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r243929 aka PR78904 fix.
>From gcc-bugs-return-578416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 13:00:44 2017
Return-Path: <gcc-bugs-return-578416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27108 invoked by alias); 12 Oct 2017 13: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 27018 invoked by uid 48); 12 Oct 2017 13:00:40 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 13:00: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.2.1
X-Bugzilla-Keywords: wrong-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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-JEqrhRWVT4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01476.txt.bz2
Content-length: 215

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
Let me analyze this a bit. I suspect that the new patterns trip on some generic
RTL issue.
>From gcc-bugs-return-578417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 13:12:20 2017
Return-Path: <gcc-bugs-return-578417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58355 invoked by alias); 12 Oct 2017 13:12: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 58099 invoked by uid 48); 12 Oct 2017 13:12:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 13: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: 7.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-IYHotnUTtl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01477.txt.bz2
Content-length: 1916

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If I diff the combine dumps before/after this commit, the difference is:
-(insn 32 31 33 2 (parallel [
-            (set (reg:SI 160)
-                (ashiftrt:SI (reg:SI 159)
-                    (const_int 8 [0x8])))
-            (clobber (reg:CC 17 flags))
-        ]) "pr82545.c":16 542 {*ashrsi3_1}
-(insn 36 35 37 2 (parallel [
-            (set (reg:SI 164)
-                (ashiftrt:SI (reg:SI 163)
-                    (const_int 8 [0x8])))
-            (clobber (reg:CC 17 flags))
-        ]) "pr82545.c":16 542 {*ashrsi3_1}
-(insn 37 36 38 2 (parallel [
-            (set (reg:QI 165)
-                (plus:QI (subreg:QI (reg:SI 160) 0)
-                    (subreg:QI (reg:SI 164) 0)))
-            (clobber (reg:CC 17 flags))
-        ]) "pr82545.c":27 214 {*addqi_1}
-(insn 38 37 39 2 (set (zero_extract:SI (reg/v:SI 135 [ result ])
-            (const_int 8 [0x8])
-            (const_int 8 [0x8]))
-        (subreg:SI (reg:QI 165) 0)) "pr82545.c":27 109 {insvsi_1}
vs.
+(note 32 31 33 2 NOTE_INSN_DELETED)
+(note 36 35 37 2 NOTE_INSN_DELETED)
+(note 37 36 38 2 NOTE_INSN_DELETED)
+(insn 38 37 39 2 (parallel [
+            (set (zero_extract:SI (reg/v:SI 135 [ result ])
+                    (const_int 8 [0x8])
+                    (const_int 8 [0x8]))
+                (subreg:SI (plus:QI (subreg:QI (zero_extract:SI (reg:SI 159)
+                                (const_int 8 [0x8])
+                                (const_int 8 [0x8])) 0)
+                        (subreg:QI (zero_extract:SI (reg:SI 163)
+                                (const_int 8 [0x8])
+                                (const_int 8 [0x8])) 0)) 0))
+            (clobber (reg:CC 17 flags))
+        ]) "pr82545.c":27 235 {*addqi_ext_2}

which looks fine to me.  So there is likely just some later bug.
>From gcc-bugs-return-578418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 13:24:43 2017
Return-Path: <gcc-bugs-return-578418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81017 invoked by alias); 12 Oct 2017 13:24: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 80921 invoked by uid 48); 12 Oct 2017 13:24:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 13: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: 7.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82524-4-HnmmSj010g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01478.txt.bz2
Content-length: 3807

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
To me it looks like a LRA bug.
In *.ira we have:
(insn 28 27 29 2 (parallel [
            (set (reg/v:SI 135 [ result ])
                (ashift:SI (reg:SI 153)
                    (const_int 16 [0x10])))
            (clobber (reg:CC 17 flags))
        ]) "pr82545.c":26 504 {*ashlsi3_1}
     (expr_list:REG_DEAD (reg:SI 153)
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (nil))))
...
(insn 38 37 39 2 (parallel [
            (set (zero_extract:SI (reg/v:SI 135 [ result ])
                    (const_int 8 [0x8])
                    (const_int 8 [0x8]))
                (subreg:SI (plus:QI (subreg:QI (zero_extract:SI (reg:SI 159)
                                (const_int 8 [0x8])
                                (const_int 8 [0x8])) 0)
                        (subreg:QI (zero_extract:SI (reg:SI 163)
                                (const_int 8 [0x8])
                                (const_int 8 [0x8])) 0)) 0))
            (clobber (reg:CC 17 flags))
        ]) "pr82545.c":27 235 {*addqi_ext_2}
     (expr_list:REG_DEAD (reg:SI 163)
        (expr_list:REG_DEAD (reg:SI 159)
            (expr_list:REG_UNUSED (reg:CC 17 flags)
                (nil)))))
...
(insn 48 47 50 2 (set (strict_low_part (subreg:QI (reg/v:SI 135 [ result ]) 0))
        (reg:QI 174)) "pr82545.c":28 97 {*movstrictqi_1}
     (expr_list:REG_DEAD (reg:QI 174)
        (nil)))
(insn 50 48 56 2 (parallel [
            (set (reg:SI 176)
                (and:SI (reg/v:SI 135 [ result ])
                    (const_int 16777215 [0xffffff])))
            (clobber (reg:CC 17 flags))
        ]) "pr82545.c":30 384 {*andsi_1}
     (expr_list:REG_DEAD (reg/v:SI 135 [ result ])
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (nil))))

which at least to the RTL documentation is valid, if zero_extract or
strict_low_part is on the LHS, it means the rest of the original register is
preserved, just the bitfield in there is modified.
But with LRA we get:
(insn 28 27 29 2 (parallel [
            (set (reg/v:SI 0 ax [orig:135 result ] [135])
                (ashift:SI (reg:SI 0 ax [153])
                    (const_int 16 [0x10])))
            (clobber (reg:CC 17 flags))
        ]) "pr82545.c":26 504 {*ashlsi3_1}
     (nil))
...
(insn 66 37 38 2 (set (reg:SI 0 ax [159])
        (reg:SI 3 bx [159])) "pr82545.c":27 82 {*movsi_internal}
     (nil))
(insn 38 66 39 2 (parallel [
            (set (zero_extract:SI (reg:SI 0 ax [159])
                    (const_int 8 [0x8])
                    (const_int 8 [0x8]))
                (subreg:SI (plus:QI (subreg:QI (zero_extract:SI (reg:SI 0 ax
[159])
                                (const_int 8 [0x8])
                                (const_int 8 [0x8])) 0)
                        (subreg:QI (zero_extract:SI (reg:SI 1 dx [163])
                                (const_int 8 [0x8])
                                (const_int 8 [0x8])) 0)) 0))
            (clobber (reg:CC 17 flags))
        ]) "pr82545.c":27 235 {*addqi_ext_2}
     (nil))
...
(insn 48 47 50 2 (set (strict_low_part (reg:QI 0 ax [orig:135 result ] [135]))
        (reg:QI 1 dx [174])) "pr82545.c":28 97 {*movstrictqi_1}
     (nil))
(insn 50 48 56 2 (parallel [
            (set (reg:SI 0 ax [176])
                (and:SI (reg/v:SI 0 ax [orig:135 result ] [135])
                    (const_int 16777215 [0xffffff])))
            (clobber (reg:CC 17 flags))
        ]) "pr82545.c":30 384 {*andsi_1}
     (nil))
>From gcc-bugs-return-578419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 13:33:35 2017
Return-Path: <gcc-bugs-return-578419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113357 invoked by alias); 12 Oct 2017 13: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 112555 invoked by uid 48); 12 Oct 2017 13:33:26 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 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: 7.2.1
X-Bugzilla-Keywords: wrong-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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-YJQnSb02J8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01479.txt.bz2
Content-length: 1024

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #6)
> (insn 66 37 38 2 (set (reg:SI 0 ax [159])
>         (reg:SI 3 bx [159])) "pr82545.c":27 82 {*movsi_internal}
>      (nil))
> (insn 38 66 39 2 (parallel [
>             (set (zero_extract:SI (reg:SI 0 ax [159])
>                     (const_int 8 [0x8])
>                     (const_int 8 [0x8]))
>                 (subreg:SI (plus:QI (subreg:QI (zero_extract:SI (reg:SI 0 ax
> [159])
>                                 (const_int 8 [0x8])
>                                 (const_int 8 [0x8])) 0)
>                         (subreg:QI (zero_extract:SI (reg:SI 1 dx [163])
>                                 (const_int 8 [0x8])
>                                 (const_int 8 [0x8])) 0)) 0))
>             (clobber (reg:CC 17 flags))
>         ]) "pr82545.c":27 235 {*addqi_ext_2}
>      (nil))

Do we need "+Q" instead of "=Q" on LHS zero_extract patterns?
>From gcc-bugs-return-578420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 13:39:47 2017
Return-Path: <gcc-bugs-return-578420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54044 invoked by alias); 12 Oct 2017 13:39: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 52154 invoked by uid 48); 12 Oct 2017 13:39:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 13: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: 7.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-2zwCkX3Fyc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01480.txt.bz2
Content-length: 965

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, thinking about it, such an insn isn't really reloadable.
The addb %dh, %ah and similar instructions essentially require that one of the
input operands is a zero_extract from the same pseudo/hard register as is the
zero_extract in the dest, because if that isn't the case, then we essentially
have an instruction with 3 inputs and one output (the inputs are the 2 addition
operands and previous content of the register (bits 0-7 and 16-31)).
So I think we need to add a condition to addqi_ext_{1,2}, andqi_ext_1,
*andqi_ext_1_cc, *andqi_ext_2, *<code>qi_ext_1, *<code>qi_ext_2,
xorqi_ext_1_cc, *xorqi_ext_1_cc patterns (from quick scan), which depending on
whether the input operands are commutative or not would either require that one
of the input operands (or otherwise the first input) is rtx_equal_p to the
destination.
>From gcc-bugs-return-578421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 13:45:50 2017
Return-Path: <gcc-bugs-return-578421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101105 invoked by alias); 12 Oct 2017 13: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 101039 invoked by uid 48); 12 Oct 2017 13:45:46 -0000
From: "barry.revzin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71205] c++14 wrong constructor resolution
Date: Thu, 12 Oct 2017 13: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: 6.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: barry.revzin 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-71205-4-K2auLkPGgF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71205-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71205-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01481.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71205

Barry Revzin <barry.revzin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barry.revzin at gmail dot com

--- Comment #1 from Barry Revzin <barry.revzin at gmail dot com> ---
Superceded by DR 2137
(http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2137), so we're
back to preferring initializer_list<Foo> here.
>From gcc-bugs-return-578422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 13:49:46 2017
Return-Path: <gcc-bugs-return-578422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111676 invoked by alias); 12 Oct 2017 13: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 111617 invoked by uid 48); 12 Oct 2017 13:49:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 13: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: 7.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-iGGgORNwAz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01482.txt.bz2
Content-length: 4357

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #7)
> (In reply to Jakub Jelinek from comment #6)
> > (insn 66 37 38 2 (set (reg:SI 0 ax [159])
> >         (reg:SI 3 bx [159])) "pr82545.c":27 82 {*movsi_internal}
> >      (nil))
> > (insn 38 66 39 2 (parallel [
> >             (set (zero_extract:SI (reg:SI 0 ax [159])
> >                     (const_int 8 [0x8])
> >                     (const_int 8 [0x8]))
> >                 (subreg:SI (plus:QI (subreg:QI (zero_extract:SI (reg:SI 0 ax
> > [159])
> >                                 (const_int 8 [0x8])
> >                                 (const_int 8 [0x8])) 0)
> >                         (subreg:QI (zero_extract:SI (reg:SI 1 dx [163])
> >                                 (const_int 8 [0x8])
> >                                 (const_int 8 [0x8])) 0)) 0))
> >             (clobber (reg:CC 17 flags))
> >         ]) "pr82545.c":27 235 {*addqi_ext_2}
> >      (nil))
> 
> Do we need "+Q" instead of "=Q" on LHS zero_extract patterns?

That said, yes, I think it should use +Q.
As expected, if I fix those, then LRA ICEs, because it really has no way to
reload that:

--- gcc/config/i386/i386.md.jj  2017-10-12 14:05:15.000000000 +0200
+++ gcc/config/i386/i386.md     2017-10-12 15:45:25.001188884 +0200
@@ -6264,7 +6264,7 @@
    (set_attr "mode" "<MODE>")])

 (define_insn "addqi_ext_1"
-  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q,Q")
+  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "+Q,Q")
                         (const_int 8)
                         (const_int 8))
        (subreg:SI
@@ -6300,7 +6300,7 @@
    (set_attr "mode" "QI")])

 (define_insn "*addqi_ext_2"
-  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q")
+  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "+Q")
                         (const_int 8)
                         (const_int 8))
        (subreg:SI
@@ -8998,7 +8998,7 @@
    (set_attr "mode" "QI")])

 (define_insn "andqi_ext_1"
-  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q,Q")
+  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "+Q,Q")
                         (const_int 8)
                         (const_int 8))
        (subreg:SI
@@ -9027,7 +9027,7 @@
                               (const_int 8)) 0)
            (match_operand:QI 2 "general_operand" "QnBc,m"))
          (const_int 0)))
-   (set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q,Q")
+   (set (zero_extract:SI (match_operand 0 "ext_register_operand" "+Q,Q")
                         (const_int 8)
                         (const_int 8))
        (subreg:SI
@@ -9044,7 +9044,7 @@
    (set_attr "mode" "QI")])

 (define_insn "*andqi_ext_2"
-  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q")
+  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "+Q")
                         (const_int 8)
                         (const_int 8))
        (subreg:SI
@@ -9431,7 +9431,7 @@
    (set_attr "mode" "<MODE>")])

 (define_insn "*<code>qi_ext_1"
-  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q,Q")
+  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "+Q,Q")
                         (const_int 8)
                         (const_int 8))
        (subreg:SI
@@ -9449,7 +9449,7 @@
    (set_attr "mode" "QI")])

 (define_insn "*<code>qi_ext_2"
-  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q")
+  [(set (zero_extract:SI (match_operand 0 "ext_register_operand" "+Q")
                         (const_int 8)
                         (const_int 8))
        (subreg:SI
@@ -9552,7 +9552,7 @@
                               (const_int 8)) 0)
            (match_operand:QI 2 "general_operand" "QnBc,m"))
          (const_int 0)))
-   (set (zero_extract:SI (match_operand 0 "ext_register_operand" "=Q,Q")
+   (set (zero_extract:SI (match_operand 0 "ext_register_operand" "+Q,Q")
                         (const_int 8)
                         (const_int 8))
        (subreg:SI

I think for the non-commutative inputs, we could as well just replace the
match_operand 1 with match_dup 0.  For the commutative case, we need to verify
one of the operands is rtx_equal_p.
>From gcc-bugs-return-578423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 13:59:02 2017
Return-Path: <gcc-bugs-return-578423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130516 invoked by alias); 12 Oct 2017 13: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 130478 invoked by uid 48); 12 Oct 2017 13:58:57 -0000
From: "porton at narod dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82529] New: Warning on unreferenced "with" is not produced
Date: Thu, 12 Oct 2017 13:59: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: porton at narod 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-82529-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01483.txt.bz2
Content-length: 1062

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82529

            Bug ID: 82529
           Summary: Warning on unreferenced "with" is not produced
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: porton at narod dot ru
  Target Milestone: ---

Created attachment 42345
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42345&action=edit
The compilation units which should produce a warning

The command "gcc-7 -c -gnat12 -gnatwa test.adb" does not produce a warning on
unreferenced "with Ada.Unchecked_Conversion", despite it must produce such
warning.

The full program text is attached in all.chop and also reprised here.

with Ada.Unchecked_Conversion;
with Ada.Text_IO;
with X;

procedure Test is
begin
  Ada.Text_IO.Put_Line(Integer'Image(X.C(0)));
end;

with Ada.Unchecked_Conversion;

package X is
  function C is new Ada.Unchecked_Conversion(Integer, integer);
end X;
>From gcc-bugs-return-578424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 14:07:48 2017
Return-Path: <gcc-bugs-return-578424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48186 invoked by alias); 12 Oct 2017 14:07: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 48106 invoked by uid 48); 12 Oct 2017 14:07:43 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 14: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: 7.2.1
X-Bugzilla-Keywords: wrong-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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-OmIGLhJI7M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01484.txt.bz2
Content-length: 1045

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #10 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #9)

> > Do we need "+Q" instead of "=Q" on LHS zero_extract patterns?
> 
> That said, yes, I think it should use +Q.
> As expected, if I fix those, then LRA ICEs, because it really has no way to
> reload that:
>
> [...]
>
> I think for the non-commutative inputs, we could as well just replace the
> match_operand 1 with match_dup 0.  For the commutative case, we need to
> verify one of the operands is rtx_equal_p.

It can be done in LRA, but:

(insn 66 37 38 2 (set (reg:SI 0 ax [159])
        (reg:SI 3 bx [159])) "pr82545.c":27 82 {*movsi_internal}
     (nil))

would have to be implemented with

(set (zero_extract:SI (reg:SI A) (const_int 8) (const_int 8))
     (zero_extract:SI (reg:SI B) (const_int 8) (const_int 8)))

that results in "movq %bh, %ah" as a reload.

In effect, LRA has to be taught how to reload zero_extract (and strict_low_part
?) LHS expression.
>From gcc-bugs-return-578425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 14:10:00 2017
Return-Path: <gcc-bugs-return-578425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66607 invoked by alias); 12 Oct 2017 14: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 66533 invoked by uid 55); 12 Oct 2017 14:09:56 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/69728] [6/7 Regression] internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1175
Date: Thu, 12 Oct 2017 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: 6.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: P4
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-69728-4-nQ5PI09dMz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69728-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69728-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01485.txt.bz2
Content-length: 1067

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69728

--- Comment #23 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Oct 12 14:09:21 2017
New Revision: 253677

URL: https://gcc.gnu.org/viewcvs?rev=253677&root=gcc&view=rev
Log:
2017-10-12  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/69728
        Revert
        2017-09-19  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/69728
        * graphite-sese-to-poly.c (schedule_error): New global.
        (add_loop_schedule): Handle empty domain by failing the
        schedule.
        (build_original_schedule): Handle schedule_error.

        * graphite-sese-to-poly.c (add_loop_schedule): Handle empty
        domain by returning an unchanged schedule.

        * gcc.dg/graphite/pr69728.c: Adjust to reflect we can handle
        the loop now.  Remove unrelated undefined behavior.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-sese-to-poly.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/graphite/pr69728.c
>From gcc-bugs-return-578426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 14:33:58 2017
Return-Path: <gcc-bugs-return-578426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121189 invoked by alias); 12 Oct 2017 14: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 120921 invoked by uid 48); 12 Oct 2017 14:33:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 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: 7.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82524-4-JlfkbMnWC9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01486.txt.bz2
Content-length: 732

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42346
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42346&action=edit
gcc8-pr82524.patch

Perhaps it could, but I think such a change isn't at least backportable and not
sure how much work would that be, after all, I think LRA usually works with
insn operands, not RTL that wraps them, so this would need to be an exception.

Here is an attempt to adjust the affected patterns, some of them with
match_dups, others with rtx_equal_p in conditions.

Let me try to write some testcase that attempts to test all the patterns
whether they can be matched if there is matching target.
>From gcc-bugs-return-578427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 14:42:27 2017
Return-Path: <gcc-bugs-return-578427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37222 invoked by alias); 12 Oct 2017 14:42: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 34541 invoked by uid 48); 12 Oct 2017 14:42:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 14: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: 7.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-EEElDGLKbZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01487.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #11)
> Created attachment 42346 [details]
> gcc8-pr82524.patch

Actually, that doesn't work, we ICE on the match_dups.  rtx_equal_p in the
conditions works though and could be easily reverted (but the =Q to +Q kept) if
LRA is taught to do this (if possible).
>From gcc-bugs-return-578428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 14:58:35 2017
Return-Path: <gcc-bugs-return-578428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102423 invoked by alias); 12 Oct 2017 14:58: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 102366 invoked by uid 48); 12 Oct 2017 14:58:31 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 14: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: 7.2.1
X-Bugzilla-Keywords: wrong-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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-ZdoArLBBIZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01488.txt.bz2
Content-length: 704

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #13 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #12)
> (In reply to Jakub Jelinek from comment #11)
> > Created attachment 42346 [details]
> > gcc8-pr82524.patch
> 
> Actually, that doesn't work, we ICE on the match_dups.  rtx_equal_p in the
> conditions works though and could be easily reverted (but the =Q to +Q kept)
> if LRA is taught to do this (if possible).

Yes, this approach is much less invasive. Perhaps a FIXME comment referring to
this PR should be added somewhere. I also expect that
gcc.target/i386/pr78904-?.c testcases will need to be XFAILed with your patch.
>From gcc-bugs-return-578429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 15:01:21 2017
Return-Path: <gcc-bugs-return-578429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104961 invoked by alias); 12 Oct 2017 15: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 104900 invoked by uid 48); 12 Oct 2017 15:01:13 -0000
From: "amker 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: Thu, 12 Oct 2017 15: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: amker at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-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-82479-4-ilDNQtGZhM@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: 2017-10/txt/msg01489.txt.bz2
Content-length: 823

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479

amker at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amker at gcc dot gnu.org

--- Comment #9 from amker at gcc dot gnu.org ---
(In reply to Richard Biener from comment #7)
> Technically loop distribution would be one place to add this.  Or SCEV cprop.
It's trivial to detect such pattern in distribution, but we do need to better
handle reduction.
> 
> The pattern matching should be quite cheap - the question is of course how
> many
> different ways to express popcount exist...  so it does somewhat feel like a
> SPEC hack...

Given it's useful in cryptography, it might not be that "hacking".
>From gcc-bugs-return-578430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 15:11:42 2017
Return-Path: <gcc-bugs-return-578430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122321 invoked by alias); 12 Oct 2017 15: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 122273 invoked by uid 48); 12 Oct 2017 15:11:39 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 15: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: 7.2.1
X-Bugzilla-Keywords: wrong-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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-f8Ef1AgfK0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01490.txt.bz2
Content-length: 634

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #14 from Uroš Bizjak <ubizjak at gmail dot com> ---
Comment on attachment 42346
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42346
gcc8-pr82524.patch


>@@ -9058,7 +9059,8 @@ (define_insn "*andqi_ext_2"
> 			       (const_int 8)
> 			       (const_int 8)) 0)) 0))
>    (clobber (reg:CC FLAGS_REG))]
>-  ""
>+  "rtx_equal_p (operands[0], operands[1])
>+   || rtx_equal_p (operands[0], operands[1])"

Please note typo above, you have also to check operands[2].

>   "and{b}\t{%h2, %h0|%h0, %h2}"
>   [(set_attr "type" "alu")
>    (set_attr "mode" "QI")])
>From gcc-bugs-return-578431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 15:22:18 2017
Return-Path: <gcc-bugs-return-578431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29081 invoked by alias); 12 Oct 2017 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 20242 invoked by uid 48); 12 Oct 2017 15:22:13 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82528] Warning for conversion from bool to enum
Date: Thu, 12 Oct 2017 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
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: bug_status cf_reconfirmed_on cc see_also everconfirmed
Message-ID: <bug-82528-4-mKbBVNqMHQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82528-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82528-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01491.txt.bz2
Content-length: 866

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82528

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-12
                 CC|                            |egallager at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=82272
     Ever confirmed|0                           |1

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
I see you already have bug 78736 under "See Also", but bug 82272 is also
related. Probably a dup of one of those 2, but since I can't decide which,
confirmed.
>From gcc-bugs-return-578432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 15:40:26 2017
Return-Path: <gcc-bugs-return-578432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46604 invoked by alias); 12 Oct 2017 15:40: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 46475 invoked by uid 48); 12 Oct 2017 15:40:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 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: 7.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status component
Message-ID: <bug-82524-4-5sFYH0IeKY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01492.txt.bz2
Content-length: 351

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
          Component|rtl-optimization            |target
>From gcc-bugs-return-578433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 15:52:12 2017
Return-Path: <gcc-bugs-return-578433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32070 invoked by alias); 12 Oct 2017 15: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 28467 invoked by uid 48); 12 Oct 2017 15:52:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Thu, 12 Oct 2017 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: 7.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82524-4-DL3m6EXq7s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01493.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42347
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42347&action=edit
gcc8-pr82524.patch

Nothing really needs to be XFAILed (well, haven't done full bootstrap/regtest
yet, but pr78904* works; thanks for the tip, I was already in the middle of
writing pretty much equivalent test).
>From gcc-bugs-return-578434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 16:37:24 2017
Return-Path: <gcc-bugs-return-578434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55057 invoked by alias); 12 Oct 2017 16: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 54796 invoked by uid 48); 12 Oct 2017 16:37:18 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82528] Warning for conversion from bool to enum
Date: Thu, 12 Oct 2017 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: 8.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: cc
Message-ID: <bug-82528-4-7wcidcUHL4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82528-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82528-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01494.txt.bz2
Content-length: 1316

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82528

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> ---
Yes, I also thought of bug 82272.  The challenge with having the macros true
and false expand to some built-ins (like __true and __false) is that it would
be at odds with the C requirements that they be suitable for use in #if
preprocessing directives and expand to the integer constants 1 and 0.  At a
minimum, the preprocessor would need to be made aware of these built-ins.  The
more esoteric  problems stemming from having them expand to non-literals is in
preprocessor tricks like:

  #include <stdbool.h>

  #define CAT(a, b)  a ## b
  #define CONCAT(a, b) CAT (a, b)

  int i = CONCAT(1, true);

It's not clear that the standard actually requires the above to expand to '11'
(as opposed to causing an error if true were defined to (1), i.e., 1 in
parentheses) so maybe this is a non-issue.  As H. Peter Anvin suggests in the
related bug, it might be helpful to get this clarified and perhaps even
tightened up for C2X.
>From gcc-bugs-return-578435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 16:50:25 2017
Return-Path: <gcc-bugs-return-578435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98968 invoked by alias); 12 Oct 2017 16:50: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 89560 invoked by uid 48); 12 Oct 2017 16:50:20 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82520] Missing warning when stack addresses escape the current scope
Date: Thu, 12 Oct 2017 16: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.1.1
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: bug_status cf_reconfirmed_on cc see_also everconfirmed
Message-ID: <bug-82520-4-luLryfRfXx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82520-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01495.txt.bz2
Content-length: 1389

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82520

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-12
                 CC|                            |msebor at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=69433,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=71924,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=81811
     Ever confirmed|0                           |1

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
There are a number of classes of instances of this problem that GCC doesn't
detect but arguably should and possibly could.  Examples include: pr69433,
pr71924, and pr81811.   Detecting all of them may not be straightforward or
even feasible but improving on the status quo certainly is possible.  This case
does seem like one of the harder ones to catch.  Confirming with that caveat.
>From gcc-bugs-return-578436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 16:51:03 2017
Return-Path: <gcc-bugs-return-578436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102452 invoked by alias); 12 Oct 2017 16:51: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 102127 invoked by uid 48); 12 Oct 2017 16:50:58 -0000
From: "amker 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: Thu, 12 Oct 2017 16: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: amker at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82479-4-cdeeom47xC@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: 2017-10/txt/msg01496.txt.bz2
Content-length: 194

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479

--- Comment #10 from amker at gcc dot gnu.org ---
And this should be considered along with PR36041 which is still an open issue?

Thanks.
>From gcc-bugs-return-578437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 16:57:39 2017
Return-Path: <gcc-bugs-return-578437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73536 invoked by alias); 12 Oct 2017 16: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 67290 invoked by uid 48); 12 Oct 2017 16:57:34 -0000
From: "pinskia 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: Thu, 12 Oct 2017 16:57: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: 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-82479-4-tHBVHdUznv@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: 2017-10/txt/msg01497.txt.bz2
Content-length: 454

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to amker from comment #10)
> And this should be considered along with PR36041 which is still an open
> issue?

For most targets, that PR does not make a difference.  It is only for targets
which does not have a target pattern.  Of the major targets I know of, only
aarch64 with SIMD turned off will run into that issue.
>From gcc-bugs-return-578438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 17:07:10 2017
Return-Path: <gcc-bugs-return-578438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109742 invoked by alias); 12 Oct 2017 17:07: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 82571 invoked by uid 55); 12 Oct 2017 17:07:03 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82353] [8 Regression] runtime ubsan crash
Date: Thu, 12 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vmakarov 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82353-4-lL7RRlSNNs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01498.txt.bz2
Content-length: 770

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353

--- Comment #8 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Thu Oct 12 17:06:29 2017
New Revision: 253685

URL: https://gcc.gnu.org/viewcvs?rev=253685&root=gcc&view=rev
Log:
2017-10-12  Vladimir Makarov  <vmakarov@redhat.com>

        Revert
        2017-10-11  Vladimir Makarov  <vmakarov@redhat.com>
        PR sanitizer/82353
        * lra.c (collect_non_operand_hard_regs): Don't ignore operator
        locations.
        * lra-lives.c (bb_killed_pseudos, bb_gen_pseudos): Move up.
        (make_hard_regno_born, make_hard_regno_dead): Update
        bb_killed_pseudos and bb_gen_pseudos.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-lives.c
    trunk/gcc/lra.c
>From gcc-bugs-return-578440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 17:38:34 2017
Return-Path: <gcc-bugs-return-578440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79748 invoked by alias); 12 Oct 2017 17:38: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 79557 invoked by uid 55); 12 Oct 2017 17:38:27 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82301] [8 regression] Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in r253041 segfault on powerpc64
Date: Thu, 12 Oct 2017 17:38: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82301-4-S9wV9W5OZR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82301-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82301-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01500.txt.bz2
Content-length: 1898

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82301

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Thu Oct 12 17:37:56 2017
New Revision: 253688

URL: https://gcc.gnu.org/viewcvs?rev=253688&root=gcc&view=rev
Log:
PR c/82301 - Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in
r253041 segfault on powerpc64
PR c/82435 - new __attribute__((alias)) warning gets in the way

gcc/ChangeLog:

        PR other/82301
        PR c/82435
        * cgraphunit.c (maybe_diag_incompatible_alias): New function.
        (handle_alias_pairs): Call it.
        * common.opt (-Wattribute-alias): New option.
        * doc/extend.texi (ifunc attribute): Discuss C++ specifics.
        * doc/invoke.texi (-Wattribute-alias): Document.

gcc/testsuite/ChangeLog:

        PR other/82301
        PR c/82435
        * g++.dg/ext/attr-ifunc-1.C: Update.
        * g++.dg/ext/attr-ifunc-2.C: Same.
        * g++.dg/ext/attr-ifunc-3.C: Same.
        * g++.dg/ext/attr-ifunc-4.C: Same.
        * g++.dg/ext/attr-ifunc-5.C: Same.
        * g++.dg/ext/attr-ifunc-6.C: New test.
        * g++.old-deja/g++.abi/vtable2.C: Update.
        * gcc.dg/attr-ifunc-6.c: New test.
        * gcc.dg/attr-ifunc-7.c: New test.
        * gcc.dg/pr81854.c: Update.
        * lib/target-supports.exp: Update.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/common.opt
    trunk/gcc/doc/extend.texi
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-1.C
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-2.C
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-3.C
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-4.C
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-5.C
    trunk/gcc/testsuite/g++.old-deja/g++.abi/vtable2.C
    trunk/gcc/testsuite/gcc.dg/pr81854.c
    trunk/gcc/testsuite/lib/target-supports.exp
>From gcc-bugs-return-578439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 17:38:34 2017
Return-Path: <gcc-bugs-return-578439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79739 invoked by alias); 12 Oct 2017 17:38: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 79560 invoked by uid 55); 12 Oct 2017 17:38:27 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82435] new __attribute__((alias)) warning gets in the way
Date: Thu, 12 Oct 2017 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: 8.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-82435-4-BG3ibHuQ2J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82435-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01499.txt.bz2
Content-length: 1898

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82435

--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Thu Oct 12 17:37:56 2017
New Revision: 253688

URL: https://gcc.gnu.org/viewcvs?rev=253688&root=gcc&view=rev
Log:
PR c/82301 - Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in
r253041 segfault on powerpc64
PR c/82435 - new __attribute__((alias)) warning gets in the way

gcc/ChangeLog:

        PR other/82301
        PR c/82435
        * cgraphunit.c (maybe_diag_incompatible_alias): New function.
        (handle_alias_pairs): Call it.
        * common.opt (-Wattribute-alias): New option.
        * doc/extend.texi (ifunc attribute): Discuss C++ specifics.
        * doc/invoke.texi (-Wattribute-alias): Document.

gcc/testsuite/ChangeLog:

        PR other/82301
        PR c/82435
        * g++.dg/ext/attr-ifunc-1.C: Update.
        * g++.dg/ext/attr-ifunc-2.C: Same.
        * g++.dg/ext/attr-ifunc-3.C: Same.
        * g++.dg/ext/attr-ifunc-4.C: Same.
        * g++.dg/ext/attr-ifunc-5.C: Same.
        * g++.dg/ext/attr-ifunc-6.C: New test.
        * g++.old-deja/g++.abi/vtable2.C: Update.
        * gcc.dg/attr-ifunc-6.c: New test.
        * gcc.dg/attr-ifunc-7.c: New test.
        * gcc.dg/pr81854.c: Update.
        * lib/target-supports.exp: Update.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/common.opt
    trunk/gcc/doc/extend.texi
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-1.C
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-2.C
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-3.C
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-4.C
    trunk/gcc/testsuite/g++.dg/ext/attr-ifunc-5.C
    trunk/gcc/testsuite/g++.old-deja/g++.abi/vtable2.C
    trunk/gcc/testsuite/gcc.dg/pr81854.c
    trunk/gcc/testsuite/lib/target-supports.exp
>From gcc-bugs-return-578441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 17:39:06 2017
Return-Path: <gcc-bugs-return-578441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83258 invoked by alias); 12 Oct 2017 17:39: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 83154 invoked by uid 48); 12 Oct 2017 17:39:02 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82301] [8 regression] Updated test case g++.dg/ext/attr-ifunc-1.C (and others) in r253041 segfault on powerpc64
Date: Thu, 12 Oct 2017 17:39: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: 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: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82301-4-ydoGsYiccy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82301-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82301-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01501.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82301

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Fixed in r253688.
>From gcc-bugs-return-578442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 17:41:11 2017
Return-Path: <gcc-bugs-return-578442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87090 invoked by alias); 12 Oct 2017 17:41: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 86921 invoked by uid 48); 12 Oct 2017 17:41:07 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82435] new __attribute__((alias)) warning gets in the way
Date: Thu, 12 Oct 2017 17: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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82435-4-45Y0KMkfGz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82435-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01502.txt.bz2
Content-length: 519

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82435

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
The type checking is now controlled by a dedicated warning (-Wattribute-alias)
committed in r253688.
>From gcc-bugs-return-578443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 18:22:52 2017
Return-Path: <gcc-bugs-return-578443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97780 invoked by alias); 12 Oct 2017 18: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 97519 invoked by uid 48); 12 Oct 2017 18:22:45 -0000
From: "chrisj at rtems dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82530] New: RTEMS 4.12 SH build failure on FreeBSD 11.1 (clang) with an error in sh_optimize_sett_clrt.cc
Date: Thu, 12 Oct 2017 18: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chrisj at rtems 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-82530-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01503.txt.bz2
Content-length: 4189

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82530

            Bug ID: 82530
           Summary: RTEMS 4.12 SH build failure on FreeBSD 11.1 (clang)
                    with an error in sh_optimize_sett_clrt.cc
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chrisj at rtems dot org
  Target Milestone: ---

Building on FreeBSD with results in the following error:

In file included from
../../gcc-7.2.0/gcc/config/sh/sh_optimize_sett_clrt.cc:30:                      
In file included from /usr/include/c++/v1/vector:266:                         
In file included from /usr/include/c++/v1/__bit_reference:15:                 
In file included from /usr/include/c++/v1/algorithm:640:                      
In file included from /usr/include/c++/v1/memory:629:                         
/usr/include/c++/v1/typeinfo:199:2: error: no member named 'fancy_abort' in
namespace 'std::__1'; did you mean simply 'fancy_abort'?                        
        _VSTD::abort();                                                       
        ^~~~~~~                                                               
/usr/include/c++/v1/__config:390:15: note: expanded from macro '_VSTD'        
#define _VSTD std::_LIBCPP_NAMESPACE                                          
              ^                                                               
../../gcc-7.2.0/gcc/system.h:725:13: note: 'fancy_abort' declared here        
c++extern void fancy_abort (const char *, int, const char *)
ATTRIBUTE_NORETURN;                                                             
            ^                                                                 
The configure command line is:

../gcc-7.2.0/configure --prefix=/build/rtems/tools/4.12
--bindir=/build/rtems/tools/4.12/bin --exec_prefix=/build/rtems/tools/4.12
--includedir=/build/rtems/tools/4.12/include
--libdir=/build/rtems/tools/4.12/lib
--libexecdir=/build/rtems/tools/4.12/libexec
--mandir=/build/rtems/tools/4.12/share/man
--infodir=/build/rtems/tools/4.12/share/info
--datadir=/build/rtems/tools/4.12/share --build=x86_64-freebsd11.1
--host=x86_64-freebsd11.1 --target=sh-rtems4.12 --disable-libstdcxx-pch
--with-gnu-as --with-gnu-ld --verbose --with-newlib --disable-nls
--without-included-gettext --disable-win32-registry
--enable-version-specific-runtime-libs --disable-lto
--enable-newlib-io-c99-formats --enable-newlib-iconv
'--enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258'
--enable-threads --disable-plugin --enable-languages=c,c++
>From gcc-bugs-return-578444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 18:52:32 2017
Return-Path: <gcc-bugs-return-578444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 131045 invoked by alias); 12 Oct 2017 18: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 130794 invoked by uid 48); 12 Oct 2017 18:52:25 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Thu, 12 Oct 2017 18: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-1gdUmZURjA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01504.txt.bz2
Content-length: 366

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I am not sure what to do with this failing test case.
To me, this sounds more like a problem with your test setup.

execute_command_line calls the C system() function.  What
does that do on your system if there is no /bin/sh?  Anything useful?
>From gcc-bugs-return-578445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 19:11:13 2017
Return-Path: <gcc-bugs-return-578445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101773 invoked by alias); 12 Oct 2017 19:11: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 100407 invoked by uid 55); 12 Oct 2017 19:11:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Thu, 12 Oct 2017 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: 7.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82498-4-ZcHSmbH1KD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01505.txt.bz2
Content-length: 810

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 12 19:10:34 2017
New Revision: 253695

URL: https://gcc.gnu.org/viewcvs?rev=253695&root=gcc&view=rev
Log:
        PR target/82498
        * config/i386/i386.md (*ashl<mode>3_mask_1,
        *<shift_insn><mode>3_mask_1, *<rotate_insn><mode>3_mask_1,
        *<btsc><mode>_mask_1, *btr<mode>_mask_1): New define_insn_and_split
        patterns.

        * gcc.target/i386/pr82498-1.c: New test.
        * gcc.target/i386/pr82498-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82498-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr82498-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 19:44:25 2017
Return-Path: <gcc-bugs-return-578446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99124 invoked by alias); 12 Oct 2017 19: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 94655 invoked by uid 48); 12 Oct 2017 19:44:21 -0000
From: "gcc-bugs at deta dot lv" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82531] New: ICE: Segmentation fault (-std=c++1z -fconcepts)
Date: Thu, 12 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc-bugs at deta dot lv
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82531-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01506.txt.bz2
Content-length: 3629

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82531

            Bug ID: 82531
           Summary: ICE: Segmentation fault (-std=c++1z -fconcepts)
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc-bugs at deta dot lv
  Target Milestone: ---

Got ICE while experimenting with concepts.
The code is definitely no longer valid after passing through creduce, but ICE
is the same.
====
g++ -v
----
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local-gcc-7.2/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --enable-languages=c,c++,lto --enable-multilib
Thread model: posix
gcc version 7.2.0 (GCC) 
====
command:
----
g++ -std=c++1z -fconcepts -c testcase.cpp
====
compiler output:
----
testcase.cpp: In instantiation of ‘auto operator-(auto:2, auto:2) [with auto:2
= tuple<>]’:
testcase.cpp:16:13:   required from here
testcase.cpp:12:47: internal compiler error: Segmentation fault
 auto operator-(tuple_type, tuple_type u) { map(u); }
                                            ~~~^~~
0xb127af crash_signal
        ../../gcc/toplev.c:337
0x613e10 tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:13561
0x61e4b2 tsubst_template_args
        ../../gcc/cp/pt.c:11779
0x62714c tsubst_aggr_type
        ../../gcc/cp/pt.c:11981
0x614438 tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:13487
0x6254e6 tsubst_qualified_id
        ../../gcc/cp/pt.c:14373
0x61f279 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
        ../../gcc/cp/pt.c:16962
0x618b37 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../gcc/cp/pt.c:16550
0x71bbea satisfy_predicate_constraint
        ../../gcc/cp/constraint.cc:2016
0x71bbea satisfy_constraint_1
        ../../gcc/cp/constraint.cc:2244
0x71be44 satisfy_check_constraint
        ../../gcc/cp/constraint.cc:2061
0x71be44 satisfy_constraint_1
        ../../gcc/cp/constraint.cc:2247
0x71c1d0 satisfy_constraint
        ../../gcc/cp/constraint.cc:2302
0x71c2c3 satisfy_associated_constraints
        ../../gcc/cp/constraint.cc:2326
0x71c3c3 constraints_satisfied_p(tree_node*)
        ../../gcc/cp/constraint.cc:2401
0x5de5b9 add_function_candidate
        ../../gcc/cp/call.c:2072
0x5df0d9 add_template_candidate_real
        ../../gcc/cp/call.c:3208
0x5d6844 add_template_candidate
        ../../gcc/cp/call.c:3252
0x5d6844 add_candidates
        ../../gcc/cp/call.c:5483
0x5e0cc1 perform_overload_resolution
        ../../gcc/cp/call.c:4143
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 (testcase.cpp)
----
typedef int size_t;
template <typename _Tp, _Tp __v> struct integral_constant {
        static constexpr _Tp value = __v;
};

typedef integral_constant<bool, true> true_type;
template <typename...> class tuple {};

template <typename> struct is_tuple : true_type {};
template <class T> concept bool tuple_type = is_tuple<T>::value;
template <typename FUN> decltype() map(FUN, tuple_type... tuples);
auto operator-(tuple_type, tuple_type u) { map(u); }

using quantity = tuple<>;
constexpr quantity foo(quantity const& L, quantity const& R){
        return R - L;
}
====
I hope this helps.
>From gcc-bugs-return-578447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 20:09:06 2017
Return-Path: <gcc-bugs-return-578447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39394 invoked by alias); 12 Oct 2017 20: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 37638 invoked by uid 48); 12 Oct 2017 20:09:02 -0000
From: "slash.tmp at free dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus warning when inlining or unrolling: "array subscript is above array bounds"
Date: Thu, 12 Oct 2017 20: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: 4.8.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: slash.tmp at free dot 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-56456-4-Wp7jofGYtj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01507.txt.bz2
Content-length: 1079

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456

Mason <slash.tmp at free dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jwakely.gcc at gmail dot com,
                   |                            |law at redhat dot com,
                   |                            |rguenth at gcc dot gnu.org,
                   |                            |slash.tmp at free dot fr

--- Comment #2 from Mason <slash.tmp at free dot fr> ---
A few more bugs should be added to this tracker:
(It seems I don't have permission to do that?)

bug 59124
bug 63441
bug 63477
bug 80907
bug 82286

Adding my own testcase here:

extern int array[3];
void foo(int n)
{
        for (int i = 0; i < n; ++i)
                for (int j = 0; j < i; ++j)
                        if (array[i] == array[j])
                                array[j] = 0;
}

gcc -Wall -O3 test.c triggers bogus warning(s) with any version of gcc >= 4.8
>From gcc-bugs-return-578448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 21:53:59 2017
Return-Path: <gcc-bugs-return-578448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67979 invoked by alias); 12 Oct 2017 21:53: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 64775 invoked by uid 55); 12 Oct 2017 21:53:53 -0000
From: "law at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82493] [8 Regression] UBSAN in gcc/sbitmap.c:368:28: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'
Date: Thu, 12 Oct 2017 21: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law 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-82493-4-fP1Lqhhxyx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82493-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82493-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01508.txt.bz2
Content-length: 771

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82493

--- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Thu Oct 12 21:53:21 2017
New Revision: 253699

URL: https://gcc.gnu.org/viewcvs?rev=253699&root=gcc&view=rev
Log:
        PR tree-optimization/82493
        * sbitmap.c (bitmap_bit_in_range_p): Fix the implementation.
        (test_range_functions): New function.
        (sbitmap_c_tests): Likewise.
        * selftest-run-tests.c (selftest::run_tests): Run new tests.
        * selftest.h (sbitmap_c_tests): New function.

        * tree-ssa-dse.c (live_bytes_read): Fix thinko.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sbitmap.c
    trunk/gcc/selftest-run-tests.c
    trunk/gcc/selftest.h
    trunk/gcc/tree-ssa-dse.c
>From gcc-bugs-return-578449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 21:55:19 2017
Return-Path: <gcc-bugs-return-578449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2949 invoked by alias); 12 Oct 2017 21: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 127439 invoked by uid 48); 12 Oct 2017 21:55:14 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82493] [8 Regression] UBSAN in gcc/sbitmap.c:368:28: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'
Date: Thu, 12 Oct 2017 21: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at redhat dot com
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 cc resolution
Message-ID: <bug-82493-4-7w9nOWnVOc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82493-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82493-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01509.txt.bz2
Content-length: 521

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82493

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |law at redhat dot com
         Resolution|---                         |FIXED

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
Fixed by Martin's patch on the trunk.
>From gcc-bugs-return-578450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 22:26:23 2017
Return-Path: <gcc-bugs-return-578450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28457 invoked by alias); 12 Oct 2017 22:26: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 25879 invoked by uid 48); 12 Oct 2017 22:26:20 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82533] New: inefficient code generation for copy loop on falkor
Date: Thu, 12 Oct 2017 22: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: 8.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created
Message-ID: <bug-82533-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01510.txt.bz2
Content-length: 1295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82533

            Bug ID: 82533
           Summary: inefficient code generation for copy loop on falkor
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilson at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64

Created attachment 42348
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42348&action=edit
testcase, to reproduce compile with -mcpu=falkor -O2 -ftree-vectorize

When lmbench stream copy is compiled with -O2 -ftree-vectorize -mcpu=falkor,
the inner loop gets compiled to
.L4:
        ldr     q0, [x2, x3]
        str     q0, [x1, x3]
        add     x3, x3, 16
        cmp     x3, x4
        bne     .L4

The str qX [reg+reg] instruction is very inefficient on Falkor.  We get a 16%
performance increase if we disable use of str qX [r+r], to get instead
.L4:
        ldr     q0, [x2, x3]
        add     x5, x1, x3
        add     x3, x3, 16
        cmp     x3, x4
        str     q0, [x5]
        bne     .L4

A proposed patch was posted to gcc-patches here
    https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01547.html
>From gcc-bugs-return-578451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 22:29:16 2017
Return-Path: <gcc-bugs-return-578451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45014 invoked by alias); 12 Oct 2017 22:29: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 44934 invoked by uid 48); 12 Oct 2017 22:29:11 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82533] inefficient code generation for copy loop on falkor
Date: Thu, 12 Oct 2017 22: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: 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:
Message-ID: <bug-82533-4-WqKmooqzE5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82533-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82533-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01511.txt.bz2
Content-length: 629

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82533

--- Comment #1 from Jim Wilson <wilson at gcc dot gnu.org> ---
A reviewer suggested using register_offset in the address cost structure to fix
this.  That doesn't prevent all reg+reg addressing modes from being generated,
though this might be fixable with some work.  However, a bigger problem, is
that it disables reg+reg addressing modes for both loads and stores, and
disabling reg+reg loads reduces performance on Falkor.  It is only the reg+reg
quad-word store that needs to be disabled for best performance.  To make this
happen, we need to modify the md file.
>From gcc-bugs-return-578452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 22:34:40 2017
Return-Path: <gcc-bugs-return-578452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17545 invoked by alias); 12 Oct 2017 22: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 17437 invoked by uid 48); 12 Oct 2017 22:34:36 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82533] inefficient code generation for copy loop on falkor
Date: Thu, 12 Oct 2017 22: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.0
X-Bugzilla-Keywords:
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: attachments.created
Message-ID: <bug-82533-4-v7cpQUq00F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82533-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82533-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01512.txt.bz2
Content-length: 230

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82533

--- Comment #2 from Jim Wilson <wilson at gcc dot gnu.org> ---
Created attachment 42349
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42349&action=edit
proposed fix
>From gcc-bugs-return-578453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 23:00:55 2017
Return-Path: <gcc-bugs-return-578453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72935 invoked by alias); 12 Oct 2017 23:00: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 72806 invoked by uid 48); 12 Oct 2017 23:00:51 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/82534] New: [meta-bug] POSIX compliant compiler options
Date: Thu, 12 Oct 2017 23:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82534-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01513.txt.bz2
Content-length: 1183

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82534

            Bug ID: 82534
           Summary: [meta-bug] POSIX compliant compiler options
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilson at gcc dot gnu.org
  Target Milestone: ---

This is a meta bug to track issues with compiler options not being POSIX
compliant.  POSIX says that -X -Y is equivalent to -XY.  This is not true for
some gcc options.  The GNU coding standards require that single character
options are introduced with one dash and multiple character options are
introduced with two dashes.  GCC needs to try to conform to this rule.

A single character option that requires an argument does not need to comply
with this rule, so -f and -m options are OK.

POSIX does also say that if you have options that comply with the rules, then
it is OK to have some non-compliant options for compatibility with older
versions of the tool.  So we don't necessarily have to eliminate the old single
dash multiple character options.
>From gcc-bugs-return-578454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 23:07:26 2017
Return-Path: <gcc-bugs-return-578454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84690 invoked by alias); 12 Oct 2017 23: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 84530 invoked by uid 48); 12 Oct 2017 23:07:21 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/82535] New: gcc --help lists single dash long option names instead of preferred double dash long option names
Date: Thu, 12 Oct 2017 23:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter blocked target_milestone
Message-ID: <bug-82535-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01514.txt.bz2
Content-length: 1015

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82535

            Bug ID: 82535
           Summary: gcc --help lists single dash long option names instead
                    of preferred double dash long option names
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilson at gcc dot gnu.org
            Blocks: 82534
  Target Milestone: ---

The gcc --help output has lines like
  -print-search-dirs       Display the directories in the compiler's search
path
  -print-libgcc-file-name  Display the name of the compiler's companion library

but the preferred option names have two dashes not one.  The gcc --help output
should list the preferred double dash option name in all cases where it exists.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82534
[Bug 82534] [meta-bug] POSIX compliant compiler options
>From gcc-bugs-return-578455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 23:13:17 2017
Return-Path: <gcc-bugs-return-578455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107898 invoked by alias); 12 Oct 2017 23: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 104815 invoked by uid 48); 12 Oct 2017 23:13:13 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/82536] New: gcc docs list single dash long options instead of preferred double dash long options
Date: Thu, 12 Oct 2017 23:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter blocked target_milestone
Message-ID: <bug-82536-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01515.txt.bz2
Content-length: 927

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82536

            Bug ID: 82536
           Summary: gcc docs list single dash long options instead of
                    preferred double dash long options
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilson at gcc dot gnu.org
            Blocks: 82534
  Target Milestone: ---

The GCC documentation lists single dash option names.  For instance,
gcc/doc/invoke.texi has
@item -print-libgcc-file-name

This should be documenting --print-libgcc-file-name instead as that is the
preferred name.  This should be fixed for all options that have double dash
option names.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82534
[Bug 82534] [meta-bug] POSIX compliant compiler options
>From gcc-bugs-return-578456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 23:19:31 2017
Return-Path: <gcc-bugs-return-578456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39637 invoked by alias); 12 Oct 2017 23:19: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 39485 invoked by uid 48); 12 Oct 2017 23:19:27 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/82537] New: some long options missing double dash versions
Date: Thu, 12 Oct 2017 23:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter blocked target_milestone
Message-ID: <bug-82537-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01516.txt.bz2
Content-length: 1198

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82537

            Bug ID: 82537
           Summary: some long options missing double dash versions
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilson at gcc dot gnu.org
            Blocks: 82534
  Target Milestone: ---

All long options should have a double dash version, which should be the
preferred version of the option name.  This is missing for some long options.

palantir:2099$ ./xgcc -B./ --dumpversion
xgcc: error: unrecognized command line option ‘--dumpversion’; did you mean
‘-dumpversion’?
xgcc: fatal error: no input files
compilation terminated.
palantir:2100$ ./xgcc -B./ --dumpmachine
xgcc: error: unrecognized command line option ‘--dumpmachine’; did you mean
‘-dumpmachine’?
xgcc: fatal error: no input files
compilation terminated.
palantir:2101$


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82534
[Bug 82534] [meta-bug] POSIX compliant compiler options
>From gcc-bugs-return-578457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 12 23:22:16 2017
Return-Path: <gcc-bugs-return-578457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45087 invoked by alias); 12 Oct 2017 23:22: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 44924 invoked by uid 48); 12 Oct 2017 23:22:12 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/82538] New: deprecate some single dash long option names
Date: Thu, 12 Oct 2017 23:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter blocked target_milestone
Message-ID: <bug-82538-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01517.txt.bz2
Content-length: 863

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82538

            Bug ID: 82538
           Summary: deprecate some single dash long option names
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilson at gcc dot gnu.org
            Blocks: 82534
  Target Milestone: ---

We should consider deprecating the single dash version of some long option
names, when the double dash version is properly and consistently being used. 
However, I don't think this is required for POSIX compliance, and the
inconvenience of such a change may outweigh the benefits.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82534
[Bug 82534] [meta-bug] POSIX compliant compiler options
>From gcc-bugs-return-578458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 00:03:52 2017
Return-Path: <gcc-bugs-return-578458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86825 invoked by alias); 13 Oct 2017 00: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 86730 invoked by uid 48); 13 Oct 2017 00:03:48 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
Date: Fri, 13 Oct 2017 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: 8.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82511-4-PpZ9Bn1fzw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01518.txt.bz2
Content-length: 1453

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fritzoreese at gmail dot com,
                   |                            |kargl at gcc dot gnu.org

--- Comment #2 from kargl at gcc dot gnu.org ---
This appears to fix the problem.  But, I'm not too familiar
with how the DEC structure/union/map/record stuff works.
May be Fritz can take a quick peek. 

Index: io.c
===================================================================
--- io.c        (revision 253587)
+++ io.c        (working copy)
@@ -3536,6 +3536,14 @@ match_io_element (io_kind k, gfc_code **cpp)
       m = gfc_match_variable (&expr, 0);
       if (m == MATCH_NO)
        gfc_error ("Expected variable in READ statement at %C");
+
+      if (m == MATCH_YES && expr->ts.type == BT_DERIVED && expr->ts.kind == 0
+         && expr->ts.u.derived->attr.flavor == FL_STRUCT)
+       {
+               gfc_error ("Structure %qs at %L cannot be used as a variable",
+                          expr->symtree->name, &expr->where);
+               return MATCH_ERROR;
+       }
     }
   else
     {
>From gcc-bugs-return-578459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 01:23:09 2017
Return-Path: <gcc-bugs-return-578459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31585 invoked by alias); 13 Oct 2017 01:23: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 31517 invoked by uid 48); 13 Oct 2017 01:23:05 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Fri, 13 Oct 2017 01: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: 5.4.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81924-4-ydON27NgN3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01519.txt.bz2
Content-length: 161

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Bill, do you want to backport that?
>From gcc-bugs-return-578460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 01:39:32 2017
Return-Path: <gcc-bugs-return-578460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61225 invoked by alias); 13 Oct 2017 01: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 61092 invoked by uid 48); 13 Oct 2017 01:39:28 -0000
From: "foreese at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
Date: Fri, 13 Oct 2017 01: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: foreese at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-82511-4-vbKVx4WjE6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01520.txt.bz2
Content-length: 1155

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511

Fritz Reese <foreese at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |foreese at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |foreese at gcc dot gnu.org

--- Comment #3 from Fritz Reese <foreese at gcc dot gnu.org> ---
Under other DEC compilers, it seems STRUCTUREs are to be treated consistently
with derived types in regards to I/O lists. That is to say, a structure
variable is treated as if each of its named components was listed on the I/O
list. (Even with UNIONs/MAPs, each named component is to be treated as having
been listed in place of the DEC RECORD containing it, so that the last
component written to within overlapping MAPs takes effect. Yikes.)

I believe both the code in the attachment and the "intended code" (writing to
bucket.c16 instead of bucket) should be accepted, whereas they both ICE
currently.

I will look into it.
>From gcc-bugs-return-578461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 06:59:53 2017
Return-Path: <gcc-bugs-return-578461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121800 invoked by alias); 13 Oct 2017 06: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 121483 invoked by uid 55); 13 Oct 2017 06:59:45 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82525] [GRAPHITE] codegen error for modulo operations we cannot represent
Date: Fri, 13 Oct 2017 06: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: 8.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-82525-4-v7PQzhY4Mi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82525-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01521.txt.bz2
Content-length: 1122

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82525

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct 13 06:59:13 2017
New Revision: 253706

URL: https://gcc.gnu.org/viewcvs?rev=253706&root=gcc&view=rev
Log:
2017-10-13  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82525
        * graphite-isl-ast-to-gimple.c
        (translate_isl_ast_to_gimple::widest_int_from_isl_expr_int): Split
        out from ...
        (translate_isl_ast_to_gimple::gcc_expression_from_isl_expr_int): Here.
        Fail code generation when we cannot represent the isl integer.
        (binary_op_to_tree): Elide modulo operations that are no-ops
        in the type we code generate.  Remove now superfluous code
        generation errors.

        * gcc.dg/graphite/id-30.c: New testcase.
        * gfortran.dg/graphite/id-28.f90: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/id-30.c
    trunk/gcc/testsuite/gfortran.dg/graphite/id-28.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-isl-ast-to-gimple.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 07:03:34 2017
Return-Path: <gcc-bugs-return-578463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127377 invoked by alias); 13 Oct 2017 07: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 126745 invoked by uid 55); 13 Oct 2017 07:03:27 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82355] [8 Regression] ICE in outermost_loop_in_sese, at sese.c:301
Date: Fri, 13 Oct 2017 07: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82355-4-1jEhBoEtWf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82355-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82355-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01523.txt.bz2
Content-length: 4688

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82355

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct 13 07:02:55 2017
New Revision: 253707

URL: https://gcc.gnu.org/viewcvs?rev=253707&root=gcc&view=rev
Log:
2017-10-13  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82451
        Revert
        2017-10-02  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82355
        * graphite-isl-ast-to-gimple.c (build_iv_mapping): Also build
        a mapping for the enclosing loop but avoid generating one for
        the loop tree root.
        (copy_bb_and_scalar_dependences): Remove premature codegen
        error on PHIs in blocks duplicated into multiple places.
        * graphite-scop-detection.c
        (scop_detection::stmt_has_simple_data_refs_p): For a loop not
        in the region use it as loop and nest to analyze the DR in.
        (try_generate_gimple_bb): Likewise.
        * graphite-sese-to-poly.c (extract_affine_chrec): Adjust.
        (add_loop_constraints): For blocks in a loop not in the region
        create a dimension with a single iteration.
        * sese.h (gbb_loop_at_index): Remove assert.

        * cfgloop.c (loop_preheader_edge): For the loop tree root
        return the single successor of the entry block.
        * graphite-isl-ast-to-gimple.c (graphite_regenerate_ast_isl):
        Reset the SCEV hashtable and niters.
        * graphite-scop-detection.c
        (scop_detection::graphite_can_represent_scev): Add SCOP parameter,
        assert that we only have POLYNOMIAL_CHREC that vary in loops
        contained in the region.
        (scop_detection::graphite_can_represent_expr): Adjust.
        (scop_detection::stmt_has_simple_data_refs_p): For loops
        not in the region set loop to NULL.  The nest is now the
        entry edge to the region.
        (try_generate_gimple_bb): Likewise.
        * sese.c (scalar_evolution_in_region): Adjust for
        instantiate_scev change.
        * tree-data-ref.h (graphite_find_data_references_in_stmt):
        Make nest parameter the edge into the region.
        (create_data_ref): Likewise.
        * tree-data-ref.c (dr_analyze_indices): Make nest parameter an
        entry edge into a region and adjust instantiate_scev calls.
        (create_data_ref): Likewise.
        (graphite_find_data_references_in_stmt): Likewise.
        (find_data_references_in_stmt): Pass the loop preheader edge
        from the nest argument.
        * tree-scalar-evolution.h (instantiate_scev): Make instantiate_below
        parameter the edge into the region.
        (instantiate_parameters): Use the loop preheader edge as entry.
        * tree-scalar-evolution.c (analyze_scalar_evolution): Handle
        NULL loop.
        (get_instantiated_value_entry): Make instantiate_below parameter
        the edge into the region.
        (instantiate_scev_name): Likewise.  Adjust dominance checks,
        when we cannot use loop-based instantiation instantiate by
        walking use-def chains.
        (instantiate_scev_poly): Adjust.
        (instantiate_scev_binary): Likewise.
        (instantiate_scev_convert): Likewise.
        (instantiate_scev_not): Likewise.
        (instantiate_array_ref): Remove.
        (instantiate_scev_3): Likewise.
        (instantiate_scev_2): Likewise.
        (instantiate_scev_1): Likewise.
        (instantiate_scev_r): Do not blindly handle N-operand trees.
        Do not instantiate array-refs.  Handle all constants and invariants.
        (instantiate_scev): Make instantiate_below parameter
        the edge into the region.
        (resolve_mixers): Use the loop preheader edge for the region
        parameter to instantiate_scev_r.
        * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Adjust.

        * gcc.dg/graphite/pr82451.c: New testcase.
        * gfortran.dg/graphite/id-27.f90: Likewise.
        * gfortran.dg/graphite/pr82451.f: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr82451.c
    trunk/gcc/testsuite/gfortran.dg/graphite/id-27.f90
    trunk/gcc/testsuite/gfortran.dg/graphite/pr82451.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgloop.c
    trunk/gcc/graphite-isl-ast-to-gimple.c
    trunk/gcc/graphite-scop-detection.c
    trunk/gcc/graphite-sese-to-poly.c
    trunk/gcc/sese.c
    trunk/gcc/sese.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/graphite/fuse-1.c
    trunk/gcc/testsuite/gcc.dg/graphite/fuse-2.c
    trunk/gcc/tree-data-ref.c
    trunk/gcc/tree-data-ref.h
    trunk/gcc/tree-scalar-evolution.c
    trunk/gcc/tree-scalar-evolution.h
    trunk/gcc/tree-ssa-loop-prefetch.c
>From gcc-bugs-return-578462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 07:03:34 2017
Return-Path: <gcc-bugs-return-578462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127313 invoked by alias); 13 Oct 2017 07: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 126746 invoked by uid 55); 13 Oct 2017 07:03:27 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82451] [GRAPHITE] codegen error in get_rename_from_scev
Date: Fri, 13 Oct 2017 07: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.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-82451-4-UaZ7b7FNQB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82451-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01522.txt.bz2
Content-length: 4688

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82451

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct 13 07:02:55 2017
New Revision: 253707

URL: https://gcc.gnu.org/viewcvs?rev=253707&root=gcc&view=rev
Log:
2017-10-13  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82451
        Revert
        2017-10-02  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82355
        * graphite-isl-ast-to-gimple.c (build_iv_mapping): Also build
        a mapping for the enclosing loop but avoid generating one for
        the loop tree root.
        (copy_bb_and_scalar_dependences): Remove premature codegen
        error on PHIs in blocks duplicated into multiple places.
        * graphite-scop-detection.c
        (scop_detection::stmt_has_simple_data_refs_p): For a loop not
        in the region use it as loop and nest to analyze the DR in.
        (try_generate_gimple_bb): Likewise.
        * graphite-sese-to-poly.c (extract_affine_chrec): Adjust.
        (add_loop_constraints): For blocks in a loop not in the region
        create a dimension with a single iteration.
        * sese.h (gbb_loop_at_index): Remove assert.

        * cfgloop.c (loop_preheader_edge): For the loop tree root
        return the single successor of the entry block.
        * graphite-isl-ast-to-gimple.c (graphite_regenerate_ast_isl):
        Reset the SCEV hashtable and niters.
        * graphite-scop-detection.c
        (scop_detection::graphite_can_represent_scev): Add SCOP parameter,
        assert that we only have POLYNOMIAL_CHREC that vary in loops
        contained in the region.
        (scop_detection::graphite_can_represent_expr): Adjust.
        (scop_detection::stmt_has_simple_data_refs_p): For loops
        not in the region set loop to NULL.  The nest is now the
        entry edge to the region.
        (try_generate_gimple_bb): Likewise.
        * sese.c (scalar_evolution_in_region): Adjust for
        instantiate_scev change.
        * tree-data-ref.h (graphite_find_data_references_in_stmt):
        Make nest parameter the edge into the region.
        (create_data_ref): Likewise.
        * tree-data-ref.c (dr_analyze_indices): Make nest parameter an
        entry edge into a region and adjust instantiate_scev calls.
        (create_data_ref): Likewise.
        (graphite_find_data_references_in_stmt): Likewise.
        (find_data_references_in_stmt): Pass the loop preheader edge
        from the nest argument.
        * tree-scalar-evolution.h (instantiate_scev): Make instantiate_below
        parameter the edge into the region.
        (instantiate_parameters): Use the loop preheader edge as entry.
        * tree-scalar-evolution.c (analyze_scalar_evolution): Handle
        NULL loop.
        (get_instantiated_value_entry): Make instantiate_below parameter
        the edge into the region.
        (instantiate_scev_name): Likewise.  Adjust dominance checks,
        when we cannot use loop-based instantiation instantiate by
        walking use-def chains.
        (instantiate_scev_poly): Adjust.
        (instantiate_scev_binary): Likewise.
        (instantiate_scev_convert): Likewise.
        (instantiate_scev_not): Likewise.
        (instantiate_array_ref): Remove.
        (instantiate_scev_3): Likewise.
        (instantiate_scev_2): Likewise.
        (instantiate_scev_1): Likewise.
        (instantiate_scev_r): Do not blindly handle N-operand trees.
        Do not instantiate array-refs.  Handle all constants and invariants.
        (instantiate_scev): Make instantiate_below parameter
        the edge into the region.
        (resolve_mixers): Use the loop preheader edge for the region
        parameter to instantiate_scev_r.
        * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Adjust.

        * gcc.dg/graphite/pr82451.c: New testcase.
        * gfortran.dg/graphite/id-27.f90: Likewise.
        * gfortran.dg/graphite/pr82451.f: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr82451.c
    trunk/gcc/testsuite/gfortran.dg/graphite/id-27.f90
    trunk/gcc/testsuite/gfortran.dg/graphite/pr82451.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgloop.c
    trunk/gcc/graphite-isl-ast-to-gimple.c
    trunk/gcc/graphite-scop-detection.c
    trunk/gcc/graphite-sese-to-poly.c
    trunk/gcc/sese.c
    trunk/gcc/sese.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/graphite/fuse-1.c
    trunk/gcc/testsuite/gcc.dg/graphite/fuse-2.c
    trunk/gcc/tree-data-ref.c
    trunk/gcc/tree-data-ref.h
    trunk/gcc/tree-scalar-evolution.c
    trunk/gcc/tree-scalar-evolution.h
    trunk/gcc/tree-ssa-loop-prefetch.c
>From gcc-bugs-return-578464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 07:17:53 2017
Return-Path: <gcc-bugs-return-578464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27320 invoked by alias); 13 Oct 2017 07: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 26355 invoked by uid 55); 13 Oct 2017 07:17:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Fri, 13 Oct 2017 07: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: 7.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82498-4-xd72MSJ1MM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01524.txt.bz2
Content-length: 671

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 07:17:06 2017
New Revision: 253708

URL: https://gcc.gnu.org/viewcvs?rev=253708&root=gcc&view=rev
Log:
        PR target/82498
        * config/i386/ia32intrin.h (__rold, __rord, __rolq, __rorq): Allow
        any values of __C while still being pattern recognizable as a simple
        rotate instruction.

        * gcc.dg/ubsan/pr82498.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/ubsan/pr82498.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/ia32intrin.h
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 07:29:24 2017
Return-Path: <gcc-bugs-return-578465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17958 invoked by alias); 13 Oct 2017 07: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 17915 invoked by uid 55); 13 Oct 2017 07:29:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Fri, 13 Oct 2017 07: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: 7.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82498-4-A1uNT2ujlw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01525.txt.bz2
Content-length: 759

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 07:28:46 2017
New Revision: 253709

URL: https://gcc.gnu.org/viewcvs?rev=253709&root=gcc&view=rev
Log:
        PR target/82498
        * fold-const.c (fold_binary_loc) <bit_rotate>: Code cleanups,
        instead of handling MINUS_EXPR twice (once for each argument),
        canonicalize operand order and handle just once, use rtype where
        possible.  Handle (A << B) | (A >> (-B & (Z - 1))).

        * gcc.dg/tree-ssa/pr82498.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr82498.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 07:30:34 2017
Return-Path: <gcc-bugs-return-578466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19580 invoked by alias); 13 Oct 2017 07: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 19502 invoked by uid 55); 13 Oct 2017 07:30:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Fri, 13 Oct 2017 07: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: 7.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-ouS4mmdAkG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01526.txt.bz2
Content-length: 944

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 07:29:51 2017
New Revision: 253710

URL: https://gcc.gnu.org/viewcvs?rev=253710&root=gcc&view=rev
Log:
        PR target/82524
        * config/i386/i386.md (addqi_ext_1, andqi_ext_1,
        *andqi_ext_1_cc, *<code>qi_ext_1, *xorqi_ext_1_cc): Change
        =Q constraints to +Q and into insn condition add check
        that operands[0] and operands[1] are equal.
        (*addqi_ext_2, *andqi_ext_2, *<code>qi_ext_2): Change
        =Q constraints to +Q and into insn condition add check
        that operands[0] is equal to either operands[1] or operands[2].

        * gcc.c-torture/execute/pr82524.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr82524.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 07:40:19 2017
Return-Path: <gcc-bugs-return-578467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17155 invoked by alias); 13 Oct 2017 07:40: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 17079 invoked by uid 55); 13 Oct 2017 07:40:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Fri, 13 Oct 2017 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: 7.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-2wGsyYjtbX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01527.txt.bz2
Content-length: 1008

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 07:39:42 2017
New Revision: 253711

URL: https://gcc.gnu.org/viewcvs?rev=253711&root=gcc&view=rev
Log:
        PR target/82524
        * config/i386/i386.md (addqi_ext_1, andqi_ext_1,
        *andqi_ext_1_cc, *<code>qi_ext_1, *xorqi_ext_1_cc): Change
        =Q constraints to +Q and into insn condition add check
        that operands[0] and operands[1] are equal.
        (*addqi_ext_2, *andqi_ext_2, *<code>qi_ext_2): Change
        =Q constraints to +Q and into insn condition add check
        that operands[0] is equal to either operands[1] or operands[2].

        * gcc.c-torture/execute/pr82524.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/execute/pr82524.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/i386/i386.md
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 07:43:17 2017
Return-Path: <gcc-bugs-return-578468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30327 invoked by alias); 13 Oct 2017 07: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 30228 invoked by uid 48); 13 Oct 2017 07:43:13 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/71876] longjmp is miscompiled with -ffreestanding
Date: Fri, 13 Oct 2017 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: 7.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: 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-71876-4-ZUvOiaI9ca@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71876-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71876-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01528.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71876

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
fixed in gcc 7.1
>From gcc-bugs-return-578469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 07:46:01 2017
Return-Path: <gcc-bugs-return-578469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89941 invoked by alias); 13 Oct 2017 07: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 87794 invoked by uid 48); 13 Oct 2017 07:45:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Fri, 13 Oct 2017 07: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: 7.2.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82524-4-SZNh9WOKem@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01529.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 7.3+.
>From gcc-bugs-return-578470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 08:25:34 2017
Return-Path: <gcc-bugs-return-578470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117113 invoked by alias); 13 Oct 2017 08: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 114393 invoked by uid 48); 13 Oct 2017 08:25:31 -0000
From: "Vasilis.Vlachoudis at cern dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82524] [7/8 Regression] expensive-optimizations produces wrong results
Date: Fri, 13 Oct 2017 08: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: 7.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Vasilis.Vlachoudis at cern dot ch
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82524-4-rQe30IqddP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01530.txt.bz2
Content-length: 190

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524

--- Comment #19 from Vasilis.Vlachoudis at cern dot ch <Vasilis.Vlachoudis at cern dot ch> ---
Just to say thank you guys, amazing :)
>From gcc-bugs-return-578471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 08:38:04 2017
Return-Path: <gcc-bugs-return-578471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113523 invoked by alias); 13 Oct 2017 08: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 111270 invoked by uid 48); 13 Oct 2017 08:37:58 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82539] New: [7/8 Regression] ICE in gimplify_modify_expr, at gimplify.c:5693
Date: Fri, 13 Oct 2017 08: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: 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: ---
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-82539-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01531.txt.bz2
Content-length: 2136

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82539

            Bug ID: 82539
           Summary: [7/8 Regression] ICE in gimplify_modify_expr, at
                    gimplify.c:5693
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Starting from r237064, we ICE on:

$ cat ice.i
int a, b, c;
void d ()
{
  while (a + c > b)
    a--;
}

$ gcc ice.i -Wall -c -Ofast -ftrapv -mtune=generic -march=x86-64
during GIMPLE pass: vect
In function ‘d’:
cc1: internal compiler error: in gimplify_modify_expr, at gimplify.c:5693
0x931a57 gimplify_modify_expr
        ../../gcc/gimplify.c:5692
0x91cd5c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:11335
0x91f9c8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6551
0x924f0e gimplify_cond_expr
        ../../gcc/gimplify.c:4019
0x91cd80 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:11292
0x91f9c8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:6551
0x924ad0 gimplify_cond_expr
        ../../gcc/gimplify.c:3912
0x91cd80 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:11292
0x93043b gimplify_modify_expr
        ../../gcc/gimplify.c:5518
0x91cd5c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:11335
0x93268c force_gimple_operand_1(tree_node*, gimple**, bool (*)(tree_node*),
tree_node*)
        ../../gcc/gimplify-me.c:78
0xe2d474 vect_build_loop_niters(_loop_vec_info*, bool*)
        ../../gcc/tree-vect-loop-manip.c:1115
0xe2601c vect_transform_loop(_loop_vec_info*)
        ../../gcc/tree-vect-loop.c:7341
0xe41763 vectorize_loops()
        ../../gcc/tree-vectorizer.c:761
>From gcc-bugs-return-578472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 08:38:59 2017
Return-Path: <gcc-bugs-return-578472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18131 invoked by alias); 13 Oct 2017 08:38: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 11748 invoked by uid 48); 13 Oct 2017 08:38:54 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82539] [7/8 Regression] ICE in gimplify_modify_expr, at gimplify.c:5693
Date: Fri, 13 Oct 2017 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: 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82539-4-oE2YcfUUm9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82539-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82539-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01532.txt.bz2
Content-length: 295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82539

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.3
>From gcc-bugs-return-578473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 08:41:18 2017
Return-Path: <gcc-bugs-return-578473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42965 invoked by alias); 13 Oct 2017 08: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 37940 invoked by uid 48); 13 Oct 2017 08:41:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82539] [7/8 Regression] ICE in gimplify_modify_expr, at gimplify.c:5693
Date: Fri, 13 Oct 2017 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: unknown
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82539-4-6qxcZecYKL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82539-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82539-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01533.txt.bz2
Content-length: 243

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82539

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Don't we have a DUP of this already?  Any kind of gimplify_expr after initial
gimplification is problematic with -ftrapv.
>From gcc-bugs-return-578475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 09:28:47 2017
Return-Path: <gcc-bugs-return-578475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67880 invoked by alias); 13 Oct 2017 09:28: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 63725 invoked by uid 48); 13 Oct 2017 09:28:43 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81661] [7/8 Regression] ICE in gimplify_modify_expr, at gimplify.c:5638
Date: Fri, 13 Oct 2017 09: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: 7.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81661-4-AgH1LLzVHc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81661-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81661-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01535.txt.bz2
Content-length: 186

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81661

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
*** Bug 82539 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 09:28:47 2017
Return-Path: <gcc-bugs-return-578474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67421 invoked by alias); 13 Oct 2017 09:28: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 63258 invoked by uid 48); 13 Oct 2017 09:28:43 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82539] [7/8 Regression] ICE in gimplify_modify_expr, at gimplify.c:5693
Date: Fri, 13 Oct 2017 09: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82539-4-PJiDnF15gv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82539-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82539-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01534.txt.bz2
Content-length: 497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82539

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 81661 ***
>From gcc-bugs-return-578476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 10:03:17 2017
Return-Path: <gcc-bugs-return-578476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92701 invoked by alias); 13 Oct 2017 10: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 85768 invoked by uid 48); 13 Oct 2017 10:03:12 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81048] [6/7/8 Regression] incorrect derived type initialization
Date: Fri, 13 Oct 2017 10: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.3.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc assigned_to
Message-ID: <bug-81048-4-NwoevRc4T8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01536.txt.bz2
Content-length: 862

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81048

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> ---
The offending revision is 225447. The chunk that causes the problem is
currently at line 14970. Reverting it fixes this problem but now causes the new
testcases in the revision to fail and a couple of other regressions.

Please use the following workaround, while I figure out a patch:

   function g2(a)
      type(f) :: a, g2(3)
      g2 = f() ! Apply the default initializer (PR81048)

Cheers

Paul
>From gcc-bugs-return-578477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 10:05:39 2017
Return-Path: <gcc-bugs-return-578477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121742 invoked by alias); 13 Oct 2017 10: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 109043 invoked by uid 55); 13 Oct 2017 10:05:31 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82499] x86: small stack initial adjustments could use push
Date: Fri, 13 Oct 2017 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: 8.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82499-4-QV6EXcOWfS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01537.txt.bz2
Content-length: 1088

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82499

--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Fri Oct 13 10:04:59 2017
New Revision: 253718

URL: https://gcc.gnu.org/viewcvs?rev=253718&root=gcc&view=rev
Log:
i386: Check red zone size in push peephole2

Check red zone size, instead of if red zone is available, in push
peephole2s.

gcc/

        PR target/82499
        * config/i386/i386.h (ix86_red_zone_size): New.
        * config/i386/i386.md (push peephole2s): Replace
        "!ix86_using_red_zone ()" with "ix86_red_zone_size == 0".

gcc/testsuite/

        PR target/82499
        * gcc.target/i386/pr82499-1.c: New file.
        * gcc.target/i386/pr82499-2.c: Likewise.
        * gcc.target/i386/pr82499-3.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82499-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr82499-2.c
    trunk/gcc/testsuite/gcc.target/i386/pr82499-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.h
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 10:08:22 2017
Return-Path: <gcc-bugs-return-578478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36587 invoked by alias); 13 Oct 2017 10: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 34316 invoked by uid 48); 13 Oct 2017 10:08:18 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82499] x86: small stack initial adjustments could use push
Date: Fri, 13 Oct 2017 10: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: 8.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: 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-82499-4-PQSvisqx3k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82499-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01538.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82499

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 8.
>From gcc-bugs-return-578479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 10:28:56 2017
Return-Path: <gcc-bugs-return-578479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53040 invoked by alias); 13 Oct 2017 10: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 48020 invoked by uid 48); 13 Oct 2017 10:28:52 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcj/82540] New: gcc 6.4.0 bootstrap with java core dump in file with illumos ld
Date: Fri, 13 Oct 2017 10:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcj
X-Bugzilla-Version: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov 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-82540-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01539.txt.bz2
Content-length: 4641

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82540

            Bug ID: 82540
           Summary: gcc 6.4.0 bootstrap with java core dump in file with
                    illumos ld
           Product: gcc
           Version: 6.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ikozhukhov at gmail dot com
  Target Milestone: ---

I have DilOS (illumos based platform) on SPARC64 T5220

gcc 6.4.0 bootstrap with GNU AS + illumos ld

root@bld13:/root# gcc-6 -v
Using built-in specs.
COLLECT_GCC=gcc-6
COLLECT_LTO_WRAPPER=/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/lto-wrapper
Target: sparcv9-sun-solaris2.11
Configured with: ../configure --prefix=/usr/gcc/6
--build=sparcv9-sun-solaris2.11 --bindir=/usr/gcc/6/bin
--sbindir=/usr/gcc/6/sbin --libdir=/usr/gcc/6/lib --libexecdir=/usr/gcc/6/lib
--infodir=/usr/gcc/6/share/info --mandir=/usr/gcc/6/share/man
--target=sparcv9-sun-solaris2.11 --enable-targets=sparc-sun-solaris2.11
--enable-shared --enable-plugins --enable-lto --enable-initfini-array
--enable-tls --enable-threads=posix --without-gnu-ld --with-ld=/usr/bin/ld
--with-gnu-as --with-as=/usr/bin/gas
--enable-languages=c,c++,fortran,go,java,lto,objc --with-system-zlib
gcc_cv_ld_as_needed=no --disable-bootstrap
Thread model: posix
gcc version 6.4.0 (GCC) 

i can see core file due to bootstrap:

root@sparc5:/var/cores# pstack core.gcj-dbtool.47078 | c++filt
core 'core.gcj-dbtool.47078' of 47078: 
/ws/jenkins/ws/du/components/gcc-6/build/gcc-6-6.4.0/build/sparcv9-sun
 fffffffea61f8bac _lwp_kill (1, 6, 0, fffffffec2402b4d, 0, fffffffec2403e48) +
8
 fffffffea618ef14 raise (0, 0, ffffffff7fff9d70, fffffffec240dfa4,
fffffffec25127a8, 0) + 14
 fffffffea616637c abort (5, ffffffff7fff9e60, ffffffffffffffff, 0, 0,
ffffffff7fffa9e1) + ac
 fffffffec240dfa4 uw_init_context_1 (ffffffff7fffa5f0, ffffffff7fffb0c0,
fffffffe45f3da6c, fffffffe45f3da6c, ffffffff7fff9e60, c00) + 334
 fffffffec240e64c _Unwind_Backtrace (fffffffe45f3d760, ffffffff7fffc128, 0,
ffffffff7fffa9e0, ffffffff7fffa5f0, 8000) + 18
 fffffffe45f3da6c _Jv_StackTrace::GetStackTrace() (ffffffff6f741688, 1, 4,
fffffffe462efff4, 17c8, ffffffff7fffb170) + 58
 fffffffe45f80d48 java::lang::VMThrowable*
java::lang::VMThrowable::fillInStackTrace(java::lang::Throwable*) (0,
ffffffff6ed00c60, fffffffe462f029c, fffffffe44d6a56a, 0, fffffffe45f0dfd0) + 2c
 fffffffe46307314 java::lang::Throwable*
java::lang::Throwable::fillInStackTrace() (1001d6800, fffffffe47029338,
fffffffe462f02e4, fffffffe462f029c, 0, fffffffe45ef81a8) + 4
 fffffffe462f000c java::lang::Throwable::Throwable(java::lang::String*)
(1001d6800, 1001d2ae0, fffffffe462f02fc, fffffffe462f02e4, 0, fffffffe45f0dfe8)
+ 18
 fffffffe462f029c java::lang::Exception::Exception(java::lang::String*)
(1001d6800, 1001d2ae0, fffffffe45f79794, fffffffe462f02fc, 0, fffffffe45eeb1b8)
+ 8
 fffffffe462f02e4
java::lang::ReflectiveOperationException::ReflectiveOperationException(java::lang::String*)
(1001d6800, 1001d2ae0, 0, fffffffe45f79794, 38, 1001d6800) + 8
 fffffffe462f02fc
java::lang::ClassNotFoundException::ClassNotFoundException(java::lang::String*)
(1001d6800, 1001d2ae0, ffffffffffffffff, ffffffff7fffc620, 0, fffffffe47966b88)
+ 8
 fffffffe45f79794 java::lang::Class*
java::lang::Class::forName(java::lang::String*, bool, java::lang::ClassLoader*)
(1001d2ae0, 1, 0, 1001ab8a0, 1d, 1001d6800) + f0
 fffffffe46334738 void java::net::URLClassLoader::addURLImpl(java::net::URL*)
(1001a9ae0, 10019ca80, 10016ff80, fffffffe47975c38, 1001a9ae0, 1001ab880) + f8
 fffffffe46334cf0 void java::net::URLClassLoader::addURL(java::net::URL*)
(1001a9ae0, 10019ca80, 10016ff80, ffffffffffffffff, 1001d2f60, 1001d2f60) + 1c
 fffffffe45f98950 void gnu::gcj::runtime::SystemClassLoader::init() (1001a9ae0,
fffffffe473fbae8, 1001abaa0, 10016ef30, 10016edb0, 1001d6e80) + 260
 fffffffe45f325a0 _Jv_CreateJavaVM (0, ffffffff7fffcbf8, 100003b9c, 18,
ffffffff7fffc910, ffffffff7fffc920) + 634
 fffffffe45f32b9c _Jv_RunMain(_Jv_VMInitArgs*, java::lang::Class*, char const*,
int, char const**, bool) (0, 100108098, 0, 3, ffffffff7fffcbf8, 0) + 1c
 0000000100003da4 main (0, ffffffff7fffcbf8, ffffffff7fffcc18,
ffffffffffffffff, 0, 0) + 3c
 0000000100003bf0 _start_crt (3, ffffffff7fffcbf8, ffffffff6f61c5e4, 0, 0, 0) +
6c
 0000000100003b74 _start (0, 0, 0, 0, 0, 0) + 14

gcc-6 build can be finished successfully.
it is similar core file with Unwind issue what i have with gcc-go, but will
file another issue with details
>From gcc-bugs-return-578480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 10:33:38 2017
Return-Path: <gcc-bugs-return-578480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72803 invoked by alias); 13 Oct 2017 10:33: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 64702 invoked by uid 48); 13 Oct 2017 10:33:34 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82451] [GRAPHITE] codegen error in get_rename_from_scev
Date: Fri, 13 Oct 2017 10: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82451-4-XtpCE0UPXA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82451-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01540.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82451

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 10:35:03 2017
Return-Path: <gcc-bugs-return-578481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9738 invoked by alias); 13 Oct 2017 10:35: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 75056 invoked by uid 48); 13 Oct 2017 10:33:41 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82525] [GRAPHITE] codegen error for modulo operations we cannot represent
Date: Fri, 13 Oct 2017 10: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: 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 resolution
Message-ID: <bug-82525-4-u6zJCkhsqG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82525-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01541.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82525

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 10:35:03 2017
Return-Path: <gcc-bugs-return-578482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9774 invoked by alias); 13 Oct 2017 10:35: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 115533 invoked by uid 48); 13 Oct 2017 10:34:15 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59859] [meta-bug] GRAPHITE issues
Date: Fri, 13 Oct 2017 10:35: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: 4.9.0
X-Bugzilla-Keywords: meta-bug
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 resolution
Message-ID: <bug-59859-4-TRbhL9S8p8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59859-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59859-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01542.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59859
Bug 59859 depends on bug 82525, which changed state.

Bug 82525 Summary: [GRAPHITE] codegen error for modulo operations we cannot represent
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82525

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 11:05:14 2017
Return-Path: <gcc-bugs-return-578483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85316 invoked by alias); 13 Oct 2017 11:05: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 80432 invoked by uid 48); 13 Oct 2017 11:05:08 -0000
From: "andreas.pokorny at siemens dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82541] New: Wduplicated-branches triggers in template context
Date: Fri, 13 Oct 2017 11: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andreas.pokorny at siemens 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-82541-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01543.txt.bz2
Content-length: 825

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82541

            Bug ID: 82541
           Summary: Wduplicated-branches triggers in template context
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andreas.pokorny at siemens dot com
  Target Milestone: ---

template<int N>
struct AR
{
    char bla[N > 0 ? N : 1];
};

int main() {
    AR<1> warning;
}

When built with -Wduplicated-branches this triggers a warning. This is most
visible with fmtlib: 

https://github.com/fmtlib/fmt/blob/master/fmt/format.h#L2328

There is currently a workaround in place but the fact that this workaround
(using +1 instead of 1) works seems to be another bug.
>From gcc-bugs-return-578484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 11:07:44 2017
Return-Path: <gcc-bugs-return-578484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117872 invoked by alias); 13 Oct 2017 11: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 113407 invoked by uid 48); 13 Oct 2017 11:07:40 -0000
From: "b.r.longbons at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] New: -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Fri, 13 Oct 2017 11:07: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: b.r.longbons 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-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01544.txt.bz2
Content-length: 1287

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

            Bug ID: 82542
           Summary: -fdump-lang-raw (formerly -fdump-translation-unit) no
                    longer available for C
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: b.r.longbons at gmail dot com
  Target Milestone: ---

With the refactoring to (sensibly I guess?) make it somehow language-specific,
it got dropped from the C FE, via which probably has more users than via the
C++ FE.

There are a *lot* of people relying on this (Debian and Glibc use it for ABI
checking; I and others use it to help generate C bindings for my toy language
without having to write a C parser for no reason).

A partial workaround is to compile as C++ with an `extern "C" { }` block around
the whole thing, but there is a lot of C syntax that doesn't compile in C++ ...
not to mention certain headers that deliberately behave *differently* in C++
mode (e.g. strchr).

Also, would it hurt to keep the old option around as an alias? That's what most
options seem to do (-std=c++0x comes to mind). That just seems like gratuitous
breakage.
>From gcc-bugs-return-578485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 11:10:25 2017
Return-Path: <gcc-bugs-return-578485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34500 invoked by alias); 13 Oct 2017 11: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 26148 invoked by uid 48); 13 Oct 2017 11:10:20 -0000
From: "b.r.longbons at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/71996] -fdump-translation-unit fails to dump string literals of type char16_t/char32_t/wchar_t
Date: Fri, 13 Oct 2017 11: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: 6.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: b.r.longbons 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-71996-4-B2JCA7TDvk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01545.txt.bz2
Content-length: 281

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71996

--- Comment #2 from Ben Longbons <b.r.longbons at gmail dot com> ---
It's now called -fdump-lang-raw, and for some reason it's only active in C++
mode (filed bug #82542).

But this bug is still present with those changes made.
>From gcc-bugs-return-578486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 11:19:02 2017
Return-Path: <gcc-bugs-return-578486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25591 invoked by alias); 13 Oct 2017 11: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 20121 invoked by uid 48); 13 Oct 2017 11:18:58 -0000
From: "arnd at linaro dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82435] new __attribute__((alias)) warning gets in the way
Date: Fri, 13 Oct 2017 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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arnd at linaro dot 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82435-4-RRyjYlM0T5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82435-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01546.txt.bz2
Content-length: 195

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82435

--- Comment #10 from Arnd Bergmann <arnd at linaro dot org> ---
I get a clean kernel build now with that option, thanks a lot for your help!
>From gcc-bugs-return-578487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 11:27:48 2017
Return-Path: <gcc-bugs-return-578487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1775 invoked by alias); 13 Oct 2017 11:27: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 127292 invoked by uid 48); 13 Oct 2017 11:27:44 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82543] New: libbacktrace does not retrieve function names on 64 bit windows (using mingw)
Date: Fri, 13 Oct 2017 11:27: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: 6.3.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-82543-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01547.txt.bz2
Content-length: 2056

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82543

            Bug ID: 82543
           Summary: libbacktrace does not retrieve function names on 64
                    bit windows (using mingw)
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoshkka at gmail dot com
  Target Milestone: ---

A bunch of people noticed that libbacktrace built with mingw does not retrieve
function names or even fails:

https://github.com/blueCFD/Core/issues/7#issuecomment-333597877
https://github.com/boostorg/stacktrace/issues/16
https://github.com/boostorg/stacktrace/issues/14

I can confirm, that libbacktrace fails to retrieve function names on 64 bit
platform:

 0# 0x00401617 in backtrace_ho.test\gcc-mingw-6\debug\backtrace_ho.exe
 1# 0x00402FF6 in backtrace_ho.test\gcc-mingw-6\debug\backtrace_ho.exe
 2# 0x00401288 in backtrace_ho.test\gcc-mingw-6\debug\backtrace_ho.exe
 0# 0x00403379 in backtrace_ho.test\gcc-mingw-6\debug\backtrace_ho.exe

MinGW info:

C:\boost_1_65_1\libs\stacktrace\test>C:\MinGW\bin\g++.exe -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\g++.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe
Target: mingw32
Configured with: ../src/gcc-6.3.0/configure --build=x86_64-pc-linux-gnu
--host=mingw32 --with-gmp=/mingw --with-mpfr=/mingw --with-mpc=/mingw
--with-isl=/mingw --prefix=/mingw --disable-win32-registry --target=mingw32
--with-arch=i586 --enable-languages=c,c++,objc,obj-c++,fortran,ada
--with-pkgversion='MinGW.org GCC-6.3.0-1' --enable-static --enable-shared
--enable-threads --with-dwarf2 --disable-sjlj-exceptions
--enable-version-specific-runtime-libs --with-libiconv-prefix=/mingw
--with-libintl-prefix=/mingw --enable-libstdcxx-debug --with-tune=generic
--enable-libgomp --disable-libvtv --enable-nls
Thread model: win32
gcc version 6.3.0 (MinGW.org GCC-6.3.0-1)
>From gcc-bugs-return-578488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 11:56:10 2017
Return-Path: <gcc-bugs-return-578488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13942 invoked by alias); 13 Oct 2017 11:56: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 10057 invoked by uid 48); 13 Oct 2017 11:56:03 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82544] New: gccgo on SPARC64 produce bad binary
Date: Fri, 13 Oct 2017 11:56: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov at gmail 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-82544-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01548.txt.bz2
Content-length: 7035

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82544

            Bug ID: 82544
           Summary: gccgo on SPARC64 produce bad binary
           Product: gcc
           Version: 6.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: ikozhukhov at gmail dot com
                CC: cmang at google dot com
  Target Milestone: ---

I have DilOS (illumos based platform) on SPARC64 T5220

i have gccgo from 6.4.0 bootstrap

igork@bld13:~/builds/igork/du2/components/gcc-6$ gcc-6 -v
Using built-in specs.
COLLECT_GCC=gcc-6
COLLECT_LTO_WRAPPER=/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/lto-wrapper
Target: sparcv9-sun-solaris2.11
Configured with: ../configure --prefix=/usr/gcc/6
--build=sparcv9-sun-solaris2.11 --bindir=/usr/gcc/6/bin
--sbindir=/usr/gcc/6/sbin --libdir=/usr/gcc/6/lib --libexecdir=/usr/gcc/6/lib
--infodir=/usr/gcc/6/share/info --mandir=/usr/gcc/6/share/man
--target=sparcv9-sun-solaris2.11 --enable-targets=sparc-sun-solaris2.11
--enable-shared --enable-plugins --enable-lto --enable-initfini-array
--enable-tls --enable-threads=posix --without-gnu-ld --with-ld=/usr/bin/ld
--with-gnu-as --with-as=/usr/bin/gas
--enable-languages=c,c++,fortran,go,java,lto,objc --with-system-zlib
gcc_cv_ld_as_needed=no --disable-bootstrap
Thread model: posix
gcc version 6.4.0 (GCC) 

igork@bld13:~/builds/igork/du2/components/gcc-6$ gccgo-6 -o t t.go

igork@bld13:~/builds/igork/du2/components/gcc-6$ ./t
Abort (core dumped)

igork@bld13:~/builds/igork/du2/components/gcc-6$ pstack core
core 'core' of 42515:   ./t
 fffffffe8d8f8bac _lwp_kill (1, 6, 0, 0, 0, 0) + 8
 fffffffe8d88ef14 raise (0, 0, ffffffff7fffdbb0, fffffffe7e10dfa4,
fffffffe7e2127a8, 0) + 14
 fffffffe8d86637c abort (5, ffffffff7fffdca0, ffffffffffffffff, 0, 0,
ffffffff7fffe821) + ac
 fffffffe7e10dfa4 uw_init_context_1 (ffffffff7fffe430, ffffffff7fffef00,
fffffffe39ec3ddc, fffffffe39ec3ddc, ffffffff7fffdca0, c00) + 334
 fffffffe7e10e64c _Unwind_Backtrace (fffffffe39ec3cc0, ffffffff7fffefb0, 1000,
ffffffff7fffe820, ffffffff7fffe430, ffffffff6e900000) + 18
 fffffffe39ec3ddc backtrace_full (ffffffff6e900000, 1, fffffffe39b51480,
fffffffe39b516f4, ffffffff7ffff098, fffffffe3a5c4e50) + 70
 fffffffe39b517b8 runtime_callers (2, ffffffff7ffff160, 20, 0,
fffffffe3a5ec230, fffffffe3a5fb24c) + 74
 fffffffe39b6bd98 runtime_MProf_Malloc (c208000000, 10, 0, fffffffe39b6afb4,
ffffffff7ffff160, ffffffff6eb00010) + 20
 fffffffe39b6a57c runtime_mallocgc (1, ffffffff6eb00000, 10, 80000,
fffffffe3a5fab30, c208000000) + 22c
 fffffffe39b6afb4 runtime_mallocinit (10000000000, 1104001, ffffffff7ffff8cf,
c000000000, 800000000000, fffffffe3a5fab30) + 13c
 fffffffe39b62820 runtime_schedinit (1, ffffffff7ffffbb8, 8, ffffffff6ec02a30,
fffffffe3a5fa0d8, fffffffe3a5fab30) + 90
 00000001000021b0 main (1, ffffffff7ffffbb8, ffffffff7ffffbc8,
ffffffffffffffff, 3e8, 3e8) + 80
 0000000100001cb0 _start_crt (1, ffffffff7ffffbb8, ffffffff6f61c5e4, 0, 0, 0) +
6c
 0000000100001c34 _start (0, 0, 0, 0, 0, 0) + 14

if i do build with static link libgo + libgcc, it is working.

example:

igork@bld13:~/builds/igork/du2/components/gcc-6$ gccgo-6  -m64 -v -static-libgo
-static-libgcc -o t t.go -Wl,-dy -lnsl -lsocket -lrt -lsendfile
Using built-in specs.
COLLECT_GCC=gccgo-6
COLLECT_LTO_WRAPPER=/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/lto-wrapper
Target: sparcv9-sun-solaris2.11
Configured with: ../configure --prefix=/usr/gcc/6
--build=sparcv9-sun-solaris2.11 --bindir=/usr/gcc/6/bin
--sbindir=/usr/gcc/6/sbin --libdir=/usr/gcc/6/lib --libexecdir=/usr/gcc/6/lib
--infodir=/usr/gcc/6/share/info --mandir=/usr/gcc/6/share/man
--target=sparcv9-sun-solaris2.11 --enable-targets=sparc-sun-solaris2.11
--enable-shared --enable-plugins --enable-lto --enable-initfini-array
--enable-tls --enable-threads=posix --without-gnu-ld --with-ld=/usr/bin/ld
--with-gnu-as --with-as=/usr/bin/gas
--enable-languages=c,c++,fortran,go,java,lto,objc --with-system-zlib
gcc_cv_ld_as_needed=no --disable-bootstrap
Thread model: posix
gcc version 6.4.0 (GCC) 
COLLECT_GCC_OPTIONS='-m64' '-v' '-static-libgcc' '-o' 't' '-mcpu=v9'
 /usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/go1 t.go -quiet -dumpbase
t.go -m64 -mcpu=v9 -auxbase t -version
-L/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0
-L/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/../../../sparcv9
-L/lib/sparcv9 -L/usr/lib/sparcv9
-L/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/../../.. -o
/var/tmp//ccdJaGYu.s
GNU Go (GCC) version 6.4.0 (sparcv9-sun-solaris2.11)
        compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.5,
MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Go (GCC) version 6.4.0 (sparcv9-sun-solaris2.11)
        compiled by GNU C version 6.4.0, GMP version 6.1.2, MPFR version 3.1.5,
MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COLLECT_GCC_OPTIONS='-m64' '-v' '-static-libgcc' '-o' 't' '-mcpu=v9'
 /usr/bin/gas -v -V -Qy -s -xarch=v9 -64 -no-undeclared-regs -o
/var/tmp//cceJaGYu.o /var/tmp//ccdJaGYu.s
GNU assembler version 2.29.1 (sparcv9-sun-solaris2.11) using BFD version (GNU
Binutils for Debian) 2.29.1
COMPILER_PATH=/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/:/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/:/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/:/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/:/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/:/usr/ccs/bin/
LIBRARY_PATH=/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/:/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/../../../sparcv9/:/lib/sparcv9/:/usr/lib/sparcv9/:/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-m64' '-v' '-static-libgcc' '-o' 't' '-mcpu=v9'
 /usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/collect2 -V -Y
P,/usr/gcc/6/lib/sparcv9:/lib/sparcv9:/usr/lib/sparcv9 -R
/usr/gcc/6/lib/sparcv9 -Qy -o t /usr/lib/sparcv9/crt1.o
/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/crtp.o /usr/lib/sparcv9/crti.o
/usr/lib/sparcv9/values-Xa.o
/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/crtbegin.o
-L/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0
-L/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/../../../sparcv9
-L/lib/sparcv9 -L/usr/lib/sparcv9
-L/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/../../..
/var/tmp//cceJaGYu.o -dy -lnsl -lsocket -lrt -lsendfile -lgobegin -Bstatic -lgo
-Bdynamic -lpthread -lm -t -lgcc -lgcc_eh -lc -lgcc -lgcc_eh -lc
/usr/gcc/6/lib/gcc/sparcv9-sun-solaris2.11/6.4.0/crtend.o
/usr/lib/sparcv9/crtn.o
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1756 (illumos)
COLLECT_GCC_OPTIONS='-m64' '-v' '-static-libgcc' '-o' 't' '-mcpu=v9'

igork@bld13:~/builds/igork/du2/components/gcc-6$ ./t
hello world
>From gcc-bugs-return-578490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:02:52 2017
Return-Path: <gcc-bugs-return-578490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97402 invoked by alias); 13 Oct 2017 12: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 97356 invoked by uid 48); 13 Oct 2017 12:02:48 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82531] ICE: Segmentation fault (-std=c++1z -fconcepts)
Date: Fri, 13 Oct 2017 12: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.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: UNCONFIRMED
X-Bugzilla-Resolution:
X-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-82531-4-WXzyShnYfh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82531-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82531-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01550.txt.bz2
Content-length: 407

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82531

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
A valid testcase would help.
>From gcc-bugs-return-578489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:02:35 2017
Return-Path: <gcc-bugs-return-578489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95948 invoked by alias); 13 Oct 2017 12: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 88553 invoked by uid 48); 13 Oct 2017 12:02:31 -0000
From: "peeterjoot at protonmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82509] DW_AT_endianity issues with attribute scalar_storage_order
Date: Fri, 13 Oct 2017 12:02: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: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peeterjoot at protonmail 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: attachments.created
Message-ID: <bug-82509-4-2BnLBsvbms@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01549.txt.bz2
Content-length: 281

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509

--- Comment #3 from Peeter Joot <peeterjoot at protonmail dot com> ---
Created attachment 42350
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42350&action=edit
test case used to verify Eric's patch in a gdb session.
>From gcc-bugs-return-578491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:04:25 2017
Return-Path: <gcc-bugs-return-578491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118476 invoked by alias); 13 Oct 2017 12: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 118426 invoked by uid 48); 13 Oct 2017 12:04:20 -0000
From: "peeterjoot at protonmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82509] DW_AT_endianity issues with attribute scalar_storage_order
Date: Fri, 13 Oct 2017 12: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: 8.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peeterjoot at protonmail 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-82509-4-EHtAedNXqe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01551.txt.bz2
Content-length: 904

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509

--- Comment #4 from Peeter Joot <peeterjoot at protonmail dot com> ---
Here's the debug session that shows the compiler+debugger stack playing nicely
together:

(gdb) n
40          int cb = memcmp( &b, &n, sizeof( b ) );
(gdb) p bt
$1 = {v = 3, a = {1, 2, 3, 4}}
(gdb) p b
$2 = {v = 3, a = {1, 2, 3, 4}}
(gdb) p n
$3 = {v = 3, a = {1, 2, 3, 4}}
(gdb) p lt
$4 = {v = 3, a = {1, 2, 3, 4}}
(gdb) p l
$5 = {v = 3, a = {1, 2, 3, 4}}
(gdb) p bt.v = 4
$6 = 4
(gdb) p bt
$7 = {v = 4, a = {1, 2, 3, 4}}
(gdb) x/4x &bt
0x7fffffffd32c: 0x04000000      0x02000100      0x04000300      0x00000000
(gdb) x/4x &lt
0x7fffffffd308: 0x00000003      0x00020001      0x00040003      0x00000003
(gdb) q

This uses your patch to gcc, plus the following patch to gdb:

https://sourceware.org/ml/gdb-patches/2017-10/msg00266.html
>From gcc-bugs-return-578492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:08:02 2017
Return-Path: <gcc-bugs-return-578492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24177 invoked by alias); 13 Oct 2017 12:08: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 24124 invoked by uid 48); 13 Oct 2017 12:07:58 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Fri, 13 Oct 2017 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: 8.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: cc
Message-ID: <bug-82542-4-zi2U9CZrCn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01552.txt.bz2
Content-length: 413

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think it has been removed.
>From gcc-bugs-return-578493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:11:08 2017
Return-Path: <gcc-bugs-return-578493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123054 invoked by alias); 13 Oct 2017 12: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 117562 invoked by uid 48); 13 Oct 2017 12:11:04 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82544] gccgo on SPARC64 produce bad binary
Date: Fri, 13 Oct 2017 12: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov at gmail 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-82544-4-u6Vn9Jy8BX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01553.txt.bz2
Content-length: 958

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82544

--- Comment #1 from Igor Kozhukhov <ikozhukhov at gmail dot com> ---
DilOS on Intel.

for example: the same codebase of gcc-6.4.0 + illumos ld on Intel is working
fine:

root@z165:/rws1/users/root/du2/components/gcc-6# gccgo-6 -o t hello.go 

root@z165:/rws1/users/root/du2/components/gcc-6# ldd t 
        libgo.so.9 =>    /usr/gcc/6/lib/amd64/libgo.so.9
        libm.so.2 =>     /lib/64/libm.so.2
        libgcc_s.so.1 =>         /usr/gcc/6/lib/amd64/libgcc_s.so.1
        libc.so.1 =>     /lib/64/libc.so.1
        libpthread.so.1 =>       /lib/64/libpthread.so.1
        libsocket.so.1 =>        /lib/64/libsocket.so.1
        libnsl.so.1 =>   /lib/64/libnsl.so.1
        libsendfile.so.1 =>      /lib/64/libsendfile.so.1
        libmp.so.2 =>    /lib/64/libmp.so.2
        libmd.so.1 =>    /lib/64/libmd.so.1

root@z165:/rws1/users/root/du2/components/gcc-6# ./t
hello world
>From gcc-bugs-return-578494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:12:15 2017
Return-Path: <gcc-bugs-return-578494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15367 invoked by alias); 13 Oct 2017 12: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 15321 invoked by uid 48); 13 Oct 2017 12:12:11 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82544] gccgo on SPARC64 produce bad binary
Date: Fri, 13 Oct 2017 12:12: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov at gmail 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-82544-4-M0roRrJwdu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01554.txt.bz2
Content-length: 1077

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82544

--- Comment #2 from Igor Kozhukhov <ikozhukhov at gmail dot com> ---
forgot to add gcc-6 bootstrap info on DilOS on Intel:

root@z165:/rws1/users/root/du2/components/gcc-6# gcc-6 -v
Using built-in specs.
COLLECT_GCC=gcc-6
COLLECT_LTO_WRAPPER=/usr/gcc/6/lib/gcc/x86_64-pc-solaris2.11/6.4.0/lto-wrapper
Target: x86_64-pc-solaris2.11
Configured with: ../configure --prefix=/usr/gcc/6 --build=x86_64-pc-solaris2.11
--bindir=/usr/gcc/6/bin --sbindir=/usr/gcc/6/sbin --libdir=/usr/gcc/6/lib
--libexecdir=/usr/gcc/6/lib --infodir=/usr/gcc/6/share/info
--mandir=/usr/gcc/6/share/man --target=x86_64-pc-solaris2.11
--enable-targets=i386-pc-solaris2.11 --enable-shared --enable-plugins
--enable-lto --enable-initfini-array --enable-tls --enable-threads=posix
--without-gnu-ld --with-ld=/usr/bin/ld --with-gnu-as --with-as=/usr/bin/gas
--enable-languages=c,c++,fortran,go,java,lto,objc --with-system-zlib
gcc_cv_ld_as_needed=no --disable-bootstrap
Thread model: posix
gcc version 6.4.0 (GCC)
>From gcc-bugs-return-578495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:17:24 2017
Return-Path: <gcc-bugs-return-578495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31057 invoked by alias); 13 Oct 2017 12:17: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 31000 invoked by uid 48); 13 Oct 2017 12:17:21 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82522] std::map::insert(value_type &&) not selected
Date: Fri, 13 Oct 2017 12: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone
Message-ID: <bug-82522-4-kFVxQuQBAV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01555.txt.bz2
Content-length: 431

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522

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
   Target Milestone|---                         |8.0
>From gcc-bugs-return-578496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:26:44 2017
Return-Path: <gcc-bugs-return-578496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31841 invoked by alias); 13 Oct 2017 12:26: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 27405 invoked by uid 48); 13 Oct 2017 12:26:40 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Fri, 13 Oct 2017 12: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-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-82542-4-pYKrIzdiHH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01556.txt.bz2
Content-length: 806

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joseph at codesourcery dot com

--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
The raw lang dump is a terrible format, and I'd really like it to die.  That
it's been coerced into some kind of interchange format is just horrible.

I had thought it was c++ only as that's where it started as a debugging aid
during tree inlining, IIRC.  Indeed the documentation (gcc 7) says:

@item -fdump-translation-unit @r{(C++ only)}
@itemx -fdump-translation-unit-@var{options} @r{(C++ only)}

Adding Joseph.
>From gcc-bugs-return-578497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:33:36 2017
Return-Path: <gcc-bugs-return-578497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28078 invoked by alias); 13 Oct 2017 12:33: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 28034 invoked by uid 48); 13 Oct 2017 12:33:32 -0000
From: "ivo.raisr at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82545] New: -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Fri, 13 Oct 2017 12: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ivo.raisr at oracle 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-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01557.txt.bz2
Content-length: 1578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

            Bug ID: 82545
           Summary: -O2: ICE in gimple_split_edge, at tree-cfg.c:2838,
                    during GIMPLE pass sanopt
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ivo.raisr at oracle dot com
  Target Milestone: ---

gcc 8 and 7 produce an internal compiler error on the following program (also)
attached.

$ gcc --version
gcc (GCC) 8.0.0 20171012 (experimental)

$ uname -a
Linux 4.10.0-37-generic #41-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

$ gcc -O2 -fsanitize=address -c reduced.c
during GIMPLE pass: sanopt
reduced.c: In function ‘a’:
reduced.c:4:6: internal compiler error: in gimple_split_edge, at
tree-cfg.c:2838
 void a(void) {
      ^
0x6b9315 gimple_split_edge
        ../../src/gcc/tree-cfg.c:2838
0x99a5cd split_edge(edge_def*)
        ../../src/gcc/cfghooks.c:638
0xafc5d7 gimple_find_edge_insert_loc
        ../../src/gcc/gimple-iterator.c:793
0xafd36d gsi_commit_one_edge_insert(edge_def*, basic_block_def**)
        ../../src/gcc/gimple-iterator.c:884
0xafd43e gsi_commit_edge_inserts()
        ../../src/gcc/gimple-iterator.c:863
0x6b0d11 execute
        ../../src/gcc/sanopt.c:1359


gcc 8: FAIL, ICE produced.     SVN version 253695.
gcc 7: FAIL, ICE produced.     SVN version 253695, gcc-7-branch.
gcc 6: PASS, ICE not produced. SVN version 253695, gcc-6-branch.
>From gcc-bugs-return-578499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:34:55 2017
Return-Path: <gcc-bugs-return-578499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66311 invoked by alias); 13 Oct 2017 12:34: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 59899 invoked by uid 48); 13 Oct 2017 12:34:51 -0000
From: "ivo.raisr at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82545] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Fri, 13 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ivo.raisr at oracle 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-82545-4-wslhJEPn1f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01559.txt.bz2
Content-length: 256

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #2 from Ivo Raisr <ivo.raisr at oracle dot com> ---
Created attachment 42352
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42352&action=edit
C-reduced reproducer, not reformatted
>From gcc-bugs-return-578498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:34:27 2017
Return-Path: <gcc-bugs-return-578498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29192 invoked by alias); 13 Oct 2017 12:34: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 29168 invoked by uid 48); 13 Oct 2017 12:34:23 -0000
From: "ivo.raisr at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82545] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Fri, 13 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ivo.raisr at oracle 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-82545-4-QtwtwHz1Xa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01558.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

Ivo Raisr <ivo.raisr at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ivo.raisr at oracle dot com

--- Comment #1 from Ivo Raisr <ivo.raisr at oracle dot com> ---
Created attachment 42351
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42351&action=edit
reproducer, reformatted for better readability
>From gcc-bugs-return-578500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:35:31 2017
Return-Path: <gcc-bugs-return-578500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81183 invoked by alias); 13 Oct 2017 12:35: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 81110 invoked by uid 48); 13 Oct 2017 12:35:27 -0000
From: "ivo.raisr at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82545] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Fri, 13 Oct 2017 12: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: ivo.raisr at oracle 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-82545-4-e8byypYpCy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01560.txt.bz2
Content-length: 265

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #3 from Ivo Raisr <ivo.raisr at oracle dot com> ---
$ cat reduced.c 
extern void c(int);
extern void d(void);

void a(void) {
  {
    int b;
    &b;
    __builtin_setjmp(0);
    c(b);
  }
  d();
}
>From gcc-bugs-return-578501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:36:34 2017
Return-Path: <gcc-bugs-return-578501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29038 invoked by alias); 13 Oct 2017 12: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 22475 invoked by uid 48); 13 Oct 2017 12:36:31 -0000
From: "ivo.raisr at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82545] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Fri, 13 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ivo.raisr at oracle 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-82545-4-cJWPcU49qa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01561.txt.bz2
Content-length: 214

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #4 from Ivo Raisr <ivo.raisr at oracle dot com> ---
The reproducer was C-reduce'd from a large source file (30 MB) which is not
publicly available.
>From gcc-bugs-return-578502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:39:59 2017
Return-Path: <gcc-bugs-return-578502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98398 invoked by alias); 13 Oct 2017 12:39: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 98351 invoked by uid 55); 13 Oct 2017 12:39:55 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82481] dangling reference in mutex:693
Date: Fri, 13 Oct 2017 12: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: 7.0.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:
Message-ID: <bug-82481-4-Gm86sFUlcf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01562.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82481

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Oct 13 12:39:24 2017
New Revision: 253724

URL: https://gcc.gnu.org/viewcvs?rev=253724&root=gcc&view=rev
Log:
PR libstdc++/82481 Suppress clang-tidy warnings

        PR libstdc++/82481
        * include/std/mutex (call_once): Suppress clang-tidy warnings about
        dangling references.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/mutex
>From gcc-bugs-return-578503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:40:08 2017
Return-Path: <gcc-bugs-return-578503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99217 invoked by alias); 13 Oct 2017 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 99039 invoked by uid 55); 13 Oct 2017 12:40:04 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82522] std::map::insert(value_type &&) not selected
Date: Fri, 13 Oct 2017 12:40: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82522-4-DZW57zOUZ3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01563.txt.bz2
Content-length: 1893

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Oct 13 12:39:32 2017
New Revision: 253725

URL: https://gcc.gnu.org/viewcvs?rev=253725&root=gcc&view=rev
Log:
PR libstdc++/82522 overload map insert functions for rvalues (LWG 2354)

        PR libstdc++/82522
        * doc/xml/manual/intro.xml: Document LWG 2354 changes.
        * include/bits/stl_map.h (map::insert(value_type&&))
        (map::insert(const_iterator, value_type&&)): Add overload for rvalues.
        * include/bits/stl_multimap.h (multimap::insert(value_type&&))
        (multimap::insert(const_iterator, value_type&&)): Likewise.
        * include/bits/unordered_map.h (unordered_map::insert(value_type&&))
        (unordered_map::insert(const_iterator, value_type&&))
        (unordered_multimap::insert(value_type&&))
        (unordered_multimap::insert(const_iterator, value_type&&)): Likewise.
        * testsuite/23_containers/map/modifiers/insert/dr2354.cc: New test.
        * testsuite/23_containers/multimap/modifiers/insert/dr2354.cc: New
        test.
        * testsuite/23_containers/unordered_map/insert/dr2354.cc: New test.
        * testsuite/23_containers/unordered_multimap/insert/dr2354.cc: New
        test.

Added:
    trunk/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/dr2354.cc
   
trunk/libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/dr2354.cc
    trunk/libstdc++-v3/testsuite/23_containers/unordered_map/insert/dr2354.cc
   
trunk/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/dr2354.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/doc/xml/manual/intro.xml
    trunk/libstdc++-v3/include/bits/stl_map.h
    trunk/libstdc++-v3/include/bits/stl_multimap.h
    trunk/libstdc++-v3/include/bits/unordered_map.h
>From gcc-bugs-return-578504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:48:35 2017
Return-Path: <gcc-bugs-return-578504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 968 invoked by alias); 13 Oct 2017 12:48: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 794 invoked by uid 48); 13 Oct 2017 12:48:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82481] dangling reference in mutex:693
Date: Fri, 13 Oct 2017 12:48: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-82481-4-H2DZgiSCBd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01564.txt.bz2
Content-length: 487

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82481

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk.
>From gcc-bugs-return-578505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:49:42 2017
Return-Path: <gcc-bugs-return-578505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2299 invoked by alias); 13 Oct 2017 12:49: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 2263 invoked by uid 48); 13 Oct 2017 12:49:38 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82522] std::map::insert(value_type &&) not selected
Date: Fri, 13 Oct 2017 12: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: 8.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82522-4-8Ckhb9jrPK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82522-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01565.txt.bz2
Content-length: 381

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.0                         |7.3

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-578506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 12:59:16 2017
Return-Path: <gcc-bugs-return-578506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16565 invoked by alias); 13 Oct 2017 12:59: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 15563 invoked by uid 48); 13 Oct 2017 12:59:11 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82545] [7/8 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Fri, 13 Oct 2017 12: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: 8.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-82545-4-tnzmK57m2J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01566.txt.bz2
Content-length: 1035

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-13
                 CC|                            |marxin at gcc dot gnu.org
   Target Milestone|---                         |7.3
            Summary|-O2: ICE in                 |[7/8 Regression] -O2: ICE
                   |gimple_split_edge, at       |in gimple_split_edge, at
                   |tree-cfg.c:2838, during     |tree-cfg.c:2838, during
                   |GIMPLE pass sanopt          |GIMPLE pass sanopt
     Ever confirmed|0                           |1

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks for the report, it's caused by my commit r244791. Thus mine.
>From gcc-bugs-return-578507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 13:05:50 2017
Return-Path: <gcc-bugs-return-578507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18530 invoked by alias); 13 Oct 2017 13:05: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 18468 invoked by uid 48); 13 Oct 2017 13:05:46 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82544] gccgo on SPARC64 produce bad binary
Date: Fri, 13 Oct 2017 13: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov at gmail 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-82544-4-e1Y1eaqrcL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01567.txt.bz2
Content-length: 1969

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82544

--- Comment #3 from Igor Kozhukhov <ikozhukhov at gmail dot com> ---
additional info by mdb:

igork@bld13:~/builds/igork/du2/components/gcc-6$ mdb core 
Loading modules: [ libc.so.1 ld.so.1 ]
> $C
ffffffff7fffd1a1 libc.so.1`_lwp_kill+8(1, 6, 0, 0, 0, 0)
ffffffff7fffd251 libc.so.1`raise+0x14(0, 0, ffffffff7fffdbb0, fffffffe7e10dfa4,
fffffffe7e2127a8, 0)
ffffffff7fffd301 libc.so.1`abort+0xac(5, ffffffff7fffdca0, ffffffffffffffff, 0,
0, ffffffff7fffe821)
ffffffff7fffd3e1 libgcc_s.so.1`uw_init_context_1+0x334(ffffffff7fffe430,
ffffffff7fffef00, fffffffe39ec3ddc, fffffffe39ec3ddc, ffffffff7fffdca0, c00)
ffffffff7fffdb81 libgcc_s.so.1`_Unwind_Backtrace+0x18(fffffffe39ec3cc0,
ffffffff7fffefb0, 1000, ffffffff7fffe820, ffffffff7fffe430, ffffffff6e900000)
ffffffff7fffe701 libgo.so.9.0.0`backtrace_full+0x70(ffffffff6e900000, 1,
fffffffe39b51480, fffffffe39b516f4, ffffffff7ffff098, fffffffe3a5c4e50)
ffffffff7fffe7e1 libgo.so.9.0.0`runtime_callers+0x74(2, ffffffff7ffff160, 20,
0, fffffffe3a5ec230, fffffffe3a5fb24c)
ffffffff7fffe8b1 libgo.so.9.0.0`runtime_MProf_Malloc+0x20(c208000000, 10, 0,
fffffffe39b6afb4, ffffffff7ffff160, ffffffff6eb00010)
ffffffff7fffef61 libgo.so.9.0.0`runtime_mallocgc+0x22c(1, ffffffff6eb00000, 10,
80000, fffffffe3a5fab30, c208000000)
ffffffff7ffff011 libgo.so.9.0.0`runtime_mallocinit+0x13c(10000000000, 1104001,
ffffffff7ffff8cf, c000000000, 800000000000, fffffffe3a5fab30)
ffffffff7ffff0d1 libgo.so.9.0.0`runtime_schedinit+0x90(1, ffffffff7ffffbb8, 8,
ffffffff6ec02a30, fffffffe3a5fa0d8, fffffffe3a5fab30)
ffffffff7ffff1a1 main+0x80(1, ffffffff7ffffbb8, ffffffff7ffffbc8,
ffffffffffffffff, 3e8, 3e8)
ffffffff7ffff251 _start_crt+0x6c(1, ffffffff7ffffbb8, ffffffff6f61c5e4, 0, 0,
0)
ffffffff7ffff301 _start+0x14(0, 0, 0, 0, 0, 0)
> ffffffff7fffdb81::dis
mdb: address is not properly aligned

as we can see - addresses not aligned
on SPARC64 - it is very important.
>From gcc-bugs-return-578508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 13:26:18 2017
Return-Path: <gcc-bugs-return-578508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55022 invoked by alias); 13 Oct 2017 13: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 54953 invoked by uid 48); 13 Oct 2017 13:26:13 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82544] gccgo on SPARC64 produce bad binary
Date: Fri, 13 Oct 2017 13:26: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: 6.4.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-82544-4-Grwtgt6fDW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01568.txt.bz2
Content-length: 356

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82544

--- Comment #4 from Ian Lance Taylor <ian at airs dot com> ---
The call to abort makes this seem more like a problem in the unwind code in
libgcc than a problem with the Go compiler.  Can you find out exactly what code
in uw_context_1 is calling abort?  Try running the program under the debugger.
>From gcc-bugs-return-578509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 13:59:59 2017
Return-Path: <gcc-bugs-return-578509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107843 invoked by alias); 13 Oct 2017 13: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 107796 invoked by uid 48); 13 Oct 2017 13:59:54 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM] missing AdvSIMD poly64 intrinsics
Date: Fri, 13 Oct 2017 13: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-oTfRCpsJte@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01569.txt.bz2
Content-length: 391

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #4 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42353
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42353&action=edit
Neon intrinsics list

This list is the result of the conversion of
https://developer.arm.com/technologies/neon/intrinsics into a text form (using
the 'links' browser).
>From gcc-bugs-return-578510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:04:52 2017
Return-Path: <gcc-bugs-return-578510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97516 invoked by alias); 13 Oct 2017 14:04: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 92951 invoked by uid 48); 13 Oct 2017 14:04:48 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-gANMakhDqK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01570.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42354
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42354&action=edit
perl parser

This is a perl script to parse intrinsics.txt and produce a list like:
[...]
   v7/A32/A64    float32x4_t vaddq_f32 (float32x4_t a, float32x4_t b)
   A64    float64x1_t vadd_f64 (float64x1_t a, float64x1_t b)
[...]

That is: 1st column="Supported architectures", then intrinsic prototype.
>From gcc-bugs-return-578511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:13:13 2017
Return-Path: <gcc-bugs-return-578511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108513 invoked by alias); 13 Oct 2017 14:13: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 108449 invoked by uid 48); 13 Oct 2017 14:13:07 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71233-4-5GJZGJPv8h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01571.txt.bz2
Content-length: 3244

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #6 from Christophe Lyon <clyon at gcc dot gnu.org> ---
I used the perl script and intrinsics list to build several subsets:

# List of duplicates: (a few intrinsics are listed twice
# with different prototypes, it's likely a bug in the documentation,
# not sure where to report this?)
perl neon_intrinsics.pl < intrinsics.txt |awk '{print $3;}' |sort |uniq -c
|sort -n| grep -v '^ *1 '

# List of intrinsics supported by all arches:
perl neon_intrinsics.pl < intrinsics.txt |grep v7 |awk '{print $3;}' >
intrinsics-v7-a32-a64.txt

# List of intrinsics supported by armv8 (a32+a64 modes):
perl neon_intrinsics.pl < intrinsics.txt |grep -v v7 |grep A32|awk '{print
$3;}' > intrinsics-a32-a64.txt

# List of intrinsics supported only by aarch64:
perl neon_intrinsics.pl < intrinsics.txt |grep -v A32 |awk '{print $3;}' >
intrinsics-a64.txt


Then I generated sample .i files to see which intrinsics are actually supported
by the compiler. I hope I used the right flags to get maximum coverage in
AArch32 mode.


# Generate supported intrinsics:
# -dD needed as some intrinsics are defined by macros
# hello-arm-neon.c:
# #include <arm_neon.h>
#
# AArch64
aarch64-none-linux-gnu-gcc -E -dD hello-arm-neon.c > hello-arm-neon-aarch64.i

# AArch32/v8
arm-none-linux-gnueabihf-gcc -march=armv8.2-a+fp16 -mfpu=neon-fp-armv8 -E -dD
hello-arm-neon.c > hello-arm-neon-aarch32-v8.i

# AArch32/v7 with fp16 for maximum coverage
arm-none-linux-gnueabihf-gcc -mcpu=cortex-a9 -mfpu=neon-fp16 -mfp16-format=ieee
-E -dD hello-arm-neon.c > hello-arm-neon-aarch32-v7.i

# List of A32/A64 intrinsics not present in arm/arm_neon.h
for i in `cat intrinsics-a32-a64.txt `; do
    grep -q $i hello-arm-neon-aarch32-v8.i ||echo "$i"
done > intrinsics-missing-arm-a32-a64.txt

# List of A32/A64 intrinsics not present in aarch64/arm_neon.h
for i in `cat intrinsics-a32-a64.txt `; do
    grep -q $i hello-arm-neon-aarch64.i ||echo "$i"
done > intrinsics-missing-aarch64-a32-a64.txt

# List of v7/a32/a64 intrinsics not present in aarch64/arm_neon.h
for i in `cat intrinsics-v7-a32-a64.txt `; do
    grep -q $i hello-arm-neon-aarch64.i ||echo "$i"
done > intrinsics-missing-aarch64-v7.txt

# List of v7/a32/a64 intrinsics not present in arm/arm_neon.h
for i in `cat intrinsics-v7-a32-a64.txt `; do
    grep -q $i hello-arm-neon-aarch32-v7.i ||echo "$i"
done > intrinsics-missing-arm-v7.txt

# List of A64 intrinsics not present in aarch64/arm_neon.h
for i in `cat intrinsics-a64.txt `; do
    grep -q $i hello-arm-neon-aarch64.i ||echo "$i"
done > intrinsics-missing-aarch64-a64.txt


I have also attached the intermediate results I got:
* lists of intrinsics supported in v7/a32/a64, a32/a64 or a64 only:
intrinsics-v7-a32-a64.txt
intrinsics-a32-a64.txt
intrinsics-a64.txt

* lists of intrinsics missing in aarch32 mode:
intrinsics-missing-arm-v7.txt
intrinsics-missing-arm-a32-a64.txt

* lists of intrinsics missing in aarch64 mode:
intrinsics-missing-aarch64-v7.txt
intrinsics-missing-aarch64-a32-a64.txt
intrinsics-missing-aarch64-a64.txt

So, there are still several intrinsics documented but not implemented, unless I
missed something (that's why I attached my script and process).
>From gcc-bugs-return-578512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:14:54 2017
Return-Path: <gcc-bugs-return-578512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109851 invoked by alias); 13 Oct 2017 14: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 109814 invoked by uid 48); 13 Oct 2017 14:14:48 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 14: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: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-Ky68aPDAYx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01572.txt.bz2
Content-length: 269

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #7 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42355
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42355&action=edit
Full list of intrinsics supported in v7/a32/a64
>From gcc-bugs-return-578513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:15:42 2017
Return-Path: <gcc-bugs-return-578513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112453 invoked by alias); 13 Oct 2017 14: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 112248 invoked by uid 48); 13 Oct 2017 14:15:32 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-4ML87IMq1v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01573.txt.bz2
Content-length: 266

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #8 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42356
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42356&action=edit
Full list of intrinsics supported in a32/a64
>From gcc-bugs-return-578514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:16:09 2017
Return-Path: <gcc-bugs-return-578514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123998 invoked by alias); 13 Oct 2017 14: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 118170 invoked by uid 48); 13 Oct 2017 14:16:05 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-cVVrzjSFce@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01574.txt.bz2
Content-length: 262

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #9 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42357
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42357&action=edit
Full list of intrinsics supported in a64
>From gcc-bugs-return-578517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:17:55 2017
Return-Path: <gcc-bugs-return-578517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36805 invoked by alias); 13 Oct 2017 14: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 35137 invoked by uid 48); 13 Oct 2017 14:17:51 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-eqDqvCUwc5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01577.txt.bz2
Content-length: 272

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #12 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42360
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42360&action=edit
v7 intrinsics not supported by the aarch64 target
>From gcc-bugs-return-578516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:17:35 2017
Return-Path: <gcc-bugs-return-578516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33050 invoked by alias); 13 Oct 2017 14:17: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 33004 invoked by uid 48); 13 Oct 2017 14:17:30 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-ygEcd5US3O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01576.txt.bz2
Content-length: 273

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #11 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42359
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42359&action=edit
a32/a64 intrinsics not supported by the arm target
>From gcc-bugs-return-578515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:17:06 2017
Return-Path: <gcc-bugs-return-578515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31713 invoked by alias); 13 Oct 2017 14: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 31644 invoked by uid 48); 13 Oct 2017 14:17:00 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-KeXa7rShes@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01575.txt.bz2
Content-length: 268

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #10 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42358
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42358&action=edit
v7 intrinsics not supported by the arm target
>From gcc-bugs-return-578518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:18:24 2017
Return-Path: <gcc-bugs-return-578518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41345 invoked by alias); 13 Oct 2017 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 41308 invoked by uid 48); 13 Oct 2017 14:18:20 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-ckb7ZXUJGy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01578.txt.bz2
Content-length: 277

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #13 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42361
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42361&action=edit
a32/a64 intrinsics not supported by the aarch64 target
>From gcc-bugs-return-578519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:18:47 2017
Return-Path: <gcc-bugs-return-578519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42170 invoked by alias); 13 Oct 2017 14:18: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 42131 invoked by uid 48); 13 Oct 2017 14:18:43 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics
Date: Fri, 13 Oct 2017 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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-71233-4-wmyBFZACmD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01579.txt.bz2
Content-length: 273

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

--- Comment #14 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Created attachment 42362
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42362&action=edit
a64 intrinsics not supported by the aarch64 target
>From gcc-bugs-return-578520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:24:39 2017
Return-Path: <gcc-bugs-return-578520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59066 invoked by alias); 13 Oct 2017 14:24: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 58664 invoked by uid 48); 13 Oct 2017 14:24:34 -0000
From: "gcc-bugs at deta dot lv" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82531] ICE: Segmentation fault (-std=c++1z -fconcepts)
Date: Fri, 13 Oct 2017 14: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: 7.2.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc-bugs at deta dot lv
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-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-82531-4-OAP4ZLX52X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82531-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82531-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01580.txt.bz2
Content-length: 454

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82531

--- Comment #2 from Arturs Zoldners <gcc-bugs at deta dot lv> ---
Created attachment 42363
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42363&action=edit
archive of 3 test cases of ICE vs base what compiles

Here are the test cases. The base compiles. 3 other are derived by substituting
"auto" with a concept. Can't tell if code is valid, although. All 3 back-traces
differ (a bit).
>From gcc-bugs-return-578521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:28:21 2017
Return-Path: <gcc-bugs-return-578521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65299 invoked by alias); 13 Oct 2017 14: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 64861 invoked by uid 48); 13 Oct 2017 14:28:17 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82543] libbacktrace does not retrieve function names on 64 bit windows (using mingw)
Date: Fri, 13 Oct 2017 14: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: 6.3.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:
Message-ID: <bug-82543-4-XfZK7QMbsX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82543-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82543-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01581.txt.bz2
Content-length: 197

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82543

--- Comment #1 from Antony Polukhin <antoshkka at gmail dot com> ---
Checked on the trunk version of libbacktrace (r253491)
Issue still exists
>From gcc-bugs-return-578522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 14:56:02 2017
Return-Path: <gcc-bugs-return-578522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66128 invoked by alias); 13 Oct 2017 14: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 66051 invoked by uid 48); 13 Oct 2017 14:55:57 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/57925] discrete_distribution can be improved to O(1) per sampling
Date: Fri, 13 Oct 2017 14: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: 4.8.1
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-57925-4-pHi7TPon55@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57925-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57925-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01582.txt.bz2
Content-length: 254

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57925

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes it's still open, so a fix would be welcome. Please see
http://gcc.gnu.org/contribute.html if you want to contribute a fix for it.
>From gcc-bugs-return-578524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 15:04:40 2017
Return-Path: <gcc-bugs-return-578524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65171 invoked by alias); 13 Oct 2017 15:04: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 65102 invoked by uid 48); 13 Oct 2017 15:04:32 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82540] gcc 6.4.0 bootstrap with java core dump in file with illumos ld
Date: Fri, 13 Oct 2017 15: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: 6.4.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: component
Message-ID: <bug-82540-4-JiJ7YRHHlq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01584.txt.bz2
Content-length: 454

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82540

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libgcj                      |target

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is most likely the unwind through exception code is not working for
non-real solaris.
>From gcc-bugs-return-578523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 15:04:14 2017
Return-Path: <gcc-bugs-return-578523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64353 invoked by alias); 13 Oct 2017 15:04: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 64311 invoked by uid 48); 13 Oct 2017 15:04:09 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82544] gccgo on SPARC64 produce bad binary
Date: Fri, 13 Oct 2017 15: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: 6.4.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: component assigned_to
Message-ID: <bug-82544-4-smT7Y3QgQS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01583.txt.bz2
Content-length: 542

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82544

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|go                          |target
           Assignee|ian at airs dot com                |unassigned at gcc dot gnu.org

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is most likely the unwind through exception code is not working for
non-real solaris.
>From gcc-bugs-return-578525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 15:22:52 2017
Return-Path: <gcc-bugs-return-578525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129711 invoked by alias); 13 Oct 2017 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 129645 invoked by uid 48); 13 Oct 2017 15:22:38 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82478] Rejects valid access to private member type that should be allowed by friend
Date: Fri, 13 Oct 2017 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: 7.2.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:
Message-ID: <bug-82478-4-YWvG6z8I4R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01585.txt.bz2
Content-length: 1316

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82478

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Reduced:

struct true_type { static const bool value = true; };
struct false_type { static const bool value = false; };

template <typename T>
using void_t = void;

template <typename, typename = void>
struct HasPrivate
{ static const bool value = false; };

template <typename T>
struct HasPrivate<T, void_t<typename T::PRIVATE>>
{ static const bool value = true; };

class A {
    struct PRIVATE { };

    // Either should be sufficient.
    friend struct HasPrivate<A>;
    template <typename, typename> friend struct HasPrivate;
};

static_assert(HasPrivate<A>::value, "");


Clang compiles this, but GCC and EDG don't.

GCC says:


priv.cc:23:15: error: ‘struct A::PRIVATE’ is private within this context
 static_assert(HasPrivate<A>::value, "");
               ^~~~~~~~~~~~~
priv.cc:16:12: note: declared private here
     struct PRIVATE { };
            ^~~~~~~


EDG says:

"priv.cc", line 23: error: static assertion failed with ""
  static_assert(HasPrivate<A>::value, "");
  ^

1 error detected in the compilation of "priv.cc".


I don't know what the standard says about the effect of friendship on template
argument lists in a partial specialization.
>From gcc-bugs-return-578526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 15:42:09 2017
Return-Path: <gcc-bugs-return-578526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26485 invoked by alias); 13 Oct 2017 15: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 25627 invoked by uid 48); 13 Oct 2017 15:42:04 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Fri, 13 Oct 2017 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: 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:
Message-ID: <bug-82542-4-3EYe81Z8nO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01586.txt.bz2
Content-length: 178

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01668.html
>From gcc-bugs-return-578527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 15:45:29 2017
Return-Path: <gcc-bugs-return-578527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69633 invoked by alias); 13 Oct 2017 15:45: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 64001 invoked by uid 48); 13 Oct 2017 15:45:15 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Fri, 13 Oct 2017 15: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:
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-82542-4-eNAwFgxP2v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01587.txt.bz2
Content-length: 539

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> Debian and Glibc use it for ABI checking; I and others use it to help generate
> C bindings for my toy language without having to write a C parser for no reason

I always have maintained that this is an abuse of the option.  For most
platforms using the dwarf is better and easier to maintain and independent of
GCC version which might change the output of these debug options (and also
language independent).
>From gcc-bugs-return-578528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 16:06:18 2017
Return-Path: <gcc-bugs-return-578528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59435 invoked by alias); 13 Oct 2017 16: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 59368 invoked by uid 48); 13 Oct 2017 16:06:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Fri, 13 Oct 2017 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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82542-4-eXnLEAHKiK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01588.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

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> ---
Yeah, for ABI checking you want to use dwarf, e.g. libabigail.  The TU dump
isn't a good source of information for ABI checking.
>From gcc-bugs-return-578529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 16:21:15 2017
Return-Path: <gcc-bugs-return-578529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108505 invoked by alias); 13 Oct 2017 16:21: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 108432 invoked by uid 55); 13 Oct 2017 16:21:10 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Fri, 13 Oct 2017 16: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
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-82542-4-YbvsFCHhcB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01589.txt.bz2
Content-length: 527

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
glibc does not use this option.  ABI checking in glibc works on binaries 
via objdump -T.  linknamespace tests do use -aux-info to list functions 
exported by a header, and would find it useful to be able to list exported 
variables as well, but while the output of -fdump-translation-unit 
includes variables it didn't seem at all convenient to parse for that 
purpose.
>From gcc-bugs-return-578530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 16:50:49 2017
Return-Path: <gcc-bugs-return-578530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98839 invoked by alias); 13 Oct 2017 16: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 91044 invoked by uid 55); 13 Oct 2017 16:50:45 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80873] ICE in tsubst_copy when trying to use an overloaded function without a definition in a lambda
Date: Fri, 13 Oct 2017 16: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.1.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80873-4-mx1vuGrzEA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80873-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80873-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01590.txt.bz2
Content-length: 583

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80873

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Oct 13 16:50:13 2017
New Revision: 253733

URL: https://gcc.gnu.org/viewcvs?rev=253733&root=gcc&view=rev
Log:
2017-10-13  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/80873
        * g++.dg/cpp1y/auto-fn41.C: New.
        * g++.dg/cpp1y/auto-fn42.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn41.C
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn42.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 16:51:31 2017
Return-Path: <gcc-bugs-return-578531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99790 invoked by alias); 13 Oct 2017 16:51: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 99693 invoked by uid 48); 13 Oct 2017 16:51:27 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80873] ICE in tsubst_copy when trying to use an overloaded function without a definition in a lambda
Date: Fri, 13 Oct 2017 16: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.1
X-Bugzilla-Keywords: ice-on-valid-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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-80873-4-vadHgVY5nA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80873-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80873-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01591.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80873

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.3

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed for 7.3.0.
>From gcc-bugs-return-578532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 16:51:32 2017
Return-Path: <gcc-bugs-return-578532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99905 invoked by alias); 13 Oct 2017 16:51: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 99713 invoked by uid 48); 13 Oct 2017 16:51:28 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/54367] [meta-bug] lambda expressions
Date: Fri, 13 Oct 2017 16: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: 4.8.0
X-Bugzilla-Keywords: meta-bug
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 resolution
Message-ID: <bug-54367-4-qZt9BViaz2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54367-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01592.txt.bz2
Content-length: 521

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367
Bug 54367 depends on bug 80873, which changed state.

Bug 80873 Summary: ICE in tsubst_copy when trying to use an overloaded function without a definition in a lambda
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80873

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 16:53:02 2017
Return-Path: <gcc-bugs-return-578533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116382 invoked by alias); 13 Oct 2017 16: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 113290 invoked by uid 48); 13 Oct 2017 16:52:57 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82546] New: tree_size handling for TYPE nodes is confused
Date: Fri, 13 Oct 2017 16:53: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82546-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01593.txt.bz2
Content-length: 1090

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82546

            Bug ID: 82546
           Summary: tree_size handling for TYPE nodes is confused
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nathan at gcc dot gnu.org
  Target Milestone: ---

In working on the modules branch I discovered TYPE node size determination is
messed up.

tree_code_size returns sizeof (tree_type_non_common) for all tcc_type nodes.
Not even asking the lang hook for lang extension types.

1) I don't know whether some core types are smaller

2) some lang hooks don't return sizes for types

3) some lang hooks return too-small-a size

4) some langs don't correctly mark the hierarchy matrix -- how GC is working
here I'm not sure.  We may be lucking out with nodes being reachable via other
ways?

5) All our nice tree_type_common, tree_type_with_lang_specific and
tree_type_non_common size optimization is not being used.
>From gcc-bugs-return-578534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 16:56:34 2017
Return-Path: <gcc-bugs-return-578534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5933 invoked by alias); 13 Oct 2017 16:56: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 5855 invoked by uid 48); 13 Oct 2017 16:56:30 -0000
From: "eric.niebler at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/68093] [concepts] friend function declarations that differ only by constraints are rejected as redefinitions
Date: Fri, 13 Oct 2017 16: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: normal
X-Bugzilla-Who: eric.niebler 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-68093-4-NZADBHSM0v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68093-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68093-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01594.txt.bz2
Content-length: 420

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68093

--- Comment #1 from Eric Niebler <eric.niebler at gmail dot com> ---
Still happens on trunk, 2 years later:

template <class T>
concept bool True = true;

template <class T>
struct S {
  friend bool operator==(S, int) requires True<T> { return true; }
  friend bool operator==(S, int) requires !True<T> { return true; }
};

int main() {
  S<int> s;
}

:-(
>From gcc-bugs-return-578535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 17:00:50 2017
Return-Path: <gcc-bugs-return-578535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11099 invoked by alias); 13 Oct 2017 17: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 11043 invoked by uid 48); 13 Oct 2017 17:00:45 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82544] gccgo on SPARC64 produce bad binary
Date: Fri, 13 Oct 2017 17: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: 6.4.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82544-4-eSJeErOhny@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01595.txt.bz2
Content-length: 534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82544

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com

--- Comment #6 from Ian Lance Taylor <ian at airs dot com> ---
I don't think unwinding through an exception is the problem here.  This is an
ordinary unwind used to collect memory profiling information.  There is no
exception.
>From gcc-bugs-return-578536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 17:05:28 2017
Return-Path: <gcc-bugs-return-578536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20444 invoked by alias); 13 Oct 2017 17: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 13198 invoked by uid 48); 13 Oct 2017 17:05:23 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82509] DW_AT_endianity issues with attribute scalar_storage_order
Date: Fri, 13 Oct 2017 17:05: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: wrong-debug
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-82509-4-4TFAXyccly@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01596.txt.bz2
Content-length: 286

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> This uses your patch to gcc, plus the following patch to gdb:
> 
> https://sourceware.org/ml/gdb-patches/2017-10/msg00266.html

Great, thanks for the testing.
>From gcc-bugs-return-578537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 17:13:33 2017
Return-Path: <gcc-bugs-return-578537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54428 invoked by alias); 13 Oct 2017 17:13: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 54376 invoked by uid 48); 13 Oct 2017 17:13:29 -0000
From: "amacleod at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82547] New: wide_int is not setting overflow properly for large unsigned add/subtract calculations.
Date: Fri, 13 Oct 2017 17: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: amacleod 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 target_milestone cf_gcctarget attachments.created
Message-ID: <bug-82547-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01597.txt.bz2
Content-length: 1989

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82547

            Bug ID: 82547
           Summary: wide_int is not setting overflow properly for large
                    unsigned add/subtract calculations.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amacleod at redhat dot com
  Target Milestone: ---
            Target: x86_64-pc-linux-gnu

Created attachment 42364
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42364&action=edit
patch which applied to wide-int.cc shows the bug in the selftests when the
compiler is built.

I ran into a bug when using a wide_int that is larger than HOST_WIDE_INT.

Using an unsigned 128 bit integer fails to set the overflow bit properly when
an underflow or overflow occurs in subtraction. I presume wi::add is the same.
the calculation is 

    0 - (MAXINT - 2) 

It produces the correct value, but does not set the overflow bit properly.

I notice all through the wide_int code 'overflow' is set differently depending
on whether  (sgn == SIGNED).  However, in wi::sub_large, it simply says:
 if (len * HOST_BITS_PER_WIDE_INT < prec)
    {
      val[len] = mask0 - mask1 - borrow;
      len++;
      if (overflow) 
        *overflow = false;
    }

just always sets it to false regardless of the values. It doesn't actually
check anything. 

Not sure how to reproduce it exactly, so I added some code to the wide_int
selftests which show the overflow bits as they are calculated for 32, 64 and
128 bit unsigned values.


Attached is a patch to wide-int.cc which performs the calculation in various
precisions.  It outputs the correct '1' for 32 and 64, but shows that overflow
is not set correctly for the 128 bit type.

output is:
32 bit  ov2 1
64 bit  ov2 1
128 bit ov2 0


ov2 should also be 1 in the final test for 128 bit.
>From gcc-bugs-return-578538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 17:19:49 2017
Return-Path: <gcc-bugs-return-578538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92766 invoked by alias); 13 Oct 2017 17:19: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 92704 invoked by uid 55); 13 Oct 2017 17:19:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82274] __builtin_mul_overflow fails to detect overflow for int64_t when compiled with -m32
Date: Fri, 13 Oct 2017 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: 5.4.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82274-4-wJjej94SIX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82274-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01598.txt.bz2
Content-length: 1001

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82274

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 17:19:12 2017
New Revision: 253734

URL: https://gcc.gnu.org/viewcvs?rev=253734&root=gcc&view=rev
Log:
        PR target/82274
        * internal-fn.c (expand_mul_overflow): If both operands have
        the same highpart of -1 or 0 and the topmost bit of lowpart
        is different, overflow is if res <= 0 rather than res < 0.

        * libgcc2.c (__mulvDI3): If both operands have
        the same highpart of -1 and the topmost bit of lowpart is 0,
        multiplication overflows even if both lowparts are 0.

        * gcc.dg/pr82274-1.c: New test.
        * gcc.dg/pr82274-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr82274-1.c
    trunk/gcc/testsuite/gcc.dg/pr82274-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/internal-fn.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgcc/ChangeLog
    trunk/libgcc/libgcc2.c
>From gcc-bugs-return-578539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 17:22:55 2017
Return-Path: <gcc-bugs-return-578539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95905 invoked by alias); 13 Oct 2017 17: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 95844 invoked by uid 48); 13 Oct 2017 17:22:50 -0000
From: "opotapenko at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81317] builtin_vec_ld fails for powerpc with altivec
Date: Fri, 13 Oct 2017 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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: opotapenko at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: cc
Message-ID: <bug-81317-4-TagdrPIAKG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81317-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81317-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01599.txt.bz2
Content-length: 10202

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81317

Alex Potapenko <opotapenko at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |opotapenko at gmail dot com

--- Comment #27 from Alex Potapenko <opotapenko at gmail dot com> ---
I'd like to chime in to do two things: first suggest a (simple) way to
reproduce this using buildroot (GCC 7.2.0), and then post a gdb backtrace in
case there's something useful there (not sure how much different from Randy's
log it is).

1. Reproducing.
1.1) Download and unpack
https://buildroot.org/downloads/buildroot-2017.08.tar.bz2
1.2) Save
https://raw.githubusercontent.com/Optware/Optware-ng/5b3cbfeb2bb2444d47ea15bcce3081ffbaea8046/sources/buildroot-ppc-603e/config
as ".config" in buildroot root
1.3) Patch buildroot to make gcc debuggable:
diff --git a/package/gcc/gcc-final/gcc-final.mk
b/package/gcc/gcc-final/gcc-final.mk
index 213f3d7..4364e2a 100644
--- a/package/gcc/gcc-final/gcc-final.mk
+++ b/package/gcc/gcc-final/gcc-final.mk
@@ -41,6 +41,7 @@ define  HOST_GCC_FINAL_CONFIGURE_CMDS
        (cd $(HOST_GCC_FINAL_SRCDIR) && rm -rf config.cache; \
                $(HOST_CONFIGURE_OPTS) \
                CFLAGS="$(HOST_CFLAGS)" \
+               CXXFLAGS="-ggdb -O0" \
                LDFLAGS="$(HOST_LDFLAGS)" \
                $(HOST_GCC_FINAL_CONF_ENV) \
                ./configure \
@@ -107,6 +108,8 @@ HOST_GCC_FINAL_CONF_ENV = \

 HOST_GCC_FINAL_MAKE_OPTS += $(HOST_GCC_COMMON_MAKE_OPTS)

+HOST_GCC_FINAL_MAKE_OPTS += STAGE_CFLAGS="-ggdb -O0"
+
 # Make sure we have 'cc'
 define HOST_GCC_FINAL_CREATE_CC_SYMLINKS
        if [ ! -e $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-cc ]; then \

1.4) Build the toolchain with `make`. You'll have the toolchain in
"buildroot-2017.08/output/host" after build is done

2. Now, gdb log from built toolchain (note that test.c is the "smaller
reproducer with manual work-around" uploaded by Randy):

jenkins@u0:~/buildroot-2017.08$ gdb
/home/jenkins/buildroot-2017.08/output/host/libexec/gcc/powerpc-buildroot-linux-gnu/7.2.0/cc1
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 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.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
/home/jenkins/buildroot-2017.08/output/host/libexec/gcc/powerpc-buildroot-linux-gnu/7.2.0/cc1...done.
(gdb) run -quiet -v -imultilib . -imultiarch powerpc-linux-gnu -isysroot
/home/jenkins/buildroot-2017.08/output/host/powerpc-buildroot-linux-gnu/sysroot
-D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux
-Asystem=linux -Asystem=unix -Asystem=posix test.c -quiet -dumpbase test.c
-maltivec -mcpu=603e -auxbase test -version -o -
Starting program:
/home/jenkins/buildroot-2017.08/output/host/libexec/gcc/powerpc-buildroot-linux-gnu/7.2.0/cc1
-quiet -v -imultilib . -imultiarch powerpc-linux-gnu -isysroot
/home/jenkins/buildroot-2017.08/output/host/powerpc-buildroot-linux-gnu/sysroot
-D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux
-Asystem=linux -Asystem=unix -Asystem=posix test.c -quiet -dumpbase test.c
-maltivec -mcpu=603e -auxbase test -version -o -
GNU C11 (Buildroot 2017.08-g9362d96-dirty) version 7.2.0
(powerpc-buildroot-linux-gnu)
        compiled by GNU C version 5.4.0 20160609, GMP version 6.1.2, MPFR
version 3.1.5, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory
"/home/jenkins/buildroot-2017.08/output/host/powerpc-buildroot-linux-gnu/sysroot/usr/local/include/powerpc-linux-gnu"
ignoring nonexistent directory
"/home/jenkins/buildroot-2017.08/output/host/powerpc-buildroot-linux-gnu/sysroot/usr/local/include"
ignoring nonexistent directory
"/home/jenkins/buildroot-2017.08/output/host/powerpc-buildroot-linux-gnu/sysroot/usr/include/powerpc-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:

/home/jenkins/buildroot-2017.08/output/host/lib/gcc/powerpc-buildroot-linux-gnu/7.2.0/include

/home/jenkins/buildroot-2017.08/output/host/lib/gcc/powerpc-buildroot-linux-gnu/7.2.0/include-fixed

/home/jenkins/buildroot-2017.08/output/host/lib/gcc/powerpc-buildroot-linux-gnu/7.2.0/../../../../powerpc-buildroot-linux-gnu/include

/home/jenkins/buildroot-2017.08/output/host/powerpc-buildroot-linux-gnu/sysroot/usr/include
End of search list.
GNU C11 (Buildroot 2017.08-g9362d96-dirty) version 7.2.0
(powerpc-buildroot-linux-gnu)
        compiled by GNU C version 5.4.0 20160609, GMP version 6.1.2, MPFR
version 3.1.5, MPC version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 79638d26791d2fd1f2ddd744e299fa65
        .file   "test.c"
test.c:52:3: warning: unnamed struct/union that defines no instances
   };
   ^
test.c:55:11: warning: ‘struct random_data’ declared inside parameter list will
not be visible outside of this definition or declaration
    struct random_data *__restrict __buf)
           ^~~~~~~~~~~

Program received signal SIGSEGV, Segmentation fault.
0x00000000009df5fb in store_expr_with_bounds (exp=0x7ffff6943740,
target=0x7ffff6ac8fc0, call_param_p=0, nontemporal=false, reverse=false,
btarget=0x7ffff6942630) at ../../gcc/expr.c:5575
5575      if (CONSTANT_P (temp) && GET_MODE (temp) == VOIDmode
(gdb) bt full
#0  0x00000000009df5fb in store_expr_with_bounds (exp=0x7ffff6943740,
target=0x7ffff6ac8fc0, call_param_p=0, nontemporal=false, reverse=false,
btarget=0x7ffff6942630) at ../../gcc/expr.c:5575
        temp = 0x0
        alt_rtl = 0x0
        loc = 2147483665
        __FUNCTION__ = "store_expr_with_bounds"
#1  0x00000000009de7ee in expand_assignment (to=0x7ffff6942630,
from=0x7ffff6943740, nontemporal=false) at ../../gcc/expr.c:5321
        to_rtx = 0x7ffff6ac8fc0
        result = 0x0
        mode = V16QImode
        align = 4137801472
        icode = 4294957840
        __FUNCTION__ = "expand_assignment"
#2  0x00000000008a1b1b in expand_call_stmt (stmt=0x7ffff6ad45a0) at
../../gcc/cfgexpand.c:2656
        exp = 0x7ffff6943740
        decl = 0x7ffff6a1d700
        lhs = 0x7ffff6942630
        builtin_p = true
        i = 2
        __FUNCTION__ = "expand_call_stmt"
#3  0x00000000008a4645 in expand_gimple_stmt_1 (stmt=0x7ffff6ad45a0) at
../../gcc/cfgexpand.c:3571
        op0 = 0x7fffffffdcb0
        __FUNCTION__ = "expand_gimple_stmt_1"
#4  0x00000000008a4bfa in expand_gimple_stmt (stmt=0x7ffff6ad45a0) at
../../gcc/cfgexpand.c:3737
        saved_location = 566396
        last = 0x7ffff6ad8658
        lp_nr = 0
        __FUNCTION__ = "expand_gimple_stmt"
#5  0x00000000008aae3b in expand_gimple_basic_block (bb=0x7ffff6a9b270,
disable_tail_calls=false) at ../../gcc/cfgexpand.c:5744
        def_p = 0x7ffff6ad4608
        call_stmt = 0x7ffff6ad45a0
        new_bb = 0x0
        gsi = {ptr = 0x7ffff6ad45a0, seq = 0x7fffffffdd78, bb = 0x7ffff6a9b270}
        stmts = 0x7ffff6ad45a0
        stmt = 0x7ffff6ad45a0
        note = 0x7ffff6ad8658
        last = 0x7ffff6942e58
        e = 0x0
        ei = {index = 2, container = 0x7ffff6a9b210}
        __FUNCTION__ = "expand_gimple_basic_block"
        elt = 0x0
#6  0x00000000008ac3d5 in (anonymous namespace)::pass_expand::execute
(this=0x21fbba0, fun=0x7ffff6acd000) at ../../gcc/cfgexpand.c:6357
        bb = 0x7ffff6a9b270
        init_block = 0x7ffff6a9b548
        ei = {index = 1, container = 0x7ffff6a9b070}
        e = 0x0
        var_seq = 0x0
        var_ret_seq = 0x0
        i = 26
        name = 0x0
        __FUNCTION__ = "execute"
        blocks = {m_bitmap = 0x7fffffffdfb0}
#7  0x0000000000ca27e4 in execute_one_pass (pass=0x21fbba0) at
../../gcc/passes.c:2465
        todo_after = 0
        gate_status = true
        __FUNCTION__ = "execute_one_pass"
#8  0x0000000000ca2b47 in execute_pass_list_1 (pass=0x21fbba0) at
../../gcc/passes.c:2554
        __FUNCTION__ = "execute_pass_list_1"
#9  0x0000000000ca2bd0 in execute_pass_list (fn=0x7ffff6acd000, pass=0x21f8090)
at ../../gcc/passes.c:2565
        __FUNCTION__ = "execute_pass_list"
#10 0x00000000008ef168 in cgraph_node::expand (this=0x7ffff6ad7000) at
../../gcc/cgraphunit.c:2042
        saved_loc = 664512
        __FUNCTION__ = "expand"
#11 0x00000000008efa4f in output_in_order (no_reorder=false) at
../../gcc/cgraphunit.c:2285
        max = 2
        nodes = 0x21e8890
        i = 0
        pf = 0x0
        pv = 0x0
        pa = 0x0
        __FUNCTION__ = "output_in_order"
#12 0x00000000008f00ca in symbol_table::compile (this=0x7ffff693b000) at
../../gcc/cgraphunit.c:2529
No locals.
#13 0x00000000008f031b in symbol_table::finalize_compilation_unit
(this=0x7ffff693b000) at ../../gcc/cgraphunit.c:2625
No locals.
#14 0x0000000000dbd01c in compile_file () at ../../gcc/toplev.c:492
No locals.
#15 0x0000000000dbf670 in do_compile () at ../../gcc/toplev.c:2003
        i = 1
#16 0x0000000000dbf947 in toplev::main (this=0x7fffffffe230, argc=30,
argv=0x7fffffffe338) at ../../gcc/toplev.c:2137
        __FUNCTION__ = "main"
#17 0x0000000001611e37 in main (argc=30, argv=0x7fffffffe338) at
../../gcc/main.c:39
        toplev = {m_use_TV_TOTAL = true, m_init_signals = true}

Thanks. Hope this is useful,
Alex
>From gcc-bugs-return-578540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 17:27:05 2017
Return-Path: <gcc-bugs-return-578540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99439 invoked by alias); 13 Oct 2017 17:27: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 99362 invoked by uid 55); 13 Oct 2017 17:27:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82274] __builtin_mul_overflow fails to detect overflow for int64_t when compiled with -m32
Date: Fri, 13 Oct 2017 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: 5.4.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82274-4-BrpenOivfv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82274-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01600.txt.bz2
Content-length: 1113

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82274

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 17:26:28 2017
New Revision: 253735

URL: https://gcc.gnu.org/viewcvs?rev=253735&root=gcc&view=rev
Log:
        PR target/82274
        * internal-fn.c (expand_mul_overflow): If both operands have
        the same highpart of -1 or 0 and the topmost bit of lowpart
        is different, overflow is if res <= 0 rather than res < 0.

        * libgcc2.c (__mulvDI3): If both operands have
        the same highpart of -1 and the topmost bit of lowpart is 0,
        multiplication overflows even if both lowparts are 0.

        * gcc.dg/pr82274-1.c: New test.
        * gcc.dg/pr82274-2.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr82274-1.c
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr82274-2.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/internal-fn.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/libgcc/ChangeLog
    branches/gcc-7-branch/libgcc/libgcc2.c
>From gcc-bugs-return-578541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 17:39:27 2017
Return-Path: <gcc-bugs-return-578541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124001 invoked by alias); 13 Oct 2017 17:39: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 123949 invoked by uid 55); 13 Oct 2017 17:39:23 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/69078] [C++14] function local static not initialized when only used in a generic/variadic lambda
Date: Fri, 13 Oct 2017 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: 6.0
X-Bugzilla-Keywords:
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-69078-4-iV4cG2yvRs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69078-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69078-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01601.txt.bz2
Content-length: 635

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69078

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Oct 13 17:38:50 2017
New Revision: 253736

URL: https://gcc.gnu.org/viewcvs?rev=253736&root=gcc&view=rev
Log:
2017-10-13  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/69078
        * g++.dg/cpp1y/lambda-generic-69078-1.C: New.
        * g++.dg/cpp1y/lambda-generic-69078-2.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-69078-1.C
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-69078-2.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 17:40:07 2017
Return-Path: <gcc-bugs-return-578542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124943 invoked by alias); 13 Oct 2017 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 124870 invoked by uid 48); 13 Oct 2017 17:40:03 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/69078] [C++14] function local static not initialized when only used in a generic/variadic lambda
Date: Fri, 13 Oct 2017 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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-69078-4-6NRgJcYulh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69078-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69078-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01602.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69078

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.2

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in 6.2.0.
>From gcc-bugs-return-578543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 17:49:17 2017
Return-Path: <gcc-bugs-return-578543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27898 invoked by alias); 13 Oct 2017 17: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 25350 invoked by uid 55); 13 Oct 2017 17:49:13 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
Date: Fri, 13 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82511-4-YspJIMTeEZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01603.txt.bz2
Content-length: 1800

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511

--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Fri, Oct 13, 2017 at 01:39:26AM +0000, foreese at gcc dot gnu.org wrote:
> 
> Fritz Reese <foreese at gcc dot gnu.org> changed:
> 
> Under other DEC compilers, it seems STRUCTUREs are to be treated consistently
> with derived types in regards to I/O lists. That is to say, a structure
> variable is treated as if each of its named components was listed on the I/O
> list. (Even with UNIONs/MAPs, each named component is to be treated as having
> been listed in place of the DEC RECORD containing it, so that the last
> component written to within overlapping MAPs takes effect. Yikes.)
> 
> I believe both the code in the attachment and the "intended code" (writing to
> bucket.c16 instead of bucket) should be accepted, whereas they both ICE
> currently.
> 
> I will look into it.

I actually misread the code.  I thought it was

      program bug
      structure /bckt/
         union
            map
               character*16 c16
            end map
         end union
      end structure
      record /bckt/ bucket
      character(len=16) :: rec1 = 'ABCDEFGHIJKLMNOP'
  100 format(A16)
      read(rec1, 100) bckt
      end program bug

where one is trying read into the definition of the structure.
Is the above suppose to compile?  Because it does.  A simple
program with a Fortran derived type fails.

      type bar
        integer i
      end type bar
      character(len=10) :: str ='123'
      read(str,*) bar
      end

# gfcx -c b.f
b.f:5:21:

       read(str,*) bar
                     1
Error: Derived type 'bar' cannot be used as a variable at (1)

I was thinking the bckt should be handled in the same manner 
as bar.
>From gcc-bugs-return-578544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 18:19:53 2017
Return-Path: <gcc-bugs-return-578544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100633 invoked by alias); 13 Oct 2017 18:19: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 100235 invoked by uid 48); 13 Oct 2017 18:19:48 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70515] Nested lambdas causing invalid captured pointers on some platforms
Date: Fri, 13 Oct 2017 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: 5.3.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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
Message-ID: <bug-70515-4-CebThDtUGq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70515-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70515-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01604.txt.bz2
Content-length: 353

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70515

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
                 CC|gcc at norgg dot org               |
>From gcc-bugs-return-578545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 19:00:31 2017
Return-Path: <gcc-bugs-return-578545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125656 invoked by alias); 13 Oct 2017 19:00: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 125549 invoked by uid 55); 13 Oct 2017 19:00:24 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81048] [6/7/8 Regression] incorrect derived type initialization
Date: Fri, 13 Oct 2017 19: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.3.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81048-4-5HlnJaWoB2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01605.txt.bz2
Content-length: 737

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81048

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Oct 13 18:59:34 2017
New Revision: 253738

URL: https://gcc.gnu.org/viewcvs?rev=253738&root=gcc&view=rev
Log:
2017-10-13  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/81048
        * resolve.c (resolve_symbol): Ensure that derived type array
        results get default initialization.

2017-10-13  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/81048
        * gfortran.dg/derived_init_4.f90 : New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/derived_init_4.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 19:04:18 2017
Return-Path: <gcc-bugs-return-578546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129890 invoked by alias); 13 Oct 2017 19: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 129720 invoked by uid 55); 13 Oct 2017 19:04:13 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield
Date: Fri, 13 Oct 2017 19: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.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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82357-4-MV8e9KGDAp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01606.txt.bz2
Content-length: 551

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82357

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Oct 13 19:03:41 2017
New Revision: 253739

URL: https://gcc.gnu.org/viewcvs?rev=253739&root=gcc&view=rev
Log:
        PR c++/82357 - bit-field in template

        * tree.c (cp_stabilize_reference): Just return a NON_DEPENDENT_EXPR.

Added:
    trunk/gcc/testsuite/g++.dg/template/bitfield4.C
    trunk/gcc/testsuite/g++.dg/template/cast4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
>From gcc-bugs-return-578547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 19:05:51 2017
Return-Path: <gcc-bugs-return-578547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5665 invoked by alias); 13 Oct 2017 19:05: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 5082 invoked by uid 48); 13 Oct 2017 19:05:47 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield
Date: Fri, 13 Oct 2017 19: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.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: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution assigned_to
Message-ID: <bug-82357-4-3wqrE7vW7S@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82357-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01607.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82357

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 20:04:44 2017
Return-Path: <gcc-bugs-return-578548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104747 invoked by alias); 13 Oct 2017 20: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 103726 invoked by uid 48); 13 Oct 2017 20:04:38 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82544] gccgo on SPARC64 produce bad binary
Date: Fri, 13 Oct 2017 20: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov 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-82544-4-BBDwf8fT3o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82544-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01608.txt.bz2
Content-length: 641

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82544

--- Comment #7 from Igor Kozhukhov <ikozhukhov at gmail dot com> ---
i can provide build zone on on real SPARC64 T5220 with DilOS if needed.
just ping me directly to igor at dilos dot org.
i have with DilOS:
gcc-4.4.7 (32bit default) + SunAS + illumos ld - for dilos-illumos builds
gcc-5.5.0 (64bit default) + GNU AS + illumos ld
gcc-6.4.0 (64bit default) + GNU AS + illumos ld - for userland builds

i can use different compilers on the same env in the same time with builds
without problems.
only gcc-6 bootstrap can be built with Go support, gcc-5 failed with bootstrap
on SPARC64.
>From gcc-bugs-return-578549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 20:15:31 2017
Return-Path: <gcc-bugs-return-578549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39204 invoked by alias); 13 Oct 2017 20:15: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 38949 invoked by uid 55); 13 Oct 2017 20:15:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82274] __builtin_mul_overflow fails to detect overflow for int64_t when compiled with -m32
Date: Fri, 13 Oct 2017 20: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: 5.4.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82274-4-Zu8WnSLHeP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82274-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01609.txt.bz2
Content-length: 1113

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82274

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 20:14:34 2017
New Revision: 253743

URL: https://gcc.gnu.org/viewcvs?rev=253743&root=gcc&view=rev
Log:
        PR target/82274
        * internal-fn.c (expand_mul_overflow): If both operands have
        the same highpart of -1 or 0 and the topmost bit of lowpart
        is different, overflow is if res <= 0 rather than res < 0.

        * libgcc2.c (__mulvDI3): If both operands have
        the same highpart of -1 and the topmost bit of lowpart is 0,
        multiplication overflows even if both lowparts are 0.

        * gcc.dg/pr82274-1.c: New test.
        * gcc.dg/pr82274-2.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr82274-1.c
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr82274-2.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/internal-fn.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/libgcc/ChangeLog
    branches/gcc-6-branch/libgcc/libgcc2.c
>From gcc-bugs-return-578550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 20:19:54 2017
Return-Path: <gcc-bugs-return-578550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46550 invoked by alias); 13 Oct 2017 20: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 46236 invoked by uid 55); 13 Oct 2017 20:19:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82353] [8 Regression] runtime ubsan crash
Date: Fri, 13 Oct 2017 20:19: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82353-4-aYD2t0gu96@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01610.txt.bz2
Content-length: 633

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 20:19:17 2017
New Revision: 253744

URL: https://gcc.gnu.org/viewcvs?rev=253744&root=gcc&view=rev
Log:
        PR sanitizer/82353
        * g++.dg/ubsan/pr82353-2.C: New test.
        * g++.dg/ubsan/pr82353-2-aux.cc: New file.
        * g++.dg/ubsan/pr82353-2.h: New file.

Added:
    trunk/gcc/testsuite/g++.dg/ubsan/pr82353-2-aux.cc
    trunk/gcc/testsuite/g++.dg/ubsan/pr82353-2.C
    trunk/gcc/testsuite/g++.dg/ubsan/pr82353-2.h
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 20:28:44 2017
Return-Path: <gcc-bugs-return-578551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15221 invoked by alias); 13 Oct 2017 20:28: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 9601 invoked by uid 48); 13 Oct 2017 20:28:39 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros
Date: Fri, 13 Oct 2017 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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-81404-4-hnPnVEd8hF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01611.txt.bz2
Content-length: 558

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404

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

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Am working on this.  Am not sure what is meant by comment #2 though; that
sounds like a different issue.
>From gcc-bugs-return-578552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 21:46:42 2017
Return-Path: <gcc-bugs-return-578552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67793 invoked by alias); 13 Oct 2017 21:46: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 60738 invoked by uid 48); 13 Oct 2017 21:46:37 -0000
From: "mateuszb at poczta dot onet.pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82548] New: After -r 253646 GCC 8.0 can't build cross compiler for mingw32
Date: Fri, 13 Oct 2017 21:46: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mateuszb at poczta dot onet.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-82548-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01612.txt.bz2
Content-length: 3829

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82548

            Bug ID: 82548
           Summary: After -r 253646 GCC 8.0 can't build cross compiler for
                    mingw32
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mateuszb at poczta dot onet.pl
  Target Milestone: ---

-r 253645 works OK (for mingw32), -r 253646 breaks build cross compiler with
error:

g++ -no-pie   -pipe -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -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 -fno-common 
-DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o cc1 c/c-lang.o
c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o
c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o
c/c-array-notation.o c/c-fold.o c/gimple-parser.o c-family/c-common.o
c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o
c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o
c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o
c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o
c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o
c-family/cilk.o c-family/c-ubsan.o c-family/c-attribs.o c-family/c-warn.o
i386-c.o winnt-c.o msformat-c.o \
  cc1-checksum.o libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
-L/home/ma/m/build/for_cross/lib -lisl -L/home/ma/m/build/for_cross/lib
-L/home/ma/m/build/for_cross/lib -L/home/ma/m/build/for_cross/lib -lmpc -lmpfr
-lgmp -rdynamic -ldl  -L./../zlib -lz
i386.o: In function `ix86_sched_init_global(_IO_FILE*, int, int)':
i386.c:(.text+0xb5f1): undefined reference to `ix86_core2i7_init_hooks()'
i386.o:(.data+0x258): undefined reference to `ix86_adjust_cost(rtx_insn*, int,
rtx_insn*, int, unsigned int)'
i386.o:(.data+0x268): undefined reference to `ix86_issue_rate()'
i386.o:(.data+0x298): undefined reference to
`ix86_atom_sched_reorder(_IO_FILE*, int, rtx_insn**, int*, int)'
i386.o:(.data+0x2a8): undefined reference to `ix86_macro_fusion_p()'
i386.o:(.data+0x2b0): undefined reference to
`ix86_macro_fusion_pair_p(rtx_insn*, rtx_insn*)'
i386.o:(.data+0x2f0): undefined reference to `ia32_multipass_dfa_lookahead()'
i386.o:(.data+0x3b8): undefined reference to `ix86_bd_do_dispatch(rtx_insn*,
int)'
i386.o:(.data+0x3c0): undefined reference to `ix86_bd_has_dispatch(rtx_insn*,
int)'
insn-automata.o: In function `insn_latency(rtx_insn*, rtx_insn*)':
insn-automata.c:(.text+0x66cf): undefined reference to
`ix86_agi_dependent(rtx_insn*, rtx_insn*)'
insn-automata.c:(.text+0x6735): undefined reference to
`ix86_agi_dependent(rtx_insn*, rtx_insn*)'
insn-automata.c:(.text+0x6759): undefined reference to
`ix86_agi_dependent(rtx_insn*, rtx_insn*)'
insn-automata.c:(.text+0x6781): undefined reference to
`ix86_agi_dependent(rtx_insn*, rtx_insn*)'
insn-automata.c:(.text+0x6aac): undefined reference to
`ix86_agi_dependent(rtx_insn*, rtx_insn*)'
insn-automata.o:insn-automata.c:(.text+0x6ac4): more undefined references to
`ix86_agi_dependent(rtx_insn*, rtx_insn*)' follow
collect2: error: ld returned 1 exit status
/home/ma/m/source/gcc-8/gcc/c/Make-lang.in:85: recipe for target 'cc1' failed
make[1]: *** [cc1] Error 1
make[1]: Leaving directory '/home/ma/m/build/bc_gcc/gcc'
Makefile:4285: recipe for target 'all-gcc' failed
make: *** [all-gcc] Error 2
>From gcc-bugs-return-578553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 21:56:20 2017
Return-Path: <gcc-bugs-return-578553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65360 invoked by alias); 13 Oct 2017 21: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 65323 invoked by uid 48); 13 Oct 2017 21:56:14 -0000
From: "qing.zhao at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Fri, 13 Oct 2017 21: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qing.zhao at oracle 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-78809-4-eYwwrMWlWs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01613.txt.bz2
Content-length: 1236

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

Qing Zhao <qing.zhao at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qing.zhao at oracle dot com

--- Comment #3 from Qing Zhao <qing.zhao at oracle dot com> ---
with the latest upstream GCC, we got the following assembly for the testing
case with -O2 on aarch64:

t1:
        adrp    x1, .LC0
        add     x1, x1, :lo12:.LC0
        b       strcmp

t2:
        adrp    x1, .LC0
        add     x1, x1, :lo12:.LC0
        b       strcmp


As I checked on X86, the same testing case has the following assembly with -O2:
t1:

        movq    %rdi, %rsi
        movl    $2, %ecx
        movl    $.LC0, %edi
        repz; cmpsb
        seta    %al
        setb    %dl
        subl    %edx, %eax
        movsbl  %al, %eax
        ret

t2:
        movq    %rdi, %rsi
        movl    $2, %ecx
        movl    $.LC0, %edi
        repz; cmpsb
        seta    %al
        setb    %dl
        subl    %edx, %eax
        movsbl  %al, %eax
        ret

on X86, both routines have the exact assembly and both are inlined by GCC.
>From gcc-bugs-return-578554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 22:02:46 2017
Return-Path: <gcc-bugs-return-578554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73063 invoked by alias); 13 Oct 2017 22:02: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 72994 invoked by uid 48); 13 Oct 2017 22:02:38 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82549] New: ICE at -O1 and above: verify_gimple failed
Date: Fri, 13 Oct 2017 22: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: 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-82549-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01614.txt.bz2
Content-length: 1986

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82549

            Bug ID: 82549
           Summary: ICE at -O1 and above: verify_gimple failed
           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 seems 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/8.0.0/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 8.0.0 20171013 (experimental) [trunk revision 253721] (GCC) 
$ 
$ gcctk -O0 small.c
$ gcc-7.2.0 -O1 small.c
$ 
$ gcctk -O1 small.c
small.c: In function ‘main’:
small.c:3:5: error: invalid position or size operand to BIT_FIELD_REF
 int main ()
     ^~~~
BIT_FIELD_REF <b, 32, 0xffffffffffffffffffffffffffffffc0>
small.c:5:22: note: in statement
   return !a || b[-2] || b[-2];
          ~~~~~~~~~~~~^~~~~~~~
_2 = BIT_FIELD_REF <b, 32, 0xffffffffffffffffffffffffffffffc0>;
during GIMPLE pass: cfg
small.c:3:5: internal compiler error: verify_gimple failed
 int main ()
     ^~~~
0xcbc4fb verify_gimple_in_cfg(function*, bool)
        ../../gcc-source-trunk/gcc/tree-cfg.c:5397
0xb80342 execute_function_todo
        ../../gcc-source-trunk/gcc/passes.c:1994
0xb80ce9 execute_todo
        ../../gcc-source-trunk/gcc/passes.c:2048
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.
$ 


-----------------------------------


int a, b[1];

int main ()
{
  return !a || b[-2] || b[-2];
}
>From gcc-bugs-return-578555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 13 23:55:59 2017
Return-Path: <gcc-bugs-return-578555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1648 invoked by alias); 13 Oct 2017 23: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 122375 invoked by uid 48); 13 Oct 2017 23:55:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82274] __builtin_mul_overflow fails to detect overflow for int64_t when compiled with -m32
Date: Fri, 13 Oct 2017 23: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: 5.4.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: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-82274-4-RnL075Aghf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82274-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01615.txt.bz2
Content-length: 507

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82274

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed for 6.5+ and 7.3+/8+.
>From gcc-bugs-return-578556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 00:25:57 2017
Return-Path: <gcc-bugs-return-578556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100189 invoked by alias); 14 Oct 2017 00: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 98335 invoked by uid 48); 14 Oct 2017 00:25:54 -0000
From: "wdijkstr at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Sat, 14 Oct 2017 00: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: wdijkstr 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: cc
Message-ID: <bug-78809-4-Wiybe8ljMx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01616.txt.bz2
Content-length: 729

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

Wilco <wdijkstr at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wdijkstr at arm dot com

--- Comment #4 from Wilco <wdijkstr at arm dot com> ---
(In reply to Qing Zhao from comment #3)
> with the latest upstream GCC, we got the following assembly for the testing
> case with -O2 on aarch64:
> 
> t1:
> 	adrp	x1, .LC0
> 	add	x1, x1, :lo12:.LC0
> 	b	strcmp
> 	
> t2:
> 	adrp	x1, .LC0
> 	add	x1, x1, :lo12:.LC0
> 	b	strcmp

Yes the inlining was recently removed from GLIBC since the goal is to inline in
GCC.
>From gcc-bugs-return-578557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 07:49:55 2017
Return-Path: <gcc-bugs-return-578557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120927 invoked by alias); 14 Oct 2017 07:49: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 120867 invoked by uid 48); 14 Oct 2017 07:49:51 -0000
From: "davmac at davmac dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81423] [6/7 Regression] Wrong code at -O2
Date: Sat, 14 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: davmac at davmac dot 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-81423-4-WDNPrH5KhZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01617.txt.bz2
Content-length: 2056

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81423

Davin McCall <davmac at davmac dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davmac at davmac dot org

--- Comment #15 from Davin McCall <davmac at davmac dot org> ---
Apologies if I'm wrong and just making noise but doesn't the test case involve
a left shift of a value greater than the bit width of the left operand and
therefore invoke UB?

  ll = -5597998501375493990LL;

  ll = (5677365550390624949L - ll) - (ull1 > 0);
  //ull3 = (unsigned int)
  //  (2067854353L <<
  //   (((ll + -2129105131L) ^ 10280750144413668236ULL) -
  //    10280750143997242009ULL)) >> ((2873442921854271231ULL | ull2)
  //                                - 12098357307243495419ULL);

  // Above broken down:

  unsigned long long int t1 = ll + -2129105131L;
  unsigned long long int t2 = t1 ^ 10280750144413668236ULL;
  unsigned long long int t3 = t2 - 10280750143997242009ULL;
  // t3 = 9523455470476460042 !!!
  long t4 = 2067854353L << t3;  // UB!!
  unsigned int t5 = (unsigned int)t4;

  unsigned long long int t6 = 2873442921854271231ULL | ull2;
  unsigned long long int t7 = t6 - 12098357307243495419ULL;
  ull3 = t5 >> t7;

Fixed test case would be:

--- begin ---
unsigned long long int ll = 0;
unsigned long long int ull1 = 1ULL;
unsigned long long int ull2 = 12008284144813806346ULL;
unsigned long long int ull3;

void
foo ()
{
  ll = -5597998501375493990LL;

  ll = (5677365550390624949L - ll) - (ull1 > 0);
  ull3 = (unsigned int)
    (2067854353L <<
     (((ll + -2129105131L) ^ 10280750144413668236ULL) +
      17089282532945401191ULL)) >> ((2873442921854271231ULL | ull2)
                                    - 12098357307243495419ULL);
}

int
main ()
{
  foo ();
  printf ("%llu expected 3998784)\n", ull3);
  printf ("%llx expected 3d0440)\n", ull3);
  return 0;
}
--- end ---

This still demonstrates the bug.
>From gcc-bugs-return-578558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 08:27:52 2017
Return-Path: <gcc-bugs-return-578558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44793 invoked by alias); 14 Oct 2017 08:27: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 44731 invoked by uid 48); 14 Oct 2017 08:27:48 -0000
From: "babokin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81423] [6/7 Regression] Wrong code at -O2
Date: Sat, 14 Oct 2017 08: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.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: babokin at gmail dot com
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81423-4-eHl3HkLviM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01618.txt.bz2
Content-length: 556

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81423

--- Comment #16 from Dmitry Babokin <babokin at gmail dot com> ---
ll = -5597998501375493990LL;

// result is 2595916314 here.
ll = unsigned(5677365550390624949L - ll) - (ull1 > 0);

So:
  // t1 is 466811183
  unsigned long long int t1 = ll + -2129105131L;
  // t2 is 10280750143997242019
  unsigned long long int t2 = t1 ^ 10280750144413668236ULL;
  // t3 is 10
  unsigned long long int t3 = t2 - 10280750143997242009ULL;

So the test case looks correct to me.

UBSAN also doesn't complain.
>From gcc-bugs-return-578559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 08:34:48 2017
Return-Path: <gcc-bugs-return-578559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83680 invoked by alias); 14 Oct 2017 08: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 81786 invoked by uid 55); 14 Oct 2017 08:34:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81423] [6/7 Regression] Wrong code at -O2
Date: Sat, 14 Oct 2017 08: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: 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: P2
X-Bugzilla-Assigned-To: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81423-4-aOWAIFwqtZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01619.txt.bz2
Content-length: 571

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81423

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Oct 14 08:34:11 2017
New Revision: 253749

URL: https://gcc.gnu.org/viewcvs?rev=253749&root=gcc&view=rev
Log:
        PR rtl-optimization/81423
        * gcc.c-torture/execute/pr81423.c (foo): Add missing cast.  Change L
        suffixes to LL.
        (main): Punt if either long long isn't 64-bit or int isn't 32-bit.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.c-torture/execute/pr81423.c
>From gcc-bugs-return-578560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 08:39:13 2017
Return-Path: <gcc-bugs-return-578560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44205 invoked by alias); 14 Oct 2017 08: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 43894 invoked by uid 48); 14 Oct 2017 08:39:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81423] [6/7 Regression] Wrong code at -O2
Date: Sat, 14 Oct 2017 08: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: 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: P2
X-Bugzilla-Assigned-To: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81423-4-RVP6O27vK6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81423-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01620.txt.bz2
Content-length: 840

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81423

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Davin McCall from comment #15)
> Apologies if I'm wrong and just making noise but doesn't the test case
> involve a left shift of a value greater than the bit width of the left
> operand and therefore invoke UB?

The test as committed invokes UB, because the #c3 transcription into C omitted
the cast unsigned(5677365550390624949L - ll) from the original testcase.

Fixed thusly, I've additionally replaced all spots using L suffixes with LL for
consistent behavior on 32-bit targets, and add a test that int is 32-bit, for
say 16-bit int and 64-bit long long the testcase would have UB again (as well
as end up with a different than expected value anyway, as 3998784 doesn't fit
into 16-bit int.
>From gcc-bugs-return-578561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 09:19:49 2017
Return-Path: <gcc-bugs-return-578561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103259 invoked by alias); 14 Oct 2017 09:19: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 103054 invoked by uid 48); 14 Oct 2017 09:19:45 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcj/82540] gcc 6.4.0 bootstrap with java core dump in file with illumos ld
Date: Sat, 14 Oct 2017 09:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcj
X-Bugzilla-Version: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou 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 component resolution
Message-ID: <bug-82540-4-YIAC9yT0QX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01621.txt.bz2
Content-length: 632

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82540

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ebotcazou at gcc dot gnu.org
          Component|target                      |libgcj
         Resolution|---                         |WONTFIX

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Java was deprecated and has been removed since then.  No fix planned.
>From gcc-bugs-return-578562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 09:30:40 2017
Return-Path: <gcc-bugs-return-578562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118162 invoked by alias); 14 Oct 2017 09:30: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 117945 invoked by uid 48); 14 Oct 2017 09:30:36 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcj/82540] gcc 6.4.0 bootstrap with java core dump in file with illumos ld
Date: Sat, 14 Oct 2017 09:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcj
X-Bugzilla-Version: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov at gmail dot com
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-82540-4-QRQM0B86pT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01622.txt.bz2
Content-length: 261

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82540

--- Comment #3 from Igor Kozhukhov <ikozhukhov at gmail dot com> ---
but some components in Debian mainstream are using gcj for builds - how to do
it ?
i'm using Debian stretch repo for my ports to DilOS.
>From gcc-bugs-return-578563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 09:37:36 2017
Return-Path: <gcc-bugs-return-578563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126566 invoked by alias); 14 Oct 2017 09: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 126382 invoked by uid 48); 14 Oct 2017 09:37:31 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcj/82540] gcc 6.4.0 bootstrap with java core dump in file with illumos ld
Date: Sat, 14 Oct 2017 09:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcj
X-Bugzilla-Version: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou 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-82540-4-W0mxdkwu7h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01623.txt.bz2
Content-length: 309

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82540

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> but some components in Debian mainstream are using gcj for builds - how to
> do it ?

You need to ask the Debian maintainers - they are presumably well aware of the
decision by now.
>From gcc-bugs-return-578564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 09:53:30 2017
Return-Path: <gcc-bugs-return-578564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112032 invoked by alias); 14 Oct 2017 09:53: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 106403 invoked by uid 48); 14 Oct 2017 09:53:26 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82550] New: program using submodules fails to link
Date: Sat, 14 Oct 2017 09: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: 7.2.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-82550-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01624.txt.bz2
Content-length: 983

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82550

            Bug ID: 82550
           Summary: program using submodules fails to link
           Product: gcc
           Version: 7.2.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 42365
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42365&action=edit
reproducer

The attached example implements a separate module procedure returning a
procedure pointer. gfortran 7,2 compiles the code, but issues the following
error message at the linking stage:
/gpfs/scratch/pr28fa/a2832ba/a2832ba/ccmqzru6.o: In function
`__m_subm_18_pos_MOD_foo':
subm_18_pos.f90:(.text+0x20): undefined reference to `p.3503'

It seems that host association to the module procedure p() fails, because
linking works if an external procedure is used.
>From gcc-bugs-return-578565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 10:12:03 2017
Return-Path: <gcc-bugs-return-578565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14335 invoked by alias); 14 Oct 2017 10:12: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 7177 invoked by uid 48); 14 Oct 2017 10:11:58 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82529] Missing warning on with_clause for predefined unit
Date: Sat, 14 Oct 2017 10: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: diagnostic
X-Bugzilla-Severity: enhancement
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 cf_reconfirmed_on cc short_desc everconfirmed bug_severity
Message-ID: <bug-82529-4-kfGFZ0PpTB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82529-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82529-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01625.txt.bz2
Content-length: 874

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82529

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-14
                 CC|                            |ebotcazou at gcc dot gnu.org
            Summary|Warning on unreferenced     |Missing warning on
                   |"with" is not produced      |with_clause for predefined
                   |                            |unit
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
It's because Ada.Unchecked_Conversion is a predefined unit.
>From gcc-bugs-return-578566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 10:21:32 2017
Return-Path: <gcc-bugs-return-578566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59961 invoked by alias); 14 Oct 2017 10: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 59901 invoked by uid 48); 14 Oct 2017 10:21:27 -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: Sat, 14 Oct 2017 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: 7.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:
Message-ID: <bug-79864-4-Jqatx4ZL8I@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: 2017-10/txt/msg01626.txt.bz2
Content-length: 1305

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79864

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Note, there is a small difference to pr78963

Should be 79863.

Compiling the test with '-Wall -Wextra -fcheck=all -Ofast -m32
-fsanitize=address' gives

pr79864.f90:4:0:

   si = ssi

Warning: 'ssi.dim[0].ubound' may be used uninitialized in this function
[-Wmaybe-uninitialized]
pr79864.f90:2:0:

   integer(kind=1), allocatable :: ssi(:)

note: 'ssi.dim[0].ubound' was declared here
pr79864.f90:4:0:

   si = ssi

Warning: 'ssi.dim[0].lbound' may be used uninitialized in this function
[-Wmaybe-uninitialized]
pr79864.f90:2:0:

   integer(kind=1), allocatable :: ssi(:)

note: 'ssi.dim[0].lbound' was declared here
pr79864.f90:4:0:

   si = ssi

Warning: 'si.dim[0].ubound' may be used uninitialized in this function
[-Wmaybe-uninitialized]
pr79864.f90:1:0:

   integer, allocatable :: si(:)

note: 'si.dim[0].ubound' was declared here
pr79864.f90:4:0:

   si = ssi

Warning: 'si.dim[0].lbound' may be used uninitialized in this function
[-Wmaybe-uninitialized]
pr79864.f90:1:0:

   integer, allocatable :: si(:)

note: 'si.dim[0].lbound' was declared here

unless the patch in pr52162 comment 8 is applied.

Note that I don't see any segfault at run time.
>From gcc-bugs-return-578567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 10:23:23 2017
Return-Path: <gcc-bugs-return-578567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61511 invoked by alias); 14 Oct 2017 10: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 61433 invoked by uid 48); 14 Oct 2017 10:23:19 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79863] Assignment of unallocated array to unallocated array variable leads to access of unallocated memory
Date: Sat, 14 Oct 2017 10: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.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:
Message-ID: <bug-79863-4-7fLkGDJK3r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79863-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79863-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01627.txt.bz2
Content-length: 164

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79863

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Same result as in pr79863 comment 3.
>From gcc-bugs-return-578568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 10:24:44 2017
Return-Path: <gcc-bugs-return-578568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63435 invoked by alias); 14 Oct 2017 10: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 63372 invoked by uid 48); 14 Oct 2017 10:24:40 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79863] Assignment of unallocated array to unallocated array variable leads to access of unallocated memory
Date: Sat, 14 Oct 2017 10:24:00 -0000
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: 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-79863-4-FoytdTLa1s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79863-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79863-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01628.txt.bz2
Content-length: 213

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79863

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Same result as in pr79863 comment 3.

I mean 'Same result as in pr79864 comment 3'.
>From gcc-bugs-return-578569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 10:31:40 2017
Return-Path: <gcc-bugs-return-578569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4201 invoked by alias); 14 Oct 2017 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 128079 invoked by uid 48); 14 Oct 2017 10:31:35 -0000
From: "zceeykk at ucl dot ac.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82551] New: msp430-toolchain imported to eclipse
Date: Sat, 14 Oct 2017 10:31: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zceeykk at ucl dot ac.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 target_milestone attachments.created
Message-ID: <bug-82551-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01629.txt.bz2
Content-length: 1543

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82551

            Bug ID: 82551
           Summary: msp430-toolchain imported to eclipse
           Product: gcc
           Version: 4.8.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zceeykk at ucl dot ac.uk
  Target Milestone: ---

Created attachment 42366
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42366&action=edit
Screenshot

I am currently trying to use TelosB on MAC which is based on MSP430F1611, I
have used TinyOs to program it. However, I want to program the mote using the
Eclipse. Therefore, I have followed this instruction from this link:
"https://openwsn.atlassian.net/wiki/spaces/OW/pages/11534370/msp430gcc+on+Eclipse+with+mspdebug+Preferred".

When I build the project I get this error "make: *** [main.o] Error 4"
Then I tried to upload to the mote I get this error too "
/opt/local/msp430-toolchain-mac_os_x-x86_64-2.2/bin/mspdebug-wrapper: line 7:
17954 Abort trap: 6           `dirname $0`/mspdebug "$@"
dyld: Library not loaded: /opt/local/lib/libreadline.6.2.dylib
  Referenced from: /opt/local/msp430-toolchain-mac_os_x-x86_64-2.2/bin/mspdebug
  Reason: image not found
/opt/local/msp430-toolchain-mac_os_x-x86_64-2.2/bin/mspdebug-wrapper: line 7:
17954 Abort trap: 6           `dirname $0`/mspdebug "$@"

is there something I can do to fix this?

If I gave a lack of information please tell me! 

Thank you!
>From gcc-bugs-return-578570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 10:35:59 2017
Return-Path: <gcc-bugs-return-578570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82457 invoked by alias); 14 Oct 2017 10: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 80356 invoked by uid 48); 14 Oct 2017 10:35:55 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82551] msp430-toolchain imported to eclipse
Date: Sat, 14 Oct 2017 10:35: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.8.5
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-82551-4-f1vI8y9x66@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82551-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82551-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01630.txt.bz2
Content-length: 866

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82551

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> ---
We don't support binary builds.  Please ask the site where you downloaded the
binaries from.

>dyld: Library not loaded: /opt/local/lib/libreadline.6.2.dylib

The error message is clear what the problem is though, the binaries are
dependent on a library which is not installed on your system.  You have to ask
the site where you can download the required library binaries from since we
don't know the exact binaries which can be used here.
>From gcc-bugs-return-578571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 10:48:33 2017
Return-Path: <gcc-bugs-return-578571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42520 invoked by alias); 14 Oct 2017 10: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 42353 invoked by uid 48); 14 Oct 2017 10:48:17 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81344] Can't disable -ffpe-trap (or not documented)
Date: Sat, 14 Oct 2017 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: 5.4.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: priority bug_severity
Message-ID: <bug-81344-4-9ndo91OrPK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81344-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01631.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81344

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
           Severity|normal                      |enhancement

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Without feed-back I'll close the file as WONTFIX.
>From gcc-bugs-return-578572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 10:58:32 2017
Return-Path: <gcc-bugs-return-578572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51365 invoked by alias); 14 Oct 2017 10: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 51286 invoked by uid 48); 14 Oct 2017 10:58:26 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82550] program using submodules fails to link
Date: Sat, 14 Oct 2017 10: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.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: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-82550-4-Y9OjhR37Ml@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82550-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82550-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01632.txt.bz2
Content-length: 595

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82550

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-14
                 CC|                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 6.4 up to trunk (8.0).
>From gcc-bugs-return-578573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 11:04:22 2017
Return-Path: <gcc-bugs-return-578573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39963 invoked by alias); 14 Oct 2017 11: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 39889 invoked by uid 48); 14 Oct 2017 11:04:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82549] [6/7/8 Regression] ICE at -O1 and above: verify_gimple failed
Date: Sat, 14 Oct 2017 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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to target_milestone short_desc everconfirmed
Message-ID: <bug-82549-4-A2uTDm0kN7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01633.txt.bz2
Content-length: 984

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82549

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-14
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |6.5
            Summary|ICE at -O1 and above:       |[6/7/8 Regression] ICE at
                   |verify_gimple failed        |-O1 and above:
                   |                            |verify_gimple failed
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Most likely started with my r142484 (r142464 works, r142514 already ICEs).
I'll have a look.
>From gcc-bugs-return-578574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 11:10:46 2017
Return-Path: <gcc-bugs-return-578574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47109 invoked by alias); 14 Oct 2017 11:10: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 47088 invoked by uid 48); 14 Oct 2017 11:10:41 -0000
From: "jellby at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81344] Can't disable -ffpe-trap (or not documented)
Date: Sat, 14 Oct 2017 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: 5.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jellby at yahoo dot com
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-81344-4-1zszSNgCqd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81344-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01634.txt.bz2
Content-length: 638

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81344

--- Comment #3 from Ignacio Fernández Galván <jellby at yahoo dot com> ---
Do you expect any feedback from me?

#1 would of course work, but the point is that I'd like to set
'-ffpe-trap=set1,set2' as the default for all files, and then disable set2 only
for some files. This would be simpler than setting '-ffpe-trap=set1' for some
files and '-ffpe-trap=set1,set2' for the "other" files, since I may not know
which are the other files.

About #2... yes, "do it yourself" is always an option, but what's the purpose
of bug reports and feature requests then?
>From gcc-bugs-return-578575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 11:17:13 2017
Return-Path: <gcc-bugs-return-578575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58269 invoked by alias); 14 Oct 2017 11: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 58062 invoked by uid 48); 14 Oct 2017 11:17:09 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcj/82540] gcc 6.4.0 bootstrap with java core dump in file with illumos ld
Date: Sat, 14 Oct 2017 11:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcj
X-Bugzilla-Version: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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: cc
Message-ID: <bug-82540-4-WRqrhNFeF7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01635.txt.bz2
Content-length: 568

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82540

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #2)
> Java was deprecated and has been removed since then.  No fix planned.

This bug is for the gcc-6-branch though which still had it.
>From gcc-bugs-return-578576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 11:48:44 2017
Return-Path: <gcc-bugs-return-578576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107801 invoked by alias); 14 Oct 2017 11: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 107573 invoked by uid 48); 14 Oct 2017 11:48:33 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcj/82540] gcc 6.4.0 bootstrap with java core dump in file with illumos ld
Date: Sat, 14 Oct 2017 11:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcj
X-Bugzilla-Version: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou 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-82540-4-4jfBqZEo9n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82540-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01636.txt.bz2
Content-length: 263

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82540

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> This bug is for the gcc-6-branch though which still had it.

Sure, it's hard to report a Java bug for later releases since it's gone. ;-)
>From gcc-bugs-return-578577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 11:49:33 2017
Return-Path: <gcc-bugs-return-578577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108728 invoked by alias); 14 Oct 2017 11: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 108682 invoked by uid 48); 14 Oct 2017 11:49:28 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81344] Can't disable -ffpe-trap (or not documented)
Date: Sat, 14 Oct 2017 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: 5.4.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-81344-4-auolT236Ig@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81344-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01637.txt.bz2
Content-length: 1109

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81344

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Do you expect any feedback from me?

Yes, I did!-(

> #1 would of course work, but the point is that I'd like to set
> '-ffpe-trap=set1,set2' as the default for all files, and then disable set2
> only for some files. This would be simpler than setting '-ffpe-trap=set1'
> for some files and '-ffpe-trap=set1,set2' for the "other" files, since I may
> not know which are the other files.

Common guy! FLAGS1="-ffpe-trap=set1,set2 ..." for most files, and
FLAGS2="-ffpe-trap=set1 ..." for the files you are asking for a
-fno-fpe-trap=set2 or whatever syntax you like.

> About #2... yes, "do it yourself" is always an option, but what's the purpose
> of bug reports and feature requests then?

As for today there are 907 Pos opened, with between 200 and 300 of them fixed
per year and ~300 new ones per year. Knowing that probably more than half of
the opened PRs have a much higher priority than yours, how many years will it
take to get this PR fixed?
>From gcc-bugs-return-578578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 11:53:24 2017
Return-Path: <gcc-bugs-return-578578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110723 invoked by alias); 14 Oct 2017 11:53: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 110678 invoked by uid 48); 14 Oct 2017 11:53:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82549] [6/7/8 Regression] ICE at -O1 and above: verify_gimple failed
Date: Sat, 14 Oct 2017 11: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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82549-4-GaNC3FMzb6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01638.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82549

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42367
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42367&action=edit
gcc8-pr82549.patch

Untested fix.
>From gcc-bugs-return-578579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 12:32:54 2017
Return-Path: <gcc-bugs-return-578579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108337 invoked by alias); 14 Oct 2017 12:32: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 108305 invoked by uid 55); 14 Oct 2017 12:32:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82548] After -r 253646 GCC 8.0 can't build cross compiler for mingw32
Date: Sat, 14 Oct 2017 12:32: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82548-4-H9aPSnjA5e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82548-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82548-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01639.txt.bz2
Content-length: 535

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82548

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Oct 14 12:32:17 2017
New Revision: 253753

URL: https://gcc.gnu.org/viewcvs?rev=253753&root=gcc&view=rev
Log:
        PR bootstrap/82548
        * config.gcc (*-*-solaris2*, i[34567]86-*-cygwin*,
        x86_64-*-cygwin*, i[34567]86-*-mingw* | x86_64-*-mingw*): Append
        objects to extra_objs instead of overwriting it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc
>From gcc-bugs-return-578580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 12:40:24 2017
Return-Path: <gcc-bugs-return-578580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129175 invoked by alias); 14 Oct 2017 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 126770 invoked by uid 48); 14 Oct 2017 12:40:19 -0000
From: "zceeykk at ucl dot ac.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82551] msp430-toolchain imported to eclipse
Date: Sat, 14 Oct 2017 12:40: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.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zceeykk at ucl dot ac.uk
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-82551-4-bJ0OJFFIUU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82551-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82551-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01640.txt.bz2
Content-length: 177

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82551

--- Comment #2 from Yong <zceeykk at ucl dot ac.uk> ---
Thank you for your reply.
I will have a look into that,

THank you
>From gcc-bugs-return-578581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 14:04:10 2017
Return-Path: <gcc-bugs-return-578581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29556 invoked by alias); 14 Oct 2017 14:04: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 29515 invoked by uid 48); 14 Oct 2017 14:04:05 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [OOP] Broken vtab
Date: Sat, 14 Oct 2017 14: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.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-81758-4-0J3QaPvdLM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01641.txt.bz2
Content-length: 390

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Do you have access to a recent revision of trunk (8.0)? If yes, do you still
see the problem?

I understand that you are not willing to reduce your code. If yes, I have
managed to compile gfc_vector.F90, could you provide at least a driver showing
the problem?
>From gcc-bugs-return-578582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 14:08:18 2017
Return-Path: <gcc-bugs-return-578582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33325 invoked by alias); 14 Oct 2017 14: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 33288 invoked by uid 48); 14 Oct 2017 14:08:12 -0000
From: "asmwarrior at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/71867] Optimizer generates code dereferencing a null pointer
Date: Sat, 14 Oct 2017 14: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: 5.3.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asmwarrior 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-71867-4-7KvDYB7AzT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71867-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71867-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01642.txt.bz2
Content-length: 1541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71867

--- Comment #9 from asmwarrior <asmwarrior at gmail dot com> ---
I see this crash issue again, but still it happens in another place of the wx's
source code, add the

__attribute__((optimize("O0")))

To the function which cause the crash can workaround this issue. Note that the
-O0 option does not cause this issue.

wxString __attribute__((optimize("O0"))) wxCommandEvent::GetString() const
{
    // This is part of the hack retrieving the event string from the control
    // itself only when/if it's really needed to avoid copying potentially huge
    // strings coming from multiline text controls. For consistency we also do
    // it for combo boxes, even though there are no real performance advantages
    // in doing this for them.
    if (m_eventType == wxEVT_TEXT && m_eventObject)
    {
#if wxUSE_TEXTCTRL
        wxTextCtrl *txt = wxDynamicCast(m_eventObject, wxTextCtrl);
        if ( txt )
            return txt->GetValue();
#endif // wxUSE_TEXTCTRL

#if wxUSE_COMBOBOX
        wxComboBox* combo = wxDynamicCast(m_eventObject, wxComboBox);
        if ( combo )
            return combo->GetValue();
#endif // wxUSE_COMBOBOX
    }

    return m_cmdString;
} 

Please see discussions here in wx-user's maillist and Code::Blocks's forum:

https://groups.google.com/d/msg/wx-users/LUxm6fUhirk/FJRFNIt6AAAJ

and 

http://forums.codeblocks.org/index.php/topic,22198.0.html

The original wx's workaround is here: https://trac.wxwidgets.org/ticket/17483
>From gcc-bugs-return-578583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 14:26:08 2017
Return-Path: <gcc-bugs-return-578583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80067 invoked by alias); 14 Oct 2017 14: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 80027 invoked by uid 48); 14 Oct 2017 14:26:02 -0000
From: "vindrg at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/70455] spurious "assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow]"
Date: Sat, 14 Oct 2017 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: 5.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vindrg 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-70455-4-Ls33EpJfMd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01643.txt.bz2
Content-length: 1345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70455

Vincas Dargis <vindrg at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vindrg at gmail dot com

--- Comment #3 from Vincas Dargis <vindrg at gmail dot com> ---
This warning occurred when building qTox [qtox] on Debian 9 (stretch) i686 with
gcc (Debian 6.3.0-18) 6.3.0 20170516 when built with -Wstrict-overflow. 

It *does not* reproduce on amd64 build.

Here's output:

/somewhere/qTox.git/src/persistence/settingsserializer.cpp:267: error: assuming
signed overflow does not occur when simplifying conditional to constant
[-Werror=strict-overflow]
         if (g != -1) {
         ^~

Context [context]:

for (int g = -1; g < groups.size(); ++g) {
    // Save the group name, if any
    if (g != -1) {
         writeStream(stream, RecordTag::GroupStart);
         writeStream(stream, groups[g].toUtf8());
    }

    // ...
}


I could workaround it with:

if (static_cast<volatile int &>(g) != -1) {

Although maybe there is different solution?


[qtox] https://github.com/qTox/qTox
[context]
https://github.com/qTox/qTox/blob/084f3b06262b2ca8272238b2ec450d11840d7551/src/persistence/settingsserializer.cpp#L267
>From gcc-bugs-return-578584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 14:53:31 2017
Return-Path: <gcc-bugs-return-578584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5687 invoked by alias); 14 Oct 2017 14: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 5656 invoked by uid 48); 14 Oct 2017 14:53:27 -0000
From: "s-beyer at gmx dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82552] New: No warning when using uninitialized values in initializer list
Date: Sat, 14 Oct 2017 14: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: s-beyer at gmx 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-82552-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01644.txt.bz2
Content-length: 1270

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82552

            Bug ID: 82552
           Summary: No warning when using uninitialized values in
                    initializer list
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: s-beyer at gmx dot net
  Target Milestone: ---

Hi,

the following code example is pretty harmless but the underlying issue
took me quite some time to debug in real code (where the constructors
are really doing stuff):

----8<----
struct bar {
        bar() {}
        bar(bar&) {}
};

class foo {
        bar first;
        bar second;

public:
        foo() : first(second) {}
};
---->8----

The interesting thing is the foo constructor.
It initializes "first" with "second", but the initializer list
is going in order of the attributes, so "first" is initialized
before "second" is.

I'd expect either an -Wreorder warning ("second" will be initialized after
"first") or an -Wuninitialized ("second" will be used uninitialized) warning
(which is what clang++ does).

I tested this with g++ 4.9.3, 5.4.1, 6.4.0, and 7.2.0. None of it raised
alarm :(

Thanks.
>From gcc-bugs-return-578585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 15:39:36 2017
Return-Path: <gcc-bugs-return-578585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110048 invoked by alias); 14 Oct 2017 15: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 109993 invoked by uid 48); 14 Oct 2017 15:39:26 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82552] No warning when using uninitialized values in initializer list
Date: Sat, 14 Oct 2017 15: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: 7.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-82552-4-FFHbywYVwA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82552-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82552-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01645.txt.bz2
Content-length: 167

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82552

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is a duplicate of an existing bug report.
>From gcc-bugs-return-578586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 15:45:00 2017
Return-Path: <gcc-bugs-return-578586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118350 invoked by alias); 14 Oct 2017 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 117837 invoked by uid 48); 14 Oct 2017 15:44:55 -0000
From: "s-beyer at gmx dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82552] No warning when using uninitialized values in initializer list
Date: Sat, 14 Oct 2017 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.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: s-beyer at gmx 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-82552-4-vuXm3d3Ume@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82552-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82552-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01646.txt.bz2
Content-length: 234

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82552

--- Comment #2 from Stephan Beyer <s-beyer at gmx dot net> ---
I had expected this but I could not find the specific one.
(I found a few related ones that were resolved as FIXED.)
>From gcc-bugs-return-578587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 17:08:40 2017
Return-Path: <gcc-bugs-return-578587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73410 invoked by alias); 14 Oct 2017 17: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 73052 invoked by uid 48); 14 Oct 2017 17:08:36 -0000
From: "mateuszb at poczta dot onet.pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82548] After -r 253646 GCC 8.0 can't build cross compiler for mingw32
Date: Sat, 14 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mateuszb at poczta dot onet.pl
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-82548-4-kti4qn5IbQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82548-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82548-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01647.txt.bz2
Content-length: 412

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82548

mateuszb at poczta dot onet.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from mateuszb at poczta dot onet.pl ---
Thanks for fix!
>From gcc-bugs-return-578588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 17:11:46 2017
Return-Path: <gcc-bugs-return-578588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76236 invoked by alias); 14 Oct 2017 17:11: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 76183 invoked by uid 48); 14 Oct 2017 17:11:42 -0000
From: "dje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82553] New: memory_blockage breaks bootstrap on powerpc
Date: Sat, 14 Oct 2017 17:11: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: blocker
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 cf_gcctarget
Message-ID: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01648.txt.bz2
Content-length: 2562

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82553

            Bug ID: 82553
           Summary: memory_blockage breaks bootstrap on powerpc
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: blocker
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org
                CC: bergner at gcc dot gnu.org, segher at gcc dot gnu.org,
                    seurer at gcc dot gnu.org, uros at gcc dot gnu.org,
                    wschmidt at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc*-*-*

The recent memory_blockage named insn pattern patch breaks bootstrap on PowerPC

during RTL pass: expand
/home/dje/src/src/libgcc/emutls.c: In function ‘__emutls_get_address’:
/home/dje/src/src/libgcc/emutls.c:139:11: internal compiler error: in
invalid_void, at config/rs6000/rs6000.md:10804
   pointer offset = __atomic_load_n (&obj->loc.offset, __ATOMIC_ACQUIRE);
           ^~~~~~

0x11401a13 invalid_void
/home/dje/src/src/gcc/config/rs6000/rs6000.md:10804
0x10c22263 expand_memory_blockage
/home/dje/src/src/gcc/optabs.c:6301
0x10c225cb expand_atomic_load(rtx_def*, rtx_def*, memmodel)
/home/dje/src/src/gcc/optabs.c:6365
0x1056a14b expand_builtin_atomic_load
/home/dje/src/src/gcc/builtins.c:5951
0x1056fd87 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
/home/dje/src/src/gcc/builtins.c:7280
0x107ecf9f expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
/home/dje/src/src/gcc/expr.c:10866
0x107de5c7 expand_expr_real(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
/home/dje/src/src/gcc/expr.c:8084
0x107d2d9b store_expr_with_bounds(tree_node*, rtx_def*, int, bool,
bool, tree_node*)
/home/dje/src/src/gcc/expr.c:5554
0x107d14e3 expand_assignment(tree_node*, tree_node*, bool)
/home/dje/src/src/gcc/expr.c:5319
0x105bb9c3 expand_call_stmt
/home/dje/src/src/gcc/cfgexpand.c:2664
0x105bf95b expand_gimple_stmt_1
/home/dje/src/src/gcc/cfgexpand.c:3585
0x105c025b expand_gimple_stmt
/home/dje/src/src/gcc/cfgexpand.c:3751
0x105c9dbf expand_gimple_basic_block
/home/dje/src/src/gcc/cfgexpand.c:5754
0x105cbf73 execute
/home/dje/src/src/gcc/cfgexpand.c:6361
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: *** [emutls.o] Error 1
>From gcc-bugs-return-578589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 17:11:58 2017
Return-Path: <gcc-bugs-return-578589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76989 invoked by alias); 14 Oct 2017 17: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 76926 invoked by uid 48); 14 Oct 2017 17:11:54 -0000
From: "dje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82553] memory_blockage breaks bootstrap on powerpc
Date: Sat, 14 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: dje at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82553-4-3QzA5O9qA1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01649.txt.bz2
Content-length: 476

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82553

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-14
     Ever confirmed|0                           |1

--- Comment #1 from David Edelsohn <dje at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-578590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 17:32:09 2017
Return-Path: <gcc-bugs-return-578590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126488 invoked by alias); 14 Oct 2017 17:32:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 122759 invoked by uid 48); 14 Oct 2017 17:32:05 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82553] memory_blockage breaks bootstrap on powerpc
Date: Sat, 14 Oct 2017 17:32: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: blocker
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-82553-4-0BJC26Ns7Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01650.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82553

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
The patch does only:

+expand_memory_blockage (void)
+{
+  if (targetm.have_memory_blockage)
+    emit_insn (targetm.gen_memory_blockage ());
+  else
+    expand_asm_memory_blockage ();
+}

So, if the target doesn't declare memory_blockage pattern, as is the
case with rs6000, I really fail to see what could go wrong here.
>From gcc-bugs-return-578591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 17:43:19 2017
Return-Path: <gcc-bugs-return-578591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55834 invoked by alias); 14 Oct 2017 17:43: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 55751 invoked by uid 48); 14 Oct 2017 17:43:15 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82553] memory_blockage breaks bootstrap on powerpc
Date: Sat, 14 Oct 2017 17:43: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: blocker
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-82553-4-O16FqRit9d@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01651.txt.bz2
Content-length: 657

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82553

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Ouch...

Index: optabs.c
===================================================================
--- optabs.c    (revision 253752)
+++ optabs.c    (working copy)
@@ -6297,7 +6297,7 @@
 static void
 expand_memory_blockage (void)
 {
-  if (targetm.have_memory_blockage)
+  if (targetm.have_memory_blockage ())
     emit_insn (targetm.gen_memory_blockage ());
   else
     expand_asm_memory_blockage ();
>From gcc-bugs-return-578592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 17:47:25 2017
Return-Path: <gcc-bugs-return-578592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59272 invoked by alias); 14 Oct 2017 17:47: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 59000 invoked by uid 55); 14 Oct 2017 17:47:21 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82553] memory_blockage breaks bootstrap on powerpc
Date: Sat, 14 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: uros at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82553-4-AKLVDhfJRN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01652.txt.bz2
Content-length: 422

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82553

--- Comment #4 from uros at gcc dot gnu.org ---
Author: uros
Date: Sat Oct 14 17:46:49 2017
New Revision: 253759

URL: https://gcc.gnu.org/viewcvs?rev=253759&root=gcc&view=rev
Log:
        PR bootstrap/82553
        * optabs.c (expand_memory_blockage): Fix call of
        targetm.have_memory_blockage.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/optabs.c
>From gcc-bugs-return-578593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 17:52:15 2017
Return-Path: <gcc-bugs-return-578593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62220 invoked by alias); 14 Oct 2017 17:52: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 62163 invoked by uid 48); 14 Oct 2017 17:52:11 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82553] memory_blockage breaks bootstrap on powerpc
Date: Sat, 14 Oct 2017 17:52: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: ubizjak 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: bug_status resolution target_milestone
Message-ID: <bug-82553-4-E6T77Th9rU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82553-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01653.txt.bz2
Content-length: 496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82553

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
Should be fixed now.
>From gcc-bugs-return-578594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 18:04:02 2017
Return-Path: <gcc-bugs-return-578594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71593 invoked by alias); 14 Oct 2017 18: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 71496 invoked by uid 48); 14 Oct 2017 18:03:58 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/70455] spurious "assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow]"
Date: Sat, 14 Oct 2017 18: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: 5.3.0
X-Bugzilla-Keywords: diagnostic
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-70455-4-fV2v2AI7BC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01654.txt.bz2
Content-length: 702

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70455

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Vincas Dargis from comment #3)
> This warning occurred when building qTox [qtox] on Debian 9 (stretch) i686
> with gcc (Debian 6.3.0-18) 6.3.0 20170516 when built with -Wstrict-overflow. 
> 
> It *does not* reproduce on amd64 build.

Can you file a separate bug with the preprocessed source, I suspect the issue
there is different from the original issue listed here.  

Also the trunk has changed how the warnings are handled in this case but I have
not looked into if it changes the warning in the original case or the new one
which you are listing.
>From gcc-bugs-return-578595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 18:18:40 2017
Return-Path: <gcc-bugs-return-578595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3765 invoked by alias); 14 Oct 2017 18: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 3747 invoked by uid 48); 14 Oct 2017 18:18:35 -0000
From: "b.r.longbons at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82554] New: uniform_real_distribution can generate the upper endpoint
Date: Sat, 14 Oct 2017 18:18: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: b.r.longbons 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-82554-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01655.txt.bz2
Content-length: 2095

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82554

            Bug ID: 82554
           Summary: uniform_real_distribution can generate the upper
                    endpoint
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: b.r.longbons at gmail dot com
  Target Milestone: ---

This is related to #64351 and #63176, for which a totally-bogus fix was
applied.

There is actually a defect in the standard: it requires `generate_canonical` to
return at *least* `bits` (e.g. 53), but correct operation is only possible when
it generates *exactly* `bits` since floating-point math rounds rather than
truncating like integer math.

Furthermore, when `std::uniform_real_distribution`'s parameters have different
exponents, the difference must be *subtracted* from the number of bits
requested (not possible since `bits` is only a template parameter).

I have not considered *all* the details when uniform_real_distribution crosses
0 or its parameters are not exact powers of 2, but the principle of requesting
less-than-53 bits certainly still applies.

Consider the following horrible, but valid RNG (for easy testing):

#include <iomanip>
#include <iostream>
#include <limits>
#include <random>


int main()
{
    // seed with -2 instead of -1 because it returns the post-advance state
    // produces -1, 0, 1, 2, ...
    std::linear_congruential_engine<uint64_t, 1, 1, 0> engine(-2ULL);

    std::cout << std::setprecision(std::numeric_limits<double>::max_digits10);

    std::uniform_real_distribution<double> dist(1.0, 2.0);

    for (int i = 0; i < 2; ++i)
        std::cout << dist(engine) << std::endl;
    // just to prove that yes, they are exact, here are the next values
    // the different discards are because 1.0 has a different exponent
    engine.discard(1 << 11);
    std::cout << dist(engine) << std::endl;
    engine.discard(1 << 12);
    std::cout << dist(engine) << std::endl;
}
>From gcc-bugs-return-578596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 18:23:02 2017
Return-Path: <gcc-bugs-return-578596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10546 invoked by alias); 14 Oct 2017 18: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 10507 invoked by uid 48); 14 Oct 2017 18:22:58 -0000
From: "gcc-bugs at deta dot lv" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82531] ICE: Segmentation fault (-std=c++1z -fconcepts)
Date: Sat, 14 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc-bugs at deta dot lv
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-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-82531-4-S6hDdKZqg7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82531-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82531-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01656.txt.bz2
Content-length: 3137

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82531

Arturs Zoldners <gcc-bugs at deta dot lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42363|0                           |1
        is obsolete|                            |

--- Comment #3 from Arturs Zoldners <gcc-bugs at deta dot lv> ---
Created attachment 42368
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42368&action=edit
testcase archive

Correction: it was still an invalid code in my previous post. Substitution
"auto" -> [some concept] creates invalid code in variadic context.

While trying to create a test case with a valid code, I encountered another
ICE, I believe on a valid code (at least to my understanding of N3580 section
4.5.1). The substitution typename -> [some concept] triggers an ICE, but with a
back-trace similar to bug #68372:

------------------------

testcase.cpp: In instantiation of ‘struct _map_impl<std::integer_sequence<long
unsigned int, 0, 1> >’:
testcase.cpp:29:56:   required from here
testcase.cpp:17:34: internal compiler error: in tsubst_constraint, at
cp/constraint.cc:1956
  static constexpr decltype(auto) function(auto const& fun, TUPLES const&...
tuples)
                                  ^~~~~~~~
0x71ba6d tsubst_constraint(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/constraint.cc:1956
0x71bb19 tsubst_constraint_info(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/constraint.cc:1918
0x628070 tsubst_decl
        ../../gcc/cp/pt.c:12440
0x6145df tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:13404
0x627ad0 tsubst_decl
        ../../gcc/cp/pt.c:12214
0x6145df tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:13404
0x62f2e0 instantiate_class_template_1
        ../../gcc/cp/pt.c:10546
0x62f2e0 instantiate_class_template(tree_node*)
        ../../gcc/cp/pt.c:10880
0x6926e5 complete_type(tree_node*)
        ../../gcc/cp/typeck.c:133
0x67a092 cp_parser_nested_name_specifier_opt
        ../../gcc/cp/parser.c:6158
0x67ce55 cp_parser_simple_type_specifier
        ../../gcc/cp/parser.c:16849
0x673dc8 cp_parser_postfix_expression
        ../../gcc/cp/parser.c:6704
0x67499d cp_parser_unary_expression
        ../../gcc/cp/parser.c:8108
0x675743 cp_parser_cast_expression
        ../../gcc/cp/parser.c:8786
0x675eb7 cp_parser_binary_expression
        ../../gcc/cp/parser.c:8887
0x676584 cp_parser_assignment_expression
        ../../gcc/cp/parser.c:9174
0x67977a cp_parser_expression
        ../../gcc/cp/parser.c:9343
0x66b864 cp_parser_jump_statement
        ../../gcc/cp/parser.c:12160
0x66b864 cp_parser_statement
        ../../gcc/cp/parser.c:10594
0x66be4d cp_parser_statement_seq_opt
        ../../gcc/cp/parser.c:11040
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.

------------------------

If this is related and relevant to bug #68372, please forward.
>From gcc-bugs-return-578597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 18:46:24 2017
Return-Path: <gcc-bugs-return-578597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7070 invoked by alias); 14 Oct 2017 18: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 5300 invoked by uid 48); 14 Oct 2017 18:46:19 -0000
From: "vindrg at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/70455] spurious "assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow]"
Date: Sat, 14 Oct 2017 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: 5.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vindrg 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-70455-4-R6t0VTD1Hw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01657.txt.bz2
Content-length: 634

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70455

--- Comment #5 from Vincas Dargis <vindrg at gmail dot com> ---
(In reply to Andrew Pinski from comment #4) 
> Can you file a separate bug with the preprocessed source, I suspect the
> issue there is different from the original issue listed here.  

Could you elaborate that "preprocessed source"?

> Also the trunk has changed how the warnings are handled in this case but I
> have not looked into if it changes the warning in the original case or the
> new one which you are listing.

Well, I could try on Debian Sid VMs with "latest" GCC I can get, if that would
help.
>From gcc-bugs-return-578598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 18:47:51 2017
Return-Path: <gcc-bugs-return-578598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30281 invoked by alias); 14 Oct 2017 18:47: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 30179 invoked by uid 55); 14 Oct 2017 18:47:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/62263] Good codegen for bitwise rotate requires code that is technically undefined behavior
Date: Sat, 14 Oct 2017 18: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: 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-62263-4-3gm0ZuuM94@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62263-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62263-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01658.txt.bz2
Content-length: 1457

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62263

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Oct 14 18:47:14 2017
New Revision: 253760

URL: https://gcc.gnu.org/viewcvs?rev=253760&root=gcc&view=rev
Log:
        PR middle-end/62263
        PR middle-end/82498
        * tree-ssa-forwprop.c (simplify_rotate): Allow def_arg1[N]
        to be any operand_equal_p operands.  For & (B - 1) require
        B to be power of 2.  Recognize
        (X << (Y & (B - 1))) | (X >> ((-Y) & (B - 1))) and similar patterns.

        * c-c++-common/rotate-5.c (f2): New function.  Move old
        function to ...
        (f4): ... this.  Use 127 instead of 128.
        (f3, f5, f6): New functions.
        (main): Test all f[1-6] functions, with both 0 and 1 as
        second arguments.
        * c-c++-common/rotate-6.c: New test.
        * c-c++-common/rotate-6a.c: New test.
        * c-c++-common/rotate-7.c: New test.
        * c-c++-common/rotate-7a.c: New test.
        * c-c++-common/rotate-8.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/rotate-6.c
    trunk/gcc/testsuite/c-c++-common/rotate-6a.c
    trunk/gcc/testsuite/c-c++-common/rotate-7.c
    trunk/gcc/testsuite/c-c++-common/rotate-7a.c
    trunk/gcc/testsuite/c-c++-common/rotate-8.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/rotate-5.c
    trunk/gcc/tree-ssa-forwprop.c
>From gcc-bugs-return-578599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 18:47:51 2017
Return-Path: <gcc-bugs-return-578599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30356 invoked by alias); 14 Oct 2017 18:47: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 30185 invoked by uid 55); 14 Oct 2017 18:47:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Sat, 14 Oct 2017 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: 7.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82498-4-X5KZCt82Kj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01659.txt.bz2
Content-length: 1458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Oct 14 18:47:14 2017
New Revision: 253760

URL: https://gcc.gnu.org/viewcvs?rev=253760&root=gcc&view=rev
Log:
        PR middle-end/62263
        PR middle-end/82498
        * tree-ssa-forwprop.c (simplify_rotate): Allow def_arg1[N]
        to be any operand_equal_p operands.  For & (B - 1) require
        B to be power of 2.  Recognize
        (X << (Y & (B - 1))) | (X >> ((-Y) & (B - 1))) and similar patterns.

        * c-c++-common/rotate-5.c (f2): New function.  Move old
        function to ...
        (f4): ... this.  Use 127 instead of 128.
        (f3, f5, f6): New functions.
        (main): Test all f[1-6] functions, with both 0 and 1 as
        second arguments.
        * c-c++-common/rotate-6.c: New test.
        * c-c++-common/rotate-6a.c: New test.
        * c-c++-common/rotate-7.c: New test.
        * c-c++-common/rotate-7a.c: New test.
        * c-c++-common/rotate-8.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/rotate-6.c
    trunk/gcc/testsuite/c-c++-common/rotate-6a.c
    trunk/gcc/testsuite/c-c++-common/rotate-7.c
    trunk/gcc/testsuite/c-c++-common/rotate-7a.c
    trunk/gcc/testsuite/c-c++-common/rotate-8.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/rotate-5.c
    trunk/gcc/tree-ssa-forwprop.c
>From gcc-bugs-return-578601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 18:49:16 2017
Return-Path: <gcc-bugs-return-578601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33692 invoked by alias); 14 Oct 2017 18:49: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 33575 invoked by uid 55); 14 Oct 2017 18:49:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Sat, 14 Oct 2017 18: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.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82498-4-FaL5Lnn7jh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01662.txt.bz2
Content-length: 669

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Oct 14 18:48:38 2017
New Revision: 253761

URL: https://gcc.gnu.org/viewcvs?rev=253761&root=gcc&view=rev
Log:
        PR middle-end/62263
        PR middle-end/82498
        * tree-ssa-phiopt.c (value_replacement): Comment fix.  Handle
        up to 2 preparation statements for ASSIGN in MIDDLE_BB.

        * c-c++-common/rotate-8.c: Expect no PHIs in optimized dump.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/rotate-8.c
    trunk/gcc/tree-ssa-phiopt.c
>From gcc-bugs-return-578602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 18:49:20 2017
Return-Path: <gcc-bugs-return-578602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34170 invoked by alias); 14 Oct 2017 18: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 33769 invoked by uid 48); 14 Oct 2017 18:49:16 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/70455] spurious "assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow]"
Date: Sat, 14 Oct 2017 18: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: 5.3.0
X-Bugzilla-Keywords: diagnostic
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-70455-4-w8GpWTE0bU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01661.txt.bz2
Content-length: 685

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70455

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Vincas Dargis from comment #5)
> (In reply to Andrew Pinski from comment #4) 
> > Can you file a separate bug with the preprocessed source, I suspect the
> > issue there is different from the original issue listed here.  
> 
> Could you elaborate that "preprocessed source"?

Yes please read https://gcc.gnu.org/bugs/ :
"the preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command, or, in the case of a bug
report for the GNAT front end, a complete set of source files (see below)."
>From gcc-bugs-return-578600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 18:49:16 2017
Return-Path: <gcc-bugs-return-578600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33655 invoked by alias); 14 Oct 2017 18:49: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 33558 invoked by uid 55); 14 Oct 2017 18:49:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/62263] Good codegen for bitwise rotate requires code that is technically undefined behavior
Date: Sat, 14 Oct 2017 18: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: 4.9.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-62263-4-f8fOqVHowp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62263-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62263-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01660.txt.bz2
Content-length: 668

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62263

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Oct 14 18:48:38 2017
New Revision: 253761

URL: https://gcc.gnu.org/viewcvs?rev=253761&root=gcc&view=rev
Log:
        PR middle-end/62263
        PR middle-end/82498
        * tree-ssa-phiopt.c (value_replacement): Comment fix.  Handle
        up to 2 preparation statements for ASSIGN in MIDDLE_BB.

        * c-c++-common/rotate-8.c: Expect no PHIs in optimized dump.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/rotate-8.c
    trunk/gcc/tree-ssa-phiopt.c
>From gcc-bugs-return-578603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 19:33:35 2017
Return-Path: <gcc-bugs-return-578603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81870 invoked by alias); 14 Oct 2017 19: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 81512 invoked by uid 55); 14 Oct 2017 19:33:31 -0000
From: "fritzoreese at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
Date: Sat, 14 Oct 2017 19: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fritzoreese at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82511-4-npvESGSalF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01663.txt.bz2
Content-length: 2419

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511

--- Comment #5 from Fritz Reese <fritzoreese at gmail dot com> ---
Nice! That should probably not compile. There is some trickiness because it
is valid to create a RECORD variable with the same name as a STRUCTURE.
I’ll get on that as well.

On Fri, Oct 13, 2017, 13:49 sgk at troutmask dot apl.washington.edu <
gcc-bugzilla@gcc.gnu.org> wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511
>
> --- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu>
> ---
> On Fri, Oct 13, 2017 at 01:39:26AM +0000, foreese at gcc dot gnu.org
> wrote:
> >
> > Fritz Reese <foreese at gcc dot gnu.org> changed:
> >
> > Under other DEC compilers, it seems STRUCTUREs are to be treated
> consistently
> > with derived types in regards to I/O lists. That is to say, a structure
> > variable is treated as if each of its named components was listed on the
> I/O
> > list. (Even with UNIONs/MAPs, each named component is to be treated as
> having
> > been listed in place of the DEC RECORD containing it, so that the last
> > component written to within overlapping MAPs takes effect. Yikes.)
> >
> > I believe both the code in the attachment and the "intended code"
> (writing to
> > bucket.c16 instead of bucket) should be accepted, whereas they both ICE
> > currently.
> >
> > I will look into it.
>
> I actually misread the code.  I thought it was
>
>       program bug
>       structure /bckt/
>          union
>             map
>                character*16 c16
>             end map
>          end union
>       end structure
>       record /bckt/ bucket
>       character(len=16) :: rec1 = 'ABCDEFGHIJKLMNOP'
>   100 format(A16)
>       read(rec1, 100) bckt
>       end program bug
>
> where one is trying read into the definition of the structure.
> Is the above suppose to compile?  Because it does.  A simple
> program with a Fortran derived type fails.
>
>       type bar
>         integer i
>       end type bar
>       character(len=10) :: str ='123'
>       read(str,*) bar
>       end
>
> # gfcx -c b.f
> b.f:5:21:
>
>        read(str,*) bar
>                      1
> Error: Derived type 'bar' cannot be used as a variable at (1)
>
> I was thinking the bckt should be handled in the same manner
> as bar.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You are the assignee for the bug.
>From gcc-bugs-return-578604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 19:41:32 2017
Return-Path: <gcc-bugs-return-578604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10135 invoked by alias); 14 Oct 2017 19: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 3961 invoked by uid 55); 14 Oct 2017 19:41:28 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
Date: Sat, 14 Oct 2017 19: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82511-4-qPLNXQa7cR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01664.txt.bz2
Content-length: 595

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511

--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Sat, Oct 14, 2017 at 07:33:28PM +0000, fritzoreese at gmail dot com wrote:
> 
> --- Comment #5 from Fritz Reese <fritzoreese at gmail dot com> ---
> Nice! That should probably not compile. There is some trickiness because it
> is valid to create a RECORD variable with the same name as a STRUCTURE.
> I’ll get on that as well.
> 

Perhaps, you can add a attr.record (and .union and .map if needed)
to distinguish a record a from a structure.
>From gcc-bugs-return-578605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:06:45 2017
Return-Path: <gcc-bugs-return-578605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121793 invoked by alias); 14 Oct 2017 20: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 121739 invoked by uid 55); 14 Oct 2017 20:06:40 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81016] [7/8 Regression] ICE: segfault with template struct specialisation
Date: Sat, 14 Oct 2017 20: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.1.0
X-Bugzilla-Keywords: 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81016-4-n236NxBoj6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81016-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81016-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01665.txt.bz2
Content-length: 484

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81016

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sat Oct 14 20:06:08 2017
New Revision: 253762

URL: https://gcc.gnu.org/viewcvs?rev=253762&root=gcc&view=rev
Log:
2017-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/81016
        * g++.dg/cpp1z/pr81016.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/pr81016.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:07:21 2017
Return-Path: <gcc-bugs-return-578606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122759 invoked by alias); 14 Oct 2017 20:07: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 122710 invoked by uid 48); 14 Oct 2017 20:07:17 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81016] [7/8 Regression] ICE: segfault with template struct specialisation
Date: Sat, 14 Oct 2017 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: 7.1.0
X-Bugzilla-Keywords: 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-81016-4-wJRJikiLZW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81016-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81016-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01666.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81016

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|7.3                         |7.2

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in 7.2.0.
>From gcc-bugs-return-578607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:09:46 2017
Return-Path: <gcc-bugs-return-578607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125766 invoked by alias); 14 Oct 2017 20: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 125093 invoked by uid 48); 14 Oct 2017 20:09:42 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81054] [7/8 Regression] ICE with volatile variable in constexpr function
Date: Sat, 14 Oct 2017 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: 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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-81054-4-m1Rp32pjbE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81054-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81054-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01667.txt.bz2
Content-length: 420

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81054

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Let's add Jakub in CC, then.
>From gcc-bugs-return-578608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:14:38 2017
Return-Path: <gcc-bugs-return-578608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7737 invoked by alias); 14 Oct 2017 20: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 7407 invoked by uid 48); 14 Oct 2017 20:14:34 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80511] [8 Regression] gcc.dg/Wstrict-overflow-18.c gcc.dg/Wstrict-overflow-7.c gcc.dg/pragma-diag-3.c
Date: Sat, 14 Oct 2017 20: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: 8.0
X-Bugzilla-Keywords: diagnostic, xfail
X-Bugzilla-Severity: normal
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-80511-4-6gLUf9wkta@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: 2017-10/txt/msg01668.txt.bz2
Content-length: 1436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80511

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8 Regression]              |[8 Regression]
                   |gcc.dg/Wstrict-overflow-18. |gcc.dg/Wstrict-overflow-18.
                   |c                           |c
                   |                            |gcc.dg/Wstrict-overflow-7.c
                   |                            |gcc.dg/pragma-diag-3.c

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=253642

2 more testcases got xfailed: gcc.dg/Wstrict-overflow-7.c and
gcc.dg/pragma-diag-3.c.

Some possibilities:
- add the warning in match.pd: users keep complaining about those
strict-overflow warnings, so we would have to take it out of Wall.
- add the warning in match.pd, restricted to GENERIC: that gets us close to the
gcc-7 situation.
- reimplement the warning in the front-end. In general, telling users that we
simplified x+1<x to false is an optimization note, not a valid warning (it
happens in perfectly fine code where we don't have any easy workaround).
However, when the user literally writes x+1<x, that does deserve a warning.
This would likely miss a lot of errors we currently notice, but that's
unavoidable.
>From gcc-bugs-return-578609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:34:30 2017
Return-Path: <gcc-bugs-return-578609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99475 invoked by alias); 14 Oct 2017 20:34: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 99450 invoked by uid 48); 14 Oct 2017 20:34:26 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82555] New: SPECcpu201 Wrf_s deadlock
Date: Sat, 14 Oct 2017 20:34: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: 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 cc target_milestone
Message-ID: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01669.txt.bz2
Content-length: 4205

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82555

            Bug ID: 82555
           Summary: SPECcpu201 Wrf_s deadlock
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kugan at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Wrf_s is hanging or deadlocks when run on 48 threads (cores). It doesnt always
happen and I have to run with --iterations=111 and it will eventually happens.
Sometimes in the 2nd iterations and some times much later.

I attached the process to gdb and the back trace is:
(gdb) bt
#0  0x0000000001019924 in __lll_lock_wait (futex=futex@entry=0x2c3b1e0
<_gfortrani_unit_lock>, private=0) at lowlevellock.c:43
#1  0x0000000001012cbc in __pthread_mutex_lock (mutex=0x2c3b1e0
<_gfortrani_unit_lock>) at pthread_mutex_lock.c:80
#2  0x0000000000fd20ac in __gthread_mutex_lock (__mutex=0x2c3b1e0
<_gfortrani_unit_lock>) at ../libgcc/gthr-default.h:748
#3  _gfortrani_close_units () at ../../../gcc-exp2/libgfortran/io/unit.c:835
#4  0x000000000103950c in __libc_csu_fini ()
#5  0x000000000103f068 in __run_exit_handlers ()
#6  0x000000000103f0b0 in exit ()
#7  0x0000000000fc6e60 in _gfortrani_exit_error (status=1, status@entry=3) at
../../../gcc-exp2/libgfortran/runtime/error.c:196
#8  0x0000000000fc7314 in _gfortrani_internal_error
(cmp=cmp@entry=0xffffcdf23d00, 
    message=message@entry=0x11548a8 "stash_internal_unit(): Stack Size
Exceeded") at ../../../gcc-exp2/libgfortran/runtime/error.c:422
#9  0x0000000000fd1a84 in _gfortrani_stash_internal_unit (dtp=0xffffcdf23d00)
at ../../../gcc-exp2/libgfortran/io/unit.c:549
#10 0x0000000000fd0f6c in _gfortran_st_write_done (dtp=0xffffcdf23d00) at
../../../gcc-exp2/libgfortran/io/transfer.c:4168
#11 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#12 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#13 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#14 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#15 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#16 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#17 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#18 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#19 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#20 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#21 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#22 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#23 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#24 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#25 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#26 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#27 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#28 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#29 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#30 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#31 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#32 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#33 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#34 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#35 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#36 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#37 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#38 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#39 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#40 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#41 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#42 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#43 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#44 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#45 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()
#46 0x0000000000db933c in __module_ra_rrtm_MOD_rrtmlwrad ()

I am running this on AArch64 but I dont think this is an AArch64 specific
issue. Is anyone else seeing this?
>From gcc-bugs-return-578611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:36:38 2017
Return-Path: <gcc-bugs-return-578611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13078 invoked by alias); 14 Oct 2017 20: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 11110 invoked by uid 48); 14 Oct 2017 20:36:34 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82555] SPECcpu201 Wrf_s deadlock
Date: Sat, 14 Oct 2017 20:36: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: 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:
Message-ID: <bug-82555-4-bJLtQ3WHU0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01671.txt.bz2
Content-length: 606

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82555

--- Comment #1 from kugan at gcc dot gnu.org ---
My gcc is slightly old. 
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/kugan.vivekanandarajah/install/test/usr/local/bin/../libexec/gcc/aarch64-unknown-linux-gnu/8.0.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: ../gcc-exp2/configure : (reconfigured) ../gcc-exp2/configure
--enable-languages=c,c++,fortran,lto,objc --no-create --no-recursion
Thread model: posix
gcc version 8.0.0 20170822 (experimental) (GCC)

I will try with the latest version.
>From gcc-bugs-return-578610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:36:12 2017
Return-Path: <gcc-bugs-return-578610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 527 invoked by alias); 14 Oct 2017 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 129384 invoked by uid 55); 14 Oct 2017 20:36:08 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80908] [c++1z] ICE on instantiating a template deducing the noexcept-ness of a function pointer
Date: Sat, 14 Oct 2017 20: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.1.1
X-Bugzilla-Keywords: 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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80908-4-JyH9Zd62ld@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80908-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01670.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80908

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sat Oct 14 20:35:36 2017
New Revision: 253763

URL: https://gcc.gnu.org/viewcvs?rev=253763&root=gcc&view=rev
Log:
2017-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/80908
        * g++.dg/cpp1z/noexcept-type18.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/noexcept-type18.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:37:24 2017
Return-Path: <gcc-bugs-return-578612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72298 invoked by alias); 14 Oct 2017 20: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 66178 invoked by uid 48); 14 Oct 2017 20:37:20 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80908] [c++1z] ICE on instantiating a template deducing the noexcept-ness of a function pointer
Date: Sat, 14 Oct 2017 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.1.1
X-Bugzilla-Keywords: 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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-80908-4-egZuSUBv25@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80908-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01672.txt.bz2
Content-length: 564

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80908

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.2

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Essentially a Dup of that bug, thus fixed in 7.2.0. I added the testcase
anyway.
>From gcc-bugs-return-578613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:44:33 2017
Return-Path: <gcc-bugs-return-578613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89698 invoked by alias); 14 Oct 2017 20:44: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 87352 invoked by uid 48); 14 Oct 2017 20:44:29 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82555] SPECcpu201 Wrf_s deadlock
Date: Sat, 14 Oct 2017 20:44: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: 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-82555-4-blnYUoJdcH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01673.txt.bz2
Content-length: 569

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82555

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |81195

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Interesting this should have been fixed with PR 81195 but was not.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81195
[Bug 81195] SPEC CPU2017 621.wrf_s failure with 40+ openmp threads
>From gcc-bugs-return-578614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:47:51 2017
Return-Path: <gcc-bugs-return-578614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4153 invoked by alias); 14 Oct 2017 20:47: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 128675 invoked by uid 48); 14 Oct 2017 20:47:46 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82555] SPECcpu201 Wrf_s deadlock
Date: Sat, 14 Oct 2017 20:47: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: 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-82555-4-qxTWOge3Qs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01674.txt.bz2
Content-length: 147

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82555

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also related to PR 78387.
>From gcc-bugs-return-578615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:49:00 2017
Return-Path: <gcc-bugs-return-578615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62451 invoked by alias); 14 Oct 2017 20: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 60727 invoked by uid 48); 14 Oct 2017 20:48:56 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82555] SPECcpu201 Wrf_s deadlock
Date: Sat, 14 Oct 2017 20:49: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: unknown
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 dependson everconfirmed
Message-ID: <bug-82555-4-Fc9iOiLAjI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01675.txt.bz2
Content-length: 829

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82555

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-14
          Component|libgomp                     |libfortran
         Depends on|                            |78387
     Ever confirmed|0                           |1

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually PR 78387 seems exactly this issue.  Please test with a newer version
of gfortran.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78387
[Bug 78387] OpenMP segfault/stack size exceeded writing to internal file
>From gcc-bugs-return-578616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 20:54:52 2017
Return-Path: <gcc-bugs-return-578616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37208 invoked by alias); 14 Oct 2017 20: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 37175 invoked by uid 48); 14 Oct 2017 20:54:49 -0000
From: "b.r.longbons at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82554] uniform_real_distribution can generate the upper endpoint
Date: Sat, 14 Oct 2017 20: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: b.r.longbons 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-82554-4-YAViaB5HH7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82554-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82554-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01676.txt.bz2
Content-length: 350

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82554

--- Comment #1 from Ben Longbons <b.r.longbons at gmail dot com> ---
Ugh, part of my explanation was wrong: it's not the difference of exponents,
it's the number of common bits between the min and the (inclusive) max. That
just happens to both be 1 bit when the (exclusive) max is twice the min.
>From gcc-bugs-return-578617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 21:58:26 2017
Return-Path: <gcc-bugs-return-578617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30967 invoked by alias); 14 Oct 2017 21:58: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 30888 invoked by uid 48); 14 Oct 2017 21:58:19 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71832] [7/8 Regression] ICE on invalid C++11 code with incorrect decltype use for non-type template parameter: Segmentation fault
Date: Sat, 14 Oct 2017 21: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: 7.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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71832-4-YVYgHmUz6U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71832-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71832-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01677.txt.bz2
Content-length: 146

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71832

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Related to PR71169.
>From gcc-bugs-return-578618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 14 22:18:50 2017
Return-Path: <gcc-bugs-return-578618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126474 invoked by alias); 14 Oct 2017 22: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 126444 invoked by uid 48); 14 Oct 2017 22:18:46 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82552] No warning when using uninitialized values in initializer list
Date: Sat, 14 Oct 2017 22: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.2.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:
Message-ID: <bug-82552-4-phCMjItggC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82552-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82552-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01678.txt.bz2
Content-length: 238

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82552

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> This is a duplicate of an existing bug report.

bug 19808 perhaps?
>From gcc-bugs-return-578619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 02:32:37 2017
Return-Path: <gcc-bugs-return-578619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12268 invoked by alias); 15 Oct 2017 02: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 12199 invoked by uid 48); 15 Oct 2017 02:32:30 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82555] SPECcpu201 Wrf_s deadlock
Date: Sun, 15 Oct 2017 02:32: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kugan 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-82555-4-wMYwRgDhNv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01679.txt.bz2
Content-length: 339

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82555

--- Comment #5 from kugan at gcc dot gnu.org ---
(In reply to Andrew Pinski from comment #4)
> Actually PR 78387 seems exactly this issue.  Please test with a newer
> version of gfortran.

Thanks Andrew. Looks like this is the issue. So far, current trunk is
continuing without error.
>From gcc-bugs-return-578620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 07:02:18 2017
Return-Path: <gcc-bugs-return-578620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116568 invoked by alias); 15 Oct 2017 07: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 116524 invoked by uid 48); 15 Oct 2017 07:02:10 -0000
From: "bugzilla.gnu at coelho dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82556] New: internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Sun, 15 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugzilla.gnu at coelho 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-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01680.txt.bz2
Content-length: 2101

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

            Bug ID: 82556
           Summary: internal compiler error in curr_insn_transform, at
                    lra-constraints.c:4307
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzilla.gnu at coelho dot net
  Target Milestone: ---

Created attachment 42369
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42369&action=edit
preprocessed source

When compiling postgresql HEAD with gcc trunk, it fails on:

 pgsql/src/backend/access/transam> gcc --version
 gcc (GCC) 8.0.0 20171014 (experimental)
 Copyright (C) 2017 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.

 pgsql/src/backend/access/transam> gcc -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
-fexcess-precision=standard -O2 -I../../../../src/include  -D_GNU_SOURCE   -c
-o xloginsert.o xloginsert.i
 during RTL pass: reload
 xloginsert.c: In function ‘XLogInsert’:
 xloginsert.c:468:1: internal compiler error: in curr_insn_transform, at
lra-constraints.c:4307
  }
 ^
 0xbdfdbf curr_insn_transform
        ../../gcc-trunk-src/gcc/lra-constraints.c:4307
 0xbe1796 lra_constraints(bool)
        ../../gcc-trunk-src/gcc/lra-constraints.c:4833
 0xbcc594 lra(_IO_FILE*)
        ../../gcc-trunk-src/gcc/lra.c:2390
 0xb86a51 do_reload
        ../../gcc-trunk-src/gcc/ira.c:5440
 0xb86a51 execute
        ../../gcc-trunk-src/gcc/ira.c:5624
 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.

The same code was compiling with a gcc 8.0.0 compiled on Oct 7, so the
regression is in the last week.
>From gcc-bugs-return-578621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 07:04:14 2017
Return-Path: <gcc-bugs-return-578621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118090 invoked by alias); 15 Oct 2017 07:04: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 118046 invoked by uid 48); 15 Oct 2017 07:04:08 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82556] [8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Sun, 15 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code, ra
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82556-4-YtiQRcoCpU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01681.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
>From gcc-bugs-return-578622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 09:32:20 2017
Return-Path: <gcc-bugs-return-578622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37057 invoked by alias); 15 Oct 2017 09: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 36967 invoked by uid 48); 15 Oct 2017 09:32:11 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82556] [8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Sun, 15 Oct 2017 09: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.0
X-Bugzilla-Keywords: ice-on-valid-code, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-82556-4-ETIVFHgaTy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01682.txt.bz2
Content-length: 942

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-15
                 CC|                            |trippels at gcc dot gnu.org,
                   |                            |vmakarov at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
extern int foo();
typedef struct {
  char id;
  unsigned char fork_flags;
  short data_length;
} Header;
int a;
void X() {
  do {
    char* b;
    Header c;
    if (a)
      c.fork_flags |= 1;
    __builtin_memcpy(b, &c, __builtin_offsetof(Header, data_length));
    b += foo();
  } while (1);
}
>From gcc-bugs-return-578624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 10:17:01 2017
Return-Path: <gcc-bugs-return-578624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43723 invoked by alias); 15 Oct 2017 10:17: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 43618 invoked by uid 48); 15 Oct 2017 10:16:57 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/78387] OpenMP segfault/stack size exceeded writing to internal file
Date: Sun, 15 Oct 2017 10: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kugan 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-78387-4-9fCsPa3vwL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78387-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01684.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78387

kugan at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kugan at gcc dot gnu.org

--- Comment #17 from kugan at gcc dot gnu.org ---
*** Bug 82555 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 10:17:01 2017
Return-Path: <gcc-bugs-return-578623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43688 invoked by alias); 15 Oct 2017 10:17: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 43600 invoked by uid 48); 15 Oct 2017 10:16:56 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82555] SPECcpu201 Wrf_s deadlock
Date: Sun, 15 Oct 2017 10:17: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kugan 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-82555-4-VLrDnqbci1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82555-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01683.txt.bz2
Content-length: 451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82555

kugan at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from kugan at gcc dot gnu.org ---


*** This bug has been marked as a duplicate of bug 78387 ***
>From gcc-bugs-return-578625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 10:25:30 2017
Return-Path: <gcc-bugs-return-578625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52610 invoked by alias); 15 Oct 2017 10:25: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 52596 invoked by uid 48); 15 Oct 2017 10:25:26 -0000
From: "vindrg at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82557] New: Spurious -Wstrict-overflow warning with 32bit GCC
Date: Sun, 15 Oct 2017 10: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vindrg 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-82557-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01685.txt.bz2
Content-length: 1544

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82557

            Bug ID: 82557
           Summary: Spurious -Wstrict-overflow warning with 32bit GCC
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vindrg at gmail dot com
  Target Milestone: ---

Created attachment 42370
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42370&action=edit
Preprocessed settingsserializer.ii

Building qTox [qtox] on Debian 9 (stretch) i686 with GCC (Debian 6.3.0-18)
6.3.0 20170516 using -Wstrict-overflow produces a warning in the place where it
shouldn't.

It *does not* reproduce on amd64 system.

Here's output:

/somewhere/qTox.git/src/persistence/settingsserializer.cpp:267: error: assuming
signed overflow does not occur when simplifying conditional to constant
[-Werror=strict-overflow]
         if (g != -1) {
         ^~

Context [context]:

for (int g = -1; g < groups.size(); ++g) {
    // Save the group name, if any
    if (g != -1) {
         writeStream(stream, RecordTag::GroupStart);
         writeStream(stream, groups[g].toUtf8());
    }

    // ...
}


I could workaround it with:

if (static_cast<volatile int &>(g) != -1) {

Although maybe there is different solution?


[qtox] https://github.com/qTox/qTox
[context]
https://github.com/qTox/qTox/blob/084f3b06262b2ca8272238b2ec450d11840d7551/src/persistence/settingsserializer.cpp#L267
>From gcc-bugs-return-578626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 10:26:48 2017
Return-Path: <gcc-bugs-return-578626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53747 invoked by alias); 15 Oct 2017 10: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 53729 invoked by uid 48); 15 Oct 2017 10:26:44 -0000
From: "vindrg at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/70455] spurious "assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow]"
Date: Sun, 15 Oct 2017 10: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: 5.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vindrg 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-70455-4-2A84l5Q03o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70455-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01686.txt.bz2
Content-length: 367

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70455

--- Comment #7 from Vincas Dargis <vindrg at gmail dot com> ---
(In reply to Andrew Pinski from comment #4)
> Can you file a separate bug with the preprocessed source, I suspect the
> issue there is different from the original issue listed here.  

Done:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82557
>From gcc-bugs-return-578627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 12:01:15 2017
Return-Path: <gcc-bugs-return-578627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53158 invoked by alias); 15 Oct 2017 12:01: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 46860 invoked by uid 55); 15 Oct 2017 12:01:10 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82372] Rejects valid parenthesis
Date: Sun, 15 Oct 2017 12: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: rejects-valid
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-82372-4-xLfKAgzmca@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82372-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82372-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01687.txt.bz2
Content-length: 864

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82372

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Oct 15 12:00:29 2017
New Revision: 253768

URL: https://gcc.gnu.org/viewcvs?rev=253768&root=gcc&view=rev
Log:
2017-10-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/82372
        * fortran/scanner.c (last_error_char):  New global variable.
        (gfc_scanner_init_1): Set last_error_char to NULL.
        (gfc_gobble_whitespace): If a character not printable or
        not newline, issue an error.

2017-10-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/82372
        * gfortran.dg/illegal_char.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/illegal_char.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/scanner.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 12:31:24 2017
Return-Path: <gcc-bugs-return-578628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92975 invoked by alias); 15 Oct 2017 12: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 92917 invoked by uid 48); 15 Oct 2017 12:31:18 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82372] Rejects valid parenthesis
Date: Sun, 15 Oct 2017 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.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: 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-82372-4-Of7clM3G5b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82372-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82372-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01688.txt.bz2
Content-length: 445

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82372

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 on trunk, closing.
>From gcc-bugs-return-578629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 12:32:57 2017
Return-Path: <gcc-bugs-return-578629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94816 invoked by alias); 15 Oct 2017 12:32: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 94743 invoked by uid 48); 15 Oct 2017 12:32:52 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79863] Assignment of unallocated array to unallocated array variable leads to access of unallocated memory
Date: Sun, 15 Oct 2017 12: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
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 cc resolution
Message-ID: <bug-79863-4-SLpmBh2fhH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79863-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79863-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01689.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79863

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |tkoenig at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Steve is correct, this is invalid Fortran.
>From gcc-bugs-return-578630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 12:32:59 2017
Return-Path: <gcc-bugs-return-578630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95096 invoked by alias); 15 Oct 2017 12: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 94786 invoked by uid 48); 15 Oct 2017 12:32:55 -0000
From: "tkoenig at gcc dot gnu.org" <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: Sun, 15 Oct 2017 12:32: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: 7.0
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: 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-3sX0AXenqg@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: 2017-10/txt/msg01690.txt.bz2
Content-length: 529

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79864
Bug 79864 depends on bug 79863, which changed state.

Bug 79863 Summary: Assignment of unallocated array to unallocated array variable leads to access of unallocated memory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79863

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID
>From gcc-bugs-return-578631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 12:56:05 2017
Return-Path: <gcc-bugs-return-578631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116118 invoked by alias); 15 Oct 2017 12:56: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 116086 invoked by uid 48); 15 Oct 2017 12:56:01 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82558] New: [8 Regression] V8 JavaScript engine segfaults since r249235
Date: Sun, 15 Oct 2017 12:56: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01691.txt.bz2
Content-length: 4411

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82558

            Bug ID: 82558
           Summary: [8 Regression] V8 JavaScript engine segfaults since
                    r249235
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: fdumont at gcc dot gnu.org
  Target Milestone: ---

The V8 JavaScript engine segfaults since r249235:

 % gdb --args ./node deps/npm/node_modules/node-gyp/bin/node-gyp
Reading symbols from ./node...done.
(gdb) run
Starting program: /home/trippels/node/node
deps/npm/node_modules/node-gyp/bin/node-gyp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x3fffb797f180 (LWP 56011)]
[New Thread 0x3fffb717f180 (LWP 56012)]
[New Thread 0x3fffb697f180 (LWP 56013)]
[New Thread 0x3fffb617f180 (LWP 56014)]
[New Thread 0x3fffb597f180 (LWP 56015)]

Thread 4 "node" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x3fffb697f180 (LWP 56013)]
0x000000001162c03c in std::__fill_bvector (__v=0x0, __first=0, __last=0,
__x=false) at
/home/trippels/gcc_8/usr/local/include/c++/8.0.0/bits/stl_bvector.h:402
402           *__v &= ~__mask;
(gdb) bt
#0  0x000000001162c03c in std::__fill_bvector (__v=0x0, __first=0, __last=0,
__x=false) at
/home/trippels/gcc_8/usr/local/include/c++/8.0.0/bits/stl_bvector.h:402
#1  0x000000001162c194 in std::fill (__first=..., __last=...,
__x=@0x3fffb697daa8: false) at
/home/trippels/gcc_8/usr/local/include/c++/8.0.0/bits/stl_bvector.h:421
#2  0x000000001185c694 in
v8::internal::compiler::ScheduleLateNodeVisitor::SplitNode
(this=0x3fffb697ddf0, block=0x3fffac017cf0, node=0x3fffac011bc8)
    at ../deps/v8/src/compiler/scheduler.cc:1451
#3  0x000000001185c1b8 in
v8::internal::compiler::ScheduleLateNodeVisitor::VisitNode
(this=0x3fffb697ddf0, node=0x3fffac011bc8) at
../deps/v8/src/compiler/scheduler.cc:1414
#4  0x000000001185bde4 in
v8::internal::compiler::ScheduleLateNodeVisitor::ProcessQueue
(this=0x3fffb697ddf0, root=0x3fffac011c30) at
../deps/v8/src/compiler/scheduler.cc:1369
#5  0x000000001185bc00 in v8::internal::compiler::ScheduleLateNodeVisitor::Run
(this=0x3fffb697ddf0, roots=0x3fffb697df68) at
../deps/v8/src/compiler/scheduler.cc:1349
#6  0x000000001185defc in v8::internal::compiler::Scheduler::ScheduleLate
(this=0x3fffb697df28) at ../deps/v8/src/compiler/scheduler.cc:1678
#7  0x0000000011855d0c in v8::internal::compiler::Scheduler::ComputeSchedule
(zone=0x3fffac0008c0, graph=0x13373798, flags=...) at
../deps/v8/src/compiler/scheduler.cc:61
#8  0x00000000117edb9c in v8::internal::compiler::ComputeSchedulePhase::Run
(this=0x3fffb697e110, data=0x1334c8b8, temp_zone=0x3fffac0008c0)
    at ../deps/v8/src/compiler/pipeline.cc:1389
#9  0x00000000117f4390 in
v8::internal::compiler::PipelineImpl::Run<v8::internal::compiler::ComputeSchedulePhase>
(this=0x1334ca28) at ../deps/v8/src/compiler/pipeline.cc:849
#10 0x00000000117f0a7c in
v8::internal::compiler::PipelineImpl::ScheduleAndSelectInstructions
(this=0x1334ca28, linkage=0x13377868, trim_graph=true)
    at ../deps/v8/src/compiler/pipeline.cc:1957
#11 0x00000000117ef970 in v8::internal::compiler::PipelineImpl::OptimizeGraph
(this=0x1334ca28, linkage=0x13377868) at
../deps/v8/src/compiler/pipeline.cc:1810
#12 0x00000000117e876c in
v8::internal::compiler::PipelineCompilationJob::ExecuteJobImpl
(this=0x1334c710) at ../deps/v8/src/compiler/pipeline.cc:684
#13 0x0000000011937358 in v8::internal::CompilationJob::ExecuteJob
(this=0x1334c710) at ../deps/v8/src/compiler.cc:134
#14 0x00000000119310d4 in
v8::internal::OptimizingCompileDispatcher::CompileNext (this=0x133185c0,
job=0x1334c710)
    at ../deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc:115
#15 0x0000000011930dac in
v8::internal::OptimizingCompileDispatcher::CompileTask::Run (this=0x1334d5c0)
at ../deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc:67
#16 0x00000000124e3900 in node::BackgroundRunner (data=0x132c53b0) at
../src/node_platform.cc:24
#17 0x00003fffb7b78af4 in start_thread () from /lib64/libpthread.so.0
#18 0x00003fffb7aa4ef4 in clone () from /lib64/libc.so.6
>From gcc-bugs-return-578632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 12:57:02 2017
Return-Path: <gcc-bugs-return-578632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118085 invoked by alias); 15 Oct 2017 12: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 118017 invoked by uid 48); 15 Oct 2017 12:56:58 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/70070] ICE on initializing character data beyond min/max bound
Date: Sun, 15 Oct 2017 12: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:
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-70070-4-fCMEfsiijq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70070-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70070-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01692.txt.bz2
Content-length: 466

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70070

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Still fails on current trunk.
>From gcc-bugs-return-578633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 13:00:02 2017
Return-Path: <gcc-bugs-return-578633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54203 invoked by alias); 15 Oct 2017 13:00: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 50324 invoked by uid 48); 15 Oct 2017 12:59:56 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82558] [8 Regression] V8 JavaScript engine segfaults since r249235
Date: Sun, 15 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-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-82558-4-2e5mO2wa9b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01693.txt.bz2
Content-length: 416

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82558

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 42371
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42371&action=edit
-fsanitize=undefined output

I have attached the -fsanitize=undefined output prior to the crash.
As you can see V8 wallows in UB. 
So I'm not sure if this is a libstdc++ bug or not.
>From gcc-bugs-return-578634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 13:23:59 2017
Return-Path: <gcc-bugs-return-578634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1222 invoked by alias); 15 Oct 2017 13: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 125803 invoked by uid 48); 15 Oct 2017 13:23:55 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79795] [6/7/8 Regression] Fortran ICE in resolve_symbol starting with r163221
Date: Sun, 15 Oct 2017 13: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.0
X-Bugzilla-Keywords: 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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-79795-4-j6S4BL3Sc3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01694.txt.bz2
Content-length: 537

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79795

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

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Let's see.
>From gcc-bugs-return-578635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 14:43:52 2017
Return-Path: <gcc-bugs-return-578635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106830 invoked by alias); 15 Oct 2017 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 106781 invoked by uid 48); 15 Oct 2017 14:43:49 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82559] New: [7 Regression] libgo bootstrap broken on at least alpha, s390x
Date: Sun, 15 Oct 2017 14:43: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko 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-82559-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01695.txt.bz2
Content-length: 2435

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82559

            Bug ID: 82559
           Summary: [7 Regression] libgo bootstrap broken on at least
                    alpha, s390x
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: doko at gcc dot gnu.org
                CC: cmang at google dot com
  Target Milestone: ---

see https://buildd.debian.org/status/package.php?p=gcc-7

seen on the gcc-7-branch 20171013, didn't check trunk yet.
this is at least broken on alpha and s390x.

sysinfo.go:7749:6: error: redefinition of 'PtraceRegs'
 type PtraceRegs struct { R0 uint64; R1 uint64; R2 uint64; R3 uint64; R4
uint64; R5 uint64; R6 uint64; R7 uint64; R8 uint64; R19 uint64; R20 uint64; R21
uint64; R22 uint64; R23 uint64; R24 uint64; R25 uint64; R26 uint64; R27 uint64;
R28 uint64; Hae uint64; Trap_a0 uint64; Trap_a1 uint64; Trap_a2 uint64; Ps
uint64; Pc uint64; Gp uint64; R16 uint64; R17 uint64; R18 uint64; }
      ^
../../../src/libgo/go/syscall/syscall_linux_alpha.go:11:6: note: previous
definition of 'PtraceRegs' was here
 type PtraceRegs struct {
      ^
mv -f .deps/iparity_i16.Tpo .deps/iparity_i16.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile
/<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/
-B/usr/alpha-linux-gnu/bin/ -B/usr/alpha-linux-gnu/lib/ -isystem
/usr/alpha-linux-gnu/include -isystem /usr/alpha-linux-gnu/sys-include -isystem
/<<PKGBUILDDIR>>/build/sys-include    -DHAVE_CONFIG_H -I.
-I../../../src/libgfortran  -iquote../../../src/libgfortran/io
-I../../../src/libgfortran/../gcc -I../../../src/libgfortran/../gcc/config 
-I../.././gcc -I../../../src/libgfortran/../libgcc -I../libgcc
-I../../../src/libgfortran/../libbacktrace -I../libbacktrace -I../libbacktrace 
-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sections -fdata-sections -mieee  -g -O2 -mieee -MT norm2_r4.lo -MD
-MP -MF .deps/norm2_r4.Tpo -c -o norm2_r4.lo `test -f
'../../../src/libgfortran/generated/norm2_r4.c' || echo
'../../../src/libgfortran/'`../../../src/libgfortran/generated/norm2_r4.c
Makefile:3342: recipe for target 'syscall.lo' failed
make[6]: *** [syscall.lo] Error 1
>From gcc-bugs-return-578636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 14:56:10 2017
Return-Path: <gcc-bugs-return-578636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127825 invoked by alias); 15 Oct 2017 14:56: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 127716 invoked by uid 48); 15 Oct 2017 14:56:05 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82558] [8 Regression] V8 JavaScript engine segfaults since r249235
Date: Sun, 15 Oct 2017 14: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: 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-82558-4-TOuesnE7sl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01696.txt.bz2
Content-length: 1051

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82558

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-15
     Ever confirmed|0                           |1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 /tmp % cat test.cpp
#include <vector>

int main() {
  std::vector<bool> bv;
  std::fill(bv.begin(), bv.end(), false);
}

markus@x4 /tmp % g++ -fsanitize=undefined test.cpp
markus@x4 /tmp % ./a.out
/home/markus/tmp/cache/gcc_test/usr/local/include/c++/8.0.0/bits/stl_bvector.h:396:36:
runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned
int'
/home/markus/tmp/cache/gcc_test/usr/local/include/c++/8.0.0/bits/stl_bvector.h:402:12:
runtime error: load of null pointer of type '_Bit_type'
[1]    24985 segmentation fault  ./a.out
>From gcc-bugs-return-578637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 16:20:13 2017
Return-Path: <gcc-bugs-return-578637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64655 invoked by alias); 15 Oct 2017 16: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 59621 invoked by uid 48); 15 Oct 2017 16:20:09 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82559] [7 Regression] libgo bootstrap broken on at least alpha, s390x
Date: Sun, 15 Oct 2017 16:20: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.2.1
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: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82559-4-iAPP40YqdR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82559-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82559-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01697.txt.bz2
Content-length: 1092

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82559

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Matthias Klose from comment #0)
> see https://buildd.debian.org/status/package.php?p=gcc-7
> 
> seen on the gcc-7-branch 20171013, didn't check trunk yet.
> this is at least broken on alpha and s390x.
> 
> sysinfo.go:7749:6: error: redefinition of 'PtraceRegs'
>  type PtraceRegs struct { R0 uint64; R1 uint64; R2 uint64; R3 uint64; R4
> uint64; R5 uint64; R6 uint64; R7 uint64; R8 uint64; R19 uint64; R20 uint64;
> R21 uint64; R22 uint64; R23 uint64; R24 uint64; R25 uint64; R26 uint64; R27
> uint64; R28 uint64; Hae uint64; Trap_a0 uint64; Trap_a1 uint64; Trap_a2
> uint64; Ps uint64; Pc uint64; Gp uint64; R16 uint64; R17 uint64; R18 uint64;
> }
>       ^
> ../../../src/libgo/go/syscall/syscall_linux_alpha.go:11:6: note: previous
> definition of 'PtraceRegs' was here
>  type PtraceRegs struct {

For alpha, you can just remove PtraceRegs definition from
libgo/go/syscall/syscall_linux_alpha.go. It is identical to the one from
sysinfo.go.
>From gcc-bugs-return-578638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 17:00:47 2017
Return-Path: <gcc-bugs-return-578638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17063 invoked by alias); 15 Oct 2017 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 17016 invoked by uid 48); 15 Oct 2017 17:00:42 -0000
From: "xerofoify at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug translation/80188] calls.c: reason argument to maybe_complain_about_tail_call must be marked for translation
Date: Sun, 15 Oct 2017 17:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: translation
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords: diagnostic, easyhack
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: xerofoify 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-80188-4-X13o27dLPK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80188-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80188-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01698.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80188

--- Comment #3 from nik <xerofoify at gmail dot com> ---
Created attachment 42372
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42372&action=edit
Proposed Fix Send to the GCC-Patches List
>From gcc-bugs-return-578639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 17:15:47 2017
Return-Path: <gcc-bugs-return-578639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32618 invoked by alias); 15 Oct 2017 17: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 32592 invoked by uid 48); 15 Oct 2017 17:15:43 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/78278] ICE in gfc_wide_memset, at fortran/scanner.c:153
Date: Sun, 15 Oct 2017 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: 7.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-78278-4-i4X60mkuzt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78278-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01699.txt.bz2
Content-length: 334

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78278

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The ICE seems fixed on 7.2.0 and trunk (8.0), probably r243647.

Note that compiling the code in comment 0 with -std=f95 does not trigger the
error

Error: GNU Extension: re-initialization of 'x' at (1)
>From gcc-bugs-return-578640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 17:31:16 2017
Return-Path: <gcc-bugs-return-578640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98345 invoked by alias); 15 Oct 2017 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 91854 invoked by uid 48); 15 Oct 2017 17:31:11 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/53977] CPP: Support __func__/__FUNCTION__
Date: Sun, 15 Oct 2017 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.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-53977-4-iikfvvRVKU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53977-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53977-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01700.txt.bz2
Content-length: 570

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53977

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Any interest for this PR (more than three years without any activity)?

Almost two years later, no more activity! Closing as WONTFIX.
>From gcc-bugs-return-578641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 17:39:43 2017
Return-Path: <gcc-bugs-return-578641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113283 invoked by alias); 15 Oct 2017 17:39: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 113242 invoked by uid 48); 15 Oct 2017 17:39:39 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79157] gfortran crashed on sparc with openmpi build
Date: Sun, 15 Oct 2017 17: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: 5.4.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-79157-4-kMcJ2kkRxe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01701.txt.bz2
Content-length: 220

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79157

--- Comment #13 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The gcc-5 branch has been closed. Is the problem still present with more recent
versions?
>From gcc-bugs-return-578642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 17:56:07 2017
Return-Path: <gcc-bugs-return-578642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38985 invoked by alias); 15 Oct 2017 17:56:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 38953 invoked by uid 48); 15 Oct 2017 17:56:03 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79157] gfortran crashed on sparc with openmpi build
Date: Sun, 15 Oct 2017 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: 5.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov 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-79157-4-pNHS7koCQZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01702.txt.bz2
Content-length: 258

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79157

--- Comment #14 from Igor Kozhukhov <ikozhukhov at gmail dot com> ---
it is working with 6.4.0, we can close this issue and will wait when 6.x will
be closed to and close others issues without fixes :)
>From gcc-bugs-return-578643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 18:05:04 2017
Return-Path: <gcc-bugs-return-578643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43442 invoked by alias); 15 Oct 2017 18:05: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 43390 invoked by uid 48); 15 Oct 2017 18:04:59 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79157] gfortran crashed on sparc with openmpi build
Date: Sun, 15 Oct 2017 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: 5.4.1
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-79157-4-CLF5EZtBqF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01703.txt.bz2
Content-length: 829

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79157

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> it is working with 6.4.0, we can close this issue and will wait
> when 6.x will be closed to and close others issues without fixes :)

Not sure to understand the comment. This is a target (sparc) issue that cannot
be monitored by most (if not all) the gfortran maintainers. Apparently the
problem has been fixed between 5.x and 6.x. Nothing prevent you to try to do
the bissection!

Closing.
>From gcc-bugs-return-578644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 18:09:59 2017
Return-Path: <gcc-bugs-return-578644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51757 invoked by alias); 15 Oct 2017 18:09: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 51722 invoked by uid 48); 15 Oct 2017 18:09:55 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79157] gfortran crashed on sparc with openmpi build
Date: Sun, 15 Oct 2017 18: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: 5.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov at gmail dot com
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: resolution
Message-ID: <bug-79157-4-mbwtM2clnm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01704.txt.bz2
Content-length: 873

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79157

Igor Kozhukhov <ikozhukhov at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |WONTFIX

--- Comment #16 from Igor Kozhukhov <ikozhukhov at gmail dot com> ---
sorry for some joke comment.

this bug not fixed for 5.x while 5.x was not closed.
it's a pity to no see some efforts to native SPARC64 support on illumos based
platform.
i still try to use native SPARC64 hw based on T5220.
for dilos-illumos builds i still using gcc-4.4 with bootstrap with SunAS +
illumos ld because build not fixed yet for gcc-6.x with bootstrap GNU AS +
illumos ld.
will be more correct move it to status CLOSED + WONTFIX - because it was not
fixed for 5.x line - it is my opinion.
>From gcc-bugs-return-578645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 18:15:47 2017
Return-Path: <gcc-bugs-return-578645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55257 invoked by alias); 15 Oct 2017 18: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 55175 invoked by uid 48); 15 Oct 2017 18:15:37 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/39030] Support -fexcess-precision={standard,fast} also for Fortran
Date: Sun, 15 Oct 2017 18: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.4.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-39030-4-9coz5R6E3K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-39030-4@http.gcc.gnu.org/bugzilla/>
References: <bug-39030-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01705.txt.bz2
Content-length: 198

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39030

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
More than eight years later is there any point to keep this PR opened?
>From gcc-bugs-return-578646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 18:18:44 2017
Return-Path: <gcc-bugs-return-578646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57486 invoked by alias); 15 Oct 2017 18:18: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 57458 invoked by uid 48); 15 Oct 2017 18:18:40 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79446] Passing internal procedure as argument causes segfault at runtime
Date: Sun, 15 Oct 2017 18: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: 5.3.1
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: 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-79446-4-kbQy6tb83b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79446-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01706.txt.bz2
Content-length: 618

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79446

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I tried this out with gcc 6,7, and 8 on several architectures;
everything works.

I don't have access to older compilers at the moment, and
gcc 5 is no longer supported.

So, I'd say this is fixed.
>From gcc-bugs-return-578647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 18:33:33 2017
Return-Path: <gcc-bugs-return-578647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112867 invoked by alias); 15 Oct 2017 18: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 112731 invoked by uid 48); 15 Oct 2017 18:33:28 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79157] gfortran crashed on sparc with openmpi build
Date: Sun, 15 Oct 2017 18: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: 5.4.1
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:
Message-ID: <bug-79157-4-twEPxNAPmt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01707.txt.bz2
Content-length: 517

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79157

--- Comment #17 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> this bug not fixed for 5.x while 5.x was not closed.

Did you try 5.5.0?

When a problem disappear there are two possibilities:

(1) It has been fixed.

(2) It had been made latent.

The only way to distinguish between the two is to bissect to find the revision
which caused the change.

Nevertheless technically the problem should be closed as FIXED if it works on
gcc-6 and later.
>From gcc-bugs-return-578648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 18:35:35 2017
Return-Path: <gcc-bugs-return-578648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114414 invoked by alias); 15 Oct 2017 18:35: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 114356 invoked by uid 48); 15 Oct 2017 18:35:31 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79157] gfortran crashed on sparc with openmpi build
Date: Sun, 15 Oct 2017 18: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.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov at gmail dot com
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-79157-4-TlZggbMg6m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01708.txt.bz2
Content-length: 207

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79157

--- Comment #18 from Igor Kozhukhov <ikozhukhov at gmail dot com> ---
i didn't try 5.5.0 because switched to use 6.4.0 for my userland builds on
sparc64
>From gcc-bugs-return-578649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 19:27:41 2017
Return-Path: <gcc-bugs-return-578649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97135 invoked by alias); 15 Oct 2017 19: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 97105 invoked by uid 48); 15 Oct 2017 19:27:37 -0000
From: "liakhdi at ornl dot gov" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [OOP] Broken vtab
Date: Sun, 15 Oct 2017 19: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.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: liakhdi at ornl dot 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: attachments.created
Message-ID: <bug-81758-4-NNquvPcr3k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01709.txt.bz2
Content-length: 228

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #5 from DIL <liakhdi at ornl dot gov> ---
Created attachment 42373
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42373&action=edit
Debugger screenshot
>From gcc-bugs-return-578650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 19:40:26 2017
Return-Path: <gcc-bugs-return-578650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90802 invoked by alias); 15 Oct 2017 19:40: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 90732 invoked by uid 48); 15 Oct 2017 19:40:20 -0000
From: "liakhdi at ornl dot gov" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [OOP] Broken vtab
Date: Sun, 15 Oct 2017 19: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: liakhdi at ornl dot 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-81758-4-VdY0GCghAn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01710.txt.bz2
Content-length: 1415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #6 from DIL <liakhdi at ornl dot gov> ---
It is not that I am not willing to, I just do not see an easy way to reduce the
relevant code. For now, I have attached a debugger screenshot (jpg above) to
show you the details of the problem. The segfault occurs when running the
binary test_gfc.x produced by the Makefile, specifically in the GFC::graph test
(gfc_graph.F90). In the bottom left corner of the .JPG file you will see the
exact callstack at the point of crash. In the central window, you will see the
line 742 of gfc_vector.F90, specifically:
val_p => cep%get_value(errc)
The pointer "cep" is class(gfc_cont_elem_t) defined in gfc_base.F90. Now if you
look at the right window on the .JPG where I inspect the content of the "cep",
you will see a completely messed up _vptr table, where the type-bound procedure
bindings are associated with wrong procedures from a completely unrelated type
"vector_t" from gfc_vector.F90. In particular, if you look at the "get_value"
binding, that is, the procedure we are trying to call in line 742 above, you
will see that it is wrongly associated with vector_t%vectorlowerbound, a
totally unrelated type-bound procedure from a different type. That's exactly
why the segfault occurs (please see the callstack). All other type-bound
bindings of "cep" are wrong as well, except maybe few.
>From gcc-bugs-return-578651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 19:41:06 2017
Return-Path: <gcc-bugs-return-578651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91739 invoked by alias); 15 Oct 2017 19: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 91706 invoked by uid 48); 15 Oct 2017 19:41:03 -0000
From: "liakhdi at ornl dot gov" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [OOP] Broken vtab
Date: Sun, 15 Oct 2017 19: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.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: liakhdi at ornl dot 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-81758-4-8AdjZWFJLs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01711.txt.bz2
Content-length: 155

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #7 from DIL <liakhdi at ornl dot gov> ---
P.S. I do not have GCC-8.0 installed anywhere.
>From gcc-bugs-return-578652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 19:46:13 2017
Return-Path: <gcc-bugs-return-578652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95956 invoked by alias); 15 Oct 2017 19: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 95889 invoked by uid 55); 15 Oct 2017 19:46:06 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82559] [7 Regression] libgo bootstrap broken on at least alpha, s390x
Date: Sun, 15 Oct 2017 19: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: 7.2.1
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-82559-4-BYNge5233R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82559-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82559-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01712.txt.bz2
Content-length: 625

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82559

--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Sun Oct 15 19:45:33 2017
New Revision: 253770

URL: https://gcc.gnu.org/viewcvs?rev=253770&root=gcc&view=rev
Log:
        PR go/82559
Backport from mainline:
    https://golang.org/cl/46712
    https://golang.org/cl/46839

Modified:
    branches/gcc-7-branch/libgo/go/syscall/syscall_linux_alpha.go
    branches/gcc-7-branch/libgo/go/syscall/syscall_linux_s390.go
    branches/gcc-7-branch/libgo/go/syscall/syscall_linux_s390x.go
    branches/gcc-7-branch/libgo/mksysinfo.sh
>From gcc-bugs-return-578653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 20:09:56 2017
Return-Path: <gcc-bugs-return-578653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115158 invoked by alias); 15 Oct 2017 20:09: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 115106 invoked by uid 48); 15 Oct 2017 20:09:52 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82559] [7 Regression] libgo bootstrap broken on at least alpha, s390x
Date: Sun, 15 Oct 2017 20:09: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.2.1
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-82559-4-sJLHXEETpG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82559-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82559-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01713.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82559

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> ---
Should be fixed now.
>From gcc-bugs-return-578654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 21:30:35 2017
Return-Path: <gcc-bugs-return-578654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34609 invoked by alias); 15 Oct 2017 21: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 34491 invoked by uid 48); 15 Oct 2017 21:30:27 -0000
From: "b.r.longbons at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Sun, 15 Oct 2017 21: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: b.r.longbons 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-82542-4-FMgu8zT5W7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01714.txt.bz2
Content-length: 1438

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

--- Comment #7 from Ben Longbons <b.r.longbons at gmail dot com> ---
I saw that mailing list post, but it only explains *what*, not *why*.

I never really gave consideration to DWARF, since in my little experience it is
very unportable for a "standard". I suppose I could investigate it more, but
... that would require a very significant code change (since DWARF has a
completely different mindset), and I don't even know if *all* the interesting
trees survive that long (one of my long-term goals is to allow using C++
templates).

Also, bugs that get filed against GCC's DWARF support tend to just go unfixed
forever (I've filed at least 3 of them).

The only real infelicity I've found in the TU dump *format* (after the high/low
integers went away) is that strings aren't quoted, but that only becomes a
problem if " lngt: MM\n@NNNN" occurs in the string with appropriate integers MM
and NNNN. (There is also a bug I filed about wide strings not dumping).

I certainly wouldn't complain if it was replaced with an XML-based format with
the same general structure (don't try to make it nice, keep it raw) - parsing
is the easiest part of tooling.

Finally - even if GCC's internal tree layout is *theoretically* unstable - any
such changes will cause more problems for people working on the compiler
itself, and in practice have always been trivial to update for.
>From gcc-bugs-return-578655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 21:45:32 2017
Return-Path: <gcc-bugs-return-578655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30568 invoked by alias); 15 Oct 2017 21: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 27243 invoked by uid 48); 15 Oct 2017 21:45:25 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Sun, 15 Oct 2017 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: 7.1.1
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority bug_status cc cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-81758-4-S31OlDpIrO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01715.txt.bz2
Content-length: 2702

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
           Priority|P3                          |P4
             Status|WAITING                     |NEW
                 CC|                            |pault at gcc dot gnu.org,
                   |                            |vehre at gcc dot gnu.org
      Known to work|                            |6.4.0
            Summary|[OOP] Broken vtab           |[7/8 Regression] [OOP]
                   |                            |Broken vtab
      Known to fail|                            |7.2.0, 8.0

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
With  r241089 + 3 patches (2016-10-13) I get

 gfc::bank testing status:            0 (PASSED): Performance:   
2039838.3503661281     
 gfc::vector testing status:            0 (PASSED): Performance:   
890854.31205360719     
 gfc::list testing status:            0 (PASSED): Performance:   
890854.31205360719     
 gfc::tree testing status:            0 (PASSED): Performance:   
393823.27573154873     
 gfc::dictionary testing status:            0 (PASSED): Performance:   
321568.74093553709     
 gfc::graph testing status:            0 (PASSED): Performance:   
19281.063141355589     
 Multi-index sort testing status:            0 (PASSED): Performance:   
93030.940604447314     
 Dynamic type inferrence slowdown:   0.1848     67120570.0482252   0.1866    
67120570.0482252    1.0098020643331511     

and with r241140 + 4 patches (2016-10-13)

 gfc::bank testing status:            0 (PASSED): Performance:   
1023999.8321533478     
 gfc::vector testing status:            0 (PASSED): Performance:   
1583521.2441083547     
 gfc::list testing status:            0 (PASSED): Performance:   
1583521.2441083547     
 gfc::tree testing status:            0 (PASSED): Performance:   
371288.82894183917     
 gfc::dictionary testing status:            0 (PASSED): Performance:   
317572.32466195582     

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x10d8612c9
#1  0x10d8606a5
#2  0x7fffbcd74b39
Segmentation fault

The fix for pr82312 (r253362) does not fix this PR.

One of the patch in r241140 + 4 patches was r241439.
>From gcc-bugs-return-578656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 21:51:57 2017
Return-Path: <gcc-bugs-return-578656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91303 invoked by alias); 15 Oct 2017 21: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 75203 invoked by uid 48); 15 Oct 2017 21:51:52 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79157] gfortran crashed on sparc with openmpi build
Date: Sun, 15 Oct 2017 21: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.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: 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-79157-4-sBXqUXsBVh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01716.txt.bz2
Content-length: 440

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79157

--- Comment #19 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> it's a pity to no see some efforts to native SPARC64 support on illumos
> based platform.

GCC is a volunteer project, you are free to contribute or to pay someone to
work on a particular issue.  Note that, as far as I know, no GCC developer has
access to an illumos machine so there is really no surprise here.
>From gcc-bugs-return-578657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 21:56:27 2017
Return-Path: <gcc-bugs-return-578657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100066 invoked by alias); 15 Oct 2017 21: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 100015 invoked by uid 48); 15 Oct 2017 21:56:23 -0000
From: "ikozhukhov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79157] gfortran crashed on sparc with openmpi build
Date: Sun, 15 Oct 2017 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: 5.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ikozhukhov at gmail dot com
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-79157-4-OzZJSiIKN6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79157-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01717.txt.bz2
Content-length: 267

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79157

--- Comment #20 from Igor Kozhukhov <ikozhukhov at gmail dot com> ---
i can provide access to DilOS (illumos based platform) build zones on SPARC64
and Intel if needed - just send me email igor at dilos dot org
>From gcc-bugs-return-578658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 22:00:36 2017
Return-Path: <gcc-bugs-return-578658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102521 invoked by alias); 15 Oct 2017 22:00: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 102435 invoked by uid 48); 15 Oct 2017 22:00:31 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/50943] asm goto in templated code causes internal compiler segfaults
Date: Sun, 15 Oct 2017 22: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: 4.6.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-50943-4-suKE1lXmie@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-50943-4@http.gcc.gnu.org/bugzilla/>
References: <bug-50943-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01718.txt.bz2
Content-length: 472

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50943

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed looong ago, 4.7.x was already fine.
>From gcc-bugs-return-578659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 22:06:38 2017
Return-Path: <gcc-bugs-return-578659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107613 invoked by alias); 15 Oct 2017 22: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 107568 invoked by uid 48); 15 Oct 2017 22:06:34 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53574] ICE with -fstack-usage
Date: Sun, 15 Oct 2017 22: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: 4.7.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-53574-4-Lsr01PZJh4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53574-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53574-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01719.txt.bz2
Content-length: 157

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Jakub, is this still an issue?
>From gcc-bugs-return-578660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 22:30:36 2017
Return-Path: <gcc-bugs-return-578660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125409 invoked by alias); 15 Oct 2017 22:30: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 125372 invoked by uid 55); 15 Oct 2017 22:30:32 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/54090] internal compiler error: in unify, at cp/pt.c:15731
Date: Sun, 15 Oct 2017 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: 4.6.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-54090-4-JARQ9Ujp7Z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54090-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54090-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01720.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54090

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sun Oct 15 22:29:59 2017
New Revision: 253772

URL: https://gcc.gnu.org/viewcvs?rev=253772&root=gcc&view=rev
Log:
2017-10-15  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/54090
        * g++.dg/template/crash128.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash128.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 22:31:14 2017
Return-Path: <gcc-bugs-return-578661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126243 invoked by alias); 15 Oct 2017 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 126181 invoked by uid 48); 15 Oct 2017 22:31:07 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/54090] internal compiler error: in unify, at cp/pt.c:15731
Date: Sun, 15 Oct 2017 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: 4.6.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-54090-4-J0EgXQC6dQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54090-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54090-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01721.txt.bz2
Content-length: 507

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54090

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.0

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is fixed in 7.1.0.
>From gcc-bugs-return-578662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 15 22:44:49 2017
Return-Path: <gcc-bugs-return-578662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8220 invoked by alias); 15 Oct 2017 22:44: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 8169 invoked by uid 48); 15 Oct 2017 22:44:45 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60105] [C++11] ICE on enable_if explicit cast operator
Date: Sun, 15 Oct 2017 22: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:
X-Bugzilla-Severity: normal
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: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-60105-4-gXre5xl9Ln@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60105-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60105-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01722.txt.bz2
Content-length: 516

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60105

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.0

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed loong time ago, for 5.1.0.
>From gcc-bugs-return-578663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 00:05:11 2017
Return-Path: <gcc-bugs-return-578663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13223 invoked by alias); 16 Oct 2017 00: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 13118 invoked by uid 48); 16 Oct 2017 00:05:07 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61414] enum class bitfield size-checking failure
Date: Mon, 16 Oct 2017 00: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: 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-61414-4-KnlpMwDcVd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61414-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61414-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01723.txt.bz2
Content-length: 579

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to eric-bugs from comment #9)
> This does not seem like correct behavior to me either. The warning should be
> based on the maximum declared enum value, not the maximum possible value
> held by the underlying type.

No.

> After all as of C++17, the standard makes it undefined what happens if you
> try to stuff an integer into an enum value that doesn't correspond to one of
> the values listed in the enum declaration.

What? No it doesn't.
>From gcc-bugs-return-578664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 00:14:06 2017
Return-Path: <gcc-bugs-return-578664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24321 invoked by alias); 16 Oct 2017 00:14: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 24283 invoked by uid 48); 16 Oct 2017 00:14:01 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82558] [8 Regression] V8 JavaScript engine segfaults since r249235
Date: Mon, 16 Oct 2017 00: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: 8.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-82558-4-Je7HuPA9MN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01724.txt.bz2
Content-length: 529

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82558

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
--- a/libstdc++-v3/include/bits/stl_bvector.h
+++ b/libstdc++-v3/include/bits/stl_bvector.h
@@ -417,7 +417,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
        if (__last._M_offset != 0)
          __fill_bvector(__last._M_p, 0, __last._M_offset, __x);
       }
-    else
+    else if (__first._M_offset != __last._M_offset)
       __fill_bvector(__first._M_p, __first._M_offset, __last._M_offset, __x);
   }
>From gcc-bugs-return-578665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 00:24:59 2017
Return-Path: <gcc-bugs-return-578665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1218 invoked by alias); 16 Oct 2017 00:24: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 125829 invoked by uid 48); 16 Oct 2017 00:24:54 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82554] uniform_real_distribution can generate the upper endpoint
Date: Mon, 16 Oct 2017 00: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.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-82554-4-13ggN12s2m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82554-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82554-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01725.txt.bz2
Content-length: 412

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82554

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Ben Longbons from comment #0)
> This is related to #64351 and #63176, for which a totally-bogus fix was
> applied.

See PR 80137

> There is actually a defect in the standard:

Then shouldn't it be reported elsewhere?
https://cplusplus.github.io/LWG/lwg-active.html#submit_issue
>From gcc-bugs-return-578666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 02:13:03 2017
Return-Path: <gcc-bugs-return-578666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5875 invoked by alias); 16 Oct 2017 02: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 5048 invoked by uid 48); 16 Oct 2017 02:12:58 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Mon, 16 Oct 2017 02: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.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-82542-4-kzDD7RBKUJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01726.txt.bz2
Content-length: 1896

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Ben Longbons from comment #7)
> I saw that mailing list post, but it only explains *what*, not *why*.
> 
> I never really gave consideration to DWARF, since in my little experience it
> is very unportable for a "standard". I suppose I could investigate it more,
> but ... that would require a very significant code change (since DWARF has a
> completely different mindset), and I don't even know if *all* the
> interesting trees survive that long (one of my long-term goals is to allow
> using C++ templates).
> 
> Also, bugs that get filed against GCC's DWARF support tend to just go
> unfixed forever (I've filed at least 3 of them).

Do you have bug numbers / links for the 3 DWARF bugs?

> 
> The only real infelicity I've found in the TU dump *format* (after the
> high/low integers went away) is that strings aren't quoted, but that only
> becomes a problem if " lngt: MM\n@NNNN" occurs in the string with
> appropriate integers MM and NNNN. (There is also a bug I filed about wide
> strings not dumping).

I recognize that one; it's bug 71996

> 
> I certainly wouldn't complain if it was replaced with an XML-based format
> with the same general structure (don't try to make it nice, keep it raw) -
> parsing is the easiest part of tooling.
> 
> Finally - even if GCC's internal tree layout is *theoretically* unstable -
> any such changes will cause more problems for people working on the compiler
> itself, and in practice have always been trivial to update for.
>From gcc-bugs-return-578667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 03:09:53 2017
Return-Path: <gcc-bugs-return-578667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107042 invoked by alias); 16 Oct 2017 03: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 106996 invoked by uid 48); 16 Oct 2017 03:09:49 -0000
From: "aschepler at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/47346] access control for nested type is ignored in class template
Date: Mon, 16 Oct 2017 03: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: 4.6.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aschepler at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dodji at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-47346-4-OAbUuHJsgj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47346-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47346-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01727.txt.bz2
Content-length: 495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346

Andrew Schepler <aschepler at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aschepler at gmail dot com

--- Comment #15 from Andrew Schepler <aschepler at gmail dot com> ---
Bug 58896 looks closely related. Would it be changed by the proposed patch?
Should it be made a duplicate?
>From gcc-bugs-return-578668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 04:11:19 2017
Return-Path: <gcc-bugs-return-578668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13273 invoked by alias); 16 Oct 2017 04: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 6160 invoked by uid 48); 16 Oct 2017 04:11:14 -0000
From: "gdutor at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] New: Temporary object created as a default argument not destructed
Date: Mon, 16 Oct 2017 04: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gdutor 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-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01728.txt.bz2
Content-length: 2816

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

            Bug ID: 82560
           Summary: Temporary object created as a default argument not
                    destructed
           Product: gcc
           Version: 7.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gdutor at gmail dot com
  Target Milestone: ---

Created attachment 42374
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42374&action=edit
Source code that reproduce the bug

This is the code trigger the leaking bug.
=====================================================
#include <iostream>
#include <vector>
#include <memory>

class Foo {
public:
    Foo(const char *str) : str_(str) {
        std::cout << "Foo(const char*)" << std::endl;
    }
    Foo(const Foo&) {
        std::cout << "Foo(const Foo&)" << std::endl;
    }
    ~Foo() {
        std::cout << "~Foo()" << std::endl;
    }
    std::string str_;
};

class Bar {
public:
    Bar(Foo foo = "implicitly casted to Foo") : foo_(foo) {
        std::cout << "Bar(Foo)" << std::endl;
    }
    ~Bar() {
        std::cout << "~Bar()" << std::endl;
    }

    Foo foo_;
};

int main()
{
    auto ptr = std::make_unique<Bar>();
    return 0;
}
=====================================================

Compile and run it:
=================
$ g++ -std=c++14 leak.cpp
$ ./a.out
Foo(const char*)
Foo(const Foo&)
Bar(Foo)
~Bar()
~Foo()
=================

As the outputs indicate, two Foo objects are created, while the destructor of
Foo invoked only once.

Here is what g++ -v prints:
=================
Using built-in specs.
COLLECT_GCC=third-party/gcc-7.1.0/glibc-2.17/bin/g++
COLLECT_LTO_WRAPPER=/data/admin/Workspace/third-party/gcc-7.1.0/glibc-2.17/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: third-party/gcc-7.1.0/source/gcc-7.1.0/configure
--prefix=third-party/gcc-7.1.0/glibc-2.17
--with-gmp=third-party/gcc-7.1.0/../gmp-6.1.2/glibc-2.17
--with-mpfr=third-party/gcc-7.1.0/../mpfr-3.1.6/glibc-2.17
--with-mpc=third-party/gcc-7.1.0/../mpc-1.0.3/glibc-2.17 --without-isl
--enable-static-libjava --disable-multiarch --disable-multilib
--enable-languages=c,c++,go --disable-libada --disable-libvtv
--enable-default-pie --disable-nls --disable-lto
Thread model: posix
gcc version 7.1.0 (GCC)
=================
>From gcc-bugs-return-578669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 05:22:29 2017
Return-Path: <gcc-bugs-return-578669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39850 invoked by alias); 16 Oct 2017 05:22:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 39807 invoked by uid 48); 16 Oct 2017 05:22:23 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82472] [8 Regression] ICE in generate_code_for_partition, at tree-loop-distribution.c:1145
Date: Mon, 16 Oct 2017 05: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: 8.0
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: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82472-4-bz4UGo8ion@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82472-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82472-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01729.txt.bz2
Content-length: 146

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82472

--- Comment #4 from Arseny Solokha <asolokha at gmx dot com> ---
Can this PR be closed now?
>From gcc-bugs-return-578670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 05:25:36 2017
Return-Path: <gcc-bugs-return-578670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42025 invoked by alias); 16 Oct 2017 05: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 41957 invoked by uid 48); 16 Oct 2017 05:25:27 -0000
From: "fdumont at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82558] [8 Regression] V8 JavaScript engine segfaults since r249235
Date: Mon, 16 Oct 2017 05: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fdumont at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: fdumont at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82558-4-U7uoq4j2Vf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01730.txt.bz2
Content-length: 389

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82558

François Dumont <fdumont at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |fdumont at gcc dot gnu.org
>From gcc-bugs-return-578671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 05:27:22 2017
Return-Path: <gcc-bugs-return-578671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44337 invoked by alias); 16 Oct 2017 05:27: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 44221 invoked by uid 48); 16 Oct 2017 05:27:18 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/63602] [5 Regression] [graphite] Wrong code w/ -O2 -ftree-loop-nest-optimize
Date: Mon, 16 Oct 2017 05: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: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-63602-4-a2W18K3M9o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01731.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63602

Arseny Solokha <asolokha at gmx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Arseny Solokha <asolokha at gmx dot com> ---
GCC 5 branch has been closed.
>From gcc-bugs-return-578672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 05:27:22 2017
Return-Path: <gcc-bugs-return-578672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44346 invoked by alias); 16 Oct 2017 05:27: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 44283 invoked by uid 48); 16 Oct 2017 05:27:18 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59859] [meta-bug] GRAPHITE issues
Date: Mon, 16 Oct 2017 05:27: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: 4.9.0
X-Bugzilla-Keywords: meta-bug
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: bug_status resolution
Message-ID: <bug-59859-4-r1cWOLyDt5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59859-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59859-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01732.txt.bz2
Content-length: 497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59859
Bug 59859 depends on bug 63602, which changed state.

Bug 63602 Summary: [5 Regression] [graphite] Wrong code w/ -O2 -ftree-loop-nest-optimize
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63602

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 05:44:41 2017
Return-Path: <gcc-bugs-return-578673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63880 invoked by alias); 16 Oct 2017 05:44: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 61130 invoked by uid 55); 16 Oct 2017 05:44:36 -0000
From: "fdumont at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82558] [8 Regression] V8 JavaScript engine segfaults since r249235
Date: Mon, 16 Oct 2017 05: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fdumont at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: fdumont at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82558-4-poYgyIA8x8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01733.txt.bz2
Content-length: 656

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82558

--- Comment #4 from François Dumont <fdumont at gcc dot gnu.org> ---
Author: fdumont
Date: Mon Oct 16 05:44:03 2017
New Revision: 253776

URL: https://gcc.gnu.org/viewcvs?rev=253776&root=gcc&view=rev
Log:
2017-10-16  François Dumont  <fdumont@gcc.gnu.org>

        PR libstdc++/82558
        * include/bits/stl_bvector.h (fill): Add iterator offset check.
        * testsuite/23_containers/vector/bool/82558.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/23_containers/vector/bool/82558.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_bvector.h
>From gcc-bugs-return-578674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 06:05:15 2017
Return-Path: <gcc-bugs-return-578674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33139 invoked by alias); 16 Oct 2017 06: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 33090 invoked by uid 48); 16 Oct 2017 06:05:10 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82558] [8 Regression] V8 JavaScript engine segfaults since r249235
Date: Mon, 16 Oct 2017 06: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: fdumont at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82558-4-E0hFlN57iS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82558-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01734.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82558

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed. Thank you.
>From gcc-bugs-return-578675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 08:07:12 2017
Return-Path: <gcc-bugs-return-578675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110445 invoked by alias); 16 Oct 2017 08:07:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 110150 invoked by uid 48); 16 Oct 2017 08:06:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53574] ICE with -fstack-usage
Date: Mon, 16 Oct 2017 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: 4.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-53574-4-YhWjxU9rzh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53574-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53574-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01735.txt.bz2
Content-length: 207

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
No, it went away likely with r189298.  Let me check in the testcase and close
the PR.
>From gcc-bugs-return-578676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 08:26:16 2017
Return-Path: <gcc-bugs-return-578676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20158 invoked by alias); 16 Oct 2017 08: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 20086 invoked by uid 55); 16 Oct 2017 08:26:03 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61323] 'static' and 'const' attributes cause non-type template argument matching failure
Date: Mon, 16 Oct 2017 08: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: 4.9.0
X-Bugzilla-Keywords:
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-61323-4-IH2TWahqbi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61323-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01736.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61323

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Oct 16 08:25:31 2017
New Revision: 253777

URL: https://gcc.gnu.org/viewcvs?rev=253777&root=gcc&view=rev
Log:
2017-10-16  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/61323
        * g++.dg/cpp0x/constexpr-61323.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-61323.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 08:28:15 2017
Return-Path: <gcc-bugs-return-578677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22855 invoked by alias); 16 Oct 2017 08: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 22806 invoked by uid 48); 16 Oct 2017 08:28:11 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61323] 'static' and 'const' attributes cause non-type template argument matching failure
Date: Mon, 16 Oct 2017 08: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.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 7.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-61323-4-Dc1iBlIkhp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61323-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01737.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61323

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.2

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed for 7.2.0.
>From gcc-bugs-return-578678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 08:28:56 2017
Return-Path: <gcc-bugs-return-578678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24148 invoked by alias); 16 Oct 2017 08: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 24069 invoked by uid 48); 16 Oct 2017 08:28:51 -0000
From: "myon at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82556] [8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Mon, 16 Oct 2017 08: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.0
X-Bugzilla-Keywords: ice-on-valid-code, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: myon at debian 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82556-4-sm6meIzJf8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01738.txt.bz2
Content-length: 751

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

Christoph Berg <myon at debian dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |myon at debian dot org

--- Comment #2 from Christoph Berg <myon at debian dot org> ---
gcc-7 in Debian unstable is also affected:

16923: // gcc version 7.2.1 20171014 (Debian 7.2.0-10) 
16923: // 
16923: // /<<PKGBUILDDIR>>/build/../src/backend/access/transam/xloginsert.c: In
function 'XLogInsert':
16923: //
/<<PKGBUILDDIR>>/build/../src/backend/access/transam/xloginsert.c:468:1:
internal compiler error: in curr_insn_transform, at lra-constraints.c:4320
>From gcc-bugs-return-578679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 08:36:43 2017
Return-Path: <gcc-bugs-return-578679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108009 invoked by alias); 16 Oct 2017 08: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 107944 invoked by uid 55); 16 Oct 2017 08:36:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53574] ICE with -fstack-usage
Date: Mon, 16 Oct 2017 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: 4.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-53574-4-ZIk4vNQRJf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53574-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53574-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01739.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Oct 16 08:36:06 2017
New Revision: 253778

URL: https://gcc.gnu.org/viewcvs?rev=253778&root=gcc&view=rev
Log:
        PR c++/53574
        * g++.dg/other/pr53574.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/pr53574.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 08:46:31 2017
Return-Path: <gcc-bugs-return-578681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38692 invoked by alias); 16 Oct 2017 08: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 38472 invoked by uid 48); 16 Oct 2017 08:46:28 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvNjEzNDFdIElDRSBmb3IgdmFyaWFkaWMgdGVtcGxhdGVzOiB0?= =?UTF-8?B?c3Vic3QgYXQgY3AvcHQuYzoxMTMxMywgdHJlZSBjaGVjazogZXhwZWN0ZWQg?= =?UTF-8?B?Y2xhc3Mg4oCYZXhwcmVzc2lvbuKAmSwgaGF2ZSDigJh0eXBl4oCZIChpbnRl?= =?UTF-8?B?Z2VyX3R5cGUp?Date: Mon, 16 Oct 2017 08: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: 4.8.2
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-61341-4-x2NYPqoPEy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61341-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01741.txt.bz2
Content-length: 512

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61341

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |richard-gccbugzilla@metafoo
                   |                            |.co.uk

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 61351 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 08:46:31 2017
Return-Path: <gcc-bugs-return-578680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38565 invoked by alias); 16 Oct 2017 08: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 38408 invoked by uid 48); 16 Oct 2017 08:46:27 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61351] ICE on valid when deducing template arguments with nested expansions of the same pack
Date: Mon, 16 Oct 2017 08: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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-61351-4-o40GbJhcyi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61351-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61351-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01740.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61351

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Dup.

*** This bug has been marked as a duplicate of bug 61341 ***
>From gcc-bugs-return-578682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 09:06:06 2017
Return-Path: <gcc-bugs-return-578682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96397 invoked by alias); 16 Oct 2017 09: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 95842 invoked by uid 48); 16 Oct 2017 09:05:00 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82472] [8 Regression] ICE in generate_code_for_partition, at tree-loop-distribution.c:1145
Date: Mon, 16 Oct 2017 09:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82472-4-9DmHhuF3h2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82472-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82472-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01742.txt.bz2
Content-length: 493

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82472

amker at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from amker at gcc dot gnu.org ---
(In reply to Arseny Solokha from comment #4)
> Can this PR be closed now?

Yes, I think it's fixed.  Thanks.
>From gcc-bugs-return-578683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 09:11:12 2017
Return-Path: <gcc-bugs-return-578683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106253 invoked by alias); 16 Oct 2017 09:11: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 106187 invoked by uid 48); 16 Oct 2017 09:11:08 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67100] ICE(in type_dependent_expression_p) on macro function + user defined literal
Date: Mon, 16 Oct 2017 09: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: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-67100-4-KP4Ghyacel@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67100-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01743.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67100

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.0

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in 5.1.0.
>From gcc-bugs-return-578684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 09:18:26 2017
Return-Path: <gcc-bugs-return-578684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5035 invoked by alias); 16 Oct 2017 09: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 1131 invoked by uid 48); 16 Oct 2017 09:18:20 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67466] Project segfaulting, working with other compilers
Date: Mon, 16 Oct 2017 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: 5.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-67466-4-Bb43bfaIdq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67466-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01744.txt.bz2
Content-length: 444

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67466

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Closing then.
>From gcc-bugs-return-578685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 09:31:20 2017
Return-Path: <gcc-bugs-return-578685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71680 invoked by alias); 16 Oct 2017 09: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 71528 invoked by uid 48); 16 Oct 2017 09:31:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53574] ICE with -fstack-usage
Date: Mon, 16 Oct 2017 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: 4.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: 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-53574-4-MxrMbs2nSc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53574-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53574-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01745.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

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-578686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 09:33:53 2017
Return-Path: <gcc-bugs-return-578686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74338 invoked by alias); 16 Oct 2017 09:33: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 74287 invoked by uid 48); 16 Oct 2017 09:33:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/62263] Good codegen for bitwise rotate requires code that is technically undefined behavior
Date: Mon, 16 Oct 2017 09:33: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: 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-62263-4-bOp0CSJTdh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62263-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62263-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01746.txt.bz2
Content-length: 668

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62263

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With the recent changes on the trunk, I'm getting optimal generated code at
least on x86_64/i686 for all reasonable and less reasonable patterns I've
tried.  Of course, one can write arbitrarily weirdo patterns and not everything
will be recognized.
>From gcc-bugs-return-578687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 09:34:16 2017
Return-Path: <gcc-bugs-return-578687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75138 invoked by alias); 16 Oct 2017 09: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 75060 invoked by uid 48); 16 Oct 2017 09:34:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Mon, 16 Oct 2017 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: 7.2.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82498-4-v0TlMNG5xy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01747.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:01:41 2017
Return-Path: <gcc-bugs-return-578688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128384 invoked by alias); 16 Oct 2017 10:01: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 128287 invoked by uid 48); 16 Oct 2017 10:01:32 -0000
From: "sylvestre at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82561] New: [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778
Date: Mon, 16 Oct 2017 10: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: sylvestre 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-82561-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01748.txt.bz2
Content-length: 5209

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561

            Bug ID: 82561
           Summary: [8 regression] crash on internal compiler error: in
                    cp_tree_equal, at cp/tree.c:3778
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sylvestre at debian dot org
  Target Milestone: ---

Trying to build Firefox using g++8 (from Debian exp), version 8-20170923-1

 /usr/bin/g++-8 -std=gnu++11 -c
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include
/root/firefox-gcc-last/config/gcc_hidden.h -DDEBUG=1 -std=gnu++11 -o jsatom.o
-c -I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers
-include /root/firefox-gcc-last/config/gcc_hidden.h -DDEBUG=1
-DENABLE_BINARYDATA -DENABLE_SIMD -DENABLE_WASM_THREAD_OPS -DWASM_HUGE_MEMORY
-DJS_CACHEIR_SPEW -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES
'-DDLL_PREFIX="lib"' '-DDLL_SUFFIX=".so"' -DFFI_BUILDING -DMOZ_HAS_MOZGLUE
-I/root/firefox-gcc-last/js/src
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/js/src
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/js/src/ctypes/libffi/include
-I/root/firefox-gcc-last/js/src/ctypes/libffi/src/x86
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/nspr  -fPIC 
-DMOZILLA_CLIENT -include
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/js/src/js-confdefs.h -MD -MP -MF
  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual
-Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings
-Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wduplicated-cond
-Wimplicit-fallthrough -Wno-error=maybe-uninitialized
-Wno-error=deprecated-declarations -Wno-error=array-bounds
-Wno-error=free-nonheap-object -Wformat -Wformat-overflow=2 -Wno-noexcept-type
-fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe  -g -freorder-blocks
-O3 -fno-omit-frame-pointer  -Werror -Wno-shadow -Werror=format  
$OLDPWD/jsatom.cpp 
In file included from
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/HashFunctions.h:50:0,
                 from /root/firefox-gcc-last/js/src/jsatom.h:10,
                 from /root/firefox-gcc-last/js/src/jsatominlines.h:10,
                 from /root/firefox-gcc-last/jsatom.cpp:2:
/root/firefox-gcc-last/js/src/jit/RegisterSets.h: In member function 'void
js::jit::SpecializedRegSet<Accessors,
js::jit::RegisterSet>::add(js::jit::FloatRegister)':
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Assertions.h:417:71:
internal compiler error: in cp_tree_equal, at cp/tree.c:3778
     
static_assert(mozilla::detail::AssertionConditionType<decltype(x)>::isValid, \
                                                                       ^
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Assertions.h:432:5:
note: in expansion of macro 'MOZ_VALIDATE_ASSERT_CONDITION_TYPE'
     MOZ_VALIDATE_ASSERT_CONDITION_TYPE(expr); \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Assertions.h:450:39:
note: in expansion of macro 'MOZ_ASSERT_HELPER1'
 #define MOZ_RELEASE_ASSERT_GLUE(a, b) a b
                                       ^
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Assertions.h:452:3:
note: in expansion of macro 'MOZ_RELEASE_ASSERT_GLUE'
   MOZ_RELEASE_ASSERT_GLUE( \
   ^~~~~~~~~~~~~~~~~~~~~~~
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/MacroArgs.h:16:26:
note: in expansion of macro 'MOZ_CONCAT2'
 #define MOZ_CONCAT(x, y) MOZ_CONCAT2(x, y)
                          ^~~~~~~~~~~
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/MacroArgs.h:73:51:
note: in expansion of macro 'MOZ_CONCAT'
 #define MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE(a, b) a b
                                                   ^
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/MacroArgs.h:75:3:
note: in expansion of macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE'
   MOZ_PASTE_PREFIX_AND_ARG_COUNT_GLUE( \
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Assertions.h:453:5:
note: in expansion of macro 'MOZ_PASTE_PREFIX_AND_ARG_COUNT'
     MOZ_PASTE_PREFIX_AND_ARG_COUNT(MOZ_ASSERT_HELPER, __VA_ARGS__), \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Assertions.h:457:27:
note: in expansion of macro 'MOZ_RELEASE_ASSERT'
 #  define MOZ_ASSERT(...) MOZ_RELEASE_ASSERT(__VA_ARGS__)
                           ^~~~~~~~~~~~~~~~~~
/root/firefox-gcc-last/js/src/jit/RegisterSets.h:930:9: note: in expansion of
macro 'MOZ_ASSERT'
         MOZ_ASSERT(!has(reg));
         ^~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.



Building the preproccessed file doesn't trigger the bug.
I haven't been able to generate a test case yet.
>From gcc-bugs-return-578689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:08:44 2017
Return-Path: <gcc-bugs-return-578689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6555 invoked by alias); 16 Oct 2017 10:08: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 6520 invoked by uid 48); 16 Oct 2017 10:08:39 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778
Date: Mon, 16 Oct 2017 10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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-82561-4-jKguznNgxY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01749.txt.bz2
Content-length: 763

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-16
                 CC|                            |trippels at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Sylvestre Ledru from comment #0)
> Building the preproccessed file doesn't trigger the bug.
> I haven't been able to generate a test case yet.

Could you please attach it nonetheless?
>From gcc-bugs-return-578690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:15:38 2017
Return-Path: <gcc-bugs-return-578690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23833 invoked by alias); 16 Oct 2017 10: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 23702 invoked by uid 48); 16 Oct 2017 10:15:30 -0000
From: "sylvestre at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778
Date: Mon, 16 Oct 2017 10: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sylvestre at debian dot 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: attachments.created
Message-ID: <bug-82561-4-PddbXkoWka@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01750.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561

--- Comment #2 from Sylvestre Ledru <sylvestre at debian dot org> ---
Created attachment 42375
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42375&action=edit
preprocessed file
>From gcc-bugs-return-578691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:22:46 2017
Return-Path: <gcc-bugs-return-578691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36013 invoked by alias); 16 Oct 2017 10: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 35939 invoked by uid 48); 16 Oct 2017 10:22:41 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/71996] -fdump-translation-unit fails to dump string literals of type char16_t/char32_t/wchar_t
Date: Mon, 16 Oct 2017 10: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan 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-71996-4-WqkC0zcseH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71996-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01751.txt.bz2
Content-length: 540

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71996

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |nathan at gcc dot gnu.org
         Resolution|---                         |WONTFIX

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
The raw dump is not an interchange format.
>From gcc-bugs-return-578692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:23:16 2017
Return-Path: <gcc-bugs-return-578692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37378 invoked by alias); 16 Oct 2017 10:23: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 37246 invoked by uid 48); 16 Oct 2017 10:23:11 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58896] Incorrect handling of a private nested type of a template specialization in the main template
Date: Mon, 16 Oct 2017 10: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: 4.9.0
X-Bugzilla-Keywords: accepts-invalid
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-58896-4-63FRRkV4JH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58896-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58896-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01752.txt.bz2
Content-length: 634

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58896

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> ---
I don't think it's relevant that one of the types is a specialization of the
other, the same thing happens with unrelated classes, which is PR 47346.

*** This bug has been marked as a duplicate of bug 47346 ***
>From gcc-bugs-return-578693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:23:18 2017
Return-Path: <gcc-bugs-return-578693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37511 invoked by alias); 16 Oct 2017 10:23: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 37339 invoked by uid 48); 16 Oct 2017 10:23:13 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/47346] access control for nested type is ignored in class template
Date: Mon, 16 Oct 2017 10: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: 4.6.0
X-Bugzilla-Keywords: accepts-invalid
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: dodji at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-47346-4-L2fV6C3sJK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47346-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47346-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01753.txt.bz2
Content-length: 454

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47346

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ville.voutilainen at gmail dot com

--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 58896 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:23:19 2017
Return-Path: <gcc-bugs-return-578694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37665 invoked by alias); 16 Oct 2017 10: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 37377 invoked by uid 48); 16 Oct 2017 10:23:15 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/59002] [meta-bug] Access checking in templates
Date: Mon, 16 Oct 2017 10:23: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: unknown
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-59002-4-ngUadDvB38@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59002-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59002-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01754.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002
Bug 59002 depends on bug 58896, which changed state.

Bug 58896 Summary: Incorrect handling of a private nested type of a template specialization in the main template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58896

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
>From gcc-bugs-return-578695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:31:23 2017
Return-Path: <gcc-bugs-return-578695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92195 invoked by alias); 16 Oct 2017 10: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 92020 invoked by uid 48); 16 Oct 2017 10:31:15 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61471] redeclaration of default-argument in function template declaration not caught
Date: Mon, 16 Oct 2017 10: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.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-61471-4-ZrkzhcR9qY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61471-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01755.txt.bz2
Content-length: 426

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed in GCC 5.1.0:

d.cc:2:31: error: redeclaration of ‘template<class T> void f(int)’ may not have
default arguments [-fpermissive]
 template<class T> void f(int=3); // ill-formed
                               ^

If we don't have one, we should add a testcase for this and close it.
>From gcc-bugs-return-578696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:33:09 2017
Return-Path: <gcc-bugs-return-578696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100157 invoked by alias); 16 Oct 2017 10:33: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 100092 invoked by uid 48); 16 Oct 2017 10:33:06 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61472] added default-argument in later declaration of function template not caught
Date: Mon, 16 Oct 2017 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: 4.9.0
X-Bugzilla-Keywords: accepts-invalid
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-61472-4-f08SVROqCa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61472-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61472-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01756.txt.bz2
Content-length: 579

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Like PR 61471, this is fixed in 5.1.0, probably by the same patch, so I'm
marking it as a dup.

*** This bug has been marked as a duplicate of bug 61471 ***
>From gcc-bugs-return-578697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:33:10 2017
Return-Path: <gcc-bugs-return-578697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100293 invoked by alias); 16 Oct 2017 10:33: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 100109 invoked by uid 48); 16 Oct 2017 10:33:06 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61471] redeclaration of default-argument in function template declaration not caught
Date: Mon, 16 Oct 2017 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: 4.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:
Message-ID: <bug-61471-4-qMvwACBuar@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61471-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01757.txt.bz2
Content-length: 182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 61472 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:39:37 2017
Return-Path: <gcc-bugs-return-578699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109270 invoked by alias); 16 Oct 2017 10: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 109144 invoked by uid 48); 16 Oct 2017 10:39:33 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61471] redeclaration of default-argument in function template declaration not caught
Date: Mon, 16 Oct 2017 10: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: 4.9.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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-61471-4-9tJgwGO3Pu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61471-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01759.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Dup.

*** This bug has been marked as a duplicate of bug 15339 ***
>From gcc-bugs-return-578700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:39:37 2017
Return-Path: <gcc-bugs-return-578700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109382 invoked by alias); 16 Oct 2017 10: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 109195 invoked by uid 48); 16 Oct 2017 10:39:34 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/15339] [DR217] Adding default arguments to function templates in redeclarations should be forbidden
Date: Mon, 16 Oct 2017 10: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: 3.3.3
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
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: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-15339-4-8Noxxx1TAk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-15339-4@http.gcc.gnu.org/bugzilla/>
References: <bug-15339-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01760.txt.bz2
Content-length: 461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15339

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |filip.roseen at gmail dot com

--- Comment #19 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 61471 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:39:37 2017
Return-Path: <gcc-bugs-return-578698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109262 invoked by alias); 16 Oct 2017 10: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 109127 invoked by uid 48); 16 Oct 2017 10:39:32 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778
Date: Mon, 16 Oct 2017 10: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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-82561-4-oN5kTvk81y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01758.txt.bz2
Content-length: 210

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
OK, thanks. Can you please also attach the --save-temps -fdirectives-only file?
>From gcc-bugs-return-578701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:43:32 2017
Return-Path: <gcc-bugs-return-578701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46790 invoked by alias); 16 Oct 2017 10: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 46270 invoked by uid 48); 16 Oct 2017 10:43:27 -0000
From: "sylvestre at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778
Date: Mon, 16 Oct 2017 10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sylvestre at debian dot 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: attachments.created
Message-ID: <bug-82561-4-53946J7p94@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01761.txt.bz2
Content-length: 231

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561

--- Comment #4 from Sylvestre Ledru <sylvestre at debian dot org> ---
Created attachment 42376
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42376&action=edit
the .s
>From gcc-bugs-return-578702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:45:39 2017
Return-Path: <gcc-bugs-return-578702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50568 invoked by alias); 16 Oct 2017 10: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 50381 invoked by uid 48); 16 Oct 2017 10:45:24 -0000
From: "sylvestre at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778
Date: Mon, 16 Oct 2017 10: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: sylvestre at debian dot 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: attachments.created
Message-ID: <bug-82561-4-eLxXPUZyDD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01762.txt.bz2
Content-length: 232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561

--- Comment #5 from Sylvestre Ledru <sylvestre at debian dot org> ---
Created attachment 42377
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42377&action=edit
the .ii
>From gcc-bugs-return-578703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:54:41 2017
Return-Path: <gcc-bugs-return-578703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42353 invoked by alias); 16 Oct 2017 10:54: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 36772 invoked by uid 48); 16 Oct 2017 10:54:37 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778
Date: Mon, 16 Oct 2017 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: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
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-82561-4-yrqC5JO1bd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01763.txt.bz2
Content-length: 485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Thanks. Unfortunately I cannot reproduce the issue.
>From gcc-bugs-return-578704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 10:56:34 2017
Return-Path: <gcc-bugs-return-578704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104930 invoked by alias); 16 Oct 2017 10:56: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 104521 invoked by uid 48); 16 Oct 2017 10:56:29 -0000
From: "sylvestre at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778
Date: Mon, 16 Oct 2017 10: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: normal
X-Bugzilla-Who: sylvestre 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: cc
Message-ID: <bug-82561-4-wqtyBc13Gw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01764.txt.bz2
Content-length: 549

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561

Sylvestre Ledru <sylvestre at debian dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at debian dot org

--- Comment #7 from Sylvestre Ledru <sylvestre at debian dot org> ---
I asked Doko to upload a new version of gcc 8 into Debian so that I can test
again (at least about a month old). If still occurring, I will try to get a
test case.
>From gcc-bugs-return-578705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 11:06:16 2017
Return-Path: <gcc-bugs-return-578705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59174 invoked by alias); 16 Oct 2017 11: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 58984 invoked by uid 48); 16 Oct 2017 11:06:11 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
Date: Mon, 16 Oct 2017 11: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.1.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work keywords cf_reconfirmed_on see_also everconfirmed short_desc target_milestone cf_known_to_fail
Message-ID: <bug-82560-4-lw7x3NWtNw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01765.txt.bz2
Content-length: 1768

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |6.4.0
           Keywords|                            |wrong-code
   Last reconfirmed|                            |2017-10-16
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=49372
     Ever confirmed|0                           |1
            Summary|Temporary object created as |[7/8 Regression] Temporary
                   |a default argument not      |object created as a default
                   |destructed                  |argument not destructed
   Target Milestone|---                         |7.3
      Known to fail|                            |7.2.0, 8.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Confirmed:

extern "C" int printf(const char*, ...);

struct Foo {
  Foo(const char *) {
    printf("%p\tFoo(const char*)\n", this);
  }
  Foo(const Foo&) {
    printf("%p\tFoo(const Foo&)\n", this);
  }
  ~Foo() {
    printf("%p\t~Foo()\n", this);
  }
};

struct Bar {
  Bar(Foo foo = "implicitly casted to Foo") : foo_(foo) {
    printf("%p\tBar(Foo)\n", this);
  }
  ~Bar() {
    printf("%p\t~Bar()\n", this);
  }

  Foo foo_;
};

template<typename T>
struct unique_ptr
{
  unique_ptr(T* p) : p(p) { }
  ~unique_ptr() { delete p; }
  T* p;
};

int main()
{
  {
    printf("OK:\n");
    unique_ptr<Bar> p1(new Bar);
  }
  {
    printf("Wrong:\n");
    unique_ptr<Bar> p2(new Bar());
  }
}
>From gcc-bugs-return-578706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 11:10:54 2017
Return-Path: <gcc-bugs-return-578706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65892 invoked by alias); 16 Oct 2017 11: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 65849 invoked by uid 48); 16 Oct 2017 11:10:49 -0000
From: "andi at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82562] New: Incorrect warning: use copy-assignment or copy-initialization instead when copying build objects.
Date: Mon, 16 Oct 2017 11: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andi at mozilla 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-82562-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01766.txt.bz2
Content-length: 4061

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82562

            Bug ID: 82562
           Summary: Incorrect warning: use copy-assignment or
                    copy-initialization instead when copying build
                    objects.
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andi at mozilla dot com
  Target Milestone: ---

Trying to build firefox with gcc8 I get this error, when building with treat
-Werror:

/usr/bin/g++-8 -std=gnu++11 -o RegExp.o -c
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include
/root/firefox-gcc-last/config/gcc_hidden.h -DDEBUG=1 -DENABLE_BINARYDATA
-DENABLE_SIMD -DENABLE_WASM_THREAD_OPS -DWASM_HUGE_MEMORY -DJS_CACHEIR_SPEW
-DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES
'-DDLL_PREFIX="lib"' '-DDLL_SUFFIX=".so"' -DFFI_BUILDING -DMOZ_HAS_MOZGLUE
-I/root/firefox-gcc-last/js/src
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/js/src
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/js/src/ctypes/libffi/include
-I/root/firefox-gcc-last/js/src/ctypes/libffi/src/x86
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/nspr  -fPIC 
-DMOZILLA_CLIENT -include
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/js/src/js-confdefs.h -MD -MP -MF
.deps/RegExp.o.pp  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers
-Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits
-Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat
-Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough
-Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations
-Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat
-Wformat-overflow=2 -Wno-noexcept-type -fno-rtti -fno-exceptions
-fno-math-errno -pthread -pipe  -g -freorder-blocks -O3 -fno-omit-frame-pointer
 -Werror -Wno-shadow -Werror=format -fno-strict-aliasing  
/root/firefox-gcc-last/js/src/builtin/RegExp.cpp
In file included from /root/firefox-gcc-last/js/src/builtin/RegExp.cpp:24:0:
/root/firefox-gcc-last/js/src/vm/NativeObject-inl.h: In member function 'void
js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)':
/root/firefox-gcc-last/js/src/vm/NativeObject-inl.h:155:67: error: 'void*
memcpy(void*, const void*, size_t)' writing to an object of non-trivially
copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization
instead [-Werror=class-memaccess]
         memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot));
                                                                   ^
In file included from /root/firefox-gcc-last/js/src/jsatom.h:15:0,
                 from /root/firefox-gcc-last/js/src/vm/Runtime.h:22,
                 from /root/firefox-gcc-last/js/src/jscntxt.h:21,
                 from /root/firefox-gcc-last/js/src/vm/RegExpObject.h:15,
                 from /root/firefox-gcc-last/js/src/builtin/RegExp.h:10,
                 from /root/firefox-gcc-last/js/src/builtin/RegExp.cpp:7:
/root/firefox-gcc-last/js/src/gc/Barrier.h:655:7: note: 'class js::HeapSlot'
declared here
 class HeapSlot : public WriteBarrieredBase<Value>
       ^~~~~~~~
In file included from /root/firefox-gcc-last/js/src/builtin/RegExp.cpp:24:0:
/root/firefox-gcc-last/js/src/vm/NativeObject-inl.h: In member function 'void
js::NativeObject::initDenseElements(const JS::Value*, uint32_t)':
/root/firefox-gcc-last/js/src/vm/NativeObject-inl.h:184:52: error: 'void*
memcpy(void*, const void*, size_t)' writing to an object of non-trivially
copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization
instead [-Werror=class-memaccess]
     memcpy(elements_, src, count * sizeof(HeapSlot));

I don't think that the warning is valid since what we try to do is copy in
eleements_ the number of 'count' elements of type HeadSlop from src.
>From gcc-bugs-return-578707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 11:15:42 2017
Return-Path: <gcc-bugs-return-578707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110736 invoked by alias); 16 Oct 2017 11: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 97257 invoked by uid 48); 16 Oct 2017 11:15:35 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
Date: Mon, 16 Oct 2017 11: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: 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82560-4-sc188iuY71@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01767.txt.bz2
Content-length: 407

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Further reduced:

extern "C" int printf(const char*, ...);

struct Foo {
  Foo(const char *) {
    printf("%p\tFoo(const char*)\n", this);
  }
  ~Foo() {
    printf("%p\t~Foo()\n", this);
  }
};

struct Bar {
  Bar(Foo foo = "") { }
  ~Bar() { }
};

int main()
{
  delete new Bar();
}
>From gcc-bugs-return-578708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 11:21:28 2017
Return-Path: <gcc-bugs-return-578708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104396 invoked by alias); 16 Oct 2017 11: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 104328 invoked by uid 48); 16 Oct 2017 11:21:24 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
Date: Mon, 16 Oct 2017 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: 7.1.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82560-4-lsIcC8bOyJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01768.txt.bz2
Content-length: 415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu.org

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Seems to have started with r244882
>From gcc-bugs-return-578709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 11:25:36 2017
Return-Path: <gcc-bugs-return-578709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1607 invoked by alias); 16 Oct 2017 11:25: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 1527 invoked by uid 48); 16 Oct 2017 11:25:32 -0000
From: "t.e.knigge at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/57925] discrete_distribution can be improved to O(1) per sampling
Date: Mon, 16 Oct 2017 11: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: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: t.e.knigge 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-57925-4-Y0naykZad0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57925-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57925-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01769.txt.bz2
Content-length: 469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57925

--- Comment #10 from Timon Knigge <t.e.knigge at gmail dot com> ---
(In reply to Jonathan Wakely from comment #9)
> Yes it's still open, so a fix would be welcome. Please see
> http://gcc.gnu.org/contribute.html if you want to contribute a fix for it.

W.r.t. to the 'legal' paragraph: I work at Google which would assert ownership
over the code by default. Is the CLA the FSF already has with them sufficient?
>From gcc-bugs-return-578710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 11:26:56 2017
Return-Path: <gcc-bugs-return-578710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2850 invoked by alias); 16 Oct 2017 11: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 2811 invoked by uid 48); 16 Oct 2017 11:26:51 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82562] Incorrect warning: use copy-assignment or copy-initialization instead when copying build objects.
Date: Mon, 16 Oct 2017 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: 8.0
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-82562-4-PtvaVzyT7I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82562-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01770.txt.bz2
Content-length: 1416

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82562

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-16
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andi from comment #0)
> In file included from /root/firefox-gcc-last/js/src/builtin/RegExp.cpp:24:0:
> /root/firefox-gcc-last/js/src/vm/NativeObject-inl.h: In member function
> 'void js::NativeObject::initDenseElements(const JS::Value*, uint32_t)':
> /root/firefox-gcc-last/js/src/vm/NativeObject-inl.h:184:52: error: 'void*
> memcpy(void*, const void*, size_t)' writing to an object of non-trivially
> copyable type 'class js::HeapSlot'; use copy-assignment or
> copy-initialization instead [-Werror=class-memaccess]
>      memcpy(elements_, src, count * sizeof(HeapSlot));
> 
> I don't think that the warning is valid since what we try to do is copy in
> eleements_ the number of 'count' elements of type HeadSlop from src.

Why would that mean it's not valid? Is the class trivially-copyable or not? If
it isn't, then using memcpy is undefined.

Please read https://gcc.gnu.org/bugs/ and provide the preprocessed code.
>From gcc-bugs-return-578711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 11:35:02 2017
Return-Path: <gcc-bugs-return-578711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29841 invoked by alias); 16 Oct 2017 11:35: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 29789 invoked by uid 48); 16 Oct 2017 11:34:58 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82562] Incorrect warning: use copy-assignment or copy-initialization instead when copying build objects.
Date: Mon, 16 Oct 2017 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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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-82562-4-p3o2T0PX6m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82562-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01771.txt.bz2
Content-length: 676

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82562

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
https://github.com/ricardoquesada/Spidermonkey/blob/4a75ea2543408bd1b2c515aa95901523eeef7858/js/src/gc/Barrier.h#L940

Class HeapSlot is not trivially-copyable.
>From gcc-bugs-return-578712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 12:14:54 2017
Return-Path: <gcc-bugs-return-578712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111036 invoked by alias); 16 Oct 2017 12: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 110937 invoked by uid 48); 16 Oct 2017 12:14:50 -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: Mon, 16 Oct 2017 12:14: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_file_loc
Message-ID: <bug-82501-4-OQA1RsdUfy@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: 2017-10/txt/msg01772.txt.bz2
Content-length: 498

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://github.com/google/s
                   |                            |anitizers/issues/869

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
I've just done upstream bug for this.
>From gcc-bugs-return-578713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 12:33:48 2017
Return-Path: <gcc-bugs-return-578713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69044 invoked by alias); 16 Oct 2017 12:33: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 68995 invoked by uid 48); 16 Oct 2017 12:33:43 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82545] [7/8 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Mon, 16 Oct 2017 12: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: 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82545-4-7turPxgbPa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01773.txt.bz2
Content-length: 978

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
What we do:

a ()
{
  int b;
  int b.0_1;

  <bb 2> [100.00%] [count: INV]:
  __builtin_setjmp_setup (0B, &<L0>);
  goto <bb 8>; [99.96%] [count: INV]

  <bb 3> [0.12%] [count: INV]:
<L0>:
  __builtin_setjmp_receiver (&<L0>);
  goto <bb 5>; [100.00%] [count: INV]

  <bb 4> [0.12%] [count: INV]:
  # b_12(ab) = PHI <b_14(D)(ab)(2), b_13(ab)(5), b_15(ab)(6)>
  __builtin___asan_handle_no_return ();
  ABNORMAL_DISPATCHER (0);

  <bb 8> [99.96%] [count: INV]:

  <bb 5> [99.96%] [count: INV]:
  # b_13(ab) = PHI <b_12(ab)(3), b_14(D)(ab)(8)>
  b.0_1 = b_13(ab);
  c (b.0_1);

  <bb 6> [99.92%] [count: INV]:
  b_15(ab) = ASAN_POISON ();
  d ();

  <bb 7> [99.88%] [count: INV]:
  return;

}

We expand ASAN_POISON and we propagate ASAN report function on all edges. In
this case <bb 7> -> <bb 4> is an abnormal edge, that we can't split.
Thoughts?
>From gcc-bugs-return-578714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 12:39:10 2017
Return-Path: <gcc-bugs-return-578714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89553 invoked by alias); 16 Oct 2017 12: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 89501 invoked by uid 48); 16 Oct 2017 12:39:06 -0000
From: "sam at segfault dot party" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61414] enum class bitfield size-checking failure
Date: Mon, 16 Oct 2017 12: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sam at segfault dot party
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-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-61414-4-QDPqLXOzqW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61414-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61414-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01774.txt.bz2
Content-length: 727

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414

Sam van Kampen <sam at segfault dot party> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at segfault dot party

--- Comment #13 from Sam van Kampen <sam at segfault dot party> ---
I've sent a patch that adds the warning flag -Wbitfield-enum-conversion to
gcc-patches, and the gcc mailing list now also has a thread on the bug, and I
thought I might share them on the bug tracker:

The patch:
https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00989.html

The thread on the bug:
https://gcc.gnu.org/ml/gcc/2017-10/msg00121.html
>From gcc-bugs-return-578715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 13:03:05 2017
Return-Path: <gcc-bugs-return-578715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85760 invoked by alias); 16 Oct 2017 13: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 84816 invoked by uid 48); 16 Oct 2017 13:02:55 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82527] Branch probabilities does not match on optimized switch cases
Date: Mon, 16 Oct 2017 13:03: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: 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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82527-4-fgBzQ2TzfB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82527-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82527-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01775.txt.bz2
Content-length: 3924

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82527

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks for the issue. Note that order of branches which go from switch
statement to corresponding case labels is not ordered.
With new GCC 8.1, we'll come up with '-w' option. Then you'll see the
connections (edges):

$ rm *.gcda && gcc  pr82527.c --coverage && ./a.out && gcov -abw pr82527.c &&
cat pr82527.c.gcov
0dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddFile
'pr82527.c'
Lines executed:83.33% of 12
Branches executed:100.00% of 5
Taken at least once:80.00% of 5
No calls
Creating 'pr82527.c.gcov'

        -:    0:Source:pr82527.c
        -:    0:Graph:pr82527.gcno
        -:    0:Data:pr82527.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        -:    1:#include <stdio.h>
        -:    2:int
function main called 1 returned 100% blocks executed 91%
        1:    3:main ()
        -:    4:{
      101:    5:  for (int i = 0; i < 100; i++)
        1:    5-block  0 (BB 2)
      100:    5-block  1 (BB 9)
      101:    5-block  2 (BB 10)
branch  0 taken 99% (BB 3)
branch  1 taken 1% (fallthrough) (BB 11)
        -:    6:    {
      100:    7:      switch (i)
      100:    7-block  0 (BB 3)
branch  0 taken 1% (BB 4)
branch  1 taken 0% (BB 6)
branch  2 taken 99% (BB 7)
        -:    8:        {
        1:    9:        case 0:
        1:   10:          printf ("0");
        1:   10-block  0 (BB 4)
call    0 returned 100%
        1:   11:          break;
    #####:   12:        case 9999:
    #####:   13:          break;
    $$$$$:   13-block  0 (BB 6)
       99:   14:        default:
       99:   15:          printf ("d");
       99:   15-block  0 (BB 7)
call    0 returned 100%
       99:   16:          break;
        -:   17:        }
        -:   18:    }
        1:   19:  return 0;
        1:   19-block  0 (BB 11)
        -:   20:}

$ rm *.gcda && gcc -O3 pr82527.c --coverage && ./a.out && gcov -abw pr82527.c
&& cat pr82527.c.gcov
0dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddFile
'pr82527.c'
Lines executed:100.00% of 9
Branches executed:100.00% of 4
Taken at least once:75.00% of 4
No calls
Creating 'pr82527.c.gcov'

        -:    0:Source:pr82527.c
        -:    0:Graph:pr82527.gcno
        -:    0:Data:pr82527.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        -:    1:#include <stdio.h>
        -:    2:int
function main called 1 returned 100% blocks executed 100%
        1:    3:main ()
        -:    4:{
      101:    5:  for (int i = 0; i < 100; i++)
        1:    5-block  0 (BB 2)
      100:    5-block  1 (BB 8)
      101:    5-block  2 (BB 9)
branch  0 taken 99% (BB 3)
branch  1 taken 1% (fallthrough) (BB 10)
        -:    6:    {
      100:    7:      switch (i)
      100:    7-block  0 (BB 3)
branch  0 taken 1% (BB 4)
branch  1 taken 99% (BB 6)
branch  2 taken 0% (BB 8)
        -:    8:        {
        1:    9:        case 0:
        1:   10:          printf ("0");
        1:   10-block  0 (BB 4)
call    0 returned 100%
        1:   11:          break;
        -:   12:        case 9999:
        -:   13:          break;
       99:   14:        default:
       99:   15:          printf ("d");
       99:   15-block  0 (BB 6)
call    0 returned 100%
       99:   16:          break;
        -:   17:        }
        -:   18:    }
        -:   19:  return 0;
        -:   20:}

And you're right w/ -O3 it goes to a different BB and order is changed.
Hope it will help you? I'm closing it as invalid.
>From gcc-bugs-return-578716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 13:26:56 2017
Return-Path: <gcc-bugs-return-578716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12119 invoked by alias); 16 Oct 2017 13: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 953 invoked by uid 55); 16 Oct 2017 13:26:52 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82442] vect/pr31699.c fails on arm
Date: Mon, 16 Oct 2017 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: 8.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82442-4-IxzihczzdJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82442-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82442-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01776.txt.bz2
Content-length: 658

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82442

--- Comment #1 from Wilco <wilco at gcc dot gnu.org> ---
Author: wilco
Date: Mon Oct 16 13:26:20 2017
New Revision: 253786

URL: https://gcc.gnu.org/viewcvs?rev=253786&root=gcc&view=rev
Log:
Fix PR82442

Recently the gcc.dg/vect/pr31699.c was modified to check for
vect_float effective target instead for vect_double.  As a 
result it now fails on armhf.  Fix by avoiding double.
Tested on armhf, aarch64 and x64.

    gcc/testsuite/
        PR target/82442
        * gcc.dg/vect/pr31699.c: Fix testcase.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/vect/pr31699.c
>From gcc-bugs-return-578717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 13:33:17 2017
Return-Path: <gcc-bugs-return-578717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38593 invoked by alias); 16 Oct 2017 13: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 38527 invoked by uid 48); 16 Oct 2017 13:33:13 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82563] New: [8 Regression] [graphite] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.c:709
Date: Mon, 16 Oct 2017 13: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: 8.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-82563-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01777.txt.bz2
Content-length: 1319

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82563

            Bug ID: 82563
           Summary: [8 Regression] [graphite] ICE in
                    check_loop_closed_ssa_def, at
                    tree-ssa-loop-manip.c:709
           Product: gcc
           Version: 8.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-8.0.0-alpha20171015 (r253772) ICEs when compiling the following snippet w/
-O3 (or -Ofast) -floop-nest-optimize (or -floop-parallelize-all):

int tj, cw, xf;

void
zp (int *ei)
{
  for (;;)
    {
      int hd = 0;

      if (cw != 0 && xf != 0)
        {
          for (hd = 0; hd < 3; ++hd)
            cw = (tj != 0) ? 0 : *ei;
          for (;;)
            {
            }
        }

      while (tj != 0)
        tj = &hd;
    }
}

% gcc-8.0.0-alpha20171015 -O3 -floop-nest-optimize -w -c dyx0j2oa.c
during GIMPLE pass: graphite
dyx0j2oa.c: In function 'zp':
dyx0j2oa.c:4:1: internal compiler error: in check_loop_closed_ssa_def, at
tree-ssa-loop-manip.c:709
 zp (int *ei)
 ^~

check_loop_closed_ssa_def() has been introduced in r253161.
>From gcc-bugs-return-578718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 13:55:32 2017
Return-Path: <gcc-bugs-return-578718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110027 invoked by alias); 16 Oct 2017 13:55: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 109221 invoked by uid 48); 16 Oct 2017 13:55:28 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80567] bogus fixit hint for undeclared memset: else
Date: Mon, 16 Oct 2017 13: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.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: cc
Message-ID: <bug-80567-4-axW51M8zPp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80567-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01778.txt.bz2
Content-length: 797

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80567

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> ---
Seen also with:

void test ()
{
  FILE *f;
}

for which g++ prints the nonsensical:

t.cc: In function ‘void test()’:
t.cc:3:3: error: ‘FILE’ was not declared in this scope
   FILE *f;
   ^~~~
t.cc:3:9: error: ‘f’ was not declared in this scope
   FILE *f;
         ^
t.cc:3:9: note: suggested alternative: ‘if’
   FILE *f;
         ^
         if
>From gcc-bugs-return-578719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 14:17:59 2017
Return-Path: <gcc-bugs-return-578719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44671 invoked by alias); 16 Oct 2017 14: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 43199 invoked by uid 48); 16 Oct 2017 14:17:54 -0000
From: "lloyd at randombit dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
Date: Mon, 16 Oct 2017 14: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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lloyd at randombit dot net
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-82498-4-THTr5UJv1j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01779.txt.bz2
Content-length: 130

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498

--- Comment #17 from Jack Lloyd <lloyd at randombit dot net> ---
Thank you!
>From gcc-bugs-return-578720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 14:21:54 2017
Return-Path: <gcc-bugs-return-578720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1068 invoked by alias); 16 Oct 2017 14: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 129634 invoked by uid 55); 16 Oct 2017 14:21:49 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64931] ICE on function with deduced return type and input is instantiated template class
Date: Mon, 16 Oct 2017 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: 4.9.2
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64931-4-1OVJmsaSHX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64931-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64931-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01780.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64931

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Oct 16 14:21:17 2017
New Revision: 253788

URL: https://gcc.gnu.org/viewcvs?rev=253788&root=gcc&view=rev
Log:
2017-10-16  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/64931
        * g++.dg/cpp1y/auto-fn43.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn43.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 14:22:32 2017
Return-Path: <gcc-bugs-return-578721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33733 invoked by alias); 16 Oct 2017 14: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 28512 invoked by uid 48); 16 Oct 2017 14:22:28 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64931] ICE on function with deduced return type and input is instantiated template class
Date: Mon, 16 Oct 2017 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: 4.9.2
X-Bugzilla-Keywords: ice-on-valid-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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-64931-4-qMu60B5pTc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64931-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64931-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01781.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64931

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.2

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in 6.2.0.
>From gcc-bugs-return-578722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 14:39:48 2017
Return-Path: <gcc-bugs-return-578722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111386 invoked by alias); 16 Oct 2017 14:39: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 105235 invoked by uid 48); 16 Oct 2017 14:39:44 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82564] New: ICE at -O1 and above: in assign_stack_temp_for_type, at function.c:783
Date: Mon, 16 Oct 2017 14: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: 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-82564-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01782.txt.bz2
Content-length: 2707

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82564

            Bug ID: 82564
           Summary: ICE at -O1 and above: in assign_stack_temp_for_type,
                    at function.c:783
           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 affect at least as early as 4.8.x. 


$ 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/8.0.0/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 8.0.0 20171016 (experimental) [trunk revision 253785] (GCC) 
$ 
$ gcctk -O0 small.c
$      
$ gcctk -O1 small.c
during RTL pass: expand
small.c: In function ‘main’:
small.c:17:5: internal compiler error: in assign_stack_temp_for_type, at
function.c:783
   a = f ();
   ~~^~~~~~
0x973b2b assign_stack_temp_for_type(machine_mode, long, tree_node*)
        ../../gcc-source-trunk/gcc/function.c:783
0x973be3 assign_temp(tree_node*, int, int)
        ../../gcc-source-trunk/gcc/function.c:999
0x7d4914 expand_call(tree_node*, rtx_def*, int)
        ../../gcc-source-trunk/gcc/calls.c:3135
0x907710 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc-source-trunk/gcc/expr.c:10869
0x91a63d expand_normal
        ../../gcc-source-trunk/gcc/expr.h:282
0x91a63d store_field
        ../../gcc-source-trunk/gcc/expr.c:6843
0x916631 expand_assignment(tree_node*, tree_node*, bool)
        ../../gcc-source-trunk/gcc/expr.c:5170
0x7e95aa expand_call_stmt
        ../../gcc-source-trunk/gcc/cfgexpand.c:2664
0x7e95aa expand_gimple_stmt_1
        ../../gcc-source-trunk/gcc/cfgexpand.c:3585
0x7e95aa expand_gimple_stmt
        ../../gcc-source-trunk/gcc/cfgexpand.c:3751
0x7eb442 expand_gimple_basic_block
        ../../gcc-source-trunk/gcc/cfgexpand.c:5754
0x7f0e46 execute
        ../../gcc-source-trunk/gcc/cfgexpand.c:6361
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.
$ 


------------------------------------------


int main ()
{
  int t = 8;

  typedef struct
  {
    char v[t];
  } B; 

  B a, b;

  B __attribute__ ((noinline)) f ()
  {
    return b; 
  }

  a = f ();

  return 0;
}
>From gcc-bugs-return-578723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 15:01:33 2017
Return-Path: <gcc-bugs-return-578723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110062 invoked by alias); 16 Oct 2017 15: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 108078 invoked by uid 48); 16 Oct 2017 15:01:29 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61414] enum class bitfield size-checking needs a separate warning flag controlling it
Date: Mon, 16 Oct 2017 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: unknown
X-Bugzilla-Keywords: diagnostic, patch
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 see_also blocked short_desc
Message-ID: <bug-61414-4-4XFQuKj9Z6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61414-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61414-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01783.txt.bz2
Content-length: 1792

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414

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=39170
             Blocks|                            |44209
            Summary|enum class bitfield         |enum class bitfield
                   |size-checking failure       |size-checking needs a
                   |                            |separate warning flag
                   |                            |controlling it

--- Comment #14 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #7)
> At the very least there should be a -Wxxx switch controlling this option so
> it can be disabled.

Agreed, that falls under bug 44209; retitling this one accordingly.

(In reply to Sam van Kampen from comment #13)
> I've sent a patch that adds the warning flag -Wbitfield-enum-conversion to
> gcc-patches, and the gcc mailing list now also has a thread on the bug, and
> I thought I might share them on the bug tracker:
> 
> The patch:
> https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00989.html
> 
> The thread on the bug:
> https://gcc.gnu.org/ml/gcc/2017-10/msg00121.html

The name chosen for the flag makes it sound kinda related to bug 39170 but I
guess the "enum" in the middle is enough of a differentiator.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
[Bug 44209] [meta-bug] Some warnings are not linked to diagnostics options
>From gcc-bugs-return-578724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 15:20:55 2017
Return-Path: <gcc-bugs-return-578724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31437 invoked by alias); 16 Oct 2017 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 25875 invoked by uid 48); 16 Oct 2017 15:20:51 -0000
From: "haaawk at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82565] New: Concept and lambda return type deduction cause compilation to crash with "mmap: Cannot allocate memory"
Date: Mon, 16 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: haaawk 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-82565-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01784.txt.bz2
Content-length: 3201

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82565

            Bug ID: 82565
           Summary: Concept and lambda return type deduction cause
                    compilation to crash with "mmap: Cannot allocate
                    memory"
           Product: gcc
           Version: 7.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: haaawk at gmail dot com
  Target Milestone: ---

Created attachment 42378
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42378&action=edit
file that crashes compilation "g++ -fconcepts crash.cpp"

The file I attached crashes the following compilation:

g++ -fconcepts crash.cpp

both on GCC 7.1.1 and GCC 7.2.

GCC 7.1.1 gives the following result:

crash.cpp: In instantiation of ‘run_test()::<lambda(auto:1&)> [with auto:1 =
const std::__cxx11::basic_string<char>]’:
crash.cpp:9:12:   required from here
crash.cpp:49:58: internal compiler error: Segmentation fault
     return object.visit([] (auto& x) { return x.empty(); });

GCC 7.2 gives the following result:

crash.cpp: In instantiation of 'run_test()::<lambda(auto:1&)> [with auto:1 =
const std::__cxx11::basic_string<char>]':
crash.cpp:9:12:   required from here
crash.cpp:49:58: internal compiler error: Segmentation fault
     return object.visit([] (auto& x) { return x.empty(); });
                                                          ^
mmap: Cannot allocate memory

The file compiles correctly after commenting out line 31 which applies Concept
to visit method:

requires Concept<Visitor,
decltype(std::declval<Visitor>()(std::declval<std::string&>()))>()

or after explicit declaration of the return type to "-> bool" on lambda in line
49:

return object.visit([] (auto& x) -> bool { return x.empty(); });

Below I'm pasting the content of the crash.cpp file:

#include<vector>
#include<string>
#include<memory>
#include<iostream>

template<typename T, typename ReturnType>
concept bool Concept() {
    return requires(T t, const std::string& s, const std::vector<int>& v) {
        { t(s) } -> ReturnType;
        { t(v) } -> ReturnType;
    };
}

struct test {
    enum class kind {
        string, vector
    };
    struct data {
        data() { }
        ~data() { }

        union {
            std::string _str;
            std::vector<int> _v;
        };
    };
    kind _kind;
    std::unique_ptr<data> _data;

    template<typename Visitor>
        requires Concept<Visitor,
decltype(std::declval<Visitor>()(std::declval<std::string&>()))>()
    decltype(auto) visit(Visitor&& visitor) const {
        switch (_kind) {
        case kind::string:
            return visitor(_data->_str);
        case kind::vector:
            return visitor(_data->_v);
        }
        abort();
    }

};

bool run_test() {
    test object;
    object._kind = test::kind::string;
    object._data = std::make_unique<test::data>();
    new (&object._data->_str) std::string("hello test");
    return object.visit([] (auto& x) { return x.empty(); });
}

int main() {
    std::cout << run_test() << std::endl;
    return 0;
}
>From gcc-bugs-return-578725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 16:13:20 2017
Return-Path: <gcc-bugs-return-578725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37342 invoked by alias); 16 Oct 2017 16:13: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 22522 invoked by uid 48); 16 Oct 2017 16:13:12 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82564] ICE at -O1 and above: in assign_stack_temp_for_type, at function.c:783
Date: Mon, 16 Oct 2017 16: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.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:
Message-ID: <bug-82564-4-m07EETEE7P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82564-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82564-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01785.txt.bz2
Content-length: 173

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82564

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There might be a dup of this bug already filed too.
>From gcc-bugs-return-578726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 16:16:51 2017
Return-Path: <gcc-bugs-return-578726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51117 invoked by alias); 16 Oct 2017 16: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 51049 invoked by uid 48); 16 Oct 2017 16:16:47 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82564] ICE at -O1 and above: in assign_stack_temp_for_type, at function.c:783
Date: Mon, 16 Oct 2017 16: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.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:
Message-ID: <bug-82564-4-TCiEZqViAl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82564-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82564-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01786.txt.bz2
Content-length: 141

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82564

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Related to PR 8081.
>From gcc-bugs-return-578727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 16:29:15 2017
Return-Path: <gcc-bugs-return-578727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130621 invoked by alias); 16 Oct 2017 16:29: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 130563 invoked by uid 48); 16 Oct 2017 16:29:11 -0000
From: "peter.gottschling at simunova dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82566] New: Internal compiler error in type deduction (with C++11)
Date: Mon, 16 Oct 2017 16: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: 4.9.4
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peter.gottschling at simunova 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-82566-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01787.txt.bz2
Content-length: 566

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82566

            Bug ID: 82566
           Summary: Internal compiler error in type deduction (with C++11)
           Product: gcc
           Version: 4.9.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peter.gottschling at simunova dot com
  Target Milestone: ---

Compiler error occurs only with g++-4.9. Other g++ versions (e.g. 4.7, 5, 7)
work smoothly. Preprocessed source attached.
>From gcc-bugs-return-578728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 16:34:31 2017
Return-Path: <gcc-bugs-return-578728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126932 invoked by alias); 16 Oct 2017 16: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 126875 invoked by uid 48); 16 Oct 2017 16:34:28 -0000
From: "peter.gottschling at simunova dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82566] Internal compiler error in type deduction (with C++11)
Date: Mon, 16 Oct 2017 16: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: 4.9.4
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peter.gottschling at simunova 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-82566-4-FYTVivl3vn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82566-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01788.txt.bz2
Content-length: 281

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82566

--- Comment #1 from Peter Gottschling <peter.gottschling at simunova dot com> ---
Created attachment 42379
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42379&action=edit
Preprocessed source compressed with bzip2.
>From gcc-bugs-return-578729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 16:38:20 2017
Return-Path: <gcc-bugs-return-578729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81759 invoked by alias); 16 Oct 2017 16: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 81736 invoked by uid 48); 16 Oct 2017 16:38:15 -0000
From: "chinoune.mehdi at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82567] New: [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.
Date: Mon, 16 Oct 2017 16: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chinoune.mehdi 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-82567-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01789.txt.bz2
Content-length: 1340

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82567

            Bug ID: 82567
           Summary: [6/7/8] gfortran takes a long time to compile a simple
                    implied-do with -Optimization.
           Product: gcc
           Version: 6.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chinoune.mehdi at hotmail dot com
  Target Milestone: ---

gfortran takes about 11s to compile this simple subroutine with -O1 :

  SUBROUTINE sub()
  IMPLICIT NONE

  INTEGER, PARAMETER :: n = 10000
  REAL, ALLOCATABLE :: x(:)
  REAL :: xc, h
  INTEGER :: i

  ALLOCATE( x(n) )
  xc = 100.
  h = xc/n
  x = h*[(i,i=1,n)]
  ! Replacing the previous line with one of these lines gives faster
compilation
  ! x = [(i*h,i=1,n)]
  ! x = (100./n) *[(i,i=1,n)] 

END SUBROUTINE sub

time gfortran -O1 -c test.f90:
real    0m11.167s

the time increases with n (-O1) :
n    | 10000 | 20000 | 30000 | 40000
-------------------------------------
time | 11s   | 25s   | 43s   | 1m7s

and decrease with the level of optimization (n=20000) :
-Ox  | -O1 | -O2 | -O3 | -Ofast
-------------------------------
time | 20s | 15s | 15s | 8s

tested with gfortran 6/7/8 Linux-64 and gfortran-7 MinGW-64
>From gcc-bugs-return-578730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 16:44:03 2017
Return-Path: <gcc-bugs-return-578730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86158 invoked by alias); 16 Oct 2017 16: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 86108 invoked by uid 48); 16 Oct 2017 16:43:58 -0000
From: "chinoune.mehdi at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82568] New: ICE with do-loop inside BLOCK inside omp
Date: Mon, 16 Oct 2017 16:44: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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chinoune.mehdi 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-82568-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01790.txt.bz2
Content-length: 849

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82568

            Bug ID: 82568
           Summary: ICE with do-loop inside BLOCK inside omp
           Product: gcc
           Version: 6.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chinoune.mehdi at hotmail dot com
  Target Milestone: ---

gfortran gives an internal compiler error with this code :

PROGRAM OMP_BLOCK
  IMPLICIT NONE

  INTEGER :: I !,J

  !$OMP PARALLEL DO !PRIVATE(J)
  ! Declaring j outside of OMP and put it in private solves the problem
  DO I=1,2
    BLOCK
      INTEGER :: J

      DO J=1,2
        PRINT*,I,J
      END DO

    END BLOCK
  END DO

END PROGRAM OMP_BLOCK

tested with gfortran 6/7/8 Linux-64 and gfortran-7 MinGW-64
>From gcc-bugs-return-578731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 16:46:21 2017
Return-Path: <gcc-bugs-return-578731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89193 invoked by alias); 16 Oct 2017 16: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 89160 invoked by uid 48); 16 Oct 2017 16:46:18 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82566] Internal compiler error in type deduction (with C++11)
Date: Mon, 16 Oct 2017 16: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: 4.9.4
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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-82566-4-YWxN1h4byI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82566-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01791.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82566

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |WONTFIX

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
gcc 4.9 isn't supported anymore. See the gcc homepage for the list 
of currently supported releases.
>From gcc-bugs-return-578732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 17:18:47 2017
Return-Path: <gcc-bugs-return-578732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5666 invoked by alias); 16 Oct 2017 17:18: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 5553 invoked by uid 48); 16 Oct 2017 17:18:41 -0000
From: "amacleod at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82547] wide_int is not setting overflow properly for large unsigned add/subtract calculations.
Date: Mon, 16 Oct 2017 17: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amacleod 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-82547-4-Pj9gWnmdU9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82547-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82547-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01792.txt.bz2
Content-length: 1469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82547

--- Comment #1 from Andrew Macleod <amacleod at redhat dot com> ---
On a further note, this appears to be because wide_int tries not to use all the
words is it can sign extend?

the sequence with the issue is:
 Mn = wi::min_value (128, UNSIGNED);
 Mx = wi::max_value (128, UNSIGNED);
 Mxminus2  = wi::sub (Mx, 2, UNSIGNED, &ov);
 x = wi::sub (Mn, Mxminus2 , UNSIGNED, &ov2);
 fprintf (stderr, "ov %d  ov2 %d\n", ov, ov2);

if I look at Mn, I see:

(gdb) p Mn.dump()
[...,0], precision = 128

(gdb) p Mn
$14 = {<wide_int_storage> = {val = {0, 140737488344128, 34794152}, len = 1,
precision = 128}, static is_sign_extended = <optimized out>}

So the precision is 128, but len is set to 1 on a 64 bit host.
Same thing happens for Mx.

Then when wi::sub_large is called, it does the calculation and checks:
 if (len * HOST_BITS_PER_WIDE_INT < prec)
    {
      val[len] = mask0 - mask1 - borrow;
      len++;
      if (overflow)
        *overflow = false;
    }

Since both values have a len of 1, and precision is 128, it decides there
cannot be an overflow.  It seems to be ignoring that fgact that sign-extension
may exist.


Interestingly, if I remove that entire hunk of code, and and let it do the
general check for overflow which follows, It works as I would expect.

Of course, I have no idea what the side effects of that are... 
I leave it in the hands of a wide_int expert.
>From gcc-bugs-return-578733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 17:41:31 2017
Return-Path: <gcc-bugs-return-578733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62807 invoked by alias); 16 Oct 2017 17: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 62755 invoked by uid 55); 16 Oct 2017 17:41:26 -0000
From: "foreese at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
Date: Mon, 16 Oct 2017 17: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: foreese at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82511-4-hsQIkUAljR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01793.txt.bz2
Content-length: 795

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511

--- Comment #7 from Fritz Reese <foreese at gcc dot gnu.org> ---
Author: foreese
Date: Mon Oct 16 17:40:53 2017
New Revision: 253791

URL: https://gcc.gnu.org/viewcvs?rev=253791&root=gcc&view=rev
Log:
2017-10-16  Fritz Reese <fritzoreese@gmail.com>

    PR fortran/82511
    Treat UNION components as DT comp. in I/O lists.

    gcc/fortran/ChangeLog:

        PR fortran/82511
        * trans-io.c (transfer_expr): Treat BT_UNION as BT_DERIVED.

    gcc/testsuite/ChangeLog:

        PR fortran/82511
        * gfortran.dg/dec_structure_22.f90: New testcase.


Added:
    trunk/gcc/testsuite/gfortran.dg/dec_structure_22.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-io.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 17:44:34 2017
Return-Path: <gcc-bugs-return-578734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65350 invoked by alias); 16 Oct 2017 17: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 65291 invoked by uid 48); 16 Oct 2017 17:44:30 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Mon, 16 Oct 2017 17: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: 7.1.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81758-4-A35tsYFUca@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01794.txt.bz2
Content-length: 1092

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I just checked on powerpc64 with a rather current trunk with

 gfc::bank testing status:            0 (PASSED): Performance:   
2888199.6889235629     
 gfc::vector testing status:            0 (PASSED): Performance:   
2108461.4164096378     
 gfc::list testing status:            0 (PASSED): Performance:   
2108461.4164096378     
 gfc::tree testing status:            0 (PASSED): Performance:   
327471.70199407206     
 gfc::dictionary testing status:            0 (PASSED): Performance:   
281461.77688575117     
       16383
 gfc::graph testing status:            5 (FAILED)
 Multi-index sort testing status:            0 (PASSED): Performance:   
120529.43369575262     
 Dynamic type inferrence slowdown:   0.2418     67110738.2064877   0.5810    
67110738.2064877    2.4023336875488646     

Is this an indication of success or of failure?
>From gcc-bugs-return-578735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 18:01:52 2017
Return-Path: <gcc-bugs-return-578735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43326 invoked by alias); 16 Oct 2017 18:01: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 43208 invoked by uid 48); 16 Oct 2017 18:01:48 -0000
From: "foreese at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
Date: Mon, 16 Oct 2017 18: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: foreese at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82511-4-zuCn1fnyqE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01795.txt.bz2
Content-length: 1588

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511

Fritz Reese <foreese at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Fritz Reese <foreese at gcc dot gnu.org> ---
(In reply to Steve Kargl from comment #4)
...
> 
>       program bug
>       structure /bckt/
>          union
>             map
>                character*16 c16
>             end map
>          end union
>       end structure
>       record /bckt/ bucket
>       character(len=16) :: rec1 = 'ABCDEFGHIJKLMNOP'
>   100 format(A16)
>       read(rec1, 100) bckt
>       end program bug
> 
> where one is trying read into the definition of the structure.
> Is the above suppose to compile?  Because it does.  [...]

Steve- on second glance, the above program is correct, even though it is
misleading. It compiles because there is no IMPLICIT NONE, so the variable BCKT
is an implicit variable created at the point of use. The program above behaves
equivalently if STRUCTURE /bckt/ is never declared, and issues an appropriate
error with IMPLICIT NONE:

        program bug
        implicit none
        structure /bckt/
        [...]
        read(rec1, 100) bckt
        end program bug

$ gfortran -fdec-structure bug.for
bug.for:12:26:

       read(rec1, 100) bckt
                          1
Error: Symbol ‘bckt’ at (1) has no IMPLICIT type
>From gcc-bugs-return-578736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 18:24:27 2017
Return-Path: <gcc-bugs-return-578736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83394 invoked by alias); 16 Oct 2017 18:24: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 69716 invoked by uid 48); 16 Oct 2017 18:24:17 -0000
From: "liakhdi at ornl dot gov" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Mon, 16 Oct 2017 18:24:00 -0000
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.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: liakhdi at ornl dot gov
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-81758-4-lSmixFJ1wv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01796.txt.bz2
Content-length: 1248

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #10 from DIL <liakhdi at ornl dot gov> ---
(In reply to Thomas Koenig from comment #9)
> I just checked on powerpc64 with a rather current trunk with
> 
>  gfc::bank testing status:            0 (PASSED): Performance:   
> 2888199.6889235629     
>  gfc::vector testing status:            0 (PASSED): Performance:   
> 2108461.4164096378     
>  gfc::list testing status:            0 (PASSED): Performance:   
> 2108461.4164096378     
>  gfc::tree testing status:            0 (PASSED): Performance:   
> 327471.70199407206     
>  gfc::dictionary testing status:            0 (PASSED): Performance:   
> 281461.77688575117     
>        16383
>  gfc::graph testing status:            5 (FAILED)
>  Multi-index sort testing status:            0 (PASSED): Performance:   
> 120529.43369575262     
>  Dynamic type inferrence slowdown:   0.2418     67110738.2064877   0.5810   
> 67110738.2064877    2.4023336875488646     
> 
> Is this an indication of success or of failure?

It is a failure, seems to occur along the same code path, but without a
SegFault.
>From gcc-bugs-return-578737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 18:24:42 2017
Return-Path: <gcc-bugs-return-578737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98357 invoked by alias); 16 Oct 2017 18:24: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 93123 invoked by uid 48); 16 Oct 2017 18:24:39 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82567] [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.
Date: Mon, 16 Oct 2017 18: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: 6.4.0
X-Bugzilla-Keywords: compile-time-hog
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-82567-4-JtueBzVGVM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01797.txt.bz2
Content-length: 681

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82567

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-16
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed. The test compiles in a fraction of a second with
-fno-frontend-optimize.

The change occurred between revisions r197010 (2013-03-23, fast) and r197238
(2013-03-29, slow), likely r197217.
>From gcc-bugs-return-578738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 18:37:03 2017
Return-Path: <gcc-bugs-return-578738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74075 invoked by alias); 16 Oct 2017 18: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 74007 invoked by uid 48); 16 Oct 2017 18:36:59 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82568] [6/7/8] ICE with do-loop inside BLOCK inside omp
Date: Mon, 16 Oct 2017 18: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.4.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-82568-4-uouUGXplSM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01798.txt.bz2
Content-length: 558

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82568

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-16
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 4.5.4 up to trunk (8.0). I don't know if the code is valid.
>From gcc-bugs-return-578739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 18:45:44 2017
Return-Path: <gcc-bugs-return-578739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129388 invoked by alias); 16 Oct 2017 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 128895 invoked by uid 48); 16 Oct 2017 18:45:37 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82567] [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.
Date: Mon, 16 Oct 2017 18: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: 6.4.0
X-Bugzilla-Keywords: compile-time-hog
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-82567-4-W1iCF9xD6v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01799.txt.bz2
Content-length: 268

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82567

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The change occurred between revisions r197010 (2013-03-23, fast) and r197238
> (2013-03-29, slow), likely r197217.

More likely r197216.
>From gcc-bugs-return-578740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 18:47:55 2017
Return-Path: <gcc-bugs-return-578740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17985 invoked by alias); 16 Oct 2017 18:47: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 17959 invoked by uid 48); 16 Oct 2017 18:47:51 -0000
From: "foreese at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/25297] Support for STRUCTURE/END STRUCTURE and RECORD
Date: Mon, 16 Oct 2017 18: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: foreese at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: foreese at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc resolution assigned_to
Message-ID: <bug-25297-4-zp8V7k1Fqa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-25297-4@http.gcc.gnu.org/bugzilla/>
References: <bug-25297-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01800.txt.bz2
Content-length: 662

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25297

Fritz Reese <foreese at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |foreese at gcc dot gnu.org
         Resolution|WONTFIX                     |FIXED
           Assignee|unassigned at gcc dot gnu.org      |foreese at gcc dot gnu.org

--- Comment #5 from Fritz Reese <foreese at gcc dot gnu.org> ---
For the record: support for DEC STRUCTURE/RECORD was introduced in r235999 in
gcc-7 and was also backported to gcc-6. Marking this as FIXED.
>From gcc-bugs-return-578741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 18:49:32 2017
Return-Path: <gcc-bugs-return-578741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26833 invoked by alias); 16 Oct 2017 18:49: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 26510 invoked by uid 55); 16 Oct 2017 18:49:28 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81048] [6/7/8 Regression] incorrect derived type initialization
Date: Mon, 16 Oct 2017 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: 6.3.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81048-4-bqF5AaIIBk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01801.txt.bz2
Content-length: 801

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81048

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 16 18:48:56 2017
New Revision: 253793

URL: https://gcc.gnu.org/viewcvs?rev=253793&root=gcc&view=rev
Log:
2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/81048
        * resolve.c (resolve_symbol): Ensure that derived type array
        results get default initialization.

2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/81048
        * gfortran.dg/derived_init_4.f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/derived_init_4.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-578742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:31:47 2017
Return-Path: <gcc-bugs-return-578742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48699 invoked by alias); 16 Oct 2017 19: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 48637 invoked by uid 48); 16 Oct 2017 19:31:42 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82569] New: [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Mon, 16 Oct 2017 19:31: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.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-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01802.txt.bz2
Content-length: 16371

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

            Bug ID: 82569
           Summary: [8 regression] failure in 177.mesa cpu2000 test case
                    after r253530
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This failure was notice on a powerpc64 be system.  Specifically, a power6
system.

The test case 177.mesa in the spec2000 test cases began failing with revision
253530 with a segmentation fault.  The failure occurs in "write_color_span" but
I traced it to a bad value in a parameter being passed to an earlier function. 
I noticed this when targeting power6x but the same bad code is generated for
power6.  power7/power8 generate different code.  I only saw the segmentation
fauit when the code was compiled with -O3.

(running in gdb...)
run -frames 1000 -meshfile mesa.in -ppmfile mesa.ppm

Program received signal SIGSEGV, Segmentation fault.
0x000000001006087c in .write_color_span ()
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.192.el6.ppc64
(gdb) up
#1  0x00000000100792f4 in .gl_write_texture_span ()
(gdb) up
#2  0x00000000100952f4 in .general_textured_triangle ()
(gdb) x/10i $pc-24
   0x100952dc <.general_textured_triangle+3420>:        std     r16,120(r1)
   0x100952e0 <.general_textured_triangle+3424>:        ld      r5,29104(r1)
   0x100952e4 <.general_textured_triangle+3428>:        ld      r6,29088(r1)
   0x100952e8 <.general_textured_triangle+3432>:        ld      r3,29200(r1)
   0x100952ec <.general_textured_triangle+3436>:        std     r12,29112(r1)
   0x100952f0 <.general_textured_triangle+3440>:        bl      0x10079080
<.gl_write_texture_span>
=> 0x100952f4 <.general_textured_triangle+3444>:        nop
   0x100952f8 <.general_textured_triangle+3448>:        ld      r12,29112(r1)
   0x100952fc <.general_textured_triangle+3452>:        lwz     r9,29148(r1)
   0x10095300 <.general_textured_triangle+3456>:        lwz     r10,29124(r1)

So, if I compare the parameter values at this point in the working (r253529)
and failing (r253530) code r6 holds the bad parm value:

failing:
(gdb) info registers
...
r6             0xfff0000007a    17587891077242

Works:
(gdb) info registers
...
r6             0x7a     122


Why does this happen?  When it fails the value that is computed earlier in the
code for the parameter

  iy = ((fy) >> 11);

is stored via an "stw" and then loaded via a "ld".  If there is any leftover
garbage in the memory it will fail.  It doesn't always fail as sometimes the
memory has 0 in the bytes not stored to via the stw and loaded via the ld.

So, looking at the assembly output:

works:
   0x10094f9c <.general_textured_triangle+2092>:        srawi   r8,r4,11
   0x10094fa0 <.general_textured_triangle+2096>:        std     r8,29256(r1)
...
   0x100952c0 <.general_textured_triangle+2896>:        ld      r10,29256(r1)
   (this is then stored again and loaded into r6 for the function call via
std/ld)

fails:
   0x10094d84 <.general_textured_triangle+2052>:        srawi   r9,r3,11
   0x10094d88 <.general_textured_triangle+2056>:        stw     r9,29268(r1)
...
   0x10095094 <.general_textured_triangle+2836>:        ld      r10,29264(r1)
   (this is then stored again and loaded into r6 for the function call via
std/ld)

Something in this revision causes the (working) std to be replaced by a stw.


The source is really ugly and is a bunch of macros defined in functions that
then #include code that uses the macros.  (Good grief, who wrote this?)  I
haven't been able to whittle down the code much from the original source. 
Trying to duplicate the problem from scratch also hasn't worked; with both
253529 and 253530 the store after the >> is an stw and the parameter load for
the function call is an lwa.

If I generate a .i from the code this is the "bad" part:

# 483 "tritemp.h"
            {
                int subTriangle;
                GLfixed fx, fxLeftEdge, fxRightEdge, fdxLeftEdge, fdxRightEdge;
                GLfixed fdxOuter;
                int idxOuter;
                float dxOuter;
                GLfixed fError, fdError;
                float adjx, adjy;
                GLfixed fy;
                int iy;
                GLdepth *zRow;
                int dZRowOuter, dZRowInner;
                GLfixed fz, fdzOuter, fdzInner;
                GLfixed fr, fdrOuter, fdrInner;
                GLfixed fg, fdgOuter, fdgInner;
                GLfixed fb, fdbOuter, fdbInner;
                GLfixed fa, fdaOuter, fdaInner;
# 518 "tritemp.h"
                GLfloat sLeft, dsOuter, dsInner;
                GLfloat tLeft, dtOuter, dtInner;
                GLfloat wLeft, dwOuter, dwInner;
                GLfloat uLeft, duOuter, duInner;
                GLfloat vLeft, dvOuter, dvInner;
                for (subTriangle=0;
                        subTriangle<=1;
                        subTriangle++) {
                    EdgeT *eLeft, *eRight;
                    int setupLeft, setupRight;
                    int lines;
                    if (subTriangle==0) {
                        if (ltor) {
                            eLeft = &eMaj;
                            eRight = &eBot;
                            lines = eRight->lines;
                            setupLeft = 1;
                            setupRight = 1;
                        }
                        else {
                            eLeft = &eBot;
                            eRight = &eMaj;
                            lines = eLeft->lines;
                            setupLeft = 1;
                            setupRight = 1;
                        }
                    }
                    else {
                        if (ltor) {
                            eLeft = &eMaj;
                            eRight = &eTop;
                            lines = eRight->lines;
                            setupLeft = 0;
                            setupRight = 1;
                        }
                        else {
                            eLeft = &eTop;
                            eRight = &eMaj;
                            lines = eLeft->lines;
                            setupLeft = 1;
                            setupRight = 0;
                        }
                        if (lines==0) return;
                    }
                    if (setupLeft && eLeft->lines>0) {
                        GLint vLower;
                        GLfixed fsx = eLeft->fsx;
                        fx = (((fsx) + 0x00000800 - 1) & (~0x000007FF));
                        fError = fx - fsx - 0x00000800;
                        fxLeftEdge = fsx - 1;
                        fdxLeftEdge = eLeft->fdxdy;
                        fdxOuter = ((fdxLeftEdge - 1) & (~0x000007FF));
                        fdError = fdxOuter - fdxLeftEdge + 0x00000800;
                        idxOuter = ((fdxOuter) >> 11);
                        dxOuter = (float) idxOuter;
                        fy = eLeft->fsy;
// ======================================
// The next line is where the improper stw is generated
// ======================================
                        iy = ((fy) >> 11);
                        adjx = (float)(fx - eLeft->fx0);
                        adjy = eLeft->adjy;
                        vLower = eLeft->v0;
# 606 "tritemp.h"
                        {
                            GLfloat z0, tmp;
                            z0 = VB->Win[vLower][2] + ctx->PolygonZoffset;
                            tmp = (z0 * 2048.0f + dzdx * adjx + dzdy * adjy) +
0x00000400;
                            if (tmp < 0xffffffff/2)
                                fz = (GLfixed) tmp;
                            else
                                fz = 0xffffffff/2;
                            fdzOuter = ((GLfixed) ((dzdy + dxOuter * dzdx) *
2048.0f));
                            zRow = ((ctx)->Buffer->Depth + (ctx)->Buffer->Width
* (iy) + (((fxLeftEdge) >> 11)));
                            dZRowOuter = (ctx->Buffer->Width + idxOuter) *
sizeof(GLdepth);
                        }
                        fr = (GLfixed)(((VB->Color[vLower][0]) << 11) + drdx *
adjx + drdy * adjy)
                             + 0x00000400;
                        fdrOuter = ((GLfixed) ((drdy + dxOuter * drdx) *
2048.0f));
                        fg = (GLfixed)(((VB->Color[vLower][1]) << 11) + dgdx *
adjx + dgdy * adjy)
                             + 0x00000400;
                        fdgOuter = ((GLfixed) ((dgdy + dxOuter * dgdx) *
2048.0f));
                        fb = (GLfixed)(((VB->Color[vLower][2]) << 11) + dbdx *
adjx + dbdy * adjy)
                             + 0x00000400;
                        fdbOuter = ((GLfixed) ((dbdy + dxOuter * dbdx) *
2048.0f));
                        fa = (GLfixed)(((VB->Color[vLower][3]) << 11) + dadx *
adjx + dady * adjy)
                             + 0x00000400;
                        fdaOuter = ((GLfixed) ((dady + dxOuter * dadx) *
2048.0f));
# 661 "tritemp.h"
                        {
                            GLfloat w0 = 1.0F / VB->Clip[vLower][3];
                            GLfloat s0, t0, u0, v0;
                            wLeft = w0 + (dwdx * adjx + dwdy * adjy) *
(1.0F/2048.0f);
                            dwOuter = dwdy + dxOuter * dwdx;
                            s0 = VB->TexCoord[vLower][0] * w0;
                            sLeft = s0 + (dsdx * adjx + dsdy * adjy) *
(1.0F/2048.0f);
                            dsOuter = dsdy + dxOuter * dsdx;
                            t0 = VB->TexCoord[vLower][1] * w0;
                            tLeft = t0 + (dtdx * adjx + dtdy * adjy) *
(1.0F/2048.0f);
                            dtOuter = dtdy + dxOuter * dtdx;
                            u0 = VB->TexCoord[vLower][2] * w0;
                            uLeft = u0 + (dudx * adjx + dudy * adjy) *
(1.0F/2048.0f);
                            duOuter = dudy + dxOuter * dudx;
                            v0 = VB->TexCoord[vLower][3];
                            vLeft = v0 + (dvdx * adjx + dvdy * adjy) *
(1.0F/2048.0f);
                            dvOuter = dvdy + dxOuter * dvdx;
                        }
                    }
                    if (setupRight && eRight->lines>0) {
                        fxRightEdge = eRight->fsx - 1;
                        fdxRightEdge = eRight->fdxdy;
                    }
                    if (lines==0) {
                        continue;
                    }
                    dZRowInner = dZRowOuter + sizeof(GLdepth);
                    fdzInner = fdzOuter + fdzdx;
                    fdrInner = fdrOuter + fdrdx;
                    fdgInner = fdgOuter + fdgdx;
                    fdbInner = fdbOuter + fdbdx;
                    fdaInner = fdaOuter + fdadx;
# 721 "tritemp.h"
                    dwInner = dwOuter + dwdx;
                    dsInner = dsOuter + dsdx;
                    dtInner = dtOuter + dtdx;
                    duInner = duOuter + dudx;
                    dvInner = dvOuter + dvdx;
                    while (lines>0) {
                        GLfixed ffz = fz;
                        GLfixed ffr = fr, ffg = fg, ffb = fb;
                        GLfixed ffa = fa;
# 750 "tritemp.h"
                        GLfloat ss = sLeft, tt = tLeft, ww = wLeft;
                        GLfloat uu = uLeft, vv = vLeft;
                        GLint left = ((fxLeftEdge) >> 11);
                        GLint right = ((fxRightEdge) >> 11);
                        {
                            GLfixed ffrend = ffr+(right-left-1)*fdrdx;
                            GLfixed ffgend = ffg+(right-left-1)*fdgdx;
                            GLfixed ffbend = ffb+(right-left-1)*fdbdx;
                            if (ffrend<0) ffr -= ffrend;
                            if (ffgend<0) ffg -= ffgend;
                            if (ffbend<0) ffb -= ffbend;
                            if (ffr<0) ffr = 0;
                            if (ffg<0) ffg = 0;
                            if (ffb<0) ffb = 0;
                        }
                        {
                            GLfixed ffaend = ffa+(right-left-1)*fdadx;
                            if (ffaend<0) ffa -= ffaend;
                            if (ffa<0) ffa = 0;
                        }
                        {   GLint i, n = right-left;
                            GLdepth zspan[1600];
                            GLubyte red[1600], green[1600];
                            GLubyte blue[1600], alpha[1600];
                            GLfloat s[1600], t[1600], u[1600];
                            if (n>0) {
                                if (flat_shade) {
                                    for (i=0;
                                            i<n;
                                            i++) {
                                        GLdouble wwvvInv = 1.0 / (ww*vv);
                                        zspan[i] = ((ffz) >> 11);
                                        red[i] = r;
                                        green[i] = g;
                                        blue[i] = b;
                                        alpha[i] = a;
                                        s[i] = ss*wwvvInv;
                                        t[i] = tt*wwvvInv;
                                        u[i] = uu*wwvvInv;
                                        ffz += fdzdx;
                                        ss += dsdx;
                                        tt += dtdx;
                                        uu += dudx;
                                        vv += dvdx;
                                        ww += dwdx;
                                    }
                                } else {
                                    for (i=0;
                                            i<n;
                                            i++) {
                                        GLdouble wwvvInv = 1.0 / (ww*vv);
                                        zspan[i] = ((ffz) >> 11);
                                        red[i] = ((ffr) >> 11);
                                        green[i] = ((ffg) >> 11);
                                        blue[i] = ((ffb) >> 11);
                                        alpha[i] = ((ffa) >> 11);
                                        s[i] = ss*wwvvInv;
                                        t[i] = tt*wwvvInv;
                                        u[i] = uu*wwvvInv;
                                        ffz += fdzdx;
                                        ffr += fdrdx;
                                        ffg += fdgdx;
                                        ffb += fdbdx;
                                        ffa += fdadx;
                                        ss += dsdx;
                                        tt += dtdx;
                                        uu += dudx;
                                        ww += dwdx;
                                        vv += dvdx;
                                    }
                                }

// ======================================
// This is the function call that blows up because "iy" has a bad value
// ======================================
                                gl_write_texture_span( ctx, n, left, iy, zspan,
s, t, u,
# 783 "tritemp.h" 3 4
                                                       ((void *)0)
# 783 "tritemp.h"
                                                       , red, green, blue,
alpha, GL_POLYGON );
                            }
                        };
>From gcc-bugs-return-578743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:36:53 2017
Return-Path: <gcc-bugs-return-578743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100008 invoked by alias); 16 Oct 2017 19:36: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 99924 invoked by uid 48); 16 Oct 2017 19:36:48 -0000
From: "ivo.raisr at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82545] [7/8 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Mon, 16 Oct 2017 19:36: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ivo.raisr at oracle 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82545-4-hQvYOcrJ77@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01803.txt.bz2
Content-length: 247

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #7 from Ivo Raisr <ivo.raisr at oracle dot com> ---
If no viable solution to splitting an abnormal edge is found, I wonder if we
could actually prevent getting into this situation?
>From gcc-bugs-return-578744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:45:49 2017
Return-Path: <gcc-bugs-return-578744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115294 invoked by alias); 16 Oct 2017 19: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 113956 invoked by uid 55); 16 Oct 2017 19:44:36 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/52832] [F03] ASSOCIATE construct with proc-pointer selector is rejected
Date: Mon, 16 Oct 2017 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: 4.8.0
X-Bugzilla-Keywords: rejects-valid
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:
Message-ID: <bug-52832-4-HI3XQ57j1G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52832-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52832-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01804.txt.bz2
Content-length: 2485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52832

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 16 19:44:04 2017
New Revision: 253794

URL: https://gcc.gnu.org/viewcvs?rev=253794&root=gcc&view=rev
Log:
2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/52832
        * match.c (gfc_match_associate): Before failing the association
        try again, allowing a proc pointer selector.

        PR fortran/80120
        PR fortran/81903
        PR fortran/82121
        * primary.c (gfc_match_varspec): Introduce 'tgt_expr', which
        points to the associate selector, if any. Go through selector
        references, after resolution for variables, to catch any full
        or section array references. If a class associate name does
        not have the same declared type as the selector, resolve the
        selector and copy the declared type to the associate name.
        Before throwing a no implicit type error, resolve all allowed
        selector expressions, and copy the resulting typespec.

        PR fortran/67543
        * resolve.c (resolve_assoc_var): Selector must cannot be the
        NULL expression and it must have a type.

        PR fortran/78152
        * resolve.c (resolve_symbol): Allow associate names to be
        coarrays.

2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/78512
        * gfortran.dg/associate_9.f03 : Remove XFAIL.
        * gfortran.dg/associate_26.f90 : New test.

        PR fortran/80120
        * gfortran.dg/associate_27.f90 : New test.

        PR fortran/81903
        * gfortran.dg/associate_28.f90 : New test.

        PR fortran/82121
        * gfortran.dg/associate_29.f90 : New test.

        PR fortran/67543
        * gfortran.dg/associate_30.f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_26.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_27.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_28.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_29.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_30.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/match.c
    branches/gcc-7-branch/gcc/fortran/primary.c
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_9.f03
>From gcc-bugs-return-578746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:45:53 2017
Return-Path: <gcc-bugs-return-578746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117774 invoked by alias); 16 Oct 2017 19: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 114417 invoked by uid 55); 16 Oct 2017 19:44:40 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82121] [7/8 Regression] Unclassifiable statement during compilation when assigning to a Character array in a derived type contained in a ASSOCIATE statement
Date: Mon, 16 Oct 2017 19: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.2.0
X-Bugzilla-Keywords: rejects-valid
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-82121-4-85YXg59JOT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82121-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82121-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01805.txt.bz2
Content-length: 2485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82121

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 16 19:44:04 2017
New Revision: 253794

URL: https://gcc.gnu.org/viewcvs?rev=253794&root=gcc&view=rev
Log:
2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/52832
        * match.c (gfc_match_associate): Before failing the association
        try again, allowing a proc pointer selector.

        PR fortran/80120
        PR fortran/81903
        PR fortran/82121
        * primary.c (gfc_match_varspec): Introduce 'tgt_expr', which
        points to the associate selector, if any. Go through selector
        references, after resolution for variables, to catch any full
        or section array references. If a class associate name does
        not have the same declared type as the selector, resolve the
        selector and copy the declared type to the associate name.
        Before throwing a no implicit type error, resolve all allowed
        selector expressions, and copy the resulting typespec.

        PR fortran/67543
        * resolve.c (resolve_assoc_var): Selector must cannot be the
        NULL expression and it must have a type.

        PR fortran/78152
        * resolve.c (resolve_symbol): Allow associate names to be
        coarrays.

2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/78512
        * gfortran.dg/associate_9.f03 : Remove XFAIL.
        * gfortran.dg/associate_26.f90 : New test.

        PR fortran/80120
        * gfortran.dg/associate_27.f90 : New test.

        PR fortran/81903
        * gfortran.dg/associate_28.f90 : New test.

        PR fortran/82121
        * gfortran.dg/associate_29.f90 : New test.

        PR fortran/67543
        * gfortran.dg/associate_30.f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_26.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_27.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_28.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_29.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_30.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/match.c
    branches/gcc-7-branch/gcc/fortran/primary.c
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_9.f03
>From gcc-bugs-return-578745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:45:49 2017
Return-Path: <gcc-bugs-return-578745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115326 invoked by alias); 16 Oct 2017 19: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 113959 invoked by uid 55); 16 Oct 2017 19:44:36 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/80120] [7/8 Regression] Incorrect error with associate construct and character array
Date: Mon, 16 Oct 2017 19: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.0.1
X-Bugzilla-Keywords: rejects-valid
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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80120-4-uD55bT8M01@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80120-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80120-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01809.txt.bz2
Content-length: 2485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80120

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 16 19:44:04 2017
New Revision: 253794

URL: https://gcc.gnu.org/viewcvs?rev=253794&root=gcc&view=rev
Log:
2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/52832
        * match.c (gfc_match_associate): Before failing the association
        try again, allowing a proc pointer selector.

        PR fortran/80120
        PR fortran/81903
        PR fortran/82121
        * primary.c (gfc_match_varspec): Introduce 'tgt_expr', which
        points to the associate selector, if any. Go through selector
        references, after resolution for variables, to catch any full
        or section array references. If a class associate name does
        not have the same declared type as the selector, resolve the
        selector and copy the declared type to the associate name.
        Before throwing a no implicit type error, resolve all allowed
        selector expressions, and copy the resulting typespec.

        PR fortran/67543
        * resolve.c (resolve_assoc_var): Selector must cannot be the
        NULL expression and it must have a type.

        PR fortran/78152
        * resolve.c (resolve_symbol): Allow associate names to be
        coarrays.

2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/78512
        * gfortran.dg/associate_9.f03 : Remove XFAIL.
        * gfortran.dg/associate_26.f90 : New test.

        PR fortran/80120
        * gfortran.dg/associate_27.f90 : New test.

        PR fortran/81903
        * gfortran.dg/associate_28.f90 : New test.

        PR fortran/82121
        * gfortran.dg/associate_29.f90 : New test.

        PR fortran/67543
        * gfortran.dg/associate_30.f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_26.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_27.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_28.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_29.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_30.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/match.c
    branches/gcc-7-branch/gcc/fortran/primary.c
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_9.f03
>From gcc-bugs-return-578747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:45:53 2017
Return-Path: <gcc-bugs-return-578747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118521 invoked by alias); 16 Oct 2017 19: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 114420 invoked by uid 55); 16 Oct 2017 19:44:40 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81903] [OOP] problem with ASSOCIATE and class pointer (Invalid character in name at)
Date: Mon, 16 Oct 2017 19: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.1
X-Bugzilla-Keywords: rejects-valid
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:
Message-ID: <bug-81903-4-AEiWScROwP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81903-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81903-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01807.txt.bz2
Content-length: 2485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81903

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 16 19:44:04 2017
New Revision: 253794

URL: https://gcc.gnu.org/viewcvs?rev=253794&root=gcc&view=rev
Log:
2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/52832
        * match.c (gfc_match_associate): Before failing the association
        try again, allowing a proc pointer selector.

        PR fortran/80120
        PR fortran/81903
        PR fortran/82121
        * primary.c (gfc_match_varspec): Introduce 'tgt_expr', which
        points to the associate selector, if any. Go through selector
        references, after resolution for variables, to catch any full
        or section array references. If a class associate name does
        not have the same declared type as the selector, resolve the
        selector and copy the declared type to the associate name.
        Before throwing a no implicit type error, resolve all allowed
        selector expressions, and copy the resulting typespec.

        PR fortran/67543
        * resolve.c (resolve_assoc_var): Selector must cannot be the
        NULL expression and it must have a type.

        PR fortran/78152
        * resolve.c (resolve_symbol): Allow associate names to be
        coarrays.

2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/78512
        * gfortran.dg/associate_9.f03 : Remove XFAIL.
        * gfortran.dg/associate_26.f90 : New test.

        PR fortran/80120
        * gfortran.dg/associate_27.f90 : New test.

        PR fortran/81903
        * gfortran.dg/associate_28.f90 : New test.

        PR fortran/82121
        * gfortran.dg/associate_29.f90 : New test.

        PR fortran/67543
        * gfortran.dg/associate_30.f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_26.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_27.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_28.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_29.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_30.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/match.c
    branches/gcc-7-branch/gcc/fortran/primary.c
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_9.f03
>From gcc-bugs-return-578748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:45:56 2017
Return-Path: <gcc-bugs-return-578748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118692 invoked by alias); 16 Oct 2017 19: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 114548 invoked by uid 55); 16 Oct 2017 19:44:41 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/78152] [6/7/8 Regression] coarray and associate
Date: Mon, 16 Oct 2017 19: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.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78152-4-rAJJALDQCQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78152-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78152-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01806.txt.bz2
Content-length: 2486

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78152

--- Comment #15 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 16 19:44:04 2017
New Revision: 253794

URL: https://gcc.gnu.org/viewcvs?rev=253794&root=gcc&view=rev
Log:
2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/52832
        * match.c (gfc_match_associate): Before failing the association
        try again, allowing a proc pointer selector.

        PR fortran/80120
        PR fortran/81903
        PR fortran/82121
        * primary.c (gfc_match_varspec): Introduce 'tgt_expr', which
        points to the associate selector, if any. Go through selector
        references, after resolution for variables, to catch any full
        or section array references. If a class associate name does
        not have the same declared type as the selector, resolve the
        selector and copy the declared type to the associate name.
        Before throwing a no implicit type error, resolve all allowed
        selector expressions, and copy the resulting typespec.

        PR fortran/67543
        * resolve.c (resolve_assoc_var): Selector must cannot be the
        NULL expression and it must have a type.

        PR fortran/78152
        * resolve.c (resolve_symbol): Allow associate names to be
        coarrays.

2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/78512
        * gfortran.dg/associate_9.f03 : Remove XFAIL.
        * gfortran.dg/associate_26.f90 : New test.

        PR fortran/80120
        * gfortran.dg/associate_27.f90 : New test.

        PR fortran/81903
        * gfortran.dg/associate_28.f90 : New test.

        PR fortran/82121
        * gfortran.dg/associate_29.f90 : New test.

        PR fortran/67543
        * gfortran.dg/associate_30.f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_26.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_27.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_28.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_29.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_30.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/match.c
    branches/gcc-7-branch/gcc/fortran/primary.c
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_9.f03
>From gcc-bugs-return-578750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:46:05 2017
Return-Path: <gcc-bugs-return-578750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119629 invoked by alias); 16 Oct 2017 19: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 114468 invoked by uid 55); 16 Oct 2017 19:44:40 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67543] ICE on associate with improper association
Date: Mon, 16 Oct 2017 19: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: 5.2.1
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:
Message-ID: <bug-67543-4-1KoDVu74M7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67543-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67543-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01808.txt.bz2
Content-length: 2485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67543

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 16 19:44:04 2017
New Revision: 253794

URL: https://gcc.gnu.org/viewcvs?rev=253794&root=gcc&view=rev
Log:
2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/52832
        * match.c (gfc_match_associate): Before failing the association
        try again, allowing a proc pointer selector.

        PR fortran/80120
        PR fortran/81903
        PR fortran/82121
        * primary.c (gfc_match_varspec): Introduce 'tgt_expr', which
        points to the associate selector, if any. Go through selector
        references, after resolution for variables, to catch any full
        or section array references. If a class associate name does
        not have the same declared type as the selector, resolve the
        selector and copy the declared type to the associate name.
        Before throwing a no implicit type error, resolve all allowed
        selector expressions, and copy the resulting typespec.

        PR fortran/67543
        * resolve.c (resolve_assoc_var): Selector must cannot be the
        NULL expression and it must have a type.

        PR fortran/78152
        * resolve.c (resolve_symbol): Allow associate names to be
        coarrays.

2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/78512
        * gfortran.dg/associate_9.f03 : Remove XFAIL.
        * gfortran.dg/associate_26.f90 : New test.

        PR fortran/80120
        * gfortran.dg/associate_27.f90 : New test.

        PR fortran/81903
        * gfortran.dg/associate_28.f90 : New test.

        PR fortran/82121
        * gfortran.dg/associate_29.f90 : New test.

        PR fortran/67543
        * gfortran.dg/associate_30.f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_26.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_27.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_28.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_29.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_30.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/match.c
    branches/gcc-7-branch/gcc/fortran/primary.c
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_9.f03
>From gcc-bugs-return-578749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:45:57 2017
Return-Path: <gcc-bugs-return-578749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118911 invoked by alias); 16 Oct 2017 19:45: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 114617 invoked by uid 55); 16 Oct 2017 19:44:41 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78512] [7 Regression] r242674 miscompiles Linux kernel
Date: Mon, 16 Oct 2017 19: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: 7.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: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78512-4-MutcOLzEdy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78512-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78512-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01810.txt.bz2
Content-length: 2485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512

--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 16 19:44:04 2017
New Revision: 253794

URL: https://gcc.gnu.org/viewcvs?rev=253794&root=gcc&view=rev
Log:
2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/52832
        * match.c (gfc_match_associate): Before failing the association
        try again, allowing a proc pointer selector.

        PR fortran/80120
        PR fortran/81903
        PR fortran/82121
        * primary.c (gfc_match_varspec): Introduce 'tgt_expr', which
        points to the associate selector, if any. Go through selector
        references, after resolution for variables, to catch any full
        or section array references. If a class associate name does
        not have the same declared type as the selector, resolve the
        selector and copy the declared type to the associate name.
        Before throwing a no implicit type error, resolve all allowed
        selector expressions, and copy the resulting typespec.

        PR fortran/67543
        * resolve.c (resolve_assoc_var): Selector must cannot be the
        NULL expression and it must have a type.

        PR fortran/78152
        * resolve.c (resolve_symbol): Allow associate names to be
        coarrays.

2017-10-16  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/78512
        * gfortran.dg/associate_9.f03 : Remove XFAIL.
        * gfortran.dg/associate_26.f90 : New test.

        PR fortran/80120
        * gfortran.dg/associate_27.f90 : New test.

        PR fortran/81903
        * gfortran.dg/associate_28.f90 : New test.

        PR fortran/82121
        * gfortran.dg/associate_29.f90 : New test.

        PR fortran/67543
        * gfortran.dg/associate_30.f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_26.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_27.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_28.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_29.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_30.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/match.c
    branches/gcc-7-branch/gcc/fortran/primary.c
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/associate_9.f03
>From gcc-bugs-return-578751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:49:29 2017
Return-Path: <gcc-bugs-return-578751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127923 invoked by alias); 16 Oct 2017 19:49: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 127873 invoked by uid 48); 16 Oct 2017 19:49:25 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/52832] [F03] ASSOCIATE construct with proc-pointer selector is rejected
Date: Mon, 16 Oct 2017 19: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.8.0
X-Bugzilla-Keywords: rejects-valid
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-52832-4-0k33f6URb1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52832-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52832-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01811.txt.bz2
Content-length: 545

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52832

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pault at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on trunk and 7-branch.

Thanks for the report.

Paul
>From gcc-bugs-return-578753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:50:34 2017
Return-Path: <gcc-bugs-return-578753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129883 invoked by alias); 16 Oct 2017 19:50: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 129764 invoked by uid 48); 16 Oct 2017 19:50:30 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81903] [OOP] problem with ASSOCIATE and class pointer (Invalid character in name at)
Date: Mon, 16 Oct 2017 19: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: 7.1.1
X-Bugzilla-Keywords: rejects-valid
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81903-4-P8S0DcmYaX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81903-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81903-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01813.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81903

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> ---
Fixed on trunk and 7-branch.

Thanks for the report.

Paul
>From gcc-bugs-return-578752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:50:05 2017
Return-Path: <gcc-bugs-return-578752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128842 invoked by alias); 16 Oct 2017 19:50: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 128769 invoked by uid 48); 16 Oct 2017 19:50:02 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/80120] [7/8 Regression] Incorrect error with associate construct and character array
Date: Mon, 16 Oct 2017 19: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: 7.0.1
X-Bugzilla-Keywords: rejects-valid
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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-80120-4-c3UkeVMg1B@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80120-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80120-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01812.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80120

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> ---
Fixed on trunk and 7-branch.

Thanks for the report.

Paul
>From gcc-bugs-return-578755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:51:26 2017
Return-Path: <gcc-bugs-return-578755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7608 invoked by alias); 16 Oct 2017 19:51: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 7565 invoked by uid 48); 16 Oct 2017 19:51:22 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67543] ICE on associate with improper association
Date: Mon, 16 Oct 2017 19: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-67543-4-wdCAyVJmiB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67543-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67543-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01815.txt.bz2
Content-length: 545

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67543

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pault at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on trunk and 7-branch.

Thanks for the report.

Paul
>From gcc-bugs-return-578754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:51:00 2017
Return-Path: <gcc-bugs-return-578754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6742 invoked by alias); 16 Oct 2017 19:51:00 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6668 invoked by uid 48); 16 Oct 2017 19:50:54 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82121] [7/8 Regression] Unclassifiable statement during compilation when assigning to a Character array in a derived type contained in a ASSOCIATE statement
Date: Mon, 16 Oct 2017 19: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.2.0
X-Bugzilla-Keywords: rejects-valid
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 resolution
Message-ID: <bug-82121-4-ts30NI6A3S@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82121-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82121-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01814.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82121

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on trunk and 7-branch.

Thanks for the report.

Paul
>From gcc-bugs-return-578756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:53:41 2017
Return-Path: <gcc-bugs-return-578756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9126 invoked by alias); 16 Oct 2017 19:53: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 9069 invoked by uid 48); 16 Oct 2017 19:53:37 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/78152] [6/7/8 Regression] coarray and associate
Date: Mon, 16 Oct 2017 19: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.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-78152-4-6rMK6SeCQJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78152-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78152-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01816.txt.bz2
Content-length: 547

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78152

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on trunk and 7-branch. I am sorry, I don't have the time to go back to
6-branch and fix it there.

Thanks for the report.

Paul
>From gcc-bugs-return-578757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 19:58:37 2017
Return-Path: <gcc-bugs-return-578757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29866 invoked by alias); 16 Oct 2017 19:58: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 23684 invoked by uid 48); 16 Oct 2017 19:58:33 -0000
From: "andysem at mail dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82570] New: Lambda fails to compile because it doesn't meet constexpr requirements
Date: Mon, 16 Oct 2017 19: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andysem 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 attachments.created
Message-ID: <bug-82570-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01817.txt.bz2
Content-length: 3721

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82570

            Bug ID: 82570
           Summary: Lambda fails to compile because it doesn't meet
                    constexpr requirements
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andysem at mail dot ru
  Target Milestone: ---

Created attachment 42380
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42380&action=edit
A testcase that shows the problem.

The attached program fails to compile with the following command line:

g++-7 -std=gnu++1z -o test_constexpr_lambda test_constexpr_lambda.cpp

test_constexpr_lambda.cpp: In instantiation of ‘foo(Pred)::<lambda(int)> [with
Pred = main()::<lambda(int)>]’:
test_constexpr_lambda.cpp:12:7:   required from ‘struct foo(Pred) [with Pred =
main()::<lambda(int)>]::<lambda(int)>’
test_constexpr_lambda.cpp:10:9:   required from ‘void foo(Pred) [with Pred =
main()::<lambda(int)>]’
test_constexpr_lambda.cpp:25:33:   required from here
test_constexpr_lambda.cpp:14:18: error: uninitialized variable ‘buf’ in
‘constexpr’ function
    unsigned char buf[4];
                  ^~~
test_constexpr_lambda.cpp:2:13: error: ‘void iterate(Body) [with Body =
foo(Pred) [with Pred = main()::<lambda(int)>]::<lambda(int)>]’, declared using
local type ‘foo(Pred) [with Pred = main()::<lambda(int)>]::<lambda(int)>’, is
used but never defined [-fpermissive]
 inline void iterate(Body body)
             ^~~~~~~
test_constexpr_lambda.cpp:2:13: warning: ‘void iterate(Body) [with Body =
foo(Pred) [with Pred = main()::<lambda(int)>]::<lambda(int)>]’ used but never
defined

The program compiles with -std=gnu++14. It also compiles successfully with gcc
6.3.0 and -std=gnu++1z (i.e. this is a regression since gcc 6).

I believe, this is a compiler bug because (a) neither the lambda nor the
calling code are marked constexpr and (b) according to
[expr.prim.lambda.closure]/4 the lambda should only be considered constexpr if
it meets constexpr requirements (otherwise it should be compiled as a regular
runtime function).

g++-7 -v
Using built-in specs.
COLLECT_GCC=g++-7
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.2.0-1mind1'
--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.2.0 (Ubuntu 7.2.0-1mind1)
>From gcc-bugs-return-578758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 20:01:41 2017
Return-Path: <gcc-bugs-return-578758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122538 invoked by alias); 16 Oct 2017 20:01: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 122481 invoked by uid 48); 16 Oct 2017 20:01:38 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Mon, 16 Oct 2017 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: 7.1.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81758-4-ewoMxbLSex@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01818.txt.bz2
Content-length: 153

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
With r241438, the test passes.
>From gcc-bugs-return-578760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 20:06:29 2017
Return-Path: <gcc-bugs-return-578760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125915 invoked by alias); 16 Oct 2017 20:06: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 125621 invoked by uid 48); 16 Oct 2017 20:06:25 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82571] New: missing strlen optimization for memchr
Date: Mon, 16 Oct 2017 20:06: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.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-82571-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01820.txt.bz2
Content-length: 2077

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82571

            Bug ID: 82571
           Summary: missing strlen optimization for memchr
           Product: gcc
           Version: 8.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 result of a call to memchr(a, '\0', sizeof a) where a is a nul-terminated
string is the same as (a + strlen (a)).  GCC could use this equivalence to
optimize code like that in functions f0() and f1() the same way it optimizes
functions g0() and g1().

$ gcc -O2 -S -fdump-tree-optimized=/dev/stdout a.c

;; Function f0 (f0, funcdef_no=0, decl_uid=1815, cgraph_uid=0, symbol_order=0)

f0 ()
{
  char * p;
  char a[9];

  <bb 2> [100.00%] [count: INV]:
  __builtin_memcpy (&a, "012345", 7);
  p_3 = __builtin_memchr (&a, 0, 9);
  if (p_3 == 0B)
    goto <bb 3>; [0.04%] [count: 0]
  else
    goto <bb 4>; [99.96%] [count: INV]

  <bb 3> [0.04%] [count: 0]:
  __builtin_abort ();

  <bb 4> [99.96%] [count: INV]:
  a ={v} {CLOBBER};
  return;

}



;; Function f1 (f1, funcdef_no=1, decl_uid=1820, cgraph_uid=1, symbol_order=1)

f1 ()
{
  char * p;
  char a[9];
  long int p.0_1;
  long int a.1_2;
  long int _3;

  <bb 2> [100.00%] [count: INV]:
  __builtin_memcpy (&a, "012345", 7);
  p_8 = __builtin_memchr (&a, 0, 9);
  p.0_1 = (long int) p_8;
  a.1_2 = (long int) &a;
  _3 = p.0_1 - a.1_2;
  if (_3 != 6)
    goto <bb 3>; [0.04%] [count: 0]
  else
    goto <bb 4>; [99.96%] [count: INV]

  <bb 3> [0.04%] [count: 0]:
  __builtin_abort ();

  <bb 4> [99.96%] [count: INV]:
  a ={v} {CLOBBER};
  return;

}



;; Function g0 (g0, funcdef_no=2, decl_uid=1825, cgraph_uid=2, symbol_order=2)

g0 ()
{
  <bb 2> [100.00%] [count: INV]:
  return;

}



;; Function g1 (g1, funcdef_no=3, decl_uid=1830, cgraph_uid=3, symbol_order=3)

g1 ()
{
  <bb 2> [100.00%] [count: INV]:
  return;

}
>From gcc-bugs-return-578759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 20:06:27 2017
Return-Path: <gcc-bugs-return-578759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125656 invoked by alias); 16 Oct 2017 20:06:27 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 125585 invoked by uid 48); 16 Oct 2017 20:06:23 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Mon, 16 Oct 2017 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: 7.1.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81758-4-iy9ISySL5b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01819.txt.bz2
Content-length: 175

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
And with r241439, the test fails.

Andre, any ideas?
>From gcc-bugs-return-578761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 20:10:29 2017
Return-Path: <gcc-bugs-return-578761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 850 invoked by alias); 16 Oct 2017 20: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 695 invoked by uid 48); 16 Oct 2017 20:10:24 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Mon, 16 Oct 2017 20: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: 8.0
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 everconfirmed
Message-ID: <bug-82569-4-04tnlCRYth@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01821.txt.bz2
Content-length: 2384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-16
     Ever confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> So, if I compare the parameter values at this point in the working (r253529)
> and failing (r253530) code r6 holds the bad parm value:
> 
> failing:
> (gdb) info registers
> ...
> r6             0xfff0000007a	17587891077242
> 
> Works:
> (gdb) info registers
> ...
> r6             0x7a	122
> 
> 
> Why does this happen?  When it fails the value that is computed earlier in
> the code for the parameter
> 
>   iy = ((fy) >> 11);
> 
> is stored via an "stw" and then loaded via a "ld".  If there is any leftover
> garbage in the memory it will fail.  It doesn't always fail as sometimes the
> memory has 0 in the bytes not stored to via the stw and loaded via the ld.
> 
> So, looking at the assembly output:
> 
> works:
>    0x10094f9c <.general_textured_triangle+2092>:	srawi   r8,r4,11
>    0x10094fa0 <.general_textured_triangle+2096>:	std     r8,29256(r1)
> ...
>    0x100952c0 <.general_textured_triangle+2896>:	ld      r10,29256(r1)
>    (this is then stored again and loaded into r6 for the function call via
> std/ld)
> 
> fails:
>    0x10094d84 <.general_textured_triangle+2052>:	srawi   r9,r3,11
>    0x10094d88 <.general_textured_triangle+2056>:	stw     r9,29268(r1)
> ...
>    0x10095094 <.general_textured_triangle+2836>:	ld      r10,29264(r1)
>    (this is then stored again and loaded into r6 for the function call via
> std/ld)
> 
> Something in this revision causes the (working) std to be replaced by a stw.

Thanks for the preliminary analysis.  The change is supposed (1) to have an
effect only when there is an uninitialized variable in the code and (2) to
disable an unwarranted optimization.  That being said, it might also be
far-reaching enough to either expose another bug or trigger a conflict with
another part of the RTL back-end.  Can you attach a preprocessed testcase and a
command line?  FWIW I have access to gcc110 in the Compile Farm.
>From gcc-bugs-return-578762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 20:17:50 2017
Return-Path: <gcc-bugs-return-578762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10452 invoked by alias); 16 Oct 2017 20:17: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 10390 invoked by uid 48); 16 Oct 2017 20:17:46 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
Date: Mon, 16 Oct 2017 20: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: 7.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82560-4-GMBhUtsoQQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01822.txt.bz2
Content-length: 381

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |nathan at gcc dot gnu.org
>From gcc-bugs-return-578763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 20:18:57 2017
Return-Path: <gcc-bugs-return-578763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15984 invoked by alias); 16 Oct 2017 20:18: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 15844 invoked by uid 48); 16 Oct 2017 20:18:53 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82567] [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.
Date: Mon, 16 Oct 2017 20: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: 6.4.0
X-Bugzilla-Keywords: compile-time-hog
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc component target_milestone
Message-ID: <bug-82567-4-r1JgD4PGta@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01823.txt.bz2
Content-length: 1650

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82567

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org
          Component|fortran                     |middle-end
   Target Milestone|---                         |7.3

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Some time reports:

$ gfortran -ffrontend-optimize -ftime-report pr82567.f90

Execution times (seconds)
 phase parsing           :   0.18 ( 5%) usr   0.01 ( 8%) sys   0.19 ( 5%) wall 
  5542 kB (11%) ggc
 phase opt and generate  :   3.55 (95%) usr   0.10 (83%) sys   3.66 (95%) wall 
 43204 kB (88%) ggc


$ gfortran -O -ftime-report pr82567.f90

Execution times (seconds)
 phase parsing           :   0.20 ( 1%) usr   0.01 (11%) sys   0.21 ( 1%) wall 
  5543 kB (15%) ggc
 phase opt and generate  :  26.96 (99%) usr   0.08 (89%) sys  27.07 (99%) wall 
 30881 kB (84%) ggc

The problem seems to be that we generate a load of statements like

          (*(real(kind=4)[10000] * restrict) atmp.1.data)[0] = NON_LVALUE_EXPR
<__var_1_constr>;
          (*(real(kind=4)[10000] * restrict) atmp.1.data)[1] = __var_1_constr *
2.0e+0;
          (*(real(kind=4)[10000] * restrict) atmp.1.data)[2] = __var_1_constr *
3.0e+0;
          (*(real(kind=4)[10000] * restrict) atmp.1.data)[3] = __var_1_constr *
4.0e+0;

for the test case as written below.

For the other versions, we actually do not convert the array descriptor.
>From gcc-bugs-return-578764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 20:29:58 2017
Return-Path: <gcc-bugs-return-578764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84124 invoked by alias); 16 Oct 2017 20: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 84068 invoked by uid 48); 16 Oct 2017 20:29:54 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/69078] [C++14] function local static not initialized when only used in a generic/variadic lambda
Date: Mon, 16 Oct 2017 20: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon 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: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-69078-4-zo6CN9FANn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69078-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69078-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01824.txt.bz2
Content-length: 973

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69078

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> ---
Hi,
I couldn't find the email where this patch was posted, so I reply here.

I've noticed that the new testcase:
> 	PR c++/69078
> 	* g++.dg/cpp1y/lambda-generic-69078-1.C: New.

fails on arm-none-eabi
--with-mode default
--with-cpu default
--with-fpu default

(that is, when the default arm target is an old, less-capable cpu).

The test fails to link for lack of __sync_synchronize.

In other occasions, a fix for this kind of problem was to add
// { dg-require-thread-fence "" }
but this doesn't work here, as this dg proc is only defined in the libstdc++
testsuite.

How to skip it here?
>From gcc-bugs-return-578765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 20:35:29 2017
Return-Path: <gcc-bugs-return-578765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92150 invoked by alias); 16 Oct 2017 20:35: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 92067 invoked by uid 55); 16 Oct 2017 20:35:25 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82353] [8 Regression] runtime ubsan crash
Date: Mon, 16 Oct 2017 20: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vmakarov 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82353-4-YGJsTkWGHe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01825.txt.bz2
Content-length: 711

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353

--- Comment #10 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Mon Oct 16 20:34:53 2017
New Revision: 253796

URL: https://gcc.gnu.org/viewcvs?rev=253796&root=gcc&view=rev
Log:
2017-10-16  Vladimir Makarov  <vmakarov@redhat.com>

        PR sanitizer/82353
        * lra.c (collect_non_operand_hard_regs): Don't ignore operator
        locations.
        * lra-lives.c (bb_killed_pseudos, bb_gen_pseudos): Move up.
        (make_hard_regno_born, make_hard_regno_dead): Update
        bb_killed_pseudos and bb_gen_pseudos for fixed regs.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-lives.c
    trunk/gcc/lra.c
>From gcc-bugs-return-578766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 21:00:34 2017
Return-Path: <gcc-bugs-return-578766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11417 invoked by alias); 16 Oct 2017 21:00: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 11230 invoked by uid 48); 16 Oct 2017 21:00:29 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Mon, 16 Oct 2017 21:00: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer 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-82569-4-5MLD6dzpRe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01826.txt.bz2
Content-length: 310

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #2 from seurer at gcc dot gnu.org ---
This is one of those SPEC tests so I can't post the whole .i.  I will see if I
can extract part of it that still shows the same bad STW/LD behavior.  I
probably will not get to it until tomorrow, though.
>From gcc-bugs-return-578767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 21:55:05 2017
Return-Path: <gcc-bugs-return-578767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12924 invoked by alias); 16 Oct 2017 21: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 12823 invoked by uid 48); 16 Oct 2017 21:55:01 -0000
From: "npl at chello dot at" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/58150] debug info about definition of enum class not emitted if the declaration was already used in a class
Date: Mon, 16 Oct 2017 21: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: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: npl at chello dot at
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-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-58150-4-lNoAPsJMzv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58150-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58150-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01827.txt.bz2
Content-length: 861

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58150

npl at chello dot at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |npl at chello dot at

--- Comment #2 from npl at chello dot at ---
Created attachment 42381
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42381&action=edit
another testcase

I was generating a testcase before discovering this bug.
Problem is the same:

A class/struct using a prototyped, not yet defined "enum class" will prevent
that debug information for this "enum class" to be emitted.
Only if no class/struct uses a "enum class" before its defined, the debug info
will be available.

Affected: GCC 5.3.0, GCC 6.4.0, GCC 7.2.0

Please fix this, it really makes debugging a pain
>From gcc-bugs-return-578768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 16 23:29:04 2017
Return-Path: <gcc-bugs-return-578768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51858 invoked by alias); 16 Oct 2017 23: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 51808 invoked by uid 48); 16 Oct 2017 23:29:00 -0000
From: "ekchew at lgl dot kos.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82572] New: throw on line by itself in constexpr function aborts compile even if never reached
Date: Mon, 16 Oct 2017 23: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ekchew at lgl dot kos.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-82572-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01828.txt.bz2
Content-length: 1753

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82572

            Bug ID: 82572
           Summary: throw on line by itself in constexpr function aborts
                    compile even if never reached
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ekchew at lgl dot kos.net
  Target Milestone: ---

This code will not compile in C++14:

    constexpr void foo() {
        if(true)
            return;
        throw "What am I doing here?";
    }

Error:

gccbug.cc: In function 'constexpr void foo()':
gccbug.cc:4:8: error: expression '<throw-expression>' is not a constant
expression
  throw "What am I doing here?";
        ^~~~~~~~~~~~~~~~~~~~~~~

Build:

COLLECT_GCC=g++-7
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/7.2.0/libexec/gcc/x86_64-apple-darwin16.7.0/7.2.0/lto-wrapper
Target: x86_64-apple-darwin16.7.0
Configured with: ../configure --build=x86_64-apple-darwin16.7.0
--prefix=/usr/local/Cellar/gcc/7.2.0
--libdir=/usr/local/Cellar/gcc/7.2.0/lib/gcc/7
--enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-7
--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 --enable-checking=release --with-pkgversion='Homebrew GCC
7.2.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues
--disable-nls --with-native-system-header-dir=/usr/include
--with-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
Thread model: posix
gcc version 7.2.0 (Homebrew GCC 7.2.0)
>From gcc-bugs-return-578769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 00:11:17 2017
Return-Path: <gcc-bugs-return-578769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77449 invoked by alias); 17 Oct 2017 00:11: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 77367 invoked by uid 48); 17 Oct 2017 00:11:11 -0000
From: "asmwarrior at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/71867] Optimizer generates code dereferencing a null pointer
Date: Tue, 17 Oct 2017 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: 5.3.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asmwarrior 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-71867-4-PYOtQgsBet@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71867-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71867-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01829.txt.bz2
Content-length: 1138

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71867

--- Comment #10 from asmwarrior <asmwarrior at gmail dot com> ---
Is it related to pointer casting? I see this post:
https://stackoverflow.com/questions/36816363/gcc-4-9-3-more-aggressive-null-pointer-check-removal

Some one reported that the Null check was removed in the following code

void someFunc(struct MyStruct *s)
{
    if (s != NULL)
    {
       cout << s->someField << endl;
       delete s;
    }
}

I see comments in that question, and some one suggest using
`-fno-strict-aliasing` option.

@Vadim, dose wx use some cast? I see some macros in wx3.1's source like:

// this cast does some more checks at compile time as it uses static_cast
// internally
//
// note that it still has different semantics from dynamic_cast<> and so can't
// be replaced by it as long as there are any compilers not supporting it
#define wxDynamicCast(obj, className) \
    ((className *) wxCheckDynamicCast( \
        const_cast<wxObject *>(static_cast<const wxObject *>(\
          const_cast<className *>(static_cast<const className *>(obj)))), \
        &className::ms_classInfo))
>From gcc-bugs-return-578770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 01:01:37 2017
Return-Path: <gcc-bugs-return-578770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113780 invoked by alias); 17 Oct 2017 01: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 113713 invoked by uid 48); 17 Oct 2017 01:01:32 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82574] New: wrong code at -O3 on x86_64-linux-gnu
Date: Tue, 17 Oct 2017 01:01: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-82574-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01830.txt.bz2
Content-length: 1228

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82574

            Bug ID: 82574
           Summary: wrong code at -O3 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 seems 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/8.0.0/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 8.0.0 20171016 (experimental) [trunk revision 253793] (GCC) 
$ 
$ gcctk -O2 small.c; ./a.out; echo $?
0
$ gcc-7.2.0 -O3 small.c; ./a.out; echo $?
0
$ 
$ gcctk -O3 small.c; ./a.out; echo $?
1
$ 


-------------------------------


char a, b, c, d[2][3];

int main ()
{
  for (; a < 2; a++)
    for (b = 0; b < 3; b++)
      if (c)
        d[a][b] = 1;
  return d[0][0]; 
}
>From gcc-bugs-return-578771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 01:12:15 2017
Return-Path: <gcc-bugs-return-578771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37613 invoked by alias); 17 Oct 2017 01: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 37517 invoked by uid 48); 17 Oct 2017 01:12:06 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82572] throw on line by itself in constexpr function aborts compile even if never reached
Date: Tue, 17 Oct 2017 01: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: 7.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: dependson
Message-ID: <bug-82572-4-1RkWxxHB0h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82572-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01831.txt.bz2
Content-length: 544

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82572

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |80061

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this is almost a dup of bug 80061.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061
[Bug 80061] error on constexpr function with an unevaluated throw
>From gcc-bugs-return-578772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 02:03:11 2017
Return-Path: <gcc-bugs-return-578772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125265 invoked by alias); 17 Oct 2017 02: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 125199 invoked by uid 48); 17 Oct 2017 02:03:04 -0000
From: "gnu_andrew at member dot fsf.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82573] GNAT.Registry doesn't read/write with HKEY_LOCAL_MACHINE.
Date: Tue, 17 Oct 2017 02:03: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: 6.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gnu_andrew at member dot fsf.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-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-82573-4-GWlDkc8utU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82573-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82573-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01832.txt.bz2
Content-length: 465

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82573

Andrew John Hughes <gnu_andrew at member dot fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnu_andrew at member dot fsf.org

--- Comment #1 from Andrew John Hughes <gnu_andrew at member dot fsf.org> ---
This doesn't seem to be related to GNU Classpath.
>From gcc-bugs-return-578773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 02:19:06 2017
Return-Path: <gcc-bugs-return-578773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39326 invoked by alias); 17 Oct 2017 02:19: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 36290 invoked by uid 48); 17 Oct 2017 02:19:02 -0000
From: "vityokster at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/78911] [6 Regression] Infinite loop at -O2/O3 optimization levels while trying to compile server.c from Wine-2.0-rc2
Date: Tue, 17 Oct 2017 02: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: 6.2.1
X-Bugzilla-Keywords: compile-time-hog, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vityokster at gmail dot com
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-78911-4-rtXSovSCPZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78911-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78911-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01833.txt.bz2
Content-length: 676

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78911

Viktor Yu. Kovalskii <vityokster at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vityokster at gmail dot com

--- Comment #17 from Viktor Yu. Kovalskii <vityokster at gmail dot com> ---
We try investigate source of this error in two different bugzilla's:

https://bugs.gentoo.org/613128

https://bugs.winehq.org/show_bug.cgi?id=42406

I hope information from this bug reports will be very helpful.

Right now this bug reproduced with gcc-6.4.0 and wine-2.17.
>From gcc-bugs-return-578774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 04:28:44 2017
Return-Path: <gcc-bugs-return-578774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111851 invoked by alias); 17 Oct 2017 04:28: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 111790 invoked by uid 48); 17 Oct 2017 04:28:39 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/78808] target_clones not applying to openmp functions
Date: Tue, 17 Oct 2017 04: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs 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:
Message-ID: <bug-78808-4-arE1nCcwpz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01834.txt.bz2
Content-length: 7186

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808

--- Comment #9 from Steven Noonan <steven at uplinklabs dot net> ---
Actually, I lied. It's not quite working. It's obviously close though.

The following examples of the issue are using my n-body implementation:

https://github.com/tycho/nbody

Each of the variants of n-body have a bunch of link issues:

$ make CFOPTIMIZE="-O3 -march=core2"
[...]
nbody_CPU_SOA.o: In function `_ComputeGravitation_SOA.default.8':
nbody_CPU_SOA.c:(.text+0x1e): undefined reference to
`_ComputeGravitation_SOA._omp_fn.0._GLOBAL___ComputeGravitation_SOA.ifunc'
nbody_CPU_SOA.o: In function `_ComputeGravitation_SOA.arch_skylake.4':
nbody_CPU_SOA.c:(.text+0x59b): undefined reference to
`_ComputeGravitation_SOA._omp_fn.0._GLOBAL___ComputeGravitation_SOA.ifunc'
nbody_CPU_SOA.o: In function `_ComputeGravitation_SOA.arch_haswell.5':
nbody_CPU_SOA.c:(.text+0x63b): undefined reference to
`_ComputeGravitation_SOA._omp_fn.0._GLOBAL___ComputeGravitation_SOA.ifunc'
nbody_CPU_SOA.o: In function `_ComputeGravitation_SOA.arch_sandybridge.6':
nbody_CPU_SOA.c:(.text+0x6db): undefined reference to
`_ComputeGravitation_SOA._omp_fn.0._GLOBAL___ComputeGravitation_SOA.ifunc'
[...]

Symbols in nbody_CPU_SOA.o:

$ nm src/nbody_CPU_SOA.o 
00000000000000a0 t bodyBodyInteraction
0000000000000c00 T ComputeGravitation_SOA
0000000000000610 t _ComputeGravitation_SOA.arch_haswell.5
00000000000006b0 t _ComputeGravitation_SOA.arch_sandybridge.6
0000000000000570 t _ComputeGravitation_SOA.arch_skylake.4
0000000000000000 t _ComputeGravitation_SOA.default.8
0000000000000bb0 i
_ComputeGravitation_SOA._GLOBAL___ComputeGravitation_SOA.ifunc
0000000000000290 t _ComputeGravitation_SOA._omp_fn.0.arch_haswell.2
0000000000000400 t _ComputeGravitation_SOA._omp_fn.0.arch_sandybridge.3
0000000000000120 t _ComputeGravitation_SOA._omp_fn.0.arch_skylake.1
0000000000000750 t _ComputeGravitation_SOA._omp_fn.0.default.7
                 U
_ComputeGravitation_SOA._omp_fn.0._GLOBAL___ComputeGravitation_SOA.ifunc
0000000000000b60 t _ComputeGravitation_SOA._omp_fn.0.resolver
0000000000000bb0 t _ComputeGravitation_SOA.resolver
                 U __cpu_indicator_init
                 U __cpu_model
                 U GOMP_loop_end_nowait
                 U GOMP_loop_ull_guided_next
                 U GOMP_loop_ull_guided_start
                 U GOMP_parallel
0000000000000000 r .LC0
0000000000000004 r .LC1
0000000000000008 r .LC2
0000000000000000 r .LC4
0000000000000010 r .LC5
                 U libtime_cpu_to_wall


There's a second issue as well. If I tell it to build with -march=native, I get
compile errors:

$ make CFOPTIMIZE="-O3 -march=native" V=1
make -C libc11 libc11.a
make -C libtime libtime.a
make -C src nbody
gcc -O3 -march=native -std=gnu11 -fno-strict-aliasing -D_GNU_SOURCE
-DLIBTIME_STATIC -DUSE_OPENMP -DHAVE_SIMD -DNO_CUDA -DUSE_LIBC11
-I../libc11/include -I../libtime/include -Wall -Wdeclaration-after-statement
-Werror=implicit -Werror=undef -Wmissing-declarations -Wmissing-prototypes
-Wno-declaration-after-statement -Wno-long-long -Wno-overlength-strings
-Wno-unknown-pragmas -Wold-style-definition -Wstrict-prototypes -pthread
-fopenmp -MMD -c -o nbody_CPU_AOS.o nbody_CPU_AOS.c
gcc -O3 -march=native -std=gnu11 -fno-strict-aliasing -D_GNU_SOURCE
-DLIBTIME_STATIC -DUSE_OPENMP -DHAVE_SIMD -DNO_CUDA -DUSE_LIBC11
-I../libc11/include -I../libtime/include -Wall -Wdeclaration-after-statement
-Werror=implicit -Werror=undef -Wmissing-declarations -Wmissing-prototypes
-Wno-declaration-after-statement -Wno-long-long -Wno-overlength-strings
-Wno-unknown-pragmas -Wold-style-definition -Wstrict-prototypes -pthread
-fopenmp -MMD -c -o nbody_CPU_AOS_tiled.o nbody_CPU_AOS_tiled.c
gcc -O3 -march=native -std=gnu11 -fno-strict-aliasing -D_GNU_SOURCE
-DLIBTIME_STATIC -DUSE_OPENMP -DHAVE_SIMD -DNO_CUDA -DUSE_LIBC11
-I../libc11/include -I../libtime/include -Wall -Wdeclaration-after-statement
-Werror=implicit -Werror=undef -Wmissing-declarations -Wmissing-prototypes
-Wno-declaration-after-statement -Wno-long-long -Wno-overlength-strings
-Wno-unknown-pragmas -Wold-style-definition -Wstrict-prototypes -pthread
-fopenmp -MMD -c -o nbody_CPU_SOA.o nbody_CPU_SOA.c
gcc -O3 -march=native -std=gnu11 -fno-strict-aliasing -D_GNU_SOURCE
-DLIBTIME_STATIC -DUSE_OPENMP -DHAVE_SIMD -DNO_CUDA -DUSE_LIBC11
-I../libc11/include -I../libtime/include -Wall -Wdeclaration-after-statement
-Werror=implicit -Werror=undef -Wmissing-declarations -Wmissing-prototypes
-Wno-declaration-after-statement -Wno-long-long -Wno-overlength-strings
-Wno-unknown-pragmas -Wold-style-definition -Wstrict-prototypes -pthread
-fopenmp -MMD -c -o nbody_CPU_SOA_tiled.o nbody_CPU_SOA_tiled.c
In file included from nbody_CPU_AOS.c:42:0:
nbody_CPU_AOS.c: In function ‘_ComputeGravitation_AOS.arch_skylake.4’:
nbody_util.h:114:21: error: SSE register return with SSE disabled
  static DECLARE_AOS(_ ## Name)
                     ^
nbody_util.h:96:2: note: in definition of macro ‘DECLARE_AOS’
  Name( \
  ^~~~
nbody_CPU_AOS.c:47:1: note: in expansion of macro ‘DEFINE_AOS’
 DEFINE_AOS(ComputeGravitation_AOS)
 ^~~~~~~~~~
make[2]: *** [GNUmakefile:214: nbody_CPU_AOS.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from nbody_CPU_AOS_tiled.c:42:0:
nbody_CPU_AOS_tiled.c: In function
‘_ComputeGravitation_AOS_tiled.arch_skylake.4’:
nbody_util.h:114:21: error: SSE register return with SSE disabled
  static DECLARE_AOS(_ ## Name)
                     ^
nbody_util.h:96:2: note: in definition of macro ‘DECLARE_AOS’
  Name( \
  ^~~~
nbody_CPU_AOS_tiled.c:49:1: note: in expansion of macro ‘DEFINE_AOS’
 DEFINE_AOS(ComputeGravitation_AOS_tiled)
 ^~~~~~~~~~
make[2]: *** [GNUmakefile:214: nbody_CPU_AOS_tiled.o] Error 1
In file included from nbody_CPU_SOA.c:44:0:
nbody_CPU_SOA.c: In function ‘_ComputeGravitation_SOA.arch_skylake.4’:
nbody_util.h:107:21: error: SSE register return with SSE disabled
  static DECLARE_SOA(_ ## Name)
                     ^
nbody_util.h:87:2: note: in definition of macro ‘DECLARE_SOA’
  Name( \
  ^~~~
nbody_CPU_SOA.c:49:1: note: in expansion of macro ‘DEFINE_SOA’
 DEFINE_SOA(ComputeGravitation_SOA)
 ^~~~~~~~~~
make[2]: *** [GNUmakefile:214: nbody_CPU_SOA.o] Error 1
In file included from nbody_CPU_SOA_tiled.c:42:0:
nbody_CPU_SOA_tiled.c: In function
‘_ComputeGravitation_SOA_tiled.arch_skylake.4’:
nbody_util.h:107:21: error: SSE register return with SSE disabled
  static DECLARE_SOA(_ ## Name)
                     ^
nbody_util.h:87:2: note: in definition of macro ‘DECLARE_SOA’
  Name( \
  ^~~~
nbody_CPU_SOA_tiled.c:49:1: note: in expansion of macro ‘DEFINE_SOA’
 DEFINE_SOA(ComputeGravitation_SOA_tiled)
 ^~~~~~~~~~
make[2]: *** [GNUmakefile:214: nbody_CPU_SOA_tiled.o] Error 1
make[1]: *** [GNUmakefile:50: src/nbody] Error 2
make: *** [GNUmakefile:28: top-level-make] Error 2

This is on a Broadwell host, so I can't imagine why it concluded SSE is
disabled.
>From gcc-bugs-return-578775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 05:49:31 2017
Return-Path: <gcc-bugs-return-578775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120550 invoked by alias); 17 Oct 2017 05:49: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 114066 invoked by uid 48); 17 Oct 2017 05:49:27 -0000
From: "babokin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82576] New: sbitmap_vector_alloc() not ready for 64 bits
Date: Tue, 17 Oct 2017 05:49: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: babokin 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-82576-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01835.txt.bz2
Content-length: 1471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82576

            Bug ID: 82576
           Summary: sbitmap_vector_alloc() not ready for 64 bits
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: babokin at gmail dot com
  Target Milestone: ---

Created attachment 42382
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42382&action=edit
Reproducer

gcc trunk, rev253744, x86_64.

Trying compile attached test case with UBSAN I get segfault:
during RTL pass: cprop
f.cpp: In function ‘void tf_1_foo()’:
f.cpp:335:3: internal compiler error: Segmentation fault
   }
   ^
0xf4b65f crash_signal
        ../../gcc/gcc/toplev.c:326
0x1684418 sbitmap_vector_alloc(unsigned int, unsigned int)
        ../../gcc/gcc/sbitmap.c:171
0x1562dc3 alloc_cprop_mem
        ../../gcc/gcc/cprop.c:558
0x1562dc3 one_cprop_pass
        ../../gcc/gcc/cprop.c:1818
0x1562dc3 execute_rtl_cprop
        ../../gcc/gcc/cprop.c:1932
0x1562dc3 execute
        ../../gcc/gcc/cprop.c:1970

This is due to sbitmap_vector_alloc() implementation using "unsigned int",
instead of size_t. Fixing this make test case compile (even though consuming a
lot of memory, about 80Gb).

>g++ -std=c++11 -fsanitize=undefined -fno-sanitize-recover=undefined -w -Werror=uninitialized -O2 -c f.cpp
>From gcc-bugs-return-578776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 06:35:40 2017
Return-Path: <gcc-bugs-return-578776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12745 invoked by alias); 17 Oct 2017 06:35: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 12696 invoked by uid 48); 17 Oct 2017 06:35:36 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82574] [8 Regression] wrong code at -O3 on x86_64-linux-gnu
Date: Tue, 17 Oct 2017 06: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: unknown
X-Bugzilla-Keywords: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-82574-4-HehTa1O92n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82574-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82574-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01836.txt.bz2
Content-length: 935

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82574

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
                 CC|                            |amker at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
   Target Milestone|---                         |8.0
            Summary|wrong code at -O3 on        |[8 Regression] wrong code
                   |x86_64-linux-gnu            |at -O3 on x86_64-linux-gnu
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Thank you, confirmed, started with r253680.
>From gcc-bugs-return-578777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 06:39:53 2017
Return-Path: <gcc-bugs-return-578777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10764 invoked by alias); 17 Oct 2017 06: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 123957 invoked by uid 48); 17 Oct 2017 06:39:46 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82577] New: ice in compare_base_decls, at alias.c:2053
Date: Tue, 17 Oct 2017 06: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01837.txt.bz2
Content-length: 1388

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577

            Bug ID: 82577
           Summary: ice in compare_base_decls, at alias.c:2053
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 42383
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42383&action=edit
gzipped C++ source code

The attached C++ code, when compiled by flag -O2 on recent gcc trunk,
does this:

kernel/qregion_x11.cpp:2898:1: internal compiler error: tree check: expected
tre
e that contains ‘decl with visibility’ structure, have ‘parm_decl’ in
compare_ba
se_decls, at alias.c:2053
0x5a4a0c tree_contains_struct_check_failed(tree_node const*,
tree_node_structure
_enum, char const*, int, char const*)
        ../../trunk/gcc/tree.c:9253
0x917303 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*
, int, char const*)
        ../../trunk/gcc/tree.h:3196
0x917303 compare_base_decls(tree_node*, tree_node*)
        ../../trunk/gcc/alias.c:2053
0xfc2829 decl_refs_may_alias_p
        ../../trunk/gcc/tree-ssa-alias.c:1100

I'll have a go at reducing the code and finding a range of revisions
for the bug.
>From gcc-bugs-return-578778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 06:48:47 2017
Return-Path: <gcc-bugs-return-578778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61650 invoked by alias); 17 Oct 2017 06: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 58013 invoked by uid 48); 17 Oct 2017 06:48:36 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82577] ice in compare_base_decls, at alias.c:2053
Date: Tue, 17 Oct 2017 06: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82577-4-YLCsKGG5Fs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01838.txt.bz2
Content-length: 178

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Bug seems to occur between revisions 253628 and 253721.
>From gcc-bugs-return-578779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 06:48:48 2017
Return-Path: <gcc-bugs-return-578779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61717 invoked by alias); 17 Oct 2017 06: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 58015 invoked by uid 48); 17 Oct 2017 06:48:36 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82576] sbitmap_vector_alloc() not ready for 64 bits
Date: Tue, 17 Oct 2017 06: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: 8.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
Message-ID: <bug-82576-4-hDdCEXQKAq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82576-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82576-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01839.txt.bz2
Content-length: 759

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82576

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
                 CC|                            |law 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> ---
Confirmed, note that also bitmap.h contains API where we have 'unsigned int'.
I can work on that, do we want to change API of both?
>From gcc-bugs-return-578780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 06:55:08 2017
Return-Path: <gcc-bugs-return-578780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50253 invoked by alias); 17 Oct 2017 06:55: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 50224 invoked by uid 48); 17 Oct 2017 06:55:04 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82577] ice in compare_base_decls, at alias.c:2053
Date: Tue, 17 Oct 2017 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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82577-4-miH8UEqq2o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01840.txt.bz2
Content-length: 305

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C++ code is

class a {
public:
  int *b();
};
struct c {
  int d;
  a e;
} f;
void fn1(register c *g) {
  register int *h;
  do
    (h) = g->e.b() + (g)->d;
  while (&f);
}
>From gcc-bugs-return-578781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 07:35:38 2017
Return-Path: <gcc-bugs-return-578781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122270 invoked by alias); 17 Oct 2017 07: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 121859 invoked by uid 48); 17 Oct 2017 07:35:33 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82577] [8 Regression] ICE in compare_base_decls, at alias.c:2053
Date: Tue, 17 Oct 2017 07: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
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-82577-4-x3ihGei8r2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01841.txt.bz2
Content-length: 986

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |nathan at gcc dot gnu.org
   Target Milestone|---                         |8.0
            Summary|ice in compare_base_decls,  |[8 Regression] ICE in
                   |at alias.c:2053             |compare_base_decls, at
                   |                            |alias.c:2053
     Ever confirmed|0                           |1

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r253649.
>From gcc-bugs-return-578782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 07:39:14 2017
Return-Path: <gcc-bugs-return-578782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126606 invoked by alias); 17 Oct 2017 07: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 126472 invoked by uid 55); 17 Oct 2017 07:39:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82549] [6/7/8 Regression] ICE at -O1 and above: verify_gimple failed
Date: Tue, 17 Oct 2017 07: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:
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82549-4-i7XXtQ5PY8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01842.txt.bz2
Content-length: 686

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82549

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 17 07:38:32 2017
New Revision: 253805

URL: https://gcc.gnu.org/viewcvs?rev=253805&root=gcc&view=rev
Log:
        PR tree-optimization/82549
        * fold-const.c (optimize_bit_field_compare, fold_truth_andor_1):
        Formatting fixes.  Instead of calling make_bit_field_ref with negative
        bitpos return 0.

        * gcc.c-torture/compile/pr82549.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr82549.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 07:48:48 2017
Return-Path: <gcc-bugs-return-578783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130274 invoked by alias); 17 Oct 2017 07: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 96930 invoked by uid 48); 17 Oct 2017 07:48:24 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Tue, 17 Oct 2017 07:48: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:
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-82569-4-B9lP24XStJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01843.txt.bz2
Content-length: 226

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Btw, do the problematic functions have a prototype or are they written in the
old-fashioned K&R way?
>From gcc-bugs-return-578784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 08:26:58 2017
Return-Path: <gcc-bugs-return-578784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71551 invoked by alias); 17 Oct 2017 08: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 71474 invoked by uid 48); 17 Oct 2017 08:26:54 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80061] error on constexpr function with an unevaluated throw
Date: Tue, 17 Oct 2017 08: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: 7.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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-80061-4-16xorpYe37@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80061-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80061-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01844.txt.bz2
Content-length: 454

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ekchew at lgl dot kos.net

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 82572 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 08:26:58 2017
Return-Path: <gcc-bugs-return-578785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71553 invoked by alias); 17 Oct 2017 08: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 71452 invoked by uid 48); 17 Oct 2017 08:26:54 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82572] throw on line by itself in constexpr function aborts compile even if never reached
Date: Tue, 17 Oct 2017 08: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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-82572-4-hnjyZ0HVqj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82572-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01845.txt.bz2
Content-length: 504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82572

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Indeed.

*** This bug has been marked as a duplicate of bug 80061 ***
>From gcc-bugs-return-578786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 08:30:02 2017
Return-Path: <gcc-bugs-return-578786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76830 invoked by alias); 17 Oct 2017 08:30: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 76744 invoked by uid 48); 17 Oct 2017 08:29:57 -0000
From: "peter.gottschling at simunova dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82566] Internal compiler error in type deduction (with C++11)
Date: Tue, 17 Oct 2017 08: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.4
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peter.gottschling at simunova dot com
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-82566-4-cGDNdivfJX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82566-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01846.txt.bz2
Content-length: 469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82566

--- Comment #3 from Peter Gottschling <peter.gottschling at simunova dot com> ---
Ok. Then I give up on 4.9. BTW, I couldn't find a list on the gcc homepage
which release is still supported. There were only dates when it was released
but not when the maintenance was terminated (just a note that some versions are
maintained longer than others (but then again not which)). Google didn't find
anything either.
>From gcc-bugs-return-578787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 08:33:06 2017
Return-Path: <gcc-bugs-return-578787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102695 invoked by alias); 17 Oct 2017 08:33: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 102606 invoked by uid 48); 17 Oct 2017 08:33:01 -0000
From: "julia.koval at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82344] [8 Regression] SPEC CPU2006 435.gromacs ~10% performance regression with trunk@250855
Date: Tue, 17 Oct 2017 08:33: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, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: julia.koval at intel 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82344-4-tMePfMemxE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82344-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01847.txt.bz2
Content-length: 1581

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82344

--- Comment #5 from Yulia Koval <julia.koval at intel dot com> ---
(In reply to Richard Biener from comment #3)
> So the newton-raphson step causes register pressure to increase and post
> haswell this makes code slower than not using rsqrt (thus using sqrtf and a
> division)?
> 
> I wonder whether it would be profitable to SLP vectorize this (of course
> we're not considering this because SLP vectorization is looking for stores).
> SLP vectorization would need to do 4 (or 8 with avx256) vector inserts
> and extracts but then could do the rsqrt and newton raphson together.
> The argument computation to the sqrt also loop vectorizable and the ultimate
> operands even come from continuous memory.  One of the tricky parts would be
> to see that the only first rsqrt arg is re-used and thus taking
> rinv21 to rinv33 (8 rsqrts) for the vectorization is probably best.
> 
>           rinv11           = 1.0/sqrt(rsq11)
>           rinv21           = 1.0/sqrt(rsq21)
>           rinv31           = 1.0/sqrt(rsq31)
>           rinv12           = 1.0/sqrt(rsq12)
>           rinv22           = 1.0/sqrt(rsq22)
>           rinv32           = 1.0/sqrt(rsq32)
>           rinv13           = 1.0/sqrt(rsq13)
>           rinv23           = 1.0/sqrt(rsq23)
>           rinv33           = 1.0/sqrt(rsq33)
>           r11              = rsq11*rinv11
> 
> What does ICC do to this loop?
> 
> I can confirm the regression on our tester (a Haswell machine btw).

ICC generates vrsqrtps in this case.
>From gcc-bugs-return-578788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 08:34:40 2017
Return-Path: <gcc-bugs-return-578788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17624 invoked by alias); 17 Oct 2017 08: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 6377 invoked by uid 48); 17 Oct 2017 08:34:31 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82566] Internal compiler error in type deduction (with C++11)
Date: Tue, 17 Oct 2017 08: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: 4.9.4
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-82566-4-hKK9jHe8E2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82566-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01848.txt.bz2
Content-length: 587

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82566

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The gcc front page: https://gcc.gnu.org

Has 
Supported Releases
GCC 7.2 (changes)
Status: 2017-08-14 (regression fixes & docs only).
Serious regressions. All regressions.
GCC 6.4 (changes)
Status: 2017-07-04 (regression fixes & docs only).
Serious regressions. All regressions.
Development: GCC 8.0 (release criteria, changes)
Status: 2017-04-20 (Stage 1, general development).
Serious regressions. All regressions.



I don't see how we could make it more clear
>From gcc-bugs-return-578789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 08:39:24 2017
Return-Path: <gcc-bugs-return-578789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31523 invoked by alias); 17 Oct 2017 08: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 31143 invoked by uid 55); 17 Oct 2017 08:38:54 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82570] Lambda fails to compile because it doesn't meet constexpr requirements
Date: Tue, 17 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
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-82570-4-FVuWyDNvoC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82570-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01849.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82570

--- Comment #1 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 17 08:38:07 2017
New Revision: 253806

URL: https://gcc.gnu.org/viewcvs?rev=253806&root=gcc&view=rev
Log:
2017-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/82570
        * g++.dg/cpp1z/constexpr-lambda18.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda18.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 08:40:09 2017
Return-Path: <gcc-bugs-return-578790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37526 invoked by alias); 17 Oct 2017 08:40: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 37320 invoked by uid 48); 17 Oct 2017 08:39:59 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82570] Lambda fails to compile because it doesn't meet constexpr requirements
Date: Tue, 17 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-82570-4-YgwW0FIyu1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82570-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01850.txt.bz2
Content-length: 535

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82570

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.3

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed for 7.3.0 by the patch which fixed c++/80935.
>From gcc-bugs-return-578791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 08:41:03 2017
Return-Path: <gcc-bugs-return-578791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39042 invoked by alias); 17 Oct 2017 08:41: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 38967 invoked by uid 48); 17 Oct 2017 08:40:58 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82574] [8 Regression] wrong code at -O3 on x86_64-linux-gnu
Date: Tue, 17 Oct 2017 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: unknown
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: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-82574-4-QucWPSR9sQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82574-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82574-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01851.txt.bz2
Content-length: 399

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82574

amker at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |amker at gcc dot gnu.org

--- Comment #2 from amker at gcc dot gnu.org ---
Sorry for disturbing, I will investigate it.
>From gcc-bugs-return-578792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 08:56:09 2017
Return-Path: <gcc-bugs-return-578792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118580 invoked by alias); 17 Oct 2017 08: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 118218 invoked by uid 48); 17 Oct 2017 08:56:05 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82578] New: Redundant instructions emitted starting with r204212
Date: Tue, 17 Oct 2017 08:56: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: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: krebbel at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82578-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01852.txt.bz2
Content-length: 1237

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82578

            Bug ID: 82578
           Summary: Redundant instructions emitted starting with r204212
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: krebbel at gcc dot gnu.org
  Target Milestone: ---

Starting with r204212 (2013-10-30) a redundant thread pointer extract is
emitted.

static __thread int counter;

void gs_handler(void)
{
  counter++;
}

compiled with: -O2 -S

2xear with r204211:

gs_handler:
        larl    %r5,.L2
        ear     %r1,%a0
        sllg    %r1,%r1,32
        ear     %r1,%a1
        lg      %r2,.L3-.L2(%r5)
        l       %r3,0(%r1,%r2)
        ahi     %r3,1
        st      %r3,0(%r1,%r2)
        br      %r14


4xear with r204212:

gs_handler:
        larl    %r5,.L2
        ear     %r2,%a0
        sllg    %r2,%r2,32
        ear     %r1,%a0
        ear     %r2,%a1
        sllg    %r1,%r1,32
        lg      %r3,.L3-.L2(%r5)
        ear     %r1,%a1
        l       %r2,0(%r2,%r3)
        ahi     %r2,1
        st      %r2,0(%r1,%r3)
        br      %r14
>From gcc-bugs-return-578793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:07:31 2017
Return-Path: <gcc-bugs-return-578793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81473 invoked by alias); 17 Oct 2017 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 81425 invoked by uid 55); 17 Oct 2017 09:07:26 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67831] Internal error on complicated constexpr initialization.
Date: Tue, 17 Oct 2017 09: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.9.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-67831-4-pVf88A6Xc9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67831-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67831-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01853.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67831

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 17 09:06:53 2017
New Revision: 253807

URL: https://gcc.gnu.org/viewcvs?rev=253807&root=gcc&view=rev
Log:
2017-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/67831
        * g++.dg/cpp0x/constexpr-ice18.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ice18.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:09:14 2017
Return-Path: <gcc-bugs-return-578794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85868 invoked by alias); 17 Oct 2017 09: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 85810 invoked by uid 48); 17 Oct 2017 09:09:09 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67831] Internal error on complicated constexpr initialization.
Date: Tue, 17 Oct 2017 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: 4.9.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-67831-4-eM00Jlqa5Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67831-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67831-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01854.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67831

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.0

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed for 6.1.0.
>From gcc-bugs-return-578795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:22:33 2017
Return-Path: <gcc-bugs-return-578795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118249 invoked by alias); 17 Oct 2017 09: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 114721 invoked by uid 48); 17 Oct 2017 09:22:27 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82578] Redundant instructions emitted starting with r204212
Date: Tue, 17 Oct 2017 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: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: krebbel at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82578-4-YU78HrjzC5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82578-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82578-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01855.txt.bz2
Content-length: 3490

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82578

--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
As expected the rtl dumps are identical up to removed "regmove" pass.

The interesting change is in insn 8. With regmove the value already loaded into
r47 is reused while without regmove it is loaded from a0 again.

First thing I'll check is whether a register_move_cost adjustment fixes this.

r204211 202r.regmove:

(insn 5 2 6 2 (set (reg/f:DI 46)
        (mem/u/c:DI (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [3 S8 A64])) t.c:7
63 {*movdi_64}
     (expr_list:REG_EQUAL (const:DI (unspec:DI [
                    (symbol_ref:DI ("counter") [flags 0x2a]  <var_decl
0x3fff6c46a18 counter>)
                ] UNSPEC_NTPOFF))
        (nil)))
(insn 6 5 7 2 (set (reg/f:DI 47)
        (reg:DI 36 %a0)) t.c:7 63 {*movdi_64}
     (expr_list:REG_DEAD (reg:DI 36 %a0)
        (nil)))
(insn 7 6 8 2 (set (reg/f:DI 48)
        (mem/u/c:DI (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [3 S8 A64])) t.c:7
63 {*movdi_64}
     (expr_list:REG_EQUAL (const:DI (unspec:DI [
                    (symbol_ref:DI ("counter") [flags 0x2a]  <var_decl
0x3fff6c46a18 counter>)
                ] UNSPEC_NTPOFF))
        (nil)))
(insn 8 7 9 2 (set (reg/f:DI 49)
        (reg/f:DI 47)) t.c:7 63 {*movdi_64}
     (expr_list:REG_DEAD (reg/f:DI 47)
        (nil)))
(insn 9 8 0 2 (parallel [
            (set (mem/c:SI (plus:DI (reg/f:DI 49)
                        (reg/f:DI 46)) [2 counter+0 S4 A32])
                (plus:SI (mem/c:SI (plus:DI (reg/f:DI 49)
                            (reg/f:DI 48)) [2 counter+0 S4 A32])
                    (const_int 1 [0x1])))
            (clobber (reg:CC 33 %cc))
        ]) t.c:7 327 {*addsi3}
     (expr_list:REG_DEAD (reg/f:DI 49)
        (expr_list:REG_DEAD (reg/f:DI 48)
            (expr_list:REG_DEAD (reg/f:DI 46)
                (expr_list:REG_UNUSED (reg:CC 33 %cc)
                    (nil))))))


r204212 202r.outof_cfglayout:

(insn 5 2 6 2 (set (reg/f:DI 46)
        (mem/u/c:DI (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [3 S8 A64])) t.c:7
63 {*movdi_64}
     (expr_list:REG_EQUAL (const:DI (unspec:DI [
                    (symbol_ref:DI ("counter") [flags 0x2a]  <var_decl
0x3fff6c46a18 counter>)
                ] UNSPEC_NTPOFF))
        (nil)))
(insn 6 5 7 2 (set (reg/f:DI 47)
        (reg:DI 36 %a0)) t.c:7 63 {*movdi_64}
     (nil))
(insn 7 6 8 2 (set (reg/f:DI 48)
        (mem/u/c:DI (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [3 S8 A64])) t.c:7
63 {*movdi_64}
     (expr_list:REG_EQUAL (const:DI (unspec:DI [
                    (symbol_ref:DI ("counter") [flags 0x2a]  <var_decl
0x3fff6c46a18 counter>)
                ] UNSPEC_NTPOFF))
        (nil)))
(insn 8 7 9 2 (set (reg/f:DI 49)
        (reg:DI 36 %a0)) t.c:7 63 {*movdi_64}
     (expr_list:REG_DEAD (reg:DI 36 %a0)
        (nil)))
(insn 9 8 0 2 (parallel [
            (set (mem/c:SI (plus:DI (reg/f:DI 47)
                        (reg/f:DI 46)) [2 counter+0 S4 A32])
                (plus:SI (mem/c:SI (plus:DI (reg/f:DI 49)
                            (reg/f:DI 48)) [2 counter+0 S4 A32])
                    (const_int 1 [0x1])))
            (clobber (reg:CC 33 %cc))
        ]) t.c:7 327 {*addsi3}
     (expr_list:REG_DEAD (reg/f:DI 49)
        (expr_list:REG_DEAD (reg/f:DI 48)
            (expr_list:REG_DEAD (reg/f:DI 47)
                (expr_list:REG_DEAD (reg/f:DI 46)
                    (expr_list:REG_UNUSED (reg:CC 33 %cc)
                        (nil)))))))
>From gcc-bugs-return-578796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:25:32 2017
Return-Path: <gcc-bugs-return-578796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127981 invoked by alias); 17 Oct 2017 09: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 127857 invoked by uid 48); 17 Oct 2017 09:25:27 -0000
From: "eieio at google dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82478] Rejects valid access to private member type that should be allowed by friend
Date: Tue, 17 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eieio at google 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-82478-4-k64KVtQoxt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01856.txt.bz2
Content-length: 1000

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82478

--- Comment #2 from Corey Tabaka <eieio at google dot com> ---
From section 11.3.2 of the C++14 draft spec:

"Declaring a class to be a friend implies that the names of private and
protected members from the class granting friendship can be accessed in the
base-specifiers and member declarations of the befriended class."

I take "can be accessed in base-specifiers" to mean any expression in the base
specifiers of class B is granted access to private and protected members of
class A if class A declares class B to be a friend. Do you agree that this is a
valid interpretation?

Furthermore, regardless of the interpretation above, in the example supplied
the class Outer should have friend access to private members of A, and thus the
nested definition of Outer::HasPrivate should have valid access to A::PRIVATE.
This also fails to compile with a similar error as the top-level example --
clearly this is not the correct behavior.
>From gcc-bugs-return-578798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:33:51 2017
Return-Path: <gcc-bugs-return-578798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9373 invoked by alias); 17 Oct 2017 09:33: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 9328 invoked by uid 48); 17 Oct 2017 09:33:48 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82561] [8 regression] crash on internal compiler error: in cp_tree_equal, at cp/tree.c:3778
Date: Tue, 17 Oct 2017 09: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: version target_milestone
Message-ID: <bug-82561-4-E2kDzaUurK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82561-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01858.txt.bz2
Content-length: 346

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82561

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |8.0
   Target Milestone|---                         |8.0
>From gcc-bugs-return-578797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:33:37 2017
Return-Path: <gcc-bugs-return-578797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8623 invoked by alias); 17 Oct 2017 09: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 8566 invoked by uid 48); 17 Oct 2017 09:33:32 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
Date: Tue, 17 Oct 2017 09: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: 7.1.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: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-82560-4-jKNh8cpZSQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01857.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-578799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:41:43 2017
Return-Path: <gcc-bugs-return-578799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50865 invoked by alias); 17 Oct 2017 09: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 50806 invoked by uid 48); 17 Oct 2017 09:41:38 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82567] [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.
Date: Tue, 17 Oct 2017 09: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: 6.4.0
X-Bugzilla-Keywords: compile-time-hog, 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords component
Message-ID: <bug-82567-4-PDTvL5IwAU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01859.txt.bz2
Content-length: 969

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82567

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
          Component|middle-end                  |fortran

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is value-numbering running into --param sccvn-max-alias-queries-per-access
(default 1000).  If you shrink this value compile-time gets faster if you
increase it it gets slower.

And yes, this is because value-numbering of the memory state of the function
is quadratic in the number of stores and loads.

The FE should apply some more sensible cost model when deciding to "unroll"
the array operation.  In this case it's code-size prohibitive.

The middle-end behaves as designed (limiting itself with respect to
compile-time).
>From gcc-bugs-return-578800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:42:59 2017
Return-Path: <gcc-bugs-return-578800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51936 invoked by alias); 17 Oct 2017 09:42: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 51882 invoked by uid 48); 17 Oct 2017 09:42:55 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Tue, 17 Oct 2017 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.0
X-Bugzilla-Keywords: wrong-code
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords component target_milestone
Message-ID: <bug-82569-4-Mf6Ggv6uDD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01860.txt.bz2
Content-length: 413

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
          Component|other                       |middle-end
   Target Milestone|---                         |8.0
>From gcc-bugs-return-578801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:45:47 2017
Return-Path: <gcc-bugs-return-578801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54128 invoked by alias); 17 Oct 2017 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 54047 invoked by uid 48); 17 Oct 2017 09:45:40 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82576] sbitmap_vector_alloc() not ready for 64 bits
Date: Tue, 17 Oct 2017 09: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: 8.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-82576-4-MgxR4zP848@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82576-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82576-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01861.txt.bz2
Content-length: 261

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82576

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
No, I think the public API shouldn't change (we don't want to grow
simple_bitmap_def unnecessarily).  Such big sbitmaps do not make sense.
>From gcc-bugs-return-578802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:50:12 2017
Return-Path: <gcc-bugs-return-578802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2317 invoked by alias); 17 Oct 2017 09:50: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 439 invoked by uid 48); 17 Oct 2017 09:50:09 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82442] vect/pr31699.c fails on arm
Date: Tue, 17 Oct 2017 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: 8.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 cc resolution
Message-ID: <bug-82442-4-zRWq7fioZ1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82442-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82442-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01862.txt.bz2
Content-length: 480

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82442

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |wilco at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #2 from Wilco <wilco at gcc dot gnu.org> ---
Fixed
>From gcc-bugs-return-578803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 09:51:22 2017
Return-Path: <gcc-bugs-return-578803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128324 invoked by alias); 17 Oct 2017 09:51: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 128279 invoked by uid 48); 17 Oct 2017 09:51:19 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82556] [7/8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Tue, 17 Oct 2017 09: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: ice-on-valid-code, ra
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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority cc cf_known_to_work target_milestone short_desc cf_known_to_fail
Message-ID: <bug-82556-4-ah4FlN4rqK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01863.txt.bz2
Content-length: 994

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
                 CC|                            |jakub at gcc dot gnu.org
      Known to work|                            |7.2.0
   Target Milestone|8.0                         |7.3
            Summary|[8 Regression] internal     |[7/8 Regression] internal
                   |compiler error in           |compiler error in
                   |curr_insn_transform, at     |curr_insn_transform, at
                   |lra-constraints.c:4307      |lra-constraints.c:4307
      Known to fail|                            |7.2.1, 8.0

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed on the branch (for the unreduced testcase).  GCC 7.2 works.

Probably Jakubs pattern changes.
>From gcc-bugs-return-578804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 10:05:53 2017
Return-Path: <gcc-bugs-return-578804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78244 invoked by alias); 17 Oct 2017 10: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 78181 invoked by uid 48); 17 Oct 2017 10:05:49 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82563] [8 Regression] [graphite] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.c:709
Date: Tue, 17 Oct 2017 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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-82563-4-YDFuRF498y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82563-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82563-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01864.txt.bz2
Content-length: 1011

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82563

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-17
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |8.0
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.  This is because when we build SCOPs we break LC-SSA with

      /* For our out-of-SSA we need a block on s->entry, similar to how
         we include the LCSSA block in the region.  */
      s->entry = single_pred_edge (split_edge (s->entry));

because in this case we split the loop exit edge and we expect the LC SSA
PHI node to be in the exit block rather than its single successor.
>From gcc-bugs-return-578805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 10:50:33 2017
Return-Path: <gcc-bugs-return-578805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23063 invoked by alias); 17 Oct 2017 10: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 23020 invoked by uid 48); 17 Oct 2017 10:50:28 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82478] Rejects valid access to private member type that should be allowed by friend
Date: Tue, 17 Oct 2017 10: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.2.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:
Message-ID: <bug-82478-4-jv3vFfnSjd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01865.txt.bz2
Content-length: 222

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82478

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The template argument list of ::HasPrivate<T, void_t<typename T::PRIVATE>> is
not a base-specifier.
>From gcc-bugs-return-578806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 10:51:20 2017
Return-Path: <gcc-bugs-return-578806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26015 invoked by alias); 17 Oct 2017 10:51: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 25948 invoked by uid 48); 17 Oct 2017 10:51:16 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80061] error on constexpr function with an unevaluated throw
Date: Tue, 17 Oct 2017 10: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.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-80061-4-d34rNAjzkA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80061-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80061-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01866.txt.bz2
Content-length: 402

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
     Ever confirmed|0                           |1
>From gcc-bugs-return-578807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 10:51:28 2017
Return-Path: <gcc-bugs-return-578807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26664 invoked by alias); 17 Oct 2017 10: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 26448 invoked by uid 48); 17 Oct 2017 10:51:23 -0000
From: "ostash at ostash dot kiev.ua" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82579] New: GCC 7/8
Date: Tue, 17 Oct 2017 10: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ostash at ostash dot kiev.ua
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82579-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01867.txt.bz2
Content-length: 1485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82579

            Bug ID: 82579
           Summary: GCC 7/8
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ostash at ostash dot kiev.ua
  Target Milestone: ---

Hello,

The following code fails to compile with GCC 7/8, in C++17 mode (call to f(s)
is ambiguous):

---------------------------------
template <class T, class U = int> 
    class C
    {};

template <class T, class U>
    void f(const C<T, U>&) {}

template <class T, template <class> class CT>
    void f(CT<T>) {}

int main()
{
    C<int> s;
    f(s);
}
---------------------------------

However it compiles cleanly in C++14 mode.


This is a stripped case from boost::container::string:
https://github.com/boostorg/container/issues/58


Here
(https://groups.google.com/a/isocpp.org/d/topic/std-discussion/B1MHPRMqfFA/discussion)
we can find a suggestion that this is somehow related to CWG150 resolution by
P0522R0.

Clang accepts this code in both C++14 and C++17 mode, however they state that
CWG150 resolution "is disabled by default in all language versions" because
"the change to the standard lacks a corresponding change for template partial
ordering, resulting in ambiguity errors for reasonable and previously-valid
code" (https://clang.llvm.org/cxx_status.html#p0522).
>From gcc-bugs-return-578808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 11:17:47 2017
Return-Path: <gcc-bugs-return-578808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67510 invoked by alias); 17 Oct 2017 11: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 66911 invoked by uid 48); 17 Oct 2017 11:17:42 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77369] incorrect noexcept specification deduction
Date: Tue, 17 Oct 2017 11: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: 6.1.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: cf_reconfirmed_on cf_known_to_fail
Message-ID: <bug-77369-4-U7aFzsyK2s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77369-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77369-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01868.txt.bz2
Content-length: 1201

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77369

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2017-04-24 00:00:00         |2017-10-17
      Known to fail|                            |4.6.4, 4.7.4, 4.8.5, 4.9.4,
                   |                            |5.4.0, 6.4.0, 7.2.0, 8.0

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Another testcase, this time compile-time only:


template<typename F> int caller(F f) noexcept(noexcept(f())) { f(); return 0; }

void func1() noexcept { }

void func2() { throw 1; }

#ifndef FIXIT
int instantiate_caller_with_func1 = caller(func1);
#endif

static_assert( !noexcept(caller(func2)), "" );


Without FIXIT defined the first instantiation of caller makes use of the fact
that its template argument type is noexcept, but then we use the same
instantiation for the caller(func2):

n.cc:11:1: error: static assertion failed
 static_assert( !noexcept(caller(func2)), "" );
 ^~~~~~~~~~~~~

As Aaron observed, EDG has exactly the same bug. Clang compiles it
successfully.
>From gcc-bugs-return-578809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 11:58:33 2017
Return-Path: <gcc-bugs-return-578809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15459 invoked by alias); 17 Oct 2017 11: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 15376 invoked by uid 48); 17 Oct 2017 11:58:28 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82578] Redundant instructions emitted starting with r204212
Date: Tue, 17 Oct 2017 11: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: 4.9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: krebbel at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82578-4-SpXXvmyMT5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82578-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82578-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01869.txt.bz2
Content-length: 766

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82578

--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
I was wondering why CSE doesn't do the right thing here. In fact it would if it
would not consider our access registers to be particularly cheap.

Access registers are fixed hard regs. Hence, cse considers them to be
CHEAP_REGNO's with a cost of 0 making it cheaper than pseudos. Unfortunately it
is rather expensive to load an access register into a general purpose reg.
Especially if it is a 64 bit value since access regs are only 32bits.

Preventing a0 and a1 from being considered cheap ends up with exactly the same
code as with the regmove pass.

Perhaps CSE should also check register_move_costs when calculating register
costs?
>From gcc-bugs-return-578810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 12:27:58 2017
Return-Path: <gcc-bugs-return-578810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100123 invoked by alias); 17 Oct 2017 12:27: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 89541 invoked by uid 48); 17 Oct 2017 12:27:52 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82579] GCC 7/8 ambiguous call to overload
Date: Tue, 17 Oct 2017 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: 8.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:
Message-ID: <bug-82579-4-4qw5fLkhlB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82579-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82579-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01870.txt.bz2
Content-length: 315

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82579

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is not a GCC bug, because it's the required behaviour for C++17.

Use -fno-new-ttp-matching to disable it in C++17 (or use -fnew-ttp-matching to
enable it in C++14 and make it ambiguous).
>From gcc-bugs-return-578811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 12:39:07 2017
Return-Path: <gcc-bugs-return-578811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1268 invoked by alias); 17 Oct 2017 12: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 1201 invoked by uid 48); 17 Oct 2017 12:39:01 -0000
From: "ostash at ostash dot kiev.ua" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82579] GCC 7/8 ambiguous call to overload
Date: Tue, 17 Oct 2017 12: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: 8.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ostash at ostash dot kiev.ua
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-82579-4-YgiHXWbuif@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82579-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82579-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01871.txt.bz2
Content-length: 764

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82579

Viktor Ostashevskyi <ostash at ostash dot kiev.ua> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Viktor Ostashevskyi <ostash at ostash dot kiev.ua> ---
(In reply to Jonathan Wakely from comment #1)
> This is not a GCC bug, because it's the required behaviour for C++17.
> 
> Use -fno-new-ttp-matching to disable it in C++17 (or use -fnew-ttp-matching
> to enable it in C++14 and make it ambiguous).

Huh, thanks for clearing this. Then this is a bug in Boost and maybe Clang.
>From gcc-bugs-return-578812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 12:39:46 2017
Return-Path: <gcc-bugs-return-578812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2510 invoked by alias); 17 Oct 2017 12: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 2120 invoked by uid 48); 17 Oct 2017 12:39:38 -0000
From: "ostash at ostash dot kiev.ua" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82579] GCC 7/8 ambiguous call to overload
Date: Tue, 17 Oct 2017 12: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: 8.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ostash at ostash dot kiev.ua
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-82579-4-V6C5j4B9vc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82579-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82579-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01872.txt.bz2
Content-length: 304

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82579

Viktor Ostashevskyi <ostash at ostash dot kiev.ua> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID
>From gcc-bugs-return-578813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 13:01:13 2017
Return-Path: <gcc-bugs-return-578813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19439 invoked by alias); 17 Oct 2017 13:01: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 15834 invoked by uid 48); 17 Oct 2017 13:01:03 -0000
From: "morwenn29 at hotmail dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] New: Optimize comparisons for __int128 on x86-64
Date: Tue, 17 Oct 2017 13:01: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.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: morwenn29 at hotmail dot 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 target_milestone
Message-ID: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01873.txt.bz2
Content-length: 1269

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

            Bug ID: 82580
           Summary: Optimize comparisons for __int128 on x86-64
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: morwenn29 at hotmail dot fr
  Target Milestone: ---

Given the following simple code:

    bool foobar(unsigned __int128 lhs, unsigned __int128 rhs) {
        return lhs < rhs;
    }

GCC generates branchful code for x86-64 at -O3 optimization level:

    foobar(unsigned __int128, unsigned __int128):
    cmp rsi, rcx
    mov eax, 1
    jb .L2
    jbe .L6
    .L3:
    xor eax, eax
    .L2:
    rep ret
    .L6:
    cmp rdi, rdx
    jnb .L3
    rep ret

On the other hand, Clang is able to generate branchless code with just a few
instructions at the same optimization level:

    foobar(unsigned __int128, unsigned __int128): # @foobar(unsigned __int128,
unsigned __int128)
    cmp rdi, rdx
    sbb rsi, rcx
    setb al
    ret

The codegen results are equivalent for the other comparison instructions. Would
it be possible to optimize these comparison instructions the same way for GCC?
>From gcc-bugs-return-578814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 13:18:14 2017
Return-Path: <gcc-bugs-return-578814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81687 invoked by alias); 17 Oct 2017 13: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 81501 invoked by uid 55); 17 Oct 2017 13:18:02 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82563] [8 Regression] [graphite] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.c:709
Date: Tue, 17 Oct 2017 13: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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82563-4-u7j3qTdf5s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82563-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82563-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01874.txt.bz2
Content-length: 830

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82563

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Oct 17 13:17:30 2017
New Revision: 253809

URL: https://gcc.gnu.org/viewcvs?rev=253809&root=gcc&view=rev
Log:
2017-10-17  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82563
        * graphite-isl-ast-to-gimple.c (generate_entry_out_of_ssa_copies):
        New function.
        (graphite_regenerate_ast_isl): Call it.
        * graphite-scop-detection.c (build_scops): Remove entry edge split.

        * gcc.dg/graphite/pr82563.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr82563.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-isl-ast-to-gimple.c
    trunk/gcc/graphite-scop-detection.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 13:23:25 2017
Return-Path: <gcc-bugs-return-578815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110131 invoked by alias); 17 Oct 2017 13: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 109102 invoked by uid 55); 17 Oct 2017 13:23:20 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/71026] Missing division optimizations
Date: Tue, 17 Oct 2017 13: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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:
Message-ID: <bug-71026-4-D6v1Y1Zbhy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71026-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71026-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01875.txt.bz2
Content-length: 609

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71026

--- Comment #7 from Wilco <wilco at gcc dot gnu.org> ---
Author: wilco
Date: Tue Oct 17 13:22:48 2017
New Revision: 253812

URL: https://gcc.gnu.org/viewcvs?rev=253812&root=gcc&view=rev
Log:
Factor out division by squares and remove division around comparisons (0/2)

Commit gcc/fold-const.c missing from r252827:

    gcc/
        PR 71026/tree-optimization
        * fold-const.c (distribute_real_division): Removed.
        (fold_binary_loc): Remove calls to distribute_real_divison.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
>From gcc-bugs-return-578816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 13:50:41 2017
Return-Path: <gcc-bugs-return-578816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20261 invoked by alias); 17 Oct 2017 13: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 17871 invoked by uid 55); 17 Oct 2017 13:50:34 -0000
From: "hudsonjk at astound dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82573] GNAT.Registry doesn't read/write with HKEY_LOCAL_MACHINE.
Date: Tue, 17 Oct 2017 13:50: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: 6.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hudsonjk at astound 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-82573-4-2VMXv8wEf5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82573-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82573-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01876.txt.bz2
Content-length: 977

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82573

--- Comment #2 from Jerry Hudson <hudsonjk at astound dot net> ---
I was confused by what you meant by "classpath."  The
earlier revision by Andrew Pinski better describes the
problem, but I don't recall seeing that option on the form.
Forgive me, this is the first bug report for me.  (I have used
Gnu products quite a bit, and bugs are RARE.)

- Jerry Hudson

On 10/17/2017 2:03 AM, gnu_andrew at member dot fsf.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82573
>
> Andrew John Hughes <gnu_andrew at member dot fsf.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |gnu_andrew at member dot fsf.org
>
> --- Comment #1 from Andrew John Hughes <gnu_andrew at member dot fsf.org> ---
> This doesn't seem to be related to GNU Classpath.
>
>From gcc-bugs-return-578817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 13:59:46 2017
Return-Path: <gcc-bugs-return-578817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88574 invoked by alias); 17 Oct 2017 13:59: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 88464 invoked by uid 48); 17 Oct 2017 13:59:37 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Tue, 17 Oct 2017 13: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.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82569-4-1Oy17OJFwl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01877.txt.bz2
Content-length: 548

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #4 from seurer at gcc dot gnu.org ---
extern void gl_write_texture_span( GLcontext *ctx,
                                   GLuint n, GLint x, GLint y, GLdepth z[],
                                   GLfloat s[], GLfloat t[], GLfloat u[],
                                   GLfloat lambda[],
                                   GLubyte red[], GLubyte green[],
                                   GLubyte blue[], GLubyte alpha[],
                                   GLenum primitive );
>From gcc-bugs-return-578818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 14:02:31 2017
Return-Path: <gcc-bugs-return-578818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92846 invoked by alias); 17 Oct 2017 14:02: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 92722 invoked by uid 48); 17 Oct 2017 14:02:19 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82577] [8 Regression] ICE in compare_base_decls, at alias.c:2053
Date: Tue, 17 Oct 2017 14: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82577-4-bCPBNkC3mv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01878.txt.bz2
Content-length: 381

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |nathan at gcc dot gnu.org
>From gcc-bugs-return-578820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 14:17:53 2017
Return-Path: <gcc-bugs-return-578820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3369 invoked by alias); 17 Oct 2017 14: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 3301 invoked by uid 55); 17 Oct 2017 14:17:49 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80295] [7/8 Regression] ICE in __builtin_update_setjmp_buf expander
Date: Tue, 17 Oct 2017 14: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: qing.zhao at oracle dot com
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80295-4-PloF3MzqcV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01880.txt.bz2
Content-length: 742

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80295

--- Comment #12 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 17 14:17:17 2017
New Revision: 253815

URL: https://gcc.gnu.org/viewcvs?rev=253815&root=gcc&view=rev
Log:
gcc/ChangeLog

2017-10-17  Qing Zhao <qing.zhao@oracle.com>
            Wilco Dijkstra <wilco.dijkstra@arm.com>

        * builtins.c (expand_builtin_update_setjmp_buf): Add a
        converstion to Pmode from the buf_addr.

gcc/testsuite/ChangeLog

2017-10-17  Qing Zhao <qing.zhao@oracle.com>
            Wilco Dijkstra <wilco.dijkstra@arm.com>

        PR middle-end/80295
        * gcc.target/aarch64/pr80295.c: New test.

Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 14:17:11 2017
Return-Path: <gcc-bugs-return-578819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1981 invoked by alias); 17 Oct 2017 14:17: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 1935 invoked by uid 55); 17 Oct 2017 14:17:07 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80295] [7/8 Regression] ICE in __builtin_update_setjmp_buf expander
Date: Tue, 17 Oct 2017 14: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: qing.zhao at oracle dot com
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80295-4-6jmVT5Khx3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01879.txt.bz2
Content-length: 817

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80295

--- Comment #11 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 17 14:16:35 2017
New Revision: 253814

URL: https://gcc.gnu.org/viewcvs?rev=253814&root=gcc&view=rev
Log:
gcc/ChangeLog

2017-10-17  Qing Zhao <qing.zhao@oracle.com>
            Wilco Dijkstra <wilco.dijkstra@arm.com>

        * builtins.c (expand_builtin_update_setjmp_buf): Add a
        converstion to Pmode from the buf_addr.

gcc/testsuite/ChangeLog

2017-10-17  Qing Zhao <qing.zhao@oracle.com>
            Wilco Dijkstra <wilco.dijkstra@arm.com>

        PR middle-end/80295
        * gcc.target/aarch64/pr80295.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/aarch64/pr80295.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
>From gcc-bugs-return-578821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 14:19:32 2017
Return-Path: <gcc-bugs-return-578821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7378 invoked by alias); 17 Oct 2017 14: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 7292 invoked by uid 48); 17 Oct 2017 14:19:28 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80295] [7 Regression] ICE in __builtin_update_setjmp_buf expander
Date: Tue, 17 Oct 2017 14: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: qing.zhao at oracle dot com
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-80295-4-WMC4rJ1yyG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01881.txt.bz2
Content-length: 559

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80295

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8 Regression] ICE in     |[7 Regression] ICE in
                   |__builtin_update_setjmp_buf |__builtin_update_setjmp_buf
                   |expander                    |expander

--- Comment #13 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in trunk for the time being.
>From gcc-bugs-return-578822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 14:28:37 2017
Return-Path: <gcc-bugs-return-578822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85150 invoked by alias); 17 Oct 2017 14:28: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 85099 invoked by uid 48); 17 Oct 2017 14:28:32 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77369] incorrect noexcept specification deduction
Date: Tue, 17 Oct 2017 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: 6.1.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: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-77369-4-mrmTrpzUkN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77369-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77369-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01882.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77369

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-578823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 14:47:52 2017
Return-Path: <gcc-bugs-return-578823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74345 invoked by alias); 17 Oct 2017 14: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 74288 invoked by uid 55); 17 Oct 2017 14:47:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82549] [6/7 Regression] ICE at -O1 and above: verify_gimple failed
Date: Tue, 17 Oct 2017 14: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.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82549-4-HuCa82KRZN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01883.txt.bz2
Content-length: 750

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82549

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 17 14:47:15 2017
New Revision: 253816

URL: https://gcc.gnu.org/viewcvs?rev=253816&root=gcc&view=rev
Log:
        PR tree-optimization/82549
        * fold-const.c (optimize_bit_field_compare, fold_truth_andor_1):
        Formatting fixes.  Instead of calling make_bit_field_ref with negative
        bitpos return 0.

        * gcc.c-torture/compile/pr82549.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/compile/pr82549.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/fold-const.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 14:49:41 2017
Return-Path: <gcc-bugs-return-578824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76522 invoked by alias); 17 Oct 2017 14:49: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 76487 invoked by uid 55); 17 Oct 2017 14:49:37 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82546] tree_size handling for TYPE nodes is confused
Date: Tue, 17 Oct 2017 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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82546-4-1XaLK7tNhl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82546-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01884.txt.bz2
Content-length: 871

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82546

--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Oct 17 14:49:05 2017
New Revision: 253817

URL: https://gcc.gnu.org/viewcvs?rev=253817&root=gcc&view=rev
Log:
[PATCH PR/82546] tree node size

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00899.html
        PR middle-end/82546
        gcc/
        * tree.c (tree_code_size): Reformat.  Punt to lang hook for unknown
        TYPE nodes.
        gcc/cp/
        * cp-objcp-common.c (cp_tree_size): Reformat.  Adjust returns size
        of TYPE nodes.
        gcc/objc/
        * objc-act.c (objc_common_tree_size): Return size of TYPE nodes.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-objcp-common.c
    trunk/gcc/objc/ChangeLog
    trunk/gcc/objc/objc-act.c
    trunk/gcc/tree.c
>From gcc-bugs-return-578825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 14:53:54 2017
Return-Path: <gcc-bugs-return-578825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116180 invoked by alias); 17 Oct 2017 14:53: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 116104 invoked by uid 55); 17 Oct 2017 14:53:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82549] [6/7 Regression] ICE at -O1 and above: verify_gimple failed
Date: Tue, 17 Oct 2017 14: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: 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82549-4-dhRMS0n0A3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01885.txt.bz2
Content-length: 750

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82549

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 17 14:53:13 2017
New Revision: 253818

URL: https://gcc.gnu.org/viewcvs?rev=253818&root=gcc&view=rev
Log:
        PR tree-optimization/82549
        * fold-const.c (optimize_bit_field_compare, fold_truth_andor_1):
        Formatting fixes.  Instead of calling make_bit_field_ref with negative
        bitpos return 0.

        * gcc.c-torture/compile/pr82549.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.c-torture/compile/pr82549.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/fold-const.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:01:43 2017
Return-Path: <gcc-bugs-return-578826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11942 invoked by alias); 17 Oct 2017 15: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 7731 invoked by uid 48); 17 Oct 2017 15:01:39 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82581] New: missing -Warray-bounds on writing past the end of a member array
Date: Tue, 17 Oct 2017 15:01: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.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-82581-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01886.txt.bz2
Content-length: 1978

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82581

            Bug ID: 82581
           Summary: missing -Warray-bounds on writing past the end of a
                    member array
           Product: gcc
           Version: 8.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: ---

When the bounds of a member array are exceeded in a loop that accesses the
member directly by its name, GCC issues a -Waggressive-loop-optimizations
warning mentioning the iteration of the loop in which the undefined behavior
occurs.  But when the same access takes place indirectly through a pointer to
the member, no diagnostic is issued.  Since the number of iterations of the
loop is known I would expect a -Warray-bounds warning (ideally in both cases,
even when no aggressive loop optimizations are performed).

As an aside, since the first iteration of a loop is usually thought of as
iteration 1 (not iteration zero), the iteration number referenced in the
-Waggressive-loop-optimizations warning is off by one.  Since the array has
three elements, iteration 3 writes into the last (third) element, and it's
iteration four that has undefined behavior.

$ cat a.c && gcc -O2 -S -Wall -Warray-bounds -Wextra a.c
struct S
{
  int a[3];
  void (*pf)(void);
} x;

void f (void)
{
  for (unsigned i = 0; i != sizeof x; ++i)   // -Waggressive-loop-optimizations
    x.a[i] = i;
}

void g (void)
{
  int *p = x.a;

  for (unsigned i = 0; i != sizeof x; ++i)
    p[i] = i;                                // missing -Warray-bounds
}
a.c: In function ‘f’:
a.c:10:12: warning: iteration 3 invokes undefined behavior
[-Waggressive-loop-optimizations]
     x.a[i] = i;
     ~~~~~~~^~~
a.c:9:3: note: within this loop
   for (unsigned i = 0; i != sizeof x; ++i)
   ^~~
>From gcc-bugs-return-578827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:09:29 2017
Return-Path: <gcc-bugs-return-578827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93675 invoked by alias); 17 Oct 2017 15:09: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 93623 invoked by uid 48); 17 Oct 2017 15:09:25 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80907] [6/7/8 Regression] False positive: "warning: array subscript is above array bounds"
Date: Tue, 17 Oct 2017 15: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: 8.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_known_to_work cf_reconfirmed_on component cc everconfirmed short_desc cf_known_to_fail
Message-ID: <bug-80907-4-fCwB0QHLFu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80907-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80907-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01887.txt.bz2
Content-length: 1691

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80907

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.7.4
   Last reconfirmed|                            |2017-10-17
          Component|c++                         |tree-optimization
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|False positive: "warning:   |[6/7/8 Regression] False
                   |array subscript is above    |positive: "warning: array
                   |array bounds"               |subscript is above array
                   |                            |bounds"
      Known to fail|                            |4.8.3, 4.9.3, 5.3.0, 6.2.0,
                   |                            |7.1.0, 8.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  I see the same warning issued twice.  The first revision to trigger
the warning is r192538 (gcc 4.8.0), thus marking this a regression.

$ cat a.c && gcc -O3 -S -Wall -Warray-bounds a.c

int x[3];
int n=2;
void foo() 
{
    for(int i=0;i<n;i++) for(int j=0;j<=i;j++) x[i+j]++;
}
a.c: In function ‘foo’:
a.c:6:49: warning: array subscript is above array bounds [-Warray-bounds]
     for(int i=0;i<n;i++) for(int j=0;j<=i;j++) x[i+j]++;
                                                ~^~~~~
a.c:6:49: warning: array subscript is above array bounds [-Warray-bounds]
>From gcc-bugs-return-578828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:16:13 2017
Return-Path: <gcc-bugs-return-578828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54814 invoked by alias); 17 Oct 2017 15: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 44548 invoked by uid 48); 17 Oct 2017 15:16:06 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82286] [6/7/8 Regression] Wrong array subscript is above array bounds
Date: Tue, 17 Oct 2017 15: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: 7.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: cc see_also short_desc
Message-ID: <bug-82286-4-LEqjwTqxMW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82286-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01888.txt.bz2
Content-length: 982

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82286

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=80907
            Summary|Wrong array subscript is    |[6/7/8 Regression] Wrong
                   |above array bounds          |array subscript is above
                   |                            |array bounds

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
The first revision to trigger the warning is r192538 (gcc 4.8.0), thus marking
this a regression.  (See also bug 80907 which is also caused by the same
revision.)
>From gcc-bugs-return-578829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:18:46 2017
Return-Path: <gcc-bugs-return-578829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56502 invoked by alias); 17 Oct 2017 15:18: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 54636 invoked by uid 48); 17 Oct 2017 15:18:40 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/63477] [6/7/8 Regression] Bogus warning with -O3 -Warray-bounds: array subscript is above array bounds
Date: Tue, 17 Oct 2017 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: 4.8.3
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 cf_known_to_work short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-63477-4-VBq00krorF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63477-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63477-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01889.txt.bz2
Content-length: 1259

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63477

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
      Known to work|                            |4.7.4
            Summary|Bogus warning with -O3      |[6/7/8 Regression] Bogus
                   |-Warray-bounds: array       |warning with -O3
                   |subscript is above array    |-Warray-bounds: array
                   |bounds                      |subscript is above array
                   |                            |bounds
     Ever confirmed|0                           |1
      Known to fail|                            |4.8.3, 4.9.3, 5.3.0, 6.2.0,
                   |                            |7.1.0, 8.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  The first revision to trigger the error is r192990 (gcc 4.8.0) so
marking this a regression.
>From gcc-bugs-return-578830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:28:57 2017
Return-Path: <gcc-bugs-return-578830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8192 invoked by alias); 17 Oct 2017 15:28: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 129587 invoked by uid 48); 17 Oct 2017 15:28:52 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/63441] incorrect "array subscript is below/above array bounds" diagnostic
Date: Tue, 17 Oct 2017 15: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: 5.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: minor
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-63441-4-gUFQScPzSv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63441-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63441-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01890.txt.bz2
Content-length: 1091

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63441

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> ---
I still see the warning with today's top of trunk (GCC 4.8) but I agree that
some sort of a diagnostic here seems helpful.

It would be nice if the warning could distinguish between cases where the index
definitely is out of bounds and those where it could be but it's not 100%
certain.  I haven't looked at the implementation to see if this is feasible.

It would also be helpful to have clarity (both for users and GCC developers) on
what diagnostics are meant to be issued under what circumstances.  Based on
some other warnings (-Wuninitialized and -Wmaybe-uninitialized) it seems
reasonable to expect -Warray-bounds to only be issued when an index is
definitely out of bounds (and not when it could be).
>From gcc-bugs-return-578831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:31:59 2017
Return-Path: <gcc-bugs-return-578831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6387 invoked by alias); 17 Oct 2017 15:31: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 6176 invoked by uid 48); 17 Oct 2017 15:31:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82549] [6/7 Regression] ICE at -O1 and above: verify_gimple failed
Date: Tue, 17 Oct 2017 15: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: 7.2.1
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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82549-4-mnJ4ONnGBo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82549-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01891.txt.bz2
Content-length: 445

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82549

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 for 6.5+, 7.3+ and 8+.
>From gcc-bugs-return-578832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:42:56 2017
Return-Path: <gcc-bugs-return-578832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117407 invoked by alias); 17 Oct 2017 15: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 117338 invoked by uid 55); 17 Oct 2017 15:42:51 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82577] [8 Regression] ICE in compare_base_decls, at alias.c:2053
Date: Tue, 17 Oct 2017 15: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82577-4-0YuHgfi7F2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01892.txt.bz2
Content-length: 757

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Oct 17 15:42:19 2017
New Revision: 253819

URL: https://gcc.gnu.org/viewcvs?rev=253819&root=gcc&view=rev
Log:
[PATCH, middle-end/82577] Fix DECL_ASSEMBLER_NAME ICE

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01067.html
        gcc/
        PR middle-end/82577
        * alias.c (compare_base_decls): Check HAS_DECL_ASSEMBLER_NAME_P,
        use DECL_ASSEMBLER_NAME_RAW.

        gcc/testsuite/
        PR middle-end/82577
        * g++.dg/opt/pr82577.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr82577.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/alias.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:48:50 2017
Return-Path: <gcc-bugs-return-578833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21526 invoked by alias); 17 Oct 2017 15:48: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 21036 invoked by uid 48); 17 Oct 2017 15:48:45 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82577] [8 Regression] ICE in compare_base_decls, at alias.c:2053
Date: Tue, 17 Oct 2017 15: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82577-4-S3gx6DS52Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82577-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01893.txt.bz2
Content-length: 435

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Fixed r253819.
>From gcc-bugs-return-578834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:52:59 2017
Return-Path: <gcc-bugs-return-578834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27944 invoked by alias); 17 Oct 2017 15:52:58 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27822 invoked by uid 55); 17 Oct 2017 15:52:53 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
Date: Tue, 17 Oct 2017 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: 7.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82560-4-fW5frBkrtp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01894.txt.bz2
Content-length: 674

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Oct 17 15:52:21 2017
New Revision: 253820

URL: https://gcc.gnu.org/viewcvs?rev=253820&root=gcc&view=rev
Log:
[C++ PATCH 82560] missing dtor call

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01068.html
        PR c++/82560
        * call.c (build_over_call): Don't pass tf_no_cleanup to nested
        calls.

        PR c++/82560
        * g++.dg/cpp0x/pr82560.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr82560.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 15:53:11 2017
Return-Path: <gcc-bugs-return-578835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28709 invoked by alias); 17 Oct 2017 15:53: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 28432 invoked by uid 48); 17 Oct 2017 15:53:03 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
Date: Tue, 17 Oct 2017 15: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.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82560-4-jOO9U1Adyn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01895.txt.bz2
Content-length: 435

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Fixed r253820.
>From gcc-bugs-return-578836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:19:01 2017
Return-Path: <gcc-bugs-return-578836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1724 invoked by alias); 17 Oct 2017 16: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 1518 invoked by uid 48); 17 Oct 2017 16:18:57 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82582] New: not quite optimal code for -2*x*y - 3*z: could use one less LEA for smaller code without increasing critical path latency for any input
Date: Tue, 17 Oct 2017 16:19: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.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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget
Message-ID: <bug-82582-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01896.txt.bz2
Content-length: 2778

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82582

            Bug ID: 82582
           Summary: not quite optimal code for -2*x*y - 3*z: could use one
                    less LEA for smaller code without increasing critical
                    path latency for any input
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peter at cordes dot ca
  Target Milestone: ---
            Target: x86_64-*-*, i?86-*-*

int foo32(int x, int y, int z) {
    return -2*x*y - 3*z;
}

gcc8.0.0 20171015 -O3   https://godbolt.org/g/tzBuHx

        imull   %esi, %edi            # x*y
        leal    0(,%rdx,4), %eax    # needs a disp32 = 0
        subl    %eax, %edx            # -3*z
        negl    %edi                  # -(x*y)
        leal    (%rdx,%rdi,2), %eax   # result

LEA runs on limited ports, and an index with no base needs a 4-byte disp32 = 0.
The critical-path latencies, assuming 2-operand imul is 3 cycles like on Intel:

x->res: imul, neg, lea = 5c
y->res: imul, neg, lea = 5c
z->res:  lea, sub, lea = 3c

This is better than gcc6.3 / gcc7.2 (which uses 3 LEA and is generally worse). 
It's also different from gcc4/gcc5 (6c from x to result, but only 2c from z to
result, so it's different but not worse or better in all cases).


clang5.0 does better: same latencies, smaller code size, and trades one LEA for
an ADD:
        imull   %esi, %edi
        addl    %edi, %edi
        leal    (%rdx,%rdx,2), %eax
        negl    %eax
        subl    %edi, %eax

x->res: imul, add, sub = 5c
y->res: imul, add, sub = 5c
z->res:  lea, neg, sub = 3c



related: poor code-gen for 32-bit code with this.  I haven't checked other
32-bit architectures.

long long foo64(int x, int y, int z) {
    return -2LL*x*(long long)y - 3LL*(long long)z;
}
// also on the godbolt link

gcc -m32 uses a 3-operand imul-immediate for `-2`, but some clunky shifting for
`-3`.  There's also a mull in there.

clang5.0 -m32 makes very nice code, using a one-operand imul for -3 and just
shld/add + sub/sbb (plus some mov instructions).  One-operand mul/imul is 3
uops on Intel with 2 clock throughput, but ADC is 2 uops on Intel
pre-Broadwell, so it's nice to avoid that.

related: add %esi,%esi / sbb %edi,%edi  is an interesting way to sign-extend a
32-bit input into a pair of registers while doubling it.  However, if it starts
in eax,  cltd / add %eax,%eax is much better.  (sbb same,same is only
recognized as dep-breaking on AMD Bulldozer-family and Ryzen.  On Intel it has
a false dep on the old value of the register, not just CF).
>From gcc-bugs-return-578837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:28:04 2017
Return-Path: <gcc-bugs-return-578837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18451 invoked by alias); 17 Oct 2017 16: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 17994 invoked by uid 48); 17 Oct 2017 16:27:58 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82583] New: missing -Warray-bounds on out-of-bounds inner indices
Date: Tue, 17 Oct 2017 16:28: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.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-82583-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01897.txt.bz2
Content-length: 1183

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82583

            Bug ID: 82583
           Summary: missing -Warray-bounds on out-of-bounds inner indices
           Product: gcc
           Version: 8.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 -Warray-bounds warning seems to only check the innermost array index but it
doesn't check any of intervening ones.  This can be seen in the test case below
where the out-of-bounds index in 'p->a[1].a[4]' in f() is detected but the
similarly out-of-bounds index in 'p->a[2]' is not.

$ cat a.c && gcc -O3 -S -Wall -Warray-bounds a.c 
struct A { int a[4]; int i; };
struct B { struct A a[2]; int i; };

void f (struct B *p)
{
  p->a[1].a[4] = 1;   // -Warray-bounds (good)
}

void g (struct B *p)
{
  p->a[2].a[3] = 1;   // missing -Warray-bounds
}

a.c: In function ‘f’:
a.c:6:12: warning: array subscript is above array bounds [-Warray-bounds]
   p->a[1].a[4] = 1;   // -Warray-bounds (good)
   ~~~~~~~~~^~~
>From gcc-bugs-return-578839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:37:01 2017
Return-Path: <gcc-bugs-return-578839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45425 invoked by alias); 17 Oct 2017 16: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 45345 invoked by uid 48); 17 Oct 2017 16:36:57 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus warning when inlining or unrolling: "array subscript is above array bounds"
Date: Tue, 17 Oct 2017 16:37: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: 4.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-56456-4-ozBQptMukb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01899.txt.bz2
Content-length: 495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 47418, which changed state.

Bug 47418 Summary: warning: array subscript is above array bounds at O2 with sin6_addr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47418

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:37:01 2017
Return-Path: <gcc-bugs-return-578838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45417 invoked by alias); 17 Oct 2017 16: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 45312 invoked by uid 48); 17 Oct 2017 16:36:57 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/47418] warning: array subscript is above array bounds at O2 with sin6_addr
Date: Tue, 17 Oct 2017 16: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.5.2
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: bug_status cc resolution cf_known_to_fail
Message-ID: <bug-47418-4-NXvhZqAyU6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47418-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47418-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01898.txt.bz2
Content-length: 644

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47418

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
         Resolution|---                         |FIXED
      Known to fail|                            |7.2.0, 8.0

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
No warnings with recent versions.  Given that resolving as fixed (also as per
comment #4).
>From gcc-bugs-return-578840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:40:30 2017
Return-Path: <gcc-bugs-return-578840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51318 invoked by alias); 17 Oct 2017 16:40: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 51204 invoked by uid 48); 17 Oct 2017 16:40:26 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/45180] bogus warning: array subscript is above array bounds
Date: Tue, 17 Oct 2017 16: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: 4.5.1
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-45180-4-Fowcdvkru7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-45180-4@http.gcc.gnu.org/bugzilla/>
References: <bug-45180-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01900.txt.bz2
Content-length: 768

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45180

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|                            |5.4.0, 6.4.0, 7.1.0, 8.0
         Resolution|---                         |FIXED
      Known to fail|                            |4.8.3, 4.9.3

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
The test case doesn't trigger a warning with recent GCC.  Bisection points to 
r220157 (gcc 5.0.0) as the fix.  Thus resolving as fixed.
>From gcc-bugs-return-578841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:40:31 2017
Return-Path: <gcc-bugs-return-578841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51429 invoked by alias); 17 Oct 2017 16:40: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 51231 invoked by uid 48); 17 Oct 2017 16:40:27 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus warning when inlining or unrolling: "array subscript is above array bounds"
Date: Tue, 17 Oct 2017 16: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: 4.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-56456-4-ro5Wq5Y8ob@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01901.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 45180, which changed state.

Bug 45180 Summary: bogus warning: array subscript is above array bounds
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45180

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:44:43 2017
Return-Path: <gcc-bugs-return-578842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8588 invoked by alias); 17 Oct 2017 16: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 2896 invoked by uid 48); 17 Oct 2017 16:44:39 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82584] New: div by zero in random distribution
Date: Tue, 17 Oct 2017 16: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82584-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01902.txt.bz2
Content-length: 1175

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82584

            Bug ID: 82584
           Summary: div by zero in random distribution
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nathan at gcc dot gnu.org
  Target Milestone: ---

Created attachment 42384
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42384&action=edit
compile with -fsanitize=float-divide-by-zero

the attached program, when using ubsan generates:
/data/users/nathans/trunk/obj/x86_64/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/random.tcc:88:25:
runtime error: division by zero

line 88 is:
          *__result = *__first / __factor;

and both *__first and __factor are zero.  We end up at:
   0x000000000040314c <+171>:   movsd  -0x40(%rbp),%xmm0
   0x0000000000403151 <+176>:   divsd  -0x38(%rbp),%xmm0
   0x0000000000403156 <+181>:   movsd  %xmm0,-0x38(%rbp)
where both the operands are zero

Not sure if this is user error in that feeding vector<int>{0,0} to
discrete_distribution is valid or not.
>From gcc-bugs-return-578843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:46:48 2017
Return-Path: <gcc-bugs-return-578843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28577 invoked by alias); 17 Oct 2017 16:46: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 28461 invoked by uid 48); 17 Oct 2017 16:46:44 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/38480] bogus warning with -O3 -Wall: "array subscript is above array bounds"
Date: Tue, 17 Oct 2017 16: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.3.2
X-Bugzilla-Keywords: diagnostic, missed-optimization
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: bug_status cc cf_known_to_work resolution cf_known_to_fail
Message-ID: <bug-38480-4-PZ8vGzLuas@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-38480-4@http.gcc.gnu.org/bugzilla/>
References: <bug-38480-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01903.txt.bz2
Content-length: 733

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38480

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|                            |7.2.0, 8.0
         Resolution|---                         |FIXED
      Known to fail|                            |4.9.4, 5.4.0, 6.3.0

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
There is no warning since r239421 (gcc 7.0.0) and function f() is optimized
into a no-op, so resolving as fixed.
>From gcc-bugs-return-578844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:46:49 2017
Return-Path: <gcc-bugs-return-578844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28712 invoked by alias); 17 Oct 2017 16:46: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 28509 invoked by uid 48); 17 Oct 2017 16:46:45 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus warning when inlining or unrolling: "array subscript is above array bounds"
Date: Tue, 17 Oct 2017 16:46: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: 4.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-56456-4-bE2zRUT3Dj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01904.txt.bz2
Content-length: 497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 38480, which changed state.

Bug 38480 Summary: bogus warning with -O3 -Wall: "array subscript is above array bounds"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38480

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:51:49 2017
Return-Path: <gcc-bugs-return-578845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36335 invoked by alias); 17 Oct 2017 16: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 36284 invoked by uid 48); 17 Oct 2017 16:51:45 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/52504] (unreachable) out of bounds access in thread_prologue_and_epilogue_insns
Date: Tue, 17 Oct 2017 16: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: 4.8.0
X-Bugzilla-Keywords: diagnostic
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: keywords bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-52504-4-GWJfAF11wv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52504-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52504-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01905.txt.bz2
Content-length: 839

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52504

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|2013-02-25 00:00:00         |2017-10-17
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
It's been a few years since this report was opened.  Can you please check with
a recent version of GCC whether the warning still occurs?  If it does, can in
addition reduce it to a small test case and include it in your comment?
>From gcc-bugs-return-578846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 16:54:53 2017
Return-Path: <gcc-bugs-return-578846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44622 invoked by alias); 17 Oct 2017 16:54: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 44530 invoked by uid 48); 17 Oct 2017 16:54:48 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82584] div by zero in random distribution
Date: Tue, 17 Oct 2017 16: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82584-4-rWMrEj07Fn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82584-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82584-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01906.txt.bz2
Content-length: 335

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82584

--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
The make_unique bit's irrelevant:
 std::discrete_distribution<int32_t> X (weights.begin(), weights.end());
is sufficient.

Reading 29.6.8.6.1 suggests the code is well formed, but all (two) probabilites
are zero
>From gcc-bugs-return-578847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:00:51 2017
Return-Path: <gcc-bugs-return-578847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65769 invoked by alias); 17 Oct 2017 17: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 65704 invoked by uid 48); 17 Oct 2017 17:00:46 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82556] [7/8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Tue, 17 Oct 2017 17:00: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-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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82556-4-EyDNY3TE65@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01907.txt.bz2
Content-length: 413

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

--- Comment #4 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> Confirmed on the branch (for the unreduced testcase).  GCC 7.2 works.
> 
> Probably Jakubs pattern changes.

It is an unusual pattern for LRA.  I guess it should be fixed in LRA.  I'll
investigate the problem and try to find a fix in LRA.
>From gcc-bugs-return-578848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:12:35 2017
Return-Path: <gcc-bugs-return-578848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86748 invoked by alias); 17 Oct 2017 17:12: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 81217 invoked by uid 48); 17 Oct 2017 17:12:30 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82550] program using submodules fails to link
Date: Tue, 17 Oct 2017 17: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: 7.2.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82550-4-IvLr7Fhz5x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82550-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82550-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01908.txt.bz2
Content-length: 512

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82550

--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #1)
> Confirmed from 6.4 up to trunk (8.0).

Adding a reference to 'p' in 'foo' clears the problem.

    module subroutine foo(fun_ptr)
      procedure(p), pointer, intent(out) :: fun_ptr
       call p()
      fun_ptr => p
    end subroutine

I rather think that the pointer assignment is not setting 'p' as referenced.

Investigating.....

Paul
>From gcc-bugs-return-578849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:13:19 2017
Return-Path: <gcc-bugs-return-578849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 504 invoked by alias); 17 Oct 2017 17: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 129539 invoked by uid 48); 17 Oct 2017 17:13:15 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82546] tree_size handling for TYPE nodes is confused
Date: Tue, 17 Oct 2017 17: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan 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-82546-4-WyT7tYyWLC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82546-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01909.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82546

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-17
     Ever confirmed|0                           |1
>From gcc-bugs-return-578850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:19:44 2017
Return-Path: <gcc-bugs-return-578850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90087 invoked by alias); 17 Oct 2017 17: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 88057 invoked by uid 48); 17 Oct 2017 17:19:39 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82585] New: missing -Warray-bounds calling strlen on a member at out-of-bounds offfset
Date: Tue, 17 Oct 2017 17:19: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.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-82585-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01910.txt.bz2
Content-length: 1095

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82585

            Bug ID: 82585
           Summary: missing -Warray-bounds calling strlen on a member at
                    out-of-bounds offfset
           Product: gcc
           Version: 8.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 following test case should trigger two instances of -Warray-bounds, one in
each function, but it only triggers one.

$ cat a.c && gcc -O2 -S -Wall -Warray-bounds a.c 
struct A { char a[3]; int i; };

extern char a[3];

int f1 (void)
{
  return __builtin_strlen (a + 4);   // -Warray-bounds (good)
}

int f2 (struct A *p)
{
  return __builtin_strlen (p->a + 4);   // missing -Warray-bounds
}

a.c: In function ‘f1’:
a.c:7:10: warning: array subscript is above array bounds [-Warray-bounds]
   return __builtin_strlen (a + 4);   // -Warray-bounds (good)
          ^~~~~~~~~~~~~~~~~~~~~~~~
>From gcc-bugs-return-578851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:27:47 2017
Return-Path: <gcc-bugs-return-578851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26449 invoked by alias); 17 Oct 2017 17:27: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 23800 invoked by uid 55); 17 Oct 2017 17:27:43 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
Date: Tue, 17 Oct 2017 17: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: 7.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82560-4-osTN43V5T0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01911.txt.bz2
Content-length: 738

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

--- Comment #6 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Oct 17 17:27:11 2017
New Revision: 253822

URL: https://gcc.gnu.org/viewcvs?rev=253822&root=gcc&view=rev
Log:
[C++ PATCH 82560] missing dtor call

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01068.html
        PR c++/82560
        * call.c (build_over_call): Don't pass tf_no_cleanup to nested
        calls.

        PR c++/82560
        * g++.dg/cpp0x/pr82560.C: New.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/pr82560.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/call.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:28:03 2017
Return-Path: <gcc-bugs-return-578852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34659 invoked by alias); 17 Oct 2017 17: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 31902 invoked by uid 48); 17 Oct 2017 17:27:59 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
Date: Tue, 17 Oct 2017 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: 7.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82560-4-GNC3VBTWMX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82560-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01912.txt.bz2
Content-length: 152

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560

--- Comment #7 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Fixed on gcc-7 branch r253822.
>From gcc-bugs-return-578853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:32:19 2017
Return-Path: <gcc-bugs-return-578853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77103 invoked by alias); 17 Oct 2017 17:32: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 77046 invoked by uid 48); 17 Oct 2017 17:32:15 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82586] New: ICE: write_symbol(): bad module symbol
Date: Tue, 17 Oct 2017 17:32: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.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-82586-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01913.txt.bz2
Content-length: 1291

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82586

            Bug ID: 82586
           Summary: ICE: write_symbol(): bad module symbol
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

I recently did some tests with the very new PDT feature
to generate some tiny, disruptive test cases :


$ cat z1.f90
module m
   type t(a)
   end type
end


$ gfortran-8-20171015 -c z1.f90
f951: internal compiler error: write_symbol(): bad module symbol 'a'
0x68da6f gfc_internal_error(char const*, ...)
        ../../gcc/fortran/error.c:1349
0x6ca032 write_symbol
        ../../gcc/fortran/module.c:5612
0x6ca07b write_symbol1_recursion
        ../../gcc/fortran/module.c:5839
0x6cce75 write_symbol1
        ../../gcc/fortran/module.c:5872
0x6cce75 write_module
        ../../gcc/fortran/module.c:6016
0x6cce75 dump_module
        ../../gcc/fortran/module.c:6143
0x6cd0fd gfc_dump_module(char const*, int)
        ../../gcc/fortran/module.c:6200
0x6e6a56 gfc_parse_file()
        ../../gcc/fortran/parse.c:6241
0x72a6bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-578854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:33:12 2017
Return-Path: <gcc-bugs-return-578854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79589 invoked by alias); 17 Oct 2017 17:33:12 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 79261 invoked by uid 48); 17 Oct 2017 17:33:08 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82586] ICE: write_symbol(): bad module symbol
Date: Tue, 17 Oct 2017 17: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: 8.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:
Message-ID: <bug-82586-4-YTW1Bc5mn2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01914.txt.bz2
Content-length: 1440

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82586

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

Other invalid snippets :


$ cat z2.f90
program p
   type t(a
      integer, kind :: a
      real(a) :: x
   end type
end


$ cat z3.f90
program p
   type t(a, a)
      integer, kind :: a
      integer, len :: a
   end type
end


$ gfortran-8-20171015 -c z2.f90
f951: internal compiler error: Segmentation fault
0xb5a08f crash_signal
        ../../gcc/toplev.c:326
0x66322b delete_root
        ../../gcc/fortran/bbt.c:150
0x6633fe gfc_delete_bbt(void*, void*, int (*)(void*, void*))
        ../../gcc/fortran/bbt.c:197
0x71b008 gfc_delete_symtree(gfc_symtree**, char const*)
        ../../gcc/fortran/symbol.c:2829
0x71c786 gfc_restore_last_undo_checkpoint()
        ../../gcc/fortran/symbol.c:3598
0x6db9d7 reject_statement
        ../../gcc/fortran/parse.c:2546
0x6dbaec match_word_omp_simd
        ../../gcc/fortran/parse.c:98
0x6dfadb match_word
        ../../gcc/fortran/parse.c:565
0x6dfadb decode_statement
        ../../gcc/fortran/parse.c:565
0x6e0fb4 next_free
        ../../gcc/fortran/parse.c:1225
0x6e0fb4 next_statement
        ../../gcc/fortran/parse.c:1457
0x6e2ddc parse_spec
        ../../gcc/fortran/parse.c:3648
0x6e4d93 parse_progunit
        ../../gcc/fortran/parse.c:5634
0x6e6354 gfc_parse_file()
        ../../gcc/fortran/parse.c:6174
0x72a6bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-578855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:37:44 2017
Return-Path: <gcc-bugs-return-578855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93056 invoked by alias); 17 Oct 2017 17: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 92772 invoked by uid 48); 17 Oct 2017 17:37:41 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82586] ICE: write_symbol(): bad module symbol
Date: Tue, 17 Oct 2017 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: 8.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-82586-4-fnkHmsPI3b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01915.txt.bz2
Content-length: 583

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82586

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
                 CC|                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on trunk (8.0).
>From gcc-bugs-return-578856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:38:31 2017
Return-Path: <gcc-bugs-return-578856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97837 invoked by alias); 17 Oct 2017 17:38: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 97772 invoked by uid 48); 17 Oct 2017 17:38:27 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/81404] suggested hints for standard C macros should avoid GCC predefined macros
Date: Tue, 17 Oct 2017 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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81404-4-YEEcrf2HHv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81404-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01916.txt.bz2
Content-length: 198

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81404

--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Candidate patch:
  https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01083.html
>From gcc-bugs-return-578857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:41:03 2017
Return-Path: <gcc-bugs-return-578857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99973 invoked by alias); 17 Oct 2017 17:41: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 99932 invoked by uid 48); 17 Oct 2017 17:40:59 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82587] New: ICE in get_pdt_constructor, at fortran/resolve.c:1185
Date: Tue, 17 Oct 2017 17:41: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.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-82587-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01917.txt.bz2
Content-length: 2046

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82587

            Bug ID: 82587
           Summary: ICE in get_pdt_constructor, at fortran/resolve.c:1185
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Another piece of invalid code :


$ cat z1.f90
program p
   type t(a)
      integer(kind=t()) :: x
   end type
end


$ gfortran-8-20171015 -c z1.f90
f951: internal compiler error: in get_pdt_constructor, at
fortran/resolve.c:1185
0x6ed6e5 get_pdt_constructor
        ../../gcc/fortran/resolve.c:1185
0x7037be resolve_structure_cons
        ../../gcc/fortran/resolve.c:1247
0x6f31ba resolve_generic_f
        ../../gcc/fortran/resolve.c:2697
0x6f31ba resolve_function
        ../../gcc/fortran/resolve.c:3120
0x6f350a gfc_resolve_expr(gfc_expr*)
        ../../gcc/fortran/resolve.c:6608
0x6916ef gfc_reduce_init_expr(gfc_expr*)
        ../../gcc/fortran/expr.c:2696
0x6940d1 gfc_match_init_expr(gfc_expr**)
        ../../gcc/fortran/expr.c:2744
0x679605 gfc_match_kind_spec(gfc_typespec*, bool)
        ../../gcc/fortran/decl.c:2710
0x67faa2 gfc_match_decl_type_spec(gfc_typespec*, int)
        ../../gcc/fortran/decl.c:4053
0x68115c gfc_match_data_decl()
        ../../gcc/fortran/decl.c:5605
0x6dbac9 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6df17e match_word
        ../../gcc/fortran/parse.c:376
0x6df17e decode_statement
        ../../gcc/fortran/parse.c:376
0x6e0fb4 next_free
        ../../gcc/fortran/parse.c:1225
0x6e0fb4 next_statement
        ../../gcc/fortran/parse.c:1457
0x6e252d parse_derived
        ../../gcc/fortran/parse.c:3252
0x6e252d parse_spec
        ../../gcc/fortran/parse.c:3792
0x6e4d93 parse_progunit
        ../../gcc/fortran/parse.c:5634
0x6e6354 gfc_parse_file()
        ../../gcc/fortran/parse.c:6174
0x72a6bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-578858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:46:27 2017
Return-Path: <gcc-bugs-return-578858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115315 invoked by alias); 17 Oct 2017 17:46: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 115265 invoked by uid 48); 17 Oct 2017 17:46:22 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82588] New: missing -Warray-bounds on a excessively large index
Date: Tue, 17 Oct 2017 17: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: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82588-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01918.txt.bz2
Content-length: 2441

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82588

            Bug ID: 82588
           Summary: missing -Warray-bounds on a excessively large index
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

GCC fails to issue a -Warray-bounds warning for indices so large that they
cannot be valid even for the largest objects.

In function f0() below, GCC recognizes that the signed distance between the
beginning of the array and the end pointer cannot be positive and transforms
the function into an unconditional call to abort, but it doesn't issue any sort
of a diagnostic.  -Warray-bounds would seem to be appropriate here.  Likewise
in function f1().

Similarly in function f2(), the size of the member array cannot be half the
address space because it would leave no room for the remaining members of the
same struct.  So again, -Warray-bounds could be issued for this pathological
case.  The comment in check_array_ref that reads "Can not check flexible
arrays." indicates the absence of checking for flexible array members is
intentional, but it can be tightened up to detect these boundary conditions.

$ cat a.c && gcc -O2 -S -Wall -Warray-bounds -fdump-tree-optimized=/dev/stdout
a.c 
struct A { int n; char a[]; };

void f0 (void)
{
  extern int a[];

  int *e = a + __SIZE_MAX__ / sizeof (int) + 1;   // missing warning

  if (e - a <= 0)
    __builtin_abort ();
}

int f1 (void)
{
  extern int a[];

  return a[__SIZE_MAX__ / sizeof (int) + 1];   // missing -Warray-bounds
}

int f2 (struct A *a)
{
  return a->a[__SIZE_MAX__ / 2];   // missing -Warray-bounds
}

;; Function f0 (f0, funcdef_no=0, decl_uid=1834, cgraph_uid=0, symbol_order=0)
(unlikely executed)

f0 ()
{
  <bb 2> [100.00%] [count: 0]:
  __builtin_abort ();

}



;; Function f1 (f1, funcdef_no=1, decl_uid=1840, cgraph_uid=1, symbol_order=1)

f1 ()
{
  int _2;

  <bb 2> [100.00%] [count: INV]:
  _2 = a[4611686018427387904];
  return _2;

}



;; Function f2 (f2, funcdef_no=2, decl_uid=1845, cgraph_uid=2, symbol_order=2)

f2 (struct A * a)
{
  char _1;
  int _4;

  <bb 2> [100.00%] [count: INV]:
  _1 = a_3(D)->a[9223372036854775807];
  _4 = (int) _1;
  return _4;

}
>From gcc-bugs-return-578859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:48:34 2017
Return-Path: <gcc-bugs-return-578859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24482 invoked by alias); 17 Oct 2017 17:48: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 24321 invoked by uid 48); 17 Oct 2017 17:48:29 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82588] missing -Warray-bounds on a excessively large index
Date: Tue, 17 Oct 2017 17: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: 8.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: see_also
Message-ID: <bug-82588-4-yxP4zQGxRB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82588-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82588-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01919.txt.bz2
Content-length: 577

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82588

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=68325

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
See also bug 68325 for a similar report of -Warray-bounds failing to detect
negative indices into flexible array members.
>From gcc-bugs-return-578860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:55:59 2017
Return-Path: <gcc-bugs-return-578860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102281 invoked by alias); 17 Oct 2017 17: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 102228 invoked by uid 48); 17 Oct 2017 17:55:54 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82589] New: ICE in gfc_get_pdt_instance, at fortran/decl.c:3278
Date: Tue, 17 Oct 2017 17:55: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.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-82589-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01920.txt.bz2
Content-length: 1689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82589

            Bug ID: 82589
           Summary: ICE in gfc_get_pdt_instance, at fortran/decl.c:3278
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

A combination of type-param-attr-spec LEN or KIND with another 
attribute like PRIVATE conflicts with f2008 4.5.3.1 :


$ cat z1.f90
module m
   type t(a)
      integer, len, private :: a
   end type
end
program p
   use m
   type(t(a=:)), allocatable :: x
   print *, x
end


$ gfortran-8-20171015 -c z1.f90
f951: internal compiler error: Segmentation fault
0xb5a08f crash_signal
        ../../gcc/toplev.c:326
0x67a008 gfc_get_pdt_instance(gfc_actual_arglist*, gfc_symbol**,
gfc_actual_arglist**)
        ../../gcc/fortran/decl.c:3278
0x680221 gfc_match_decl_type_spec(gfc_typespec*, int)
        ../../gcc/fortran/decl.c:3787
0x68115c gfc_match_data_decl()
        ../../gcc/fortran/decl.c:5605
0x6dbac9 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6df17e match_word
        ../../gcc/fortran/parse.c:376
0x6df17e decode_statement
        ../../gcc/fortran/parse.c:376
0x6e0fb4 next_free
        ../../gcc/fortran/parse.c:1225
0x6e0fb4 next_statement
        ../../gcc/fortran/parse.c:1457
0x6e289c parse_spec
        ../../gcc/fortran/parse.c:3831
0x6e4d93 parse_progunit
        ../../gcc/fortran/parse.c:5634
0x6e6354 gfc_parse_file()
        ../../gcc/fortran/parse.c:6174
0x72a6bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-578861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 17:56:43 2017
Return-Path: <gcc-bugs-return-578861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110010 invoked by alias); 17 Oct 2017 17:56: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 109968 invoked by uid 48); 17 Oct 2017 17:56:39 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82589] ICE in gfc_get_pdt_instance, at fortran/decl.c:3278
Date: Tue, 17 Oct 2017 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: 8.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:
Message-ID: <bug-82589-4-pmPO5T3eC7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01921.txt.bz2
Content-length: 573

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82589

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

These variants are processed without any complaints :


$ cat z2.f90
module m
   type t(a)
      integer, len, private :: a
   end type
end
program p
   use m
   type(t(:)), allocatable :: x
   print *, x
end


$ cat z3.f90
module m
   type t(a)
      integer, len, private :: a
   end type
end
program p
   use m
   type(t(2)) :: x
   print *, x
end


$ gfortran-8-20171015 -g -O0 -Wall -Wextra -c z2.f90
$ gfortran-8-20171015 -g -O0 -Wall -Wextra -c z3.f90
$
>From gcc-bugs-return-578862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 18:01:23 2017
Return-Path: <gcc-bugs-return-578862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107600 invoked by alias); 17 Oct 2017 18:01: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 94947 invoked by uid 48); 17 Oct 2017 18:01:18 -0000
From: "b.r.longbons at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Tue, 17 Oct 2017 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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: b.r.longbons 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-82542-4-C5sXDbMdiM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01922.txt.bz2
Content-length: 320

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

--- Comment #9 from Ben Longbons <b.r.longbons at gmail dot com> ---
The ones I've filed are: #54533, #58150, #80466

But there are quite a few more at
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=__open__&component=debug&list_id=190134&product=gcc
>From gcc-bugs-return-578863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 18:08:35 2017
Return-Path: <gcc-bugs-return-578863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44233 invoked by alias); 17 Oct 2017 18:08: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 44102 invoked by uid 48); 17 Oct 2017 18:08:30 -0000
From: "b.r.longbons at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82554] uniform_real_distribution can generate the upper endpoint
Date: Tue, 17 Oct 2017 18: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: b.r.longbons 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-82554-4-DDUcTPyN7v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82554-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82554-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01923.txt.bz2
Content-length: 281

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82554

--- Comment #3 from Ben Longbons <b.r.longbons at gmail dot com> ---
There is DR2524 for the [0, 1) case. Otherwise, filing bugs there looks really
complicated.

I've given you a reproducer. That's as much as I'm capable of.
>From gcc-bugs-return-578864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 18:31:11 2017
Return-Path: <gcc-bugs-return-578864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35893 invoked by alias); 17 Oct 2017 18: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 35795 invoked by uid 48); 17 Oct 2017 18:31:06 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82586] ICE: write_symbol(): bad module symbol
Date: Tue, 17 Oct 2017 18: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.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
Message-ID: <bug-82586-4-Ub6BQvm1aU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01924.txt.bz2
Content-length: 431

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82586

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> ---
Thanks - they are now on the todo list :-)

Paul
>From gcc-bugs-return-578865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 18:55:44 2017
Return-Path: <gcc-bugs-return-578865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50645 invoked by alias); 17 Oct 2017 18: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 50608 invoked by uid 48); 17 Oct 2017 18:55:38 -0000
From: "bastl at eclipso dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82590] New: auto-host.h error: declaration does not declare anything
Date: Tue, 17 Oct 2017 18:55: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bastl at eclipso 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-82590-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01925.txt.bz2
Content-length: 2433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82590

            Bug ID: 82590
           Summary: auto-host.h error: declaration does not declare
                    anything
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bastl at eclipso dot de
  Target Milestone: ---

Compiling GCC-7.2.0 with:

gcc (GCC) 6.3.0
libtool (GNU libtool) 2.4.6
GNU Make 4.2.1
GNU ld (GNU Binutils) 2.29
GNU Awk 4.1.4
perl 5, version 26, subversion 0 (v5.26.0)
bison (GNU Bison) 3.0.4
ldd (GNU libc) 2.26
GNU bash, version 4.4.12(2)-release

on and for:

i686-pc-linux-gnu

breaks with this error (./gcc):

checking for strings.h... yes
checking for inttypes.h... In file included from /usr/include/stdlib.h:707:0,
                 from /mnt/usb6/prog/7.91_gcc-7/gcc-7.2.0/./gcc/system.h:258,
                 from /mnt/usb6/prog/7.91_gcc-7/gcc-7.2.0/./gcc/genhooks.c:21:
/usr/include/bits/stdlib-bsearch.h: In function 'void* bsearch(const void*,
const void*, size_t, size_t, __compar_fn_t)':
/usr/include/bits/stdlib-bsearch.h:32:65: warning: cast from type 'const char*'
to type 'void*' casts away qualifiers [-Wcast-qual]
       __p = (void *) (((const char *) __base) + (__idx * __size));
                                                                 ^
/usr/include/bits/stdlib-bsearch.h:39:18: warning: cast from type 'const void*'
to type 'void*' casts away qualifiers [-Wcast-qual]
  return (void *) __p;
                  ^~~
In file included from /usr/include/bits/fcntl.h:61:0,
                 from /usr/include/fcntl.h:35,
                 from /mnt/usb6/prog/7.91_gcc-7/gcc-7.2.0/./gcc/system.h:349,
                 from /mnt/usb6/prog/7.91_gcc-7/gcc-7.2.0/./gcc/genhooks.c:21:
/usr/include/bits/fcntl-linux.h: At global scope:
/usr/include/bits/fcntl-linux.h:330:27: warning: ISO C++ forbids zero-size
array 'f_handle' [-Wpedantic]
   unsigned char f_handle[0];
                           ^
In file included from ./bconfig.h:3:0,
                 from /mnt/usb6/prog/7.91_gcc-7/gcc-7.2.0/./gcc/genhooks.c:20:
./auto-host.h:2357:16: error: declaration does not declare anything
[-fpermissive]
 #define rlim_t long
                ^
/usr/include/bits/resource.h:133:20: note: in expansion of macro 'rlim_t'
 typedef __rlim64_t rlim_t;
>From gcc-bugs-return-578866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 18:57:04 2017
Return-Path: <gcc-bugs-return-578866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52074 invoked by alias); 17 Oct 2017 18: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 52017 invoked by uid 48); 17 Oct 2017 18:56:59 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82591] New: [8 Regression] [graphite] Compile-time hog w/ -O2 -floop-nest-optimize
Date: Tue, 17 Oct 2017 18: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: 8.0
X-Bugzilla-Keywords: compile-time-hog
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-82591-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01926.txt.bz2
Content-length: 3043

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82591

            Bug ID: 82591
           Summary: [8 Regression] [graphite] Compile-time hog w/ -O2
                    -floop-nest-optimize
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: compile-time-hog
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-8.0.0-alpha20171015 snapshot (r253772) takes about 25 s to compile the
following snippet w/ -O2 -floop-nest-optimize on my machine:

unsigned int dd;

unsigned int
hi (unsigned int s1, int w0, int ym, unsigned short int oy)
{
  int *v1;

  if (w0 == 0)
    v1 = &w0;
  else
    {
      int *fr;

      v1 = &ym;

      for (w0 = 0; w0 < 128; ++w0)
        {
          int r8;

          for (r8 = 0; r8 < 3; ++r8)
            {
              fr = (int *)&dd;
              oy -= 0x201;
              s1 = oy <= 1;
              ym += dd;
              if (s1 != 0)
                {
                  int x8;

                  *fr = 0;
                  x8 = ym / *fr;
                }
            }
        }
    }

  if (s1 == (((*v1 != 0) ? s1 : 0) - (1 / 0)))
    s1 = 0;

  return s1;
}

% time gcc-8.0.0-alpha20171015 -O2 -floop-nest-optimize -w -c yaqk7feq.c
gcc-8.0.0-alpha20171015 -O2 -floop-nest-optimize -w -c yaqk7feq.c  21.80s user
0.02s system 92% cpu 23.709 total

On this machine I have gmp 6.1.2 and isl 0.18 installed.

9.37%  libgmp.so.10.3.2  [.] __gmpz_divexact
9.16%  libgmp.so.10.3.2  [.] __gmpz_mul
8.06%  libisl.so.15.3.0  [.] isl_tab_pivot
7.62%  libgmp.so.10.3.2  [.] __gmpz_aorsmul_1
7.59%  libgmp.so.10.3.2  [.] __gmpn_gcd_1
5.28%  libgmp.so.10.3.2  [.] __gmpn_modexact_1_odd
5.17%  libgmp.so.10.3.2  [.] __gmpn_divexact_1
4.51%  libgmp.so.10.3.2  [.] __gmpz_cmpabs
4.27%  libgmp.so.10.3.2  [.] __gmpn_mul_1
4.26%  libgmp.so.10.3.2  [.] __gmpz_gcd
2.75%  libgmp.so.10.3.2  [.] __gmpn_divexact
2.66%  libisl.so.15.3.0  [.] isl_seq_gcd
2.53%  libisl.so.15.3.0  [.] isl_seq_abs_min_non_zero
2.05%  libgmp.so.10.3.2  [.] __gmpz_cmp_ui
1.91%  libgmp.so.10.3.2  [.] __gmpz_addmul
1.31%  libgmp.so.10.3.2  [.] __gmpn_gcd
1.25%  libgmp.so.10.3.2  [.] __gmpn_copyi
1.04%  libisl.so.15.3.0  [.] isl_seq_scale_down
0.91%  libgmp.so.10.3.2  [.] __gmpn_submul_1
0.77%  libisl.so.15.3.0  [.] isl_tab_var_from_row
0.69%  libgmp.so.10.3.2  [.] __gmpz_set
0.64%  libisl.so.15.3.0  [.] isl_tab_row_is_redundant
0.50%  libgmp.so.10.3.2  [.] 0x000000000005a3fd
0.42%  libgmp.so.10.3.2  [.] __gmpn_addmul_1
0.39%  libgmp.so.10.3.2  [.] 0x000000000005a3f0
0.38%  libgmp.so.10.3.2  [.] 0x000000000005a5e3
0.35%  libgmp.so.10.3.2  [.] __gmpn_divexact@plt
0.35%  libgmp.so.10.3.2  [.] __gmpn_rshift
0.32%  libgmp.so.10.3.2  [.] 0x000000000005a254
0.32%  libc-2.25.so      [.] _int_malloc
0.31%  libisl.so.15.3.0  [.] isl_seq_normalize
0.30%  libisl.so.15.3.0  [.] isl_seq_combine
>From gcc-bugs-return-578867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 18:58:06 2017
Return-Path: <gcc-bugs-return-578867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53933 invoked by alias); 17 Oct 2017 18:58: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 53214 invoked by uid 48); 17 Oct 2017 18:58:01 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64611] Using a << operator inside an overloaded << operator gives compile error
Date: Tue, 17 Oct 2017 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: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-64611-4-4MSiZL7H5D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64611-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64611-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01927.txt.bz2
Content-length: 516

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64611

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.0

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed looong time ago, in 5.1.0.
>From gcc-bugs-return-578868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:00:46 2017
Return-Path: <gcc-bugs-return-578868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73556 invoked by alias); 17 Oct 2017 19:00: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 57980 invoked by uid 48); 17 Oct 2017 19:00:26 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Tue, 17 Oct 2017 19:00: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82569-4-E3TH2fOwis@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01928.txt.bz2
Content-length: 871

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #5 from seurer at gcc dot gnu.org ---
Created attachment 42385
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42385&action=edit
test case that shows the problem

This is a cut down single function test case that shows the problem.  I tried
cutting out more but it changed how the code was generated too much to show the
issue.

Compile it with a powerpc compiler built with -mcpu=power6 or power6x

~/gcc/install/gcc-test2/bin/gcc -O3 -S -o bad.s bad.c

And look for the srawi that shifts by 13.  I changed it from 11 to make it
easier to find because there are other shifts by 11.  Then trace the result on
its way to the function call.

I see:

303:    srawi 10,31,13

305:    stw 10,29148(1)

325:    ld 16,29144(1)

332:    mr 27,16

545:    mr 6,27
546:    bl gl_write_texture_span
>From gcc-bugs-return-578869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:06:34 2017
Return-Path: <gcc-bugs-return-578869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2413 invoked by alias); 17 Oct 2017 19: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 2350 invoked by uid 48); 17 Oct 2017 19:06:30 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65970] [C++14] Endless loop with constexpr
Date: Tue, 17 Oct 2017 19: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.1.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
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: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-65970-4-uKVTy2rbDq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65970-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65970-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01929.txt.bz2
Content-length: 590

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65970

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|jason at gcc dot gnu.org           |
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.0

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
We can resolve this as fixed in 7.1.0, I believe.
>From gcc-bugs-return-578870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:08:59 2017
Return-Path: <gcc-bugs-return-578870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5969 invoked by alias); 17 Oct 2017 19: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 5927 invoked by uid 48); 17 Oct 2017 19:08:55 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67735] internal compiler error while trying to use __direct_bases to create parallel hierarchy of classes
Date: Tue, 17 Oct 2017 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: 6.0
X-Bugzilla-Keywords:
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-67735-4-14qI6jUwjd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67735-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67735-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01930.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67735

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
     Ever confirmed|0                           |1
>From gcc-bugs-return-578872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:21:29 2017
Return-Path: <gcc-bugs-return-578872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43167 invoked by alias); 17 Oct 2017 19: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 37089 invoked by uid 48); 17 Oct 2017 19:21:25 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70377] "unexpected AST" and "confused by earlier errors, bailing out" from throw in simple constexpr fn
Date: Tue, 17 Oct 2017 19: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.4.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: major
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: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-70377-4-xw4UIGvsnt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70377-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70377-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01932.txt.bz2
Content-length: 297

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70377

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |6.0
>From gcc-bugs-return-578871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:21:11 2017
Return-Path: <gcc-bugs-return-578871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24150 invoked by alias); 17 Oct 2017 19:21: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 21076 invoked by uid 48); 17 Oct 2017 19:21:07 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70377] "unexpected AST" and "confused by earlier errors, bailing out" from throw in simple constexpr fn
Date: Tue, 17 Oct 2017 19: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.4.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: major
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70377-4-70dvJbQ2Tu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70377-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70377-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01931.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70377

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Ok, I think we can close this one (about the ICE) as fixed for 6.1.0.
>From gcc-bugs-return-578873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:26:52 2017
Return-Path: <gcc-bugs-return-578873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58946 invoked by alias); 17 Oct 2017 19: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 58893 invoked by uid 48); 17 Oct 2017 19:26:47 -0000
From: "eieio at google dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82478] Rejects valid access to private member type that should be allowed by friend
Date: Tue, 17 Oct 2017 19: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: 7.2.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eieio at google 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-82478-4-QAAkAI7d2y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01933.txt.bz2
Content-length: 209

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82478

--- Comment #4 from Corey Tabaka <eieio at google dot com> ---
Ah, you are right. Late night mixup...

The outer class friend should work though, correct?
>From gcc-bugs-return-578874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:29:16 2017
Return-Path: <gcc-bugs-return-578874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100056 invoked by alias); 17 Oct 2017 19:29: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 93369 invoked by uid 48); 17 Oct 2017 19:29:12 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71251] [6/7/8 regression] ICE on invalid code, with unusual template name
Date: Tue, 17 Oct 2017 19: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: 7.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71251-4-3YizOERwq5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71251-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71251-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01934.txt.bz2
Content-length: 146

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71251

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Related to PR71220.
>From gcc-bugs-return-578875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:37:25 2017
Return-Path: <gcc-bugs-return-578875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38081 invoked by alias); 17 Oct 2017 19:37: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 31802 invoked by uid 55); 17 Oct 2017 19:37:21 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71368] [concepts] ICE on constrained compound requirement
Date: Tue, 17 Oct 2017 19: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: 6.1.0
X-Bugzilla-Keywords:
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-71368-4-MaGC07EWjL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71368-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01935.txt.bz2
Content-length: 490

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71368

--- Comment #1 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 17 19:36:49 2017
New Revision: 253826

URL: https://gcc.gnu.org/viewcvs?rev=253826&root=gcc&view=rev
Log:
2017-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/71368
        * g++.dg/concepts/pr71368.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/concepts/pr71368.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:37:46 2017
Return-Path: <gcc-bugs-return-578876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62558 invoked by alias); 17 Oct 2017 19:37: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 57242 invoked by uid 48); 17 Oct 2017 19:37:42 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71368] [concepts] ICE on constrained compound requirement
Date: Tue, 17 Oct 2017 19: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: 6.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-71368-4-LRvMivEBL6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71368-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01936.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71368

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.2

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in 6.2.0.
>From gcc-bugs-return-578877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:49:47 2017
Return-Path: <gcc-bugs-return-578877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49559 invoked by alias); 17 Oct 2017 19: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 49470 invoked by uid 55); 17 Oct 2017 19:49:41 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvNzE4MjFdIFs2LzcvOCByZWdyZXNzaW9uXSBJQ0Ugb24gaW52?= =?UTF-8?B?YWxpZCBDKysxMSBjb2RlIChpbmNvcnJlY3QgYXJndW1lbnQgZm9yIGFsaWdu?= =?UTF-8?B?YXMpOiB1bmV4cGVjdGVkIGV4cHJlc3Npb24g4oCYZjxpbnQ+4oCZIG9mIGtp?= =?UTF-8?B?bmQgdGVtcGxhdGVfaWRfZXhwcg==?Date: Tue, 17 Oct 2017 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: 7.0
X-Bugzilla-Keywords: 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71821-4-AhoHAHHxCP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71821-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71821-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01937.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71821

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 17 19:49:06 2017
New Revision: 253828

URL: https://gcc.gnu.org/viewcvs?rev=253828&root=gcc&view=rev
Log:
2017-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/71821
        * g++.dg/cpp0x/alignas12.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alignas12.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:51:55 2017
Return-Path: <gcc-bugs-return-578878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54312 invoked by alias); 17 Oct 2017 19: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 53559 invoked by uid 48); 17 Oct 2017 19:51:51 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvNzE4MjFdIFs2LzcvOCByZWdyZXNzaW9uXSBJQ0Ugb24gaW52?= =?UTF-8?B?YWxpZCBDKysxMSBjb2RlIChpbmNvcnJlY3QgYXJndW1lbnQgZm9yIGFsaWdu?= =?UTF-8?B?YXMpOiB1bmV4cGVjdGVkIGV4cHJlc3Npb24g4oCYZjxpbnQ+4oCZIG9mIGtp?= =?UTF-8?B?bmQgdGVtcGxhdGVfaWRfZXhwcg==?Date: Tue, 17 Oct 2017 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: 7.0
X-Bugzilla-Keywords: 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-71821-4-qgE9o3zTlt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71821-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71821-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01938.txt.bz2
Content-length: 585

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71821

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|6.5                         |7.0

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Given that this is only an ICE on invalid, I think at this time we can close it
as fixed for 7.1.0.
>From gcc-bugs-return-578879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 19:51:56 2017
Return-Path: <gcc-bugs-return-578879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54324 invoked by alias); 17 Oct 2017 19: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 53600 invoked by uid 48); 17 Oct 2017 19:51:52 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58601] [meta-bug] alignas
Date: Tue, 17 Oct 2017 19: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: unknown
X-Bugzilla-Keywords: meta-bug
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 resolution
Message-ID: <bug-58601-4-OpgBvh3kCt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58601-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58601-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01939.txt.bz2
Content-length: 580

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58601
Bug 58601 depends on bug 71821, which changed state.

Bug 71821 Summary: [6/7/8 regression] ICE on invalid C++11 code (incorrect argument for alignas): unexpected expression ‘f<int>’ of kind template_id_expr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71821

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-578880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 20:09:34 2017
Return-Path: <gcc-bugs-return-578880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81437 invoked by alias); 17 Oct 2017 20: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 81369 invoked by uid 48); 17 Oct 2017 20:09:27 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82592] New: [8 Regression] ICE in extract_constrain_insn, at recog.c:2207 (error: insn does not satisfy its constraints)
Date: Tue, 17 Oct 2017 20: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: 8.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-82592-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01940.txt.bz2
Content-length: 2031

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82592

            Bug ID: 82592
           Summary: [8 Regression] ICE in extract_constrain_insn, at
                    recog.c:2207 (error: insn does not satisfy its
                    constraints)
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-unknown-linux-gnu

gcc-8.0.0-alpha20171015 snapshot (r253772) ICEs when compiling the following
snippet w/ -O2 (-O3, -Ofast) -funroll-loops:

int pb;

void
ch (unsigned char np, char fc)
{
  unsigned char *y6 = &np;

  if (fc != 0)
    {
      unsigned char *z1 = &np;

      for (;;)
        if (*y6 != 0)
          for (fc = 0; fc < 12; ++fc)
            {
              int hh;
              int tp;

              if (fc != 0)
                hh = (*z1 != 0) ? fc : 0;
              else
                hh = pb;

              tp = fc > 0;
              if (hh == tp)
                *y6 = 1;
            }
    }

  if (np != 0)
    y6 = (unsigned char *)&fc;
  if (pb != 0 && *y6 != 0)
    for (;;)
      {
      }
}

% x86_64-unknown-linux-gnu-gcc-8.0.0-alpha20171015 -O2 -funroll-loops -c
id5cyx54.c
id5cyx54.c: In function 'ch':
id5cyx54.c:36:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 565 340 357 42 (parallel [
            (set (reg:CCZ 17 flags)
                (compare:CCZ (plus:SI (reg:SI 2 cx [120])
                        (const_int 2 [0x2]))
                    (const_int 0 [0])))
            (set (reg:SI 1 dx [orig:91 ivtmp.14 ] [91])
                (plus:SI (reg:SI 2 cx [120])
                    (const_int 2 [0x2])))
        ]) 225 {*addsi_2}
     (nil))
during RTL pass: rnreg
id5cyx54.c:36:1: internal compiler error: in extract_constrain_insn, at
recog.c:2207
>From gcc-bugs-return-578881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 20:12:57 2017
Return-Path: <gcc-bugs-return-578881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86742 invoked by alias); 17 Oct 2017 20: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 86658 invoked by uid 48); 17 Oct 2017 20:12:54 -0000
From: "jvoosten at bankai dot nl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64611] Using a << operator inside an overloaded << operator gives compile error
Date: Tue, 17 Oct 2017 20: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: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvoosten at bankai dot nl
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: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64611-4-tB8zN2Gj57@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64611-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64611-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01941.txt.bz2
Content-length: 166

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64611

--- Comment #8 from J. van Oosten <jvoosten at bankai dot nl> ---
Confirmed it works as expected with GCC 5.4.0
>From gcc-bugs-return-578882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 20:14:24 2017
Return-Path: <gcc-bugs-return-578882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88012 invoked by alias); 17 Oct 2017 20:14: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 87972 invoked by uid 48); 17 Oct 2017 20:14:19 -0000
From: "jvoosten at bankai dot nl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64611] Using a << operator inside an overloaded << operator gives compile error
Date: Tue, 17 Oct 2017 20: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: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvoosten at bankai dot nl
X-Bugzilla-Status: CLOSED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-64611-4-eIbXt5cBqx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64611-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64611-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01942.txt.bz2
Content-length: 382

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64611

J. van Oosten <jvoosten at bankai dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #9 from J. van Oosten <jvoosten at bankai dot nl> ---
....thus closing it.
>From gcc-bugs-return-578883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 20:25:26 2017
Return-Path: <gcc-bugs-return-578883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99402 invoked by alias); 17 Oct 2017 20: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 99352 invoked by uid 48); 17 Oct 2017 20:25:21 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/43119] debug info vs. scheduling
Date: Tue, 17 Oct 2017 20:25: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: 4.5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-43119-4-Km3WfdjtWJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43119-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43119-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01943.txt.bz2
Content-length: 410

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43119

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-17
     Ever confirmed|0                           |1
>From gcc-bugs-return-578884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 20:30:53 2017
Return-Path: <gcc-bugs-return-578884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113904 invoked by alias); 17 Oct 2017 20: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 113834 invoked by uid 48); 17 Oct 2017 20:30:48 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82542] -fdump-lang-raw (formerly -fdump-translation-unit) no longer available for C
Date: Tue, 17 Oct 2017 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: 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:
Message-ID: <bug-82542-4-3aotaxEWGy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82542-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01944.txt.bz2
Content-length: 472

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82542

--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Ben Longbons from comment #9)
> The ones I've filed are: #54533, #58150, #80466
> 
> But there are quite a few more at
> https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=__open__&component=debug&list_id=190134&product=gcc

If you type "bug" in front of them bugzilla will auto-link them:
bug 54533, bug 58150, bug 80466
>From gcc-bugs-return-578885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 20:31:38 2017
Return-Path: <gcc-bugs-return-578885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119234 invoked by alias); 17 Oct 2017 20:31: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 116249 invoked by uid 48); 17 Oct 2017 20:31:34 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/58150] debug info about definition of enum class not emitted if the declaration was already used in a class
Date: Tue, 17 Oct 2017 20: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: 4.8.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: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-58150-4-Gc2rDIPCMG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58150-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58150-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01945.txt.bz2
Content-length: 1118

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58150

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
                 CC|                            |egallager at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to npl from comment #2)
> Created attachment 42381 [details]
> another testcase
> 
> I was generating a testcase before discovering this bug.
> Problem is the same:
> 
> A class/struct using a prototyped, not yet defined "enum class" will prevent
> that debug information for this "enum class" to be emitted.
> Only if no class/struct uses a "enum class" before its defined, the debug
> info will be available.
> 
> Affected: GCC 5.3.0, GCC 6.4.0, GCC 7.2.0
> 
> Please fix this, it really makes debugging a pain

Taking this as confirmation.
>From gcc-bugs-return-578886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 20:36:24 2017
Return-Path: <gcc-bugs-return-578886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22061 invoked by alias); 17 Oct 2017 20: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 17601 invoked by uid 48); 17 Oct 2017 20:36:13 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus warning when inlining or unrolling: "array subscript is above array bounds"
Date: Tue, 17 Oct 2017 20: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.8.0
X-Bugzilla-Keywords: meta-bug
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-56456-4-pzjcLua4ca@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01946.txt.bz2
Content-length: 641

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456

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> ---
How essential is the "when inlining or unrolling" portion of the title for this
bug? i.e., can it be used as a meta-bug for all -Warray-bounds issues? If not,
how to tell if any given -Warray-bounds bug is related to inlining/unrolling or
not?
>From gcc-bugs-return-578887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 20:52:27 2017
Return-Path: <gcc-bugs-return-578887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121182 invoked by alias); 17 Oct 2017 20:52: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 121125 invoked by uid 48); 17 Oct 2017 20:52:22 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82587] ICE in get_pdt_constructor, at fortran/resolve.c:1185
Date: Tue, 17 Oct 2017 20: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.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-82587-4-GrjAwKY7Rv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82587-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82587-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01947.txt.bz2
Content-length: 583

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82587

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
                 CC|                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on trunk (8.0).
>From gcc-bugs-return-578888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 20:53:13 2017
Return-Path: <gcc-bugs-return-578888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122302 invoked by alias); 17 Oct 2017 20:53: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 122233 invoked by uid 48); 17 Oct 2017 20:53:07 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82589] ICE in gfc_get_pdt_instance, at fortran/decl.c:3278
Date: Tue, 17 Oct 2017 20: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: 8.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-82589-4-q9zKjufSAq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01948.txt.bz2
Content-length: 583

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82589

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
                 CC|                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed on trunk (8.0).
>From gcc-bugs-return-578889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 21:01:55 2017
Return-Path: <gcc-bugs-return-578889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50789 invoked by alias); 17 Oct 2017 21: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 50732 invoked by uid 48); 17 Oct 2017 21:01:50 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/66802] Some of the Bugzilla Bug fields descriptions do not reflect GCC development
Date: Tue, 17 Oct 2017 21:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
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: cf_reconfirmed_on
Message-ID: <bug-66802-4-shaJu53gx1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66802-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66802-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01949.txt.bz2
Content-length: 670

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66802

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2015-07-08 00:00:00         |2017-10-17

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
https://gcc.gnu.org/bugzilla/page.cgi?id=fields.html#bug_status

We don't have CONFIRMED or IN_PROGRESS statuses, we have NEW and ASSIGNED.

We don't have VERIFIED, we have CLOSED, but the mention of QA in the
description is misplaced (there is no QA team for GCC).

We also have SUSPENDED and WAITING.
>From gcc-bugs-return-578890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 21:02:07 2017
Return-Path: <gcc-bugs-return-578890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51534 invoked by alias); 17 Oct 2017 21: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 51490 invoked by uid 48); 17 Oct 2017 21:02:03 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82554] uniform_real_distribution can generate the upper endpoint
Date: Tue, 17 Oct 2017 21: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.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-82554-4-qPREFnhaLN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82554-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82554-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01950.txt.bz2
Content-length: 211

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82554

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Almost all of it is saying things you *don't need to do*.

You just need to send an email.
>From gcc-bugs-return-578891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 21:07:29 2017
Return-Path: <gcc-bugs-return-578891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75594 invoked by alias); 17 Oct 2017 21: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 73839 invoked by uid 48); 17 Oct 2017 21:07:23 -0000
From: "ao2 at ao2 dot it" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82593] New: Internal compiler error: in process_init_constructor_array, at cp/typeck2.c:1294
Date: Tue, 17 Oct 2017 21:07: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: ao2 at ao2 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 attachments.created
Message-ID: <bug-82593-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01951.txt.bz2
Content-length: 5543

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82593

            Bug ID: 82593
           Summary: Internal compiler error: in
                    process_init_constructor_array, at cp/typeck2.c:1294
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ao2 at ao2 dot it
  Target Milestone: ---

Created attachment 42386
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42386&action=edit
Parenthesized struct array memeber initializer with enum as indices

Hi,

I get an "internal compiler error" with the attached code.

The problem shows up with both g++-6 and g++-7 from Debian unstable:

-----------------------------------------------------------------------
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
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='Debian 7.2.0-10'
--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.2.1 20171014 (Debian 7.2.0-10) 
-----------------------------------------------------------------------


-----------------------------------------------------------------------
$ g++-6 -v
Using built-in specs.
COLLECT_GCC=g++-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.4.0-8'
--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.4.0 20171010 (Debian 6.4.0-8) 
-----------------------------------------------------------------------


Compiling with no extra options gives the ICE:

-----------------------------------------------------------------------
$ g++ -c parenthesized_struct_array_initializer_with_enum_indices.cpp 
parenthesized_struct_array_initializer_with_enum_indices.cpp: In constructor
‘SomeClass::SomeClass()’:
parenthesized_struct_array_initializer_with_enum_indices.cpp:17:3: internal
compiler error: in process_init_constructor_array, at cp/typeck2.c:1294
  })
   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
-----------------------------------------------------------------------


AFAICS the bug is triggered when using *enum* values as indices AND the array
member initializer uses parentheses.

The use of parentheses seems to be a GNU extension, as clang++ also points
out:

-----------------------------------------------------------------------
$ clang++-4.0 -std=c++11 -c
parenthesized_struct_array_initializer_with_enum_indices.cpp 
parenthesized_struct_array_initializer_with_enum_indices.cpp:14:4: error:
parenthesized initialization of a member array is a GNU extension
      [-Wgnu-array-member-paren-init]
 : member({
   ^      ~
1 error generated.
-----------------------------------------------------------------------


The ICE goes away either removing the parentheses around the initializer
(hence adhering to the C++11 standard) or using numbers as indices.

I am not sure if this is related to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81837

Thanks,
   Antonio
>From gcc-bugs-return-578892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 21:11:23 2017
Return-Path: <gcc-bugs-return-578892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3911 invoked by alias); 17 Oct 2017 21: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 3891 invoked by uid 48); 17 Oct 2017 21:11:19 -0000
From: "ao2 at ao2 dot it" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82593] Internal compiler error: in process_init_constructor_array, at cp/typeck2.c:1294
Date: Tue, 17 Oct 2017 21: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ao2 at ao2 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: attachments.created
Message-ID: <bug-82593-4-znjZNQMq88@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82593-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82593-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01952.txt.bz2
Content-length: 1172

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82593

--- Comment #1 from Antonio Ospite <ao2 at ao2 dot it> ---
Created attachment 42387
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42387&action=edit
Parenthesized array member initializer with enum as indices

Adding a more concise test program.

Using an array of scalar values instead of an array of structs also gives the
ICE, this time with a nice warning:

-----------------------------------------------------------------------
$ g++ -c parenthesized_array_initializer_with_enum_indices.cpp 
parenthesized_array_initializer_with_enum_indices.cpp: In constructor
‘SomeClass::SomeClass()’:
parenthesized_array_initializer_with_enum_indices.cpp:17:3: warning:
list-initializer for non-class type must not be parenthesized
  })
   ^
parenthesized_array_initializer_with_enum_indices.cpp:17:3: internal compiler
error: in process_init_constructor_array, at cp/typeck2.c:1294
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
-----------------------------------------------------------------------
>From gcc-bugs-return-578893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 21:17:15 2017
Return-Path: <gcc-bugs-return-578893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120463 invoked by alias); 17 Oct 2017 21: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 120388 invoked by uid 48); 17 Oct 2017 21:17:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82556] [7/8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Tue, 17 Oct 2017 21: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: 8.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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82556-4-bObhZbLuEK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01953.txt.bz2
Content-length: 238

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Indeed started with my r253710.  If there is something wrong on the constraints
on the patterns, please let me know.
>From gcc-bugs-return-578894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 22:14:39 2017
Return-Path: <gcc-bugs-return-578894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93161 invoked by alias); 17 Oct 2017 22: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 93128 invoked by uid 48); 17 Oct 2017 22:14:34 -0000
From: "palves at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82594] New: Please provide better parameter / argument mismatch warnings/notes
Date: Tue, 17 Oct 2017 22: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: unknown
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82594-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01954.txt.bz2
Content-length: 3269

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82594

            Bug ID: 82594
           Summary: Please provide better parameter / argument mismatch
                    warnings/notes
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: palves at redhat dot com
  Target Milestone: ---

While working on GDB, I came across a case where I wish GCC's diagnostics could
have spared me a few greps.  Here, reduced:

~~~
struct S1;
struct S2;

/* Declared in some header.  */
void set_delete_thread (struct S1 *, void (*) (struct S2 *));

/* Declared in some other header.  */
void delete_thread (struct S2 *);

void initialize ()
{
  set_delete_thread (delete_thread);
}
~~~

For simplicity, above 'set_delete_thread' and 'delete_thread' are 'initialize'
are all declared/defined in the same translation unit.  But please assume that
they're declared in separate headers, as indicated by the comments, and that
you don't really know by heart which headers those are.

Compiling the above, we get, with current trunk (gcc version 8.0.0 20171017):

~~~
$ /opt/gcc/bin/g++ mismatch.cc -c -o mismatch
mismatch.cc: In function ‘void initialize()’:
mismatch.cc:12:35: error: cannot convert ‘void (*)(S2*)’ to ‘S1*’ for argument
‘1’ to ‘void set_delete_thread(S1*, void (*)(S2*))’
   set_delete_thread (delete_thread);
                                   ^
~~~

What I wish GCC would do is print a couple notes showing where are
delete_thread [the argument] and set_delete_thread [the called function]
defined.  Something like:

~~~~~~
foo.h:4:5: note: ‘set_delete_thread’ declared here
 void set_delete_thread (struct S1 *, void (*) (struct S2 *));

nat/bar.h:10:5: note: ‘delete_thread’ declared here
 void delete_thread (struct S2 *);
~~~~~~

And likely another note for where S1 is declared too.


For reference here's what clang 3.7 shows:
~~~
$ clang++ mismatch.cc -c -o mismatch
mismatch.cc:12:3: error: no matching function for call to 'set_delete_thread'
  set_delete_thread (delete_thread);
  ^~~~~~~~~~~~~~~~~
mismatch.cc:5:6: note: candidate function not viable: requires 2 arguments, but
1 was provided
void set_delete_thread (struct S1 *, void (*) (struct S2 *));
     ^
1 error generated.
~~~

If you remove the second parameter of set_delete_thread so that the number of
arguments matches the number of parameters, we get instead (with clang):

~~~~
mismatch.cc:12:3: error: no matching function for call to 'set_delete_thread'
  set_delete_thread (delete_thread);
  ^~~~~~~~~~~~~~~~~
mismatch.cc:5:6: note: candidate function not viable: no known conversion from
'void (struct S2 *)' to 'struct S1 *' for 1st argument
void set_delete_thread (struct S1 *);
     ^
~~~~

I've found these clang "note: candidate function not viable" notes quite useful
to see before, particularly when working with template code relying heavily on
SFINAE.  Maybe GCC could combine the best of both worlds and also consider my
suggestion.

Hey, asking is cheap.  :-)
>From gcc-bugs-return-578895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 22:33:22 2017
Return-Path: <gcc-bugs-return-578895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82875 invoked by alias); 17 Oct 2017 22:33: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 82823 invoked by uid 48); 17 Oct 2017 22:33:18 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82594] Please provide better parameter / argument mismatch warnings/notes
Date: Tue, 17 Oct 2017 22: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: 7.2.0
X-Bugzilla-Keywords: diagnostic
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: keywords bug_status cf_reconfirmed_on version everconfirmed bug_severity
Message-ID: <bug-82594-4-0GwqnjaZjQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82594-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82594-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01955.txt.bz2
Content-length: 2400

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82594

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-17
            Version|unknown                     |7.2.0
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So if there are more than one overloads, the C++ front-end produces:
t88.c: In function 'void initialize()':
t88.c:13:35: error: no matching function for call to 'set_delete_thread(void
(&)(S2*))'
   set_delete_thread (delete_thread);
                                   ^
t88.c:5:6: note: candidate: void set_delete_thread(S1*, void (*)(S2*))
 void set_delete_thread (struct S1 *, void (*) (struct S2 *));
      ^~~~~~~~~~~~~~~~~
t88.c:5:6: note:   candidate expects 2 arguments, 1 provided
t88.c:6:6: note: candidate: void set_delete_thread(S1*)
 void set_delete_thread (struct S1 *);
      ^~~~~~~~~~~~~~~~~
t88.c:6:6: note:   no known conversion for argument 1 from 'void(S2*)' to 'S1*'


But with only one overload, GCC produces:
t88.c: In function 'void initialize()':
t88.c:13:35: error: cannot convert 'void (*)(S2*)' to 'S1*' for argument '1' to
'void set_delete_thread(S1*, void (*)(S2*))'
   set_delete_thread (delete_thread);
                                   ^


I do think the C++ front-end's case with one overload set is actually can be
improved.

Note the C front-end produces:
t88.c: In function 'initialize':
t88.c:13:22: warning: passing argument 1 of 'set_delete_thread' from
incompatible pointer type [-Wincompatible-pointer-types]
   set_delete_thread (delete_thread);
                      ^~~~~~~~~~~~~
t88.c:5:6: note: expected 'struct S1 *' but argument is of type 'void
(*)(struct S2 *)'
 void set_delete_thread (struct S1 *, void (*) (struct S2 *));
      ^~~~~~~~~~~~~~~~~
t88.c:13:3: error: too few arguments to function 'set_delete_thread'
   set_delete_thread (delete_thread);
   ^~~~~~~~~~~~~~~~~
t88.c:5:6: note: declared here
 void set_delete_thread (struct S1 *, void (*) (struct S2 *));
      ^~~~~~~~~~~~~~~~~
>From gcc-bugs-return-578896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 17 22:38:33 2017
Return-Path: <gcc-bugs-return-578896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111163 invoked by alias); 17 Oct 2017 22: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 111090 invoked by uid 48); 17 Oct 2017 22:38:29 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Tue, 17 Oct 2017 22: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82569-4-YiSMZgBjuA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01956.txt.bz2
Content-length: 795

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ebotcazou at gcc dot gnu.org

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> This is a cut down single function test case that shows the problem.  I
> tried cutting out more but it changed how the code was generated too much to
> show the issue.
> 
> Compile it with a powerpc compiler built with -mcpu=power6 or power6x
> 
> ~/gcc/install/gcc-test2/bin/gcc -O3 -S -o bad.s bad.c

I can reproduce, thanks.
>From gcc-bugs-return-578897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 00:09:48 2017
Return-Path: <gcc-bugs-return-578897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130697 invoked by alias); 18 Oct 2017 00:09: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 130643 invoked by uid 48); 18 Oct 2017 00:09:42 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] New: bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Wed, 18 Oct 2017 00:09: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.0
X-Bugzilla-Keywords: build
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01957.txt.bz2
Content-length: 6425

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

            Bug ID: 82595
           Summary: bootstrap fails in libsanitizer on
                    powerpc64-unknown-linux-gnu
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: egallager 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: ---
              Host: powerpc64-unknown-linux-gnu
            Target: powerpc64-unknown-linux-gnu
             Build: powerpc64-unknown-linux-gnu

Hi, I recently got access to the gcc compile farm, so I logged into gcc110 and
tried bootstrapping gcc, but it failed in libsanitizer with:

/bin/sh ../libtool --tag=CXX   --mode=link /home/egallager/gcc/build/./gcc/xgcc
-shared-libgcc -B/home/egallager/gcc/build/./gcc -nostdinc++
-L/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/src
-L/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/usr/local/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/powerpc64-unknown-linux-gnu/sys-include    -Wall -W
-Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC
-fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables
-fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include    
-I../../libstdc++-v3/include/powerpc64-unknown-linux-gnu    
-I../../../../libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++11 -g -O2
-D_GNU_SOURCE -g -Os -version-info `grep -v '^#'
../../../../libsanitizer/lsan/libtool-version` -ldl -lrt -lpthread -lm  -o
liblsan.la -rpath /usr/local/lib/../lib64 lsan_common.lo lsan_common_linux.lo
lsan.lo lsan_allocator.lo lsan_interceptors.lo lsan_preinit.lo lsan_thread.lo
../sanitizer_common/libsanitizer_common.la ../interception/libinterception.la
../libbacktrace/libsanitizer_libbacktrace.la
../../libstdc++-v3/src/libstdc++.la 
libtool: link:  /home/egallager/gcc/build/./gcc/xgcc -shared-libgcc
-B/home/egallager/gcc/build/./gcc -nostdinc++
-L/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/src
-L/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/usr/local/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/powerpc64-unknown-linux-gnu/sys-include     -fPIC -DPIC -shared
-nostdlib /lib/../lib64/crti.o /home/egallager/gcc/build/./gcc/crtbeginS.o 
.libs/lsan_common.o .libs/lsan_common_linux.o .libs/lsan.o
.libs/lsan_allocator.o .libs/lsan_interceptors.o .libs/lsan_preinit.o
.libs/lsan_thread.o  -Wl,--whole-archive
../sanitizer_common/.libs/libsanitizer_common.a
../interception/.libs/libinterception.a
../libbacktrace/.libs/libsanitizer_libbacktrace.a -Wl,--no-whole-archive 
-Wl,-rpath
-Wl,/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-Wl,-rpath -Wl,/usr/local/lib/../lib64
-L/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/src
-L/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-ldl -lrt -lpthread ../../libstdc++-v3/src/.libs/libstdc++.so -lm
-L/home/egallager/gcc/build/./gcc -L/lib/../lib64 -L/usr/lib/../lib64 -lc
-lgcc_s /home/egallager/gcc/build/./gcc/crtendS.o /lib/../lib64/crtn.o   
-Wl,-soname -Wl,liblsan.so.0 -o .libs/liblsan.so.0.0.0
/usr/bin/ld: .libs/lsan_preinit.o: .preinit_array section is not allowed in DSO
/usr/bin/ld: failed to set dynamic section sizes: Nonrepresentable section on
output
collect2: error: ld returned 1 exit status
make[4]: *** [liblsan.la] Error 1
make[4]: Leaving directory
`/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libsanitizer/lsan'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libsanitizer'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/egallager/gcc/build/powerpc64-unknown-linux-gnu/libsanitizer'
make[1]: *** [all-target-libsanitizer] Error 2
make[1]: Leaving directory `/home/egallager/gcc/build'
make: *** [all] Error 2

/usr/bin/ld --version says:
[egallager@gcc1-power7 build]$ /usr/bin/ld --version
GNU ld version 2.25.1-32.base.el7_4.1 
Copyright (C) 2014 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.
[egallager@gcc1-power7 build]$

Happened twice, first with the following configure flags:

./configure --disable-werror --disable-werror-always
--enable-languages=c,c++,lto,objc,obj-c++ --enable-stage1-checking=release,rtl
-C --with-system-libunwind --enable-secureplt --enable-frame-pointer
--enable-debug --disable-host-shared --disable-default-pie --without-pic
--enable-target-optspace --enable-libstdcxx-debug

and then with these configure flags:

../configure --disable-werror --disable-werror-always
--enable-languages=c,c++,lto,objc,obj-c++ --enable-stage1-checking=release,rtl
-C --with-system-libunwind --enable-secureplt --enable-frame-pointer
--enable-debug --disable-host-shared --disable-default-pie --without-pic
--enable-target-optspace --enable-libstdcxx-debug --enable-bootstrap
--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-initfini-array
--disable-libgcj --enable-gnu-indirect-function --enable-secureplt
--with-long-double-128 --with-cpu-32=power7 --with-tune-32=power7
--with-cpu-64=power7 --with-tune-64=power7

I'm building trunk as of r253820.
>From gcc-bugs-return-578898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 00:28:46 2017
Return-Path: <gcc-bugs-return-578898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15528 invoked by alias); 18 Oct 2017 00:28: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 15444 invoked by uid 48); 18 Oct 2017 00:28:41 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Wed, 18 Oct 2017 00:28: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: build
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-82595-4-E6gihjCZ2w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01958.txt.bz2
Content-length: 247

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks like:
https://gcc.gnu.org/ml/gcc-patches/2013-02/msg01043.html

is no longer part of the sources due to the last merge.
>From gcc-bugs-return-578899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 01:32:13 2017
Return-Path: <gcc-bugs-return-578899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102094 invoked by alias); 18 Oct 2017 01:32: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 102018 invoked by uid 48); 18 Oct 2017 01:32:08 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82596] New: missing -Warray-bounds on an out-of-bounds index into string literal
Date: Wed, 18 Oct 2017 01:32: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.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-82596-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01959.txt.bz2
Content-length: 1615

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82596

            Bug ID: 82596
           Summary: missing -Warray-bounds on an out-of-bounds index into
                    string literal
           Product: gcc
           Version: 8.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 program below compiles successfully with no warnings despite the references
using out-of-bounds indices into the string literals.

$ cat a.c && gcc -O2 -S -Warray-bounds a.c
#define ABC "abc"
#define DEF "def"

int f (int i)
{
  if (i < 0)
    return ABC[7];   // missing -Warray-bounds
  else
    return DEF[7];   // missing -Warray-bounds
}

int g (int i)
{
  return (i < 0 ? ABC : DEF)[7];   // missing -Warray-bounds
}


In contrast to GCC, Clang emits the expected warnings:

a.c:7:12: error: array index 7 is past the end of the array (which contains 4
elements) [-Werror,-Warray-bounds]
    return ABC[7];
           ^   ~
a.c:1:13: note: expanded from macro 'ABC'
#define ABC "abc"
            ^
a.c:9:12: error: array index 7 is past the end of the array (which contains 4
elements) [-Werror,-Warray-bounds]
    return DEF[7];
           ^   ~
a.c:2:13: note: expanded from macro 'DEF'
#define DEF "def"
            ^
a.c:14:11: error: array index 7 is past the end of the array (which contains 4
elements) [-Werror,-Warray-bounds]
  return (i < 0 ? ABC : DEF)[7];
          ^                  ~
3 errors generated.
>From gcc-bugs-return-578900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 01:34:21 2017
Return-Path: <gcc-bugs-return-578900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104089 invoked by alias); 18 Oct 2017 01: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 104024 invoked by uid 48); 18 Oct 2017 01:34:17 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82588] missing -Warray-bounds on a excessively large index
Date: Wed, 18 Oct 2017 01: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: 8.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 cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-82588-4-GPWV0lP5lp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82588-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82588-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01960.txt.bz2
Content-length: 571

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82588

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-18
           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> ---
Testing a fix.
>From gcc-bugs-return-578902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 01:35:47 2017
Return-Path: <gcc-bugs-return-578902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106080 invoked by alias); 18 Oct 2017 01: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 106055 invoked by uid 48); 18 Oct 2017 01:35:43 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82596] missing -Warray-bounds on an out-of-bounds index into string literal
Date: Wed, 18 Oct 2017 01: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: 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: keywords bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-82596-4-UbzWnDOAkB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82596-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82596-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01962.txt.bz2
Content-length: 731

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82596

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-18
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
I'm testing a patch for this and a couple of the other -Warray-bounds bugs I
reported today (pr82588 and pr82583).
>From gcc-bugs-return-578901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 01:35:24 2017
Return-Path: <gcc-bugs-return-578901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105296 invoked by alias); 18 Oct 2017 01: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 105272 invoked by uid 48); 18 Oct 2017 01:35:19 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82583] missing -Warray-bounds on out-of-bounds inner indices
Date: Wed, 18 Oct 2017 01: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: 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 cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-82583-4-Zc90OjA7rQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82583-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01961.txt.bz2
Content-length: 571

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82583

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-18
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Testing a fix.
>From gcc-bugs-return-578903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 02:04:55 2017
Return-Path: <gcc-bugs-return-578903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65524 invoked by alias); 18 Oct 2017 02:04: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 65327 invoked by uid 48); 18 Oct 2017 02:04:51 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82582] not quite optimal code for -2*x*y - 3*z: could use one less LEA for smaller code without increasing critical path latency for any input
Date: Wed, 18 Oct 2017 02: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: 8.0
X-Bugzilla-Keywords: missed-optimization
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-82582-4-OrzGES70yU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82582-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82582-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01963.txt.bz2
Content-length: 367

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82582

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
For AARCH64 the correct thing is able to be produced:
foo32:
        sub     w2, w2, w2, lsl 2 ; w2 = z - z<<2; (rather -z*3)
        neg     w0, w0, lsl 1     ; w0 = x * -2
        madd    w0, w0, w1, w2    ; res = w0 * y + w2
        ret
>From gcc-bugs-return-578904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 02:56:16 2017
Return-Path: <gcc-bugs-return-578904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24586 invoked by alias); 18 Oct 2017 02: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 24496 invoked by uid 48); 18 Oct 2017 02:56:04 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82556] [7/8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Wed, 18 Oct 2017 02: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: 8.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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82556-4-unFJ8qvnb4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01964.txt.bz2
Content-length: 372

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

--- Comment #6 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #5)
> Indeed started with my r253710.  If there is something wrong on the
> constraints on the patterns, please let me know.

The constraints are ok.  I'll probably have and submit the LRA patch tomorrow.
>From gcc-bugs-return-578905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 03:36:40 2017
Return-Path: <gcc-bugs-return-578905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43400 invoked by alias); 18 Oct 2017 03: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 43344 invoked by uid 48); 18 Oct 2017 03:36:34 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82583] missing -Warray-bounds on out-of-bounds inner indices
Date: Wed, 18 Oct 2017 03: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-82583-4-YUr5CzcULK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82583-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01965.txt.bz2
Content-length: 422

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82583

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01122.html
>From gcc-bugs-return-578906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 03:37:36 2017
Return-Path: <gcc-bugs-return-578906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50773 invoked by alias); 18 Oct 2017 03: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 50678 invoked by uid 48); 18 Oct 2017 03:37:30 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82596] missing -Warray-bounds on an out-of-bounds index into string literal
Date: Wed, 18 Oct 2017 03: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-82596-4-500oia8EcI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82596-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82596-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01966.txt.bz2
Content-length: 422

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82596

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01122.html
>From gcc-bugs-return-578907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 03:38:13 2017
Return-Path: <gcc-bugs-return-578907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51630 invoked by alias); 18 Oct 2017 03:38: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 51596 invoked by uid 48); 18 Oct 2017 03:38:08 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82588] missing -Warray-bounds on a excessively large index
Date: Wed, 18 Oct 2017 03: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: 8.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-82588-4-UJcVcigKAV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82588-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82588-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01967.txt.bz2
Content-length: 422

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82588

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/2017-10/msg01122.html
>From gcc-bugs-return-578908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 03:40:27 2017
Return-Path: <gcc-bugs-return-578908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53436 invoked by alias); 18 Oct 2017 03: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 53392 invoked by uid 48); 18 Oct 2017 03:40:23 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82597] New: ICE at -O2 and -O3 x86_64-linux-gnu in the 32-bit mode: in extract_constrain_insn, at recog.c:2207
Date: Wed, 18 Oct 2017 03:40: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: 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-82597-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01968.txt.bz2
Content-length: 3201

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82597

            Bug ID: 82597
           Summary: ICE at -O2 and -O3 x86_64-linux-gnu in the 32-bit
                    mode: in extract_constrain_insn, at recog.c:2207
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: su at cs dot ucdavis.edu
  Target Milestone: ---

$ 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/8.0.0/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 8.0.0 20171018 (experimental) [trunk revision 253840] (GCC) 
$ 
$ gcctk -m32 -Os -c -w small.c
$ 
$ gcctk -m32 -O2 -c -w small.c
small.c: In function ‘l’:
small.c:7:1: error: insn does not satisfy its constraints:
 void l () { j (); }
 ^~~~
(insn 56 8 10 2 (parallel [
            (set (reg:CCZ 17 flags)
                (compare:CCZ (plus:SI (reg:SI 2 cx [orig:88 _3 ] [88])
                        (const_int 1 [0x1]))
                    (const_int 0 [0])))
            (set (reg/v:SI 0 ax [orig:91 k ] [91])
                (plus:SI (reg:SI 2 cx [orig:88 _3 ] [88])
                    (const_int 1 [0x1])))
        ]) "small.c":6 225 {*addsi_2}
     (nil))
during RTL pass: pro_and_epilogue
small.c:7:1: internal compiler error: in extract_constrain_insn, at
recog.c:2207
0x5fbe80 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc-source-trunk/gcc/rtl-error.c:108
0x5fbea6 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc-source-trunk/gcc/rtl-error.c:119
0xbc9ead extract_constrain_insn(rtx_insn*)
        ../../gcc-source-trunk/gcc/recog.c:2207
0xbd33b6 copyprop_hardreg_forward_1
        ../../gcc-source-trunk/gcc/regcprop.c:794
0xbd478e copyprop_hardreg_forward_bb_without_debug_insn(basic_block_def*)
        ../../gcc-source-trunk/gcc/regcprop.c:1173
0xc39a03 prepare_shrink_wrap
        ../../gcc-source-trunk/gcc/shrink-wrap.c:443
0xc39a03 try_shrink_wrapping(edge_def**, rtx_insn*)
        ../../gcc-source-trunk/gcc/shrink-wrap.c:667
0x983fbc thread_prologue_and_epilogue_insns()
        ../../gcc-source-trunk/gcc/function.c:6003
0x9847f2 rest_of_handle_thread_prologue_and_epilogue
        ../../gcc-source-trunk/gcc/function.c:6488
0x9847f2 execute
        ../../gcc-source-trunk/gcc/function.c:6530
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.
$ 


-----------------------------------------------------------------


unsigned b, c, e, g;

int a (h, i) { return h > 0 && i ? : h + i; }
int d (int h, int i) { return h; }
long long f (long h, long long i) { return h + i; }
void j () { long k = f (d (1, e = c), g); a (k) && (b = 0); }
void l () { j (); }
>From gcc-bugs-return-578909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 04:06:58 2017
Return-Path: <gcc-bugs-return-578909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109474 invoked by alias); 18 Oct 2017 04:06: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 109387 invoked by uid 48); 18 Oct 2017 04:06:53 -0000
From: "rlcamp.pdx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 18 Oct 2017 04: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: 7.2.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rlcamp.pdx 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-81797-4-rYMxUoHN6J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01969.txt.bz2
Content-length: 631

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

Campbell <rlcamp.pdx at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rlcamp.pdx at gmail dot com

--- Comment #21 from Campbell <rlcamp.pdx at gmail dot com> ---
I can confirm that this affects the latest gcc-8 snapshot (20170715) on High
Sierra with an APFS encrypted volume, and that adding ".NOTPARALLEL: allcreated
install-headers install-freestanding-headers" to
libstdc++-v3/include/Makefile.in resolves it.
>From gcc-bugs-return-578910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 04:16:09 2017
Return-Path: <gcc-bugs-return-578910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130957 invoked by alias); 18 Oct 2017 04: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 130829 invoked by uid 48); 18 Oct 2017 04:15:53 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82598] New: lto debugobj lacks .note.GNU-stack
Date: Wed, 18 Oct 2017 04:16: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.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 cc target_milestone
Message-ID: <bug-82598-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01970.txt.bz2
Content-length: 874

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82598

            Bug ID: 82598
           Summary: lto debugobj lacks .note.GNU-stack
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amodra at gmail dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Lack of a .note.GNU-stack section results in ld testsuite failures:

arm-linuxeabi  FAIL: PR ld/12982
hppa-linux  FAIL: PR ld/12982
m68k-linux  FAIL: PR ld/12982
powerpc-linux  FAIL: PR ld/12982
s390-linux  FAIL: PR ld/12982
s390x-linux  FAIL: PR ld/12982
sparc64-linux  FAIL: PR ld/12982
x86_64-linux  FAIL: PR ld/12982

Reproducible with -g -O2 -flto -fuse-linker-plugin on
int main () { return 0; }

readelf -l a.out
>From gcc-bugs-return-578911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 06:24:52 2017
Return-Path: <gcc-bugs-return-578911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 131036 invoked by alias); 18 Oct 2017 06:24: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 130725 invoked by uid 48); 18 Oct 2017 06:24:47 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82597] ICE at -O2 and -O3 x86_64-linux-gnu in the 32-bit mode: in extract_constrain_insn, at recog.c:2207
Date: Wed, 18 Oct 2017 06: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: unknown
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-82597-4-OkTykcDrWZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01971.txt.bz2
Content-length: 2131

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82597

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-18
     Ever confirmed|0                           |1

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Postreload compare elimination pass creates invalid instruction when merging:

(insn 55 8 49 2 (set (reg/v:SI 0 ax [orig:92 k ] [92])
        (plus:SI (reg:SI 2 cx [orig:88 _2 ] [88])
            (const_int 1 [0x1]))) "pr82597.c":6 213 {*leasi}
     (nil))

and:

(insn 21 20 22 2 (set (reg:CCZ 17 flags)
        (compare:CCZ (reg/v:SI 0 ax [orig:92 k ] [92])
            (const_int 0 [0]))) "pr82597.c":6 3 {*cmpsi_ccno_1}
     (nil))

The merged instruction:

(insn 56 8 10 2 (parallel [
            (set (reg:CCZ 17 flags)
                (compare:CCZ (plus:SI (reg:SI 2 cx [orig:88 _3 ] [88])
                        (const_int 1 [0x1]))
                    (const_int 0 [0])))
            (set (reg/v:SI 0 ax [orig:91 k ] [91])
                (plus:SI (reg:SI 2 cx [orig:88 _3 ] [88])
                    (const_int 1 [0x1])))
        ]) "pr82597.c":6 -1
     (nil))

does not satisfy constraints:

(define_insn "*add<mode>_2"
  [(set (reg FLAGS_REG)
        (compare
          (plus:SWI
            (match_operand:SWI 1 "nonimmediate_operand" "%0,0,<r>")
            (match_operand:SWI 2 "<general_operand>" "<g>,<r><i>,0"))
          (const_int 0)))
   (set (match_operand:SWI 0 "nonimmediate_operand" "=<r>,<r>m,<r>")
        (plus:SWI (match_dup 1) (match_dup 2)))]

since input and output register has to be matched. cmpelim pass should check if
merged instruction satisfies constraints.

(Must be some recent development that introduced the failure. IIRC, cmpelim
pass substitutes FLAGS_REG clobber in the pattern with the follow-up
comparison. LEA has no clobber, so that should prevent merging).

Confirmed as a rtl-optimization problem.
>From gcc-bugs-return-578912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 06:25:26 2017
Return-Path: <gcc-bugs-return-578912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1112 invoked by alias); 18 Oct 2017 06: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 1076 invoked by uid 48); 18 Oct 2017 06:25:22 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82598] [8 Regression] lto debugobj lacks .note.GNU-stack
Date: Wed, 18 Oct 2017 06: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone short_desc
Message-ID: <bug-82598-4-5b62jJGch7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82598-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82598-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01972.txt.bz2
Content-length: 440

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82598

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
            Summary|lto debugobj lacks          |[8 Regression] lto debugobj
                   |.note.GNU-stack             |lacks .note.GNU-stack
>From gcc-bugs-return-578913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 06:29:29 2017
Return-Path: <gcc-bugs-return-578913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4817 invoked by alias); 18 Oct 2017 06:29: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 4753 invoked by uid 48); 18 Oct 2017 06:29:25 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82597] [8 Regression] ICE at -O2 and -O3 x86_64-linux-gnu in the 32-bit mode: in extract_constrain_insn, at recog.c:2207
Date: Wed, 18 Oct 2017 06: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: unknown
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 cc short_desc
Message-ID: <bug-82597-4-YgmJGgbBUc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01973.txt.bz2
Content-length: 1598

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82597

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |collison at gcc dot gnu.org
            Summary|ICE at -O2 and -O3          |[8 Regression] ICE at -O2
                   |x86_64-linux-gnu in the     |and -O3 x86_64-linux-gnu in
                   |32-bit mode: in             |the 32-bit mode: in
                   |extract_constrain_insn, at  |extract_constrain_insn, at
                   |recog.c:2207                |recog.c:2207

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most likely caused by:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1ba23db3e5d047f35d95c6a14cd404b63926e196

2017-10-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
    Michael Collison <michael.collison@arm.com>

* compare-elim.c: Include emit-rtl.h.
(can_merge_compare_into_arith): New function.
(try_validate_parallel): Likewise.
(try_merge_compare): Likewise.
(try_eliminate_compare): Call the above when no previous clobber
is available.
(execute_compare_elim_after_reload): Add DF_UD_CHAIN and DF_DU_CHAIN
dataflow problems.

2017-10-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
    Michael Collison <michael.collison@arm.com>

* gcc.target/aarch64/cmpelim_mult_uses_1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253764
138bc75d-0d04-0410-961f-82ee72b054a4
>From gcc-bugs-return-578914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 06:30:47 2017
Return-Path: <gcc-bugs-return-578914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10093 invoked by alias); 18 Oct 2017 06: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 9913 invoked by uid 48); 18 Oct 2017 06:30:33 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82592] [8 Regression] ICE in extract_constrain_insn, at recog.c:2207 (error: insn does not satisfy its constraints)
Date: Wed, 18 Oct 2017 06: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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-82592-4-9ZSWT5OeaE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82592-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82592-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01974.txt.bz2
Content-length: 534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82592

Arseny Solokha <asolokha at gmx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Arseny Solokha <asolokha at gmx dot com> ---
PR82597 is confirmed and got some analysis already.

*** This bug has been marked as a duplicate of bug 82597 ***
>From gcc-bugs-return-578915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 06:30:58 2017
Return-Path: <gcc-bugs-return-578915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10569 invoked by alias); 18 Oct 2017 06:30: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 10029 invoked by uid 48); 18 Oct 2017 06:30:43 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82597] [8 Regression] ICE at -O2 and -O3 x86_64-linux-gnu in the 32-bit mode: in extract_constrain_insn, at recog.c:2207
Date: Wed, 18 Oct 2017 06: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: unknown
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-82597-4-QySD0l4Lxk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01975.txt.bz2
Content-length: 438

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82597

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> ---
*** Bug 82592 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-578916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 06:40:19 2017
Return-Path: <gcc-bugs-return-578916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20824 invoked by alias); 18 Oct 2017 06:40: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 20712 invoked by uid 48); 18 Oct 2017 06:40:14 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/73650] powerpc: -mcpuå00mc hits ICE: insn does not satisfy its constraints
Date: Wed, 18 Oct 2017 06:40: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:
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: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-73650-4-5Goe2wtyPw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-73650-4@http.gcc.gnu.org/bugzilla/>
References: <bug-73650-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01976.txt.bz2
Content-length: 248

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73650

--- Comment #12 from Arseny Solokha <asolokha at gmx dot com> ---
This PR seems to be fixed more than a year ago, and the fix backported to all
supported branches. Is it safe to close it now?
>From gcc-bugs-return-578917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 06:57:08 2017
Return-Path: <gcc-bugs-return-578917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49964 invoked by alias); 18 Oct 2017 06: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 49908 invoked by uid 48); 18 Oct 2017 06:57:03 -0000
From: "karzes at sonic dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82599] New: Assignments from statically initialized flexible arrays copy too much
Date: Wed, 18 Oct 2017 06: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: 5.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: karzes at sonic 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-82599-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01977.txt.bz2
Content-length: 1935

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82599

            Bug ID: 82599
           Summary: Assignments from statically initialized flexible
                    arrays copy too much
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: karzes at sonic dot net
  Target Milestone: ---

Created attachment 42388
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42388&action=edit
C program that demonstrates the bug

I am running on a 32-bit Ubuntu system.

The attached file, fa4.c, shows a problem with the gcc extension which allows
static initialization of flexible array members.

The problem is in main, with the declaration and initialization of second:

    s second = first;

The compiler isn't allocating space for the flexible array member in second,
which makes sense.  However, it is copying *all* of first into second,
including the space that was allocated for the flexible array member.  The
result is that it writes past the end of second, and continues writing into the
array v.  When v is printed, instead of printing <xxxxxxxx>, it instead prints
the tail of the string that was copied from first, which comes out as <defgh>.

The same behavior is seen if the declaration of and assignment to s are split
into:

    s second;
    second = first;

I believe the assignment should only copy sizeof(s) bytes, rather than
including the storage allocated for the flexible array member.

Note that if the declaration and static initialization of first is moved to a
separate file, the problem disappears, and the structure copy behaves as it
should.  But when gcc sees the true allocated size of first, it copies too much
in the assignment.  It should always copy the same amount regardless of where
first is defined.
>From gcc-bugs-return-578918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:25:28 2017
Return-Path: <gcc-bugs-return-578918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28457 invoked by alias); 18 Oct 2017 07: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 28413 invoked by uid 55); 18 Oct 2017 07:25:23 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79474] Multiple definitions of user-defined conversion operator cause ICE (internal compiler error)
Date: Wed, 18 Oct 2017 07:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-79474-4-Y3qYZCPDzf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79474-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01978.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79474

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct 18 07:24:50 2017
New Revision: 253841

URL: https://gcc.gnu.org/viewcvs?rev=253841&root=gcc&view=rev
Log:
2017-10-18  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/79474
        * g++.dg/cpp1y/auto-fn44.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn44.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:26:16 2017
Return-Path: <gcc-bugs-return-578919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29475 invoked by alias); 18 Oct 2017 07:26: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 29431 invoked by uid 48); 18 Oct 2017 07:26:12 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79474] Multiple definitions of user-defined conversion operator cause ICE (internal compiler error)
Date: Wed, 18 Oct 2017 07: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: 7.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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-79474-4-tkQD5TG8tx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79474-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01979.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79474

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in trunk.
>From gcc-bugs-return-578920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:28:28 2017
Return-Path: <gcc-bugs-return-578920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78665 invoked by alias); 18 Oct 2017 07: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 78618 invoked by uid 48); 18 Oct 2017 07:28:25 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81422] [aarch64] internal compiler error: in update_equiv_regs, at ira.c:3425
Date: Wed, 18 Oct 2017 07: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: ice-on-valid-code
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: qing.zhao at oracle dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81422-4-7t9PifnLfm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81422-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01980.txt.bz2
Content-length: 195

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81422

--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Confirmed, I can see that tests have started passing on my side. Thanks!
>From gcc-bugs-return-578921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:29:11 2017
Return-Path: <gcc-bugs-return-578921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80816 invoked by alias); 18 Oct 2017 07: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 80764 invoked by uid 48); 18 Oct 2017 07:29:07 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82593] Internal compiler error: in process_init_constructor_array, at cp/typeck2.c:1294
Date: Wed, 18 Oct 2017 07: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:
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-82593-4-FxYpct7ZYk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82593-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82593-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01981.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82593

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-18
     Ever confirmed|0                           |1
>From gcc-bugs-return-578922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:38:05 2017
Return-Path: <gcc-bugs-return-578922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21730 invoked by alias); 18 Oct 2017 07: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 21355 invoked by uid 55); 18 Oct 2017 07:38:01 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus warning when inlining or unrolling: "array subscript is above array bounds"
Date: Wed, 18 Oct 2017 07: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: 4.8.0
X-Bugzilla-Keywords: meta-bug
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-56456-4-HxjjZ6pjbN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01982.txt.bz2
Content-length: 946

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456

--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 17 Oct 2017, egallager at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
> 
> 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> --- How 
> essential is the "when inlining or unrolling" portion of the title for 
> this bug? i.e., can it be used as a meta-bug for all -Warray-bounds 
> issues? If not, how to tell if any given -Warray-bounds bug is related 
> to inlining/unrolling or not?

It's hard to tell.  Unless we have another meta-bug just re-use this one.
>From gcc-bugs-return-578923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:43:46 2017
Return-Path: <gcc-bugs-return-578923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81295 invoked by alias); 18 Oct 2017 07: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 81236 invoked by uid 55); 18 Oct 2017 07:43:41 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/68884] template of value template crashes the compiler
Date: Wed, 18 Oct 2017 07: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
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-68884-4-vXImEShA6O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68884-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68884-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01983.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68884

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct 18 07:43:06 2017
New Revision: 253843

URL: https://gcc.gnu.org/viewcvs?rev=253843&root=gcc&view=rev
Log:
2017-10-18  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/68884
        * g++.dg/cpp0x/variadic-crash4.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic-crash4.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:44:15 2017
Return-Path: <gcc-bugs-return-578924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82136 invoked by alias); 18 Oct 2017 07: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 82081 invoked by uid 48); 18 Oct 2017 07:44:11 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/68884] template of value template crashes the compiler
Date: Wed, 18 Oct 2017 07: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: 5.3.0
X-Bugzilla-Keywords: ice-on-valid-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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-68884-4-XlyYJJoz1A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68884-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68884-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01984.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68884

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.2

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed for 6.2.0.
>From gcc-bugs-return-578925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:52:45 2017
Return-Path: <gcc-bugs-return-578925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92498 invoked by alias); 18 Oct 2017 07: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 92450 invoked by uid 48); 18 Oct 2017 07:52:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82598] [8 Regression] lto debugobj lacks .note.GNU-stack
Date: Wed, 18 Oct 2017 07: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status bug_file_loc cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-82598-4-jzmbjjycd5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82598-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82598-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01985.txt.bz2
Content-length: 768

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82598

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2017-10/msg01127.htm
                   |                            |l
   Last reconfirmed|                            |2017-10-18
                 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-578926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:54:05 2017
Return-Path: <gcc-bugs-return-578926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94759 invoked by alias); 18 Oct 2017 07: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 94724 invoked by uid 55); 18 Oct 2017 07:54:01 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/69057] [C++14] constexpr static variable template assertion segmentation fault
Date: Wed, 18 Oct 2017 07: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-69057-4-6YQaicQpYS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01986.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69057

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct 18 07:53:27 2017
New Revision: 253844

URL: https://gcc.gnu.org/viewcvs?rev=253844&root=gcc&view=rev
Log:
2017-10-18  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/69057
        * g++.dg/cpp1y/auto-fn45.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn45.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:54:59 2017
Return-Path: <gcc-bugs-return-578927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101196 invoked by alias); 18 Oct 2017 07: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 101053 invoked by uid 48); 18 Oct 2017 07:54:55 -0000
From: "andi at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] New: Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Wed, 18 Oct 2017 07: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andi at mozilla 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-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01987.txt.bz2
Content-length: 1405

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

            Bug ID: 82600
           Summary: Address of local variable returned
                    [-Werror=return-local-addr] when building
                    mozilla-central
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andi at mozilla dot com
  Target Milestone: ---

Building firefox with gcc8 trunk i get this error:

In file included from
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/memory/build/Unified_cpp_memory_build0.cpp:2:0:
 /root/firefox-gcc-last/memory/build/mozjemalloc.cpp: In member function
'void** AddressRadixTree<Bits>::GetSlot(void*, bool)':
 /root/firefox-gcc-last/memory/build/mozjemalloc.cpp:1695:10: error: address of
local variable 'node' returned [-Werror=return-local-addr]
    void** node;
           ^~~~
 cc1plus: all warnings being treated as errors

The entire context can be found here:
[1]
http://searchfox.org/mozilla-central/rev/a984558fa2bbde6492d3fb918496fc0b0835b2ce/memory/build/mozjemalloc.cpp#1721
[2]
http://searchfox.org/mozilla-central/rev/a984558fa2bbde6492d3fb918496fc0b0835b2ce/memory/build/mozjemalloc.cpp#1698
It can easily be seen that by just analysing [2] 'node' only points somewhere
in 'mRoot'.
>From gcc-bugs-return-578928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 07:55:15 2017
Return-Path: <gcc-bugs-return-578928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102438 invoked by alias); 18 Oct 2017 07:55: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 101138 invoked by uid 48); 18 Oct 2017 07:54:58 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/69057] [C++14] constexpr static variable template assertion segmentation fault
Date: Wed, 18 Oct 2017 07: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 5.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-69057-4-GONukwgC1z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69057-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01988.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69057

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.4

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in 5.4.0.
>From gcc-bugs-return-578929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:02:07 2017
Return-Path: <gcc-bugs-return-578929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25481 invoked by alias); 18 Oct 2017 08: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 25287 invoked by uid 48); 18 Oct 2017 08:01:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Wed, 18 Oct 2017 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: 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: 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-82600-4-gXqHTOUzFp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01989.txt.bz2
Content-length: 621

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-18
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can you please attach preprocessed source + full g++ command line?  Thanks.
>From gcc-bugs-return-578930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:13:19 2017
Return-Path: <gcc-bugs-return-578930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29451 invoked by alias); 18 Oct 2017 08: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 27057 invoked by uid 48); 18 Oct 2017 08:13:14 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82601] New: missing uninitialized warning with -O0 / -Og
Date: Wed, 18 Oct 2017 08: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: 8.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-82601-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01990.txt.bz2
Content-length: 1151

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82601

            Bug ID: 82601
           Summary: missing uninitialized warning with -O0 / -Og
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: janus at gcc dot gnu.org
  Target Milestone: ---

Consider this simple Fortran test case:


program uninit

   integer :: p,q
   p = -1
   call sub(p, q)
   if (p<q) print *,"..."

contains

   subroutine sub(i, o)
      integer, intent(in) :: i
      integer, intent(out) :: o
      if (i<0) then
         print *, "..."
      else
         o = 1
      end if
   end subroutine

end


With -Wall and -O1 (or higher), all recent gfortran versions print:

    if (p<q) print *,"..."

Warning: ‘q’ is used uninitialized in this function [-Wuninitialized]


However, with -O0 or -Og, no warning is issued.

It should be possible to detect that 'o' may be uninitialized by looking only
at the subroutine itself (without any information about the caller).
>From gcc-bugs-return-578931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:16:59 2017
Return-Path: <gcc-bugs-return-578931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86375 invoked by alias); 18 Oct 2017 08: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 13960 invoked by uid 55); 18 Oct 2017 08:15:48 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82545] [7/8 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Wed, 18 Oct 2017 08:16: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: 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82545-4-p58nLqSM4z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01991.txt.bz2
Content-length: 754

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Oct 18 08:14:47 2017
New Revision: 253845

URL: https://gcc.gnu.org/viewcvs?rev=253845&root=gcc&view=rev
Log:
Do not put gimple stmt on an abnormal edge (PR sanitizer/82545).

2017-10-18  Martin Liska  <mliska@suse.cz>

        PR sanitizer/82545
        * asan.c (asan_expand_poison_ifn): Do not put gimple stmt
        on an abnormal edge.
2017-10-18  Martin Liska  <mliska@suse.cz>

        PR sanitizer/82545
        * gcc.dg/asan/pr82545.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/asan/pr82545.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/asan.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:28:08 2017
Return-Path: <gcc-bugs-return-578932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31666 invoked by alias); 18 Oct 2017 08:28: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 29044 invoked by uid 48); 18 Oct 2017 08:28:03 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82563] [8 Regression] [graphite] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.c:709
Date: Wed, 18 Oct 2017 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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82563-4-aQJ4w4YpfT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82563-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82563-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01992.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82563

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-578933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:31:12 2017
Return-Path: <gcc-bugs-return-578933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16695 invoked by alias); 18 Oct 2017 08:31: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 10678 invoked by uid 48); 18 Oct 2017 08:31:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Wed, 18 Oct 2017 08: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: 8.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:
Message-ID: <bug-82595-4-Q9ij1luCJ7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01993.txt.bz2
Content-length: 288

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, lsan_preinit.o shouldn't be linked into liblsan.so.*, either we should
just ignore it completely, or install and link in like asan_preinit.o or
tsan_preinit.o is.
>From gcc-bugs-return-578934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:35:44 2017
Return-Path: <gcc-bugs-return-578934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48624 invoked by alias); 18 Oct 2017 08:35: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 41968 invoked by uid 48); 18 Oct 2017 08:35:40 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82585] missing -Warray-bounds calling strlen on a member at out-of-bounds offfset
Date: Wed, 18 Oct 2017 08: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: 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-82585-4-UovCanVSSm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82585-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82585-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01994.txt.bz2
Content-length: 199

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82585

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Probably one form is folded to &a[4] and p->a + 4 is not folded to &p->a[4].
>From gcc-bugs-return-578935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:47:23 2017
Return-Path: <gcc-bugs-return-578935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15337 invoked by alias); 18 Oct 2017 08: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 13037 invoked by uid 48); 18 Oct 2017 08:47:18 -0000
From: "sylvestre at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Wed, 18 Oct 2017 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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sylvestre at debian dot 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-82600-4-qERZjYw7TV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01995.txt.bz2
Content-length: 1552

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

--- Comment #2 from Sylvestre Ledru <sylvestre at debian dot org> ---
the command line:
/usr/bin/g++-8 -std=gnu++11 -o Unified_cpp_memory_build0.o -c
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include
/root/firefox-gcc-last/config/gcc_hidden.h -DDEBUG=1 -DMOZ_MEMORY_IMPL
-DMOZ_HAS_MOZGLUE -I/root/firefox-gcc-last/memory/build
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/memory/build
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/nspr
-I/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/nss  -fPIC 
-DMOZILLA_CLIENT -include
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/mozilla-config.h -MD -MP -MF
.deps/Unified_cpp_memory_build0.o.pp  -Wall -Wc++11-compat -Wempty-body
-Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare
-Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof
-Wc++14-compat -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough
-Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations
-Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat
-Wformat-overflow=2 -fno-exceptions -fno-strict-aliasing -fno-rtti
-fno-exceptions -fno-math-errno -pthread -pipe  -g -freorder-blocks -Os
-fno-omit-frame-pointer  -Werror -Wno-unused-function -Wno-error=uninitialized 
-fdiagnostics-color 
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/memory/build/Unified_cpp_memory_build0.cpp
>From gcc-bugs-return-578936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:52:59 2017
Return-Path: <gcc-bugs-return-578936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23781 invoked by alias); 18 Oct 2017 08: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 21384 invoked by uid 48); 18 Oct 2017 08:52:55 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/73650] powerpc: -mcpuå00mc hits ICE: insn does not satisfy its constraints
Date: Wed, 18 Oct 2017 08:52: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:
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: bug_status resolution
Message-ID: <bug-73650-4-GaLUkPkzf1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-73650-4@http.gcc.gnu.org/bugzilla/>
References: <bug-73650-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01996.txt.bz2
Content-length: 457

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73650

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Yes, thanks Arseny.  Fixed.
>From gcc-bugs-return-578937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:56:04 2017
Return-Path: <gcc-bugs-return-578937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45719 invoked by alias); 18 Oct 2017 08:56: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 43740 invoked by uid 55); 18 Oct 2017 08:55:59 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82550] program using submodules fails to link
Date: Wed, 18 Oct 2017 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: 7.2.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82550-4-CrlCQoWyhU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82550-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82550-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01997.txt.bz2
Content-length: 802

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82550

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Wed Oct 18 08:55:27 2017
New Revision: 253848

URL: https://gcc.gnu.org/viewcvs?rev=253848&root=gcc&view=rev
Log:
2017-10-18  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82550
        * trans_decl.c (gfc_get_symbol_decl): Procedure symbols that
        have the 'used_in_submodule' attribute should be processed by
        'gfc_get_extern_function_decl'.

2017-10-18  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82550
        * gfortran.dg/submodule_30.f08 : New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/submodule_30.f08
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-578938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:57:06 2017
Return-Path: <gcc-bugs-return-578938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115854 invoked by alias); 18 Oct 2017 08:57: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 108798 invoked by uid 48); 18 Oct 2017 08:57:01 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82591] [8 Regression] [graphite] Compile-time hog w/ -O2 -floop-nest-optimize
Date: Wed, 18 Oct 2017 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: 8.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: 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 cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-82591-4-vzdAG6NnKc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82591-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01998.txt.bz2
Content-length: 3801

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82591

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-18
                 CC|                            |skimo at kotnet dot org,
                   |                            |spop at gcc dot gnu.org
   Target Milestone|---                         |8.0
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
With GCC 7 we have zero SCOPs detected, with GCC 8 we detect one SCOP.  What
takes all the time is code generation(!), namely
isl_ast_build_node_from_schedule.  The
schedule isn't that complicated:

domain: "[P_32] -> { S_6[i1, i2] : 0 <= P_32 <= 65535 and 0 <= i1 <= 127 and 0
<= i2 <= 2 and 65536*floor((-513 + P_32 - 1539i1 - 513i2)/65536) >= -514 + P_32
- 1539i1 - 513i2 }"
child:
  schedule: "[P_32] -> [{ S_6[i1, i2] -> [(floor((i1)/51))] }, { S_6[i1, i2] ->
[(floor((i2)/51))] }]"
  permutable: 1
  coincident: [ 1, 1 ]
  options: "{ separate[0] }"
  child:
    schedule: "[P_32] -> [{ S_6[i1, i2] -> [(i1 - 51*floor((i1)/51))] }, {
S_6[i1, i2] -> [(i2 - 51*floor((i2)/51))] }]"
    permutable: 1
    coincident: [ 1, 1 ]
    options: "{ separate[0] }"

note there's no limiting in place on the AST generator.

I don't immediately see what we can do about this - it looks like a bug in ISL
to me.  Sven?  It looks like the above might be enough to turn this into a
ISL testcase for test_inputs/codegen?  The separate option is not necessary to
trigger the problem.  The AST generated is

for (int c0 = 0; c0 <= 2; c0 += 1)
  for (int c2 = 0; c2 <= min(50, -51 * c0 + 127); c2 += 1)
    for (int c3 = 0; c3 <= 2; c3 += 1)
      if ((-P_32 + 78489 * c0 + 1539 * c2 + 513 * c3 + 66048) % 65536 >= 65534)
        S_6(51 * c0 + c2, c3);

The AST generated for the original schedule (before ISL optimizing and
blocking) is

for (int c0 = 0; c0 <= 127; c0 += 1)
  for (int c1 = 0; c1 <= 2; c1 += 1)
    if ((-P_32 + 1539 * c0 + 513 * c1 + 66048) % 65536 >= 65534)
      S_6(c0, c1);

and the corresponding schedule is

domain: "[P_32] -> { S_6[i1, i2] : 0 <= P_32 <= 65535 and 0 <= i1 <= 127 and 0
<= i2 <= 2 and 65536*floor((-513 + P_32 - 1539i1 - 513i2)/65536) >= -514 + P_32
- 1539i1 - 513i2 }"
child:
  schedule: "[P_32] -> L_1[{ S_6[i1, i2] -> [(i1)] }]"
  child:
    schedule: "[P_32] -> L_2[{ S_6[i1, i2] -> [(i2)] }]"

On the GCC side we can avoid the slowness with --param loop-block-tile-size=0
thus turn off forced blocking (we're doing quite stupid blocking by 51 even on
loops that we know iterate less...).

Our tiling code is doing

  long tile_size = PARAM_VALUE (PARAM_LOOP_BLOCK_TILE_SIZE);
  if (dims <= 1
      || tile_size == 0
      || !isl_schedule_node_band_get_permutable (node))
    {
      if (dump_file && dump_flags)
        fprintf (dump_file, "not tiled\n");
      return node;
    }

  /* Tile loops.  */
  space = isl_schedule_node_band_get_space (node);
  isl_multi_val *sizes = isl_multi_val_zero (space);
  isl_ctx *ctx = isl_schedule_node_get_ctx (node);

  for (unsigned i = 0; i < dims; i++)
    {
      sizes = isl_multi_val_set_val (sizes, i,
                                     isl_val_int_from_si (ctx, tile_size));
      if (dump_file && dump_flags)
        fprintf (dump_file, "tiled by %ld\n", tile_size);
    }

  node = isl_schedule_node_band_tile (node, sizes);
  node = isl_schedule_node_child (node, 0);

any hint where we can avoid tiling with obviously too big tiles?
>From gcc-bugs-return-578940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:58:16 2017
Return-Path: <gcc-bugs-return-578940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53340 invoked by alias); 18 Oct 2017 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 50646 invoked by uid 48); 18 Oct 2017 08:58:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82597] [8 Regression] ICE at -O2 and -O3 x86_64-linux-gnu in the 32-bit mode: in extract_constrain_insn, at recog.c:2207
Date: Wed, 18 Oct 2017 08: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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: version target_milestone
Message-ID: <bug-82597-4-3nCH2CesZN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02000.txt.bz2
Content-length: 346

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82597

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |8.0
   Target Milestone|---                         |8.0
>From gcc-bugs-return-578939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 08:58:11 2017
Return-Path: <gcc-bugs-return-578939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50551 invoked by alias); 18 Oct 2017 08: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 48109 invoked by uid 48); 18 Oct 2017 08:58:06 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69888] ICE: SIGSEGV in decide_alg (i386.c:26169) due to infinite (?) recursion with -minline-all-stringops -mmemset-strategy=no_stringop:-1:noalign
Date: Wed, 18 Oct 2017 08: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: 6.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zsojka at seznam dot cz
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-69888-4-2SZaBdHqe5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69888-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69888-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg01999.txt.bz2
Content-length: 191

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69888

--- Comment #9 from Zdenek Sojka <zsojka at seznam dot cz> ---
I think this bug can be closed now: it was fixed for gcc 6+ and gcc 5.4+.
>From gcc-bugs-return-578941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:02:16 2017
Return-Path: <gcc-bugs-return-578941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48106 invoked by alias); 18 Oct 2017 09:02: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 43369 invoked by uid 48); 18 Oct 2017 09:02:07 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82545] [7 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Wed, 18 Oct 2017 09: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: 8.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc
Message-ID: <bug-82545-4-zu8O4Pfl5R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02001.txt.bz2
Content-length: 692

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.0
            Summary|[7/8 Regression] -O2: ICE   |[7 Regression] -O2: ICE in
                   |in gimple_split_edge, at    |gimple_split_edge, at
                   |tree-cfg.c:2838, during     |tree-cfg.c:2838, during
                   |GIMPLE pass sanopt          |GIMPLE pass sanopt

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk, queued for backports.
>From gcc-bugs-return-578943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:05:14 2017
Return-Path: <gcc-bugs-return-578943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65738 invoked by alias); 18 Oct 2017 09: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 60162 invoked by uid 48); 18 Oct 2017 09:05:10 -0000
From: "sylvestre at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Wed, 18 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sylvestre at debian dot 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: attachments.created
Message-ID: <bug-82600-4-rowxQJKC8w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02003.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

--- Comment #3 from Sylvestre Ledru <sylvestre at debian dot org> ---
Created attachment 42389
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42389&action=edit
preprocessed file
>From gcc-bugs-return-578942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:05:02 2017
Return-Path: <gcc-bugs-return-578942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54696 invoked by alias); 18 Oct 2017 09: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 52661 invoked by uid 48); 18 Oct 2017 09:04:57 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82601] missing uninitialized warning with -O0 / -Og
Date: Wed, 18 Oct 2017 09: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: 8.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: keywords
Message-ID: <bug-82601-4-cxm2outvLJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82601-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82601-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02002.txt.bz2
Content-length: 907

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82601

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The warning is issued because we inline sub.

As we do not know whether 'o' is used we don't issue a warning in sub() that
o is not initialized (does intent(out) mean it comes in uninitialized?).
Just looking at the program sub has intent(out) q and thus we can reasonably
expect it to be initialized.

So - is 'o' uninitialized in

subroutine test(o)
 integer, intent(out) :: o
 print *, o
end subroutine

?  It doesn't seem so (we don't warn but I also think we have no way to
annotate sth as uninitalized that is passed by reference).
>From gcc-bugs-return-578944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:06:32 2017
Return-Path: <gcc-bugs-return-578944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25655 invoked by alias); 18 Oct 2017 09: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 23856 invoked by uid 48); 18 Oct 2017 09:06:28 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80991] ICE with __is_trivially_constructible in template
Date: Wed, 18 Oct 2017 09: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.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: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-80991-4-3AopmsCFet@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80991-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80991-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02004.txt.bz2
Content-length: 477

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80991

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> ---
Seems easy.
>From gcc-bugs-return-578945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:10:50 2017
Return-Path: <gcc-bugs-return-578945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59507 invoked by alias); 18 Oct 2017 09:10: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 57534 invoked by uid 48); 18 Oct 2017 09:10:46 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] New: IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 09: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: 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 attachments.created
Message-ID: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02005.txt.bz2
Content-length: 905

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

            Bug ID: 82602
           Summary: IRA considers volatile asm to be moveable
           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: ---

Created attachment 42390
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42390&action=edit
testcase

https://gcc.gnu.org/ml/gcc-help/2017-10/msg00061.html reports a problem
where volatile asm statements (without output) are moved around incorrectly.

Testcase attached, build with
  arm-eabi-gcc -Wall -W -O1 -mcpu=cortex-m0plus -mthumb
and see the asm statements reordered (on GCC 5 at least, it does
not seem to trigger the bug with trunk).

I have a patch.
>From gcc-bugs-return-578946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:11:27 2017
Return-Path: <gcc-bugs-return-578946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87911 invoked by alias); 18 Oct 2017 09:11: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 85489 invoked by uid 48); 18 Oct 2017 09:11:23 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 09: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82602-4-sLUBjc64ZQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02006.txt.bz2
Content-length: 407

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-18
     Ever confirmed|0                           |1
>From gcc-bugs-return-578947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:12:44 2017
Return-Path: <gcc-bugs-return-578947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49699 invoked by alias); 18 Oct 2017 09: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 47499 invoked by uid 48); 18 Oct 2017 09:12:39 -0000
From: "slash.tmp at free dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus warning when inlining or unrolling: "array subscript is above array bounds"
Date: Wed, 18 Oct 2017 09: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: 4.8.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: slash.tmp at free dot 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-56456-4-eIIHK2MWSO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02007.txt.bz2
Content-length: 1249

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456

--- Comment #5 from Mason <slash.tmp at free dot fr> ---
Slightly smaller testcase, similar to bug 80907.

extern int M[16];
void foo(int n)
{
        for (int i = 0; i < n; ++i)
                for (int j = 0; j < i; ++j)
                        M[i+j] = 0;
}

$ gcc-7 -O3 -Wall -S testcase4.c 
testcase4.c: In function 'foo':
testcase4.c:6:5: warning: array subscript is above array bounds
[-Warray-bounds]
    M[i+j] = 0;
    ~^~~~~
testcase4.c:6:5: warning: array subscript is above array bounds
[-Warray-bounds]
testcase4.c:6:5: warning: array subscript is above array bounds
[-Warray-bounds]
testcase4.c:6:5: warning: array subscript is above array bounds
[-Warray-bounds]
testcase4.c:6:5: warning: array subscript is above array bounds
[-Warray-bounds]
testcase4.c:6:5: warning: array subscript is above array bounds
[-Warray-bounds]
testcase4.c:6:5: warning: array subscript is above array bounds
[-Warray-bounds]
testcase4.c:6:5: warning: array subscript is above array bounds
[-Warray-bounds]

Same result with trunk.

Using -fopt-info adds:
testcase4.c:5:3: note: loop turned into non-loop; it never loops.
testcase4.c:5:3: note: loop with 17 iterations completely unrolled
>From gcc-bugs-return-578948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:15:32 2017
Return-Path: <gcc-bugs-return-578948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64469 invoked by alias); 18 Oct 2017 09:15: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 62428 invoked by uid 48); 18 Oct 2017 09:15:28 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82599] Assignments from statically initialized flexible arrays copy too much
Date: Wed, 18 Oct 2017 09: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.2.1
X-Bugzilla-Keywords: accepts-invalid, 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: keywords bug_status cf_reconfirmed_on version everconfirmed
Message-ID: <bug-82599-4-VYrdpSrRVO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82599-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82599-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02008.txt.bz2
Content-length: 1008

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82599

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid, wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-18
            Version|5.4.0                       |7.2.1
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  I think the issue is that we make the new type created by
constructing the object compatible (or the same) as the second.  Then we get to
invalid GIMPLE
being simply

  second = first;

which ends up using expr_size from the source.  Iff the C FE wants to support
this kind of assignments (not sure if it really should!) then it needs to
tack appropriate WITH_SIZE_EXPRs on the decls.
>From gcc-bugs-return-578949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:21:07 2017
Return-Path: <gcc-bugs-return-578949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126355 invoked by alias); 18 Oct 2017 09: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 119584 invoked by uid 55); 18 Oct 2017 09:21:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82598] [8 Regression] lto debugobj lacks .note.GNU-stack
Date: Wed, 18 Oct 2017 09: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82598-4-us5eHMhMRK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82598-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82598-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02009.txt.bz2
Content-length: 686

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82598

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 18 09:20:31 2017
New Revision: 253851

URL: https://gcc.gnu.org/viewcvs?rev=253851&root=gcc&view=rev
Log:
        PR lto/82598
        * simple-object.c (handle_lto_debug_sections): Copy over also
        .note.GNU-stack section with unchanged name.
        * simple-object-elf.c (SHF_EXECINSTR): Define.
        (simple_object_elf_copy_lto_debug_section): Drop SHF_EXECINSTR bit
        on .note.GNU-stack section.

Modified:
    trunk/libiberty/ChangeLog
    trunk/libiberty/simple-object-elf.c
    trunk/libiberty/simple-object.c
>From gcc-bugs-return-578950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:36:21 2017
Return-Path: <gcc-bugs-return-578950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38901 invoked by alias); 18 Oct 2017 09:36:21 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 36966 invoked by uid 48); 18 Oct 2017 09:36:18 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 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: unknown
X-Bugzilla-Keywords: 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: segher 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-82602-4-HChDiBGxEY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02010.txt.bz2
Content-length: 572

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |segher at gcc dot gnu.org

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Created attachment 42391
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42391&action=edit
proposed patch
>From gcc-bugs-return-578951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:38:43 2017
Return-Path: <gcc-bugs-return-578951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34374 invoked by alias); 18 Oct 2017 09:38: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 32085 invoked by uid 48); 18 Oct 2017 09:38:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Wed, 18 Oct 2017 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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc target_milestone short_desc
Message-ID: <bug-82600-4-nfA9BeNYVc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02011.txt.bz2
Content-length: 906

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |jason at gcc dot gnu.org
   Target Milestone|---                         |8.0
            Summary|Address of local variable   |[8 Regression] Address of
                   |returned                    |local variable returned
                   |[-Werror=return-local-addr] |[-Werror=return-local-addr]
                   |when building               |when building
                   |mozilla-central             |mozilla-central

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems to have started with r253599.  Will try to reduce it now.
>From gcc-bugs-return-578952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:45:42 2017
Return-Path: <gcc-bugs-return-578952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18037 invoked by alias); 18 Oct 2017 09:45: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 15702 invoked by uid 48); 18 Oct 2017 09:45:38 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus/missing warning (when inlining or unrolling): "array subscript is above array bounds" [-Warray-bounds]
Date: Wed, 18 Oct 2017 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: 4.8.0
X-Bugzilla-Keywords: meta-bug
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: dependson short_desc alias
Message-ID: <bug-56456-4-BeTqttzEVc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02012.txt.bz2
Content-length: 2036

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |82596, 82588, 82585, 82583,
                   |                            |82581, 69224, 82455
            Summary|[meta-bug] bogus warning    |[meta-bug] bogus/missing
                   |when inlining or unrolling: |warning (when inlining or
                   |"array subscript is above   |unrolling): "array
                   |array bounds"               |subscript is above array
                   |                            |bounds" [-Warray-bounds]
              Alias|                            |Warray-bounds

--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to rguenther@suse.de from comment #4)
> 
> It's hard to tell.  Unless we have another meta-bug just re-use this one.

I couldn't find another one that looked relevant so I'll re-use this one.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69224
[Bug 69224] [6/7/8 Regression] -Warray-bounds false positive with -O3 and
struct pointer parameter
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82455
[Bug 82455] missing -Warray-bounds on strcpy offset in an out-of-bounds range
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82581
[Bug 82581] missing -Warray-bounds on writing past the end of a member array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82583
[Bug 82583] missing -Warray-bounds on out-of-bounds inner indices
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82585
[Bug 82585] missing -Warray-bounds calling strlen on a member at out-of-bounds
offfset
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82588
[Bug 82588] missing -Warray-bounds on a excessively large index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82596
[Bug 82596] missing -Warray-bounds on an out-of-bounds index into string
literal
>From gcc-bugs-return-578953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:49:03 2017
Return-Path: <gcc-bugs-return-578953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94804 invoked by alias); 18 Oct 2017 09: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 88638 invoked by uid 48); 18 Oct 2017 09:48:59 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/69698] [meta-bug] flexible array members
Date: Wed, 18 Oct 2017 09: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: 6.0
X-Bugzilla-Keywords: meta-bug
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 dependson alias
Message-ID: <bug-69698-4-UQnxSj5xgI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69698-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69698-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02013.txt.bz2
Content-length: 680

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69698

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org
         Depends on|                            |82599
              Alias|                            |flexmembers

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
alias flexmembers


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82599
[Bug 82599] Assignments from statically initialized flexible arrays copy too
much
>From gcc-bugs-return-578954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 09:56:21 2017
Return-Path: <gcc-bugs-return-578954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52054 invoked by alias); 18 Oct 2017 09: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 50388 invoked by uid 48); 18 Oct 2017 09:56:17 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82603] New: [8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize
Date: Wed, 18 Oct 2017 09:56: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.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-82603-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02014.txt.bz2
Content-length: 1158

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603

            Bug ID: 82603
           Summary: [8 Regression] ICE in ifcvt_local_dce w/ -O2
                    -ftree-loop-vectorize
           Product: gcc
           Version: 8.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-8.0.0-alpha20171015 snapshot (r253772) ICEs when compiling the following
snippet w/ -O2 -ftree-loop-vectorize:

int
mr (unsigned int lf, int ms)
{
  unsigned int sw = 0;
  char *cu = (char *)&ms;

  while (ms < 1)
    {
      if (lf == 0)
        ms = 0;
      else
        ms = 0;
      ms += ((lf > 0) && ((lf > sw) ? 1 : ++*cu));
    }

  if (lf != 0)
    cu = (char *)&sw;
  *cu = lf;

  return ms;
}

% gcc-8.0.0-alpha20171015 -O2 -ftree-loop-vectorize -c qmv6xgzo.c
during GIMPLE pass: ifcvt
qmv6xgzo.c: In function 'mr':
qmv6xgzo.c:2:1: internal compiler error: Segmentation fault
 mr (unsigned int lf, int ms)
 ^~
>From gcc-bugs-return-578955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 10:07:47 2017
Return-Path: <gcc-bugs-return-578955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57918 invoked by alias); 18 Oct 2017 10: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 56131 invoked by uid 48); 18 Oct 2017 10:07:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Wed, 18 Oct 2017 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.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82600-4-obqUQCTr2M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02015.txt.bz2
Content-length: 273

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
void *b[10];

template <int N>
void **
foo (int x)
{
  void **a = b;
  return &a[x];
}

void **
bar (int x)
{
  return foo <0> (x);
}
>From gcc-bugs-return-578956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 10:17:08 2017
Return-Path: <gcc-bugs-return-578956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69959 invoked by alias); 18 Oct 2017 10:17: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 64515 invoked by uid 48); 18 Oct 2017 10:17:04 -0000
From: "david at westcontrol dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 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: unknown
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: david at westcontrol dot com
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82602-4-roIJLxguAP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02016.txt.bz2
Content-length: 838

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

David Brown <david at westcontrol dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at westcontrol dot com

--- Comment #2 from David Brown <david at westcontrol dot com> ---
For reference, the issue is also discussed here:

https://bugs.launchpad.net/gcc-arm-embedded/+bug/1722849

For this particular case, there are usable workarounds (with extra dependencies
or memory clobbers).  But "asm volatile" statements should not be moveable
across other asm volatile statements, volatile memory accesses, or other
observable behaviour.  (It is fine that they can be moved across other code,
just like other volatile accesses.)
>From gcc-bugs-return-578957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 10:22:09 2017
Return-Path: <gcc-bugs-return-578957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76462 invoked by alias); 18 Oct 2017 10: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 70811 invoked by uid 48); 18 Oct 2017 10:22:04 -0000
From: "petrcvekcz at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82445] ARM target generates unaligned STRD instruction
Date: Wed, 18 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: petrcvekcz at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82445-4-wefAWYCPRn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02017.txt.bz2
Content-length: 1184

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445

Petr Cvek <petrcvekcz at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |petrcvekcz at gmail dot com

--- Comment #5 from Petr Cvek <petrcvekcz at gmail dot com> ---
Get the same bug with: gcc version 7.1.0 (crosstool-NG
crosstool-ng-1.23.0-88-gfae66ae3) 

Bug free version: gcc version 6.3.0 (crosstool-NG
crosstool-ng-1.22.0-452-gc7b1e295) 

Testing program: just main() with "helloworld" calling the example code
(strd.c) compiled as object file.

march/mtune combinations which are OK:

-march=armv5te -mtune=xscale
-march=armv5te -mtune=iwmmxt
-march=iwmmxt
-march=armv5t (actually less opcodes than variants above)
-march=armv5

march/mtune combinations which generate an unaligned access in STRD (even with
-mno-unaligned-access):

-march=armv5te (tested on a real HW, generating alignment exceptions in
/proc/cpu/alignment)
-march=armv5tej (not existing on gcc 6.3.0)
-march=armv5te -mtune=arm1020e
-march=armv5te -mtune=arm926ej-s
>From gcc-bugs-return-578958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 10:30:40 2017
Return-Path: <gcc-bugs-return-578958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58248 invoked by alias); 18 Oct 2017 10:30: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 55389 invoked by uid 48); 18 Oct 2017 10:30:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Wed, 18 Oct 2017 10: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-82600-4-bPFJCpPmeV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02018.txt.bz2
Content-length: 932

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

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 42392
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42392&action=edit
gcc8-pr82600.patch

Untested fix.  The problem is that the -Wreturn-local-addr implementation
requires full folding of the expressions such that it will actually not see
an ARRAY_REF if the corresponding DECL isn't an array, but a pointer.
Such folding isn't performed if processing_template_decl though (no folding is
done, cp_fully_fold just returns the passed argument immediately).
>From gcc-bugs-return-578959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 10:53:31 2017
Return-Path: <gcc-bugs-return-578959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84769 invoked by alias); 18 Oct 2017 10:53: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 78079 invoked by uid 48); 18 Oct 2017 10:53:26 -0000
From: "slash.tmp at free dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/65461] -Warray-bounds warnings in the linux kernel (free_area_init_nodes)
Date: Wed, 18 Oct 2017 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: 5.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: slash.tmp at free dot 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-65461-4-23ZSYsW5Zl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65461-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02019.txt.bz2
Content-length: 1304

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65461

Mason <slash.tmp at free dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org,
                   |                            |slash.tmp at free dot fr

--- Comment #3 from Mason <slash.tmp at free dot fr> ---
Here is a reduced test case:

extern void foo(int *p);
extern int array[2];
void func(void)
{
    int i;

    for (i = 1; i < 2; i++) {
        if (i == 1) continue;
        array[i-1] = 0;
    }

    foo(&i);
}

$ gcc-7 -O3 -Wall -S testcase5.c 
testcase5.c: In function 'func':
testcase5.c:9:14: warning: array subscript is below array bounds
[-Warray-bounds]
         array[i-1] = 0;
         ~~~~~^~~~~

It is obvious that the loop is a NOP (other than setting i to 2)
(start at 1, skip that index, move to 2, exit loop)
And gcc figures it out, but only after issuing a spurious warning.

func:
        subq    $24, %rsp       # allocate space on the stack
        leaq    12(%rsp), %rdi  # copy &i to rdi
        movl    $2, 12(%rsp)    # i = 2
        call    foo             # foo(&i)
        addq    $24, %rsp       # clean up stack
        ret
>From gcc-bugs-return-578960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 11:02:31 2017
Return-Path: <gcc-bugs-return-578960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111621 invoked by alias); 18 Oct 2017 11:02: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 105739 invoked by uid 48); 18 Oct 2017 11:02:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 11: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: 7.2.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: bug_status cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-82580-4-SB6rLaYylt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02020.txt.bz2
Content-length: 647

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-18
                 CC|                            |jakub at gcc dot gnu.org
           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> ---
I'll have a look.
>From gcc-bugs-return-578961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 11:11:26 2017
Return-Path: <gcc-bugs-return-578961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92471 invoked by alias); 18 Oct 2017 11: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 85673 invoked by uid 48); 18 Oct 2017 11:11:21 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] New: [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Wed, 18 Oct 2017 11:11: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.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 cc target_milestone
Message-ID: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02021.txt.bz2
Content-length: 2744

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

            Bug ID: 82575
           Summary: [8 Regression] lto debugobj references __gnu_lto_slim,
                    ld test liblto-17 fails
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amodra at gmail dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---
           Summary: [8 Regression] lto debugobj references __gnu_lto_slim,
                    ld test liblto-17 fails

I recently upgraded the set of cross-compilers I use to test binutils, and
found that gcc trunk causes fails of some ld lto tests.

+FAIL: Build liblto-17a.so
+FAIL: Build liblto-17b.so 1
+FAIL: Build liblto-17b.so 2

Seen on aarch64-linux, arm-linuxeabi, hppa-linux, m68k-linux, mips64-linux,
nios2-linux, powerpc64le-linux, powerpc64-linux, powerpc-linux, s390-linux,
s390x-linux, sparc64-linux, tilepro-linux, and x86_64-linux.

Breakpoint 3, elf_link_add_object_symbols (info=<optimised out>, abfd=0xa6d1c0)
at /home/alan/src/binutils-gdb/bfd/elflink.c:4336
4336          if (isym->st_shndx == SHN_COMMON
(gdb) p name
$8 = 0xa70cd3 "__gnu_lto_slim"
(gdb) p abfd->filename
$9 = 0xa6d100 "/tmp/ccF0RcA1debugobj"

The debugobj is from
powerpc64le-linux-gcc -B /home/alan/build/gas/powerpc64le-linux/ld/tmpdir/ld/
-mcpu=power8 -r -nostdlib -o /tmp/ccF0RcA1debugobj /tmp/ccuOMpMydebugobjtem
[Leaving LTRANS /tmp/ccuOMpMydebugobjtem]

$ readelf -s --wide /tmp/ccF0RcA1debugobj
Symbol table '.symtab' contains 8 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 0000000000000000     0 SECTION LOCAL  DEFAULT    1 
     2: 0000000000000000     0 SECTION LOCAL  DEFAULT    3 
     3: 0000000000000000     0 SECTION LOCAL  DEFAULT    4 
     4: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS lto-17a.c
     5: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND __gnu_lto_slim
     6: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND __gnu_lto_v1
     7: 0000000000000000     0 NOTYPE  WEAK   HIDDEN     1 lto_17a.c.4af7515b

$ readelf -s --wide /tmp/ccuOMpMydebugobjtem
...
    22: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND __gnu_lto_v1
    23: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND __gnu_lto_slim

These references in LTO *output* files result in __gnu_lto_slim appearing as a
dynamic symbol in liblto-17a.so and liblto-17b.so.  nm doesn't like that, and
you get a complaint about missing plugins.  I don't believe the linker is doing
anything wrong here..
>From gcc-bugs-return-578962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 11:46:18 2017
Return-Path: <gcc-bugs-return-578962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123780 invoked by alias); 18 Oct 2017 11: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 121282 invoked by uid 48); 18 Oct 2017 11:46:13 -0000
From: "slash.tmp at free dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/66031] Spurious array bounds warning
Date: Wed, 18 Oct 2017 11: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: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: slash.tmp at free dot 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-66031-4-FYfASOi42k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66031-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66031-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02022.txt.bz2
Content-length: 776

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66031

Mason <slash.tmp at free dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slash.tmp at free dot fr

--- Comment #2 from Mason <slash.tmp at free dot fr> ---
FWIW, the following code looks somewhat fishy to me:

unsigned char f = 10;
extern unsigned char p[1];
char check(unsigned int n)
{
   if (n - 1 >= f) return p[n];
   return 1;
}

p[n] is well-defined iff n = 0

If n = 0, n - 1 = UINT_MAX, thus the test is true for any f
No other value of n is allowed as an index into p.

Thus I would expect gcc to turn the code into

  return (n == 0) ? p[0] : 1;
>From gcc-bugs-return-578963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 11:52:11 2017
Return-Path: <gcc-bugs-return-578963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44331 invoked by alias); 18 Oct 2017 11: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 38736 invoked by uid 48); 18 Oct 2017 11:52:07 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82580-4-loqGfUJw9m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02023.txt.bz2
Content-length: 217

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> I'll have a look.

Oh, I already have a patch...
>From gcc-bugs-return-578964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 11:53:40 2017
Return-Path: <gcc-bugs-return-578964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4524 invoked by alias); 18 Oct 2017 11:53: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 2673 invoked by uid 48); 18 Oct 2017 11:53:37 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82580-4-QOScySrE3K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02024.txt.bz2
Content-length: 360

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 42393
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42393&action=edit
Prototype patch

Attached patch generates:

foobar:
        cmpq    %rdx, %rdi
        sbbq    %rcx, %rsi
        setb    %al
        ret
>From gcc-bugs-return-578965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 11:57:38 2017
Return-Path: <gcc-bugs-return-578965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122898 invoked by alias); 18 Oct 2017 11:57: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 120922 invoked by uid 48); 18 Oct 2017 11:57:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 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: 7.2.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: uros at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-82580-4-DicjHDMSfN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02025.txt.bz2
Content-length: 1714

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|jakub at gcc dot gnu.org           |uros at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Or, it is yours then.
Does it handle all of:
#ifdef __SIZEOF_INT128__
typedef unsigned __int128 U;
typedef signed __int128 S;
#else
typedef unsigned long long U;
typedef signed long long S;
#endif
void bar (void);
int f0 (U x, U y) { return x == y; }
int f1 (U x, U y) { return x != y; }
int f2 (U x, U y) { return x > y; }
int f3 (U x, U y) { return x >= y; }
int f4 (U x, U y) { return x < y; }
int f5 (U x, U y) { return x <= y; }
int f6 (S x, S y) { return x == y; }
int f7 (S x, S y) { return x != y; }
int f8 (S x, S y) { return x > y; }
int f9 (S x, S y) { return x >= y; }
int f10 (S x, S y) { return x < y; }
int f11 (S x, S y) { return x <= y; }
void f12 (U x, U y) { if (x == y) bar (); }
void f13 (U x, U y) { if (x != y) bar (); }
void f14 (U x, U y) { if (x > y) bar (); }
void f15 (U x, U y) { if (x >= y) bar (); }
void f16 (U x, U y) { if (x < y) bar (); }
void f17 (U x, U y) { if (x <= y) bar (); }
void f18 (S x, S y) { if (x == y) bar (); }
void f19 (S x, S y) { if (x != y) bar (); }
void f20 (S x, S y) { if (x > y) bar (); }
void f21 (S x, S y) { if (x >= y) bar (); }
void f22 (S x, S y) { if (x < y) bar (); }
void f23 (S x, S y) { if (x <= y) bar (); }

?  For == and != we already generate good code, better than LLVM or ICC, but
for the rest we don't.
>From gcc-bugs-return-578966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 12:03:54 2017
Return-Path: <gcc-bugs-return-578966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71916 invoked by alias); 18 Oct 2017 12: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 69864 invoked by uid 48); 18 Oct 2017 12:03:50 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 12: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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-82580-4-aG3eQJ4Z1x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02026.txt.bz2
Content-length: 496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|uros at gcc dot gnu.org            |ubizjak at gmail dot com

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #4)
> Or, it is yours then.
> Does it handle all of:

Yes, all.
>From gcc-bugs-return-578967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 12:14:29 2017
Return-Path: <gcc-bugs-return-578967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77256 invoked by alias); 18 Oct 2017 12:14: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 63884 invoked by uid 48); 18 Oct 2017 12:14:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 12: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: 7.2.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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82580-4-45MJRgB14F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02027.txt.bz2
Content-length: 706

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Nice.  I wonder about one further thing.
With your patch, we generate e.g. in f0:
        xorq    %rdx, %rdi
        xorq    %rcx, %rsi
        xorl    %eax, %eax
        orq     %rsi, %rdi
        sete    %al
i.e. for the flags we first clear %eax and then setX %al, but for f2
        cmpq    %rdi, %rdx
        sbbq    %rsi, %rcx
        setb    %al
        movzbl  %al, %eax
Seems this is done in
;; Convert setcc + movzbl to xor + setcc if operands don't overlap.
peephole2s, do we need a peephole for this as well, or some more general
peephole2 or other means of optimizing this?
>From gcc-bugs-return-578968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 12:16:17 2017
Return-Path: <gcc-bugs-return-578968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35609 invoked by alias); 18 Oct 2017 12: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 29857 invoked by uid 48); 18 Oct 2017 12:16:13 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 12: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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82580-4-sdA5GiUxli@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02028.txt.bz2
Content-length: 623

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #6)

> i.e. for the flags we first clear %eax and then setX %al, but for f2
>         cmpq    %rdi, %rdx
>         sbbq    %rsi, %rcx
>         setb    %al
>         movzbl  %al, %eax
> Seems this is done in
> ;; Convert setcc + movzbl to xor + setcc if operands don't overlap.
> peephole2s, do we need a peephole for this as well, or some more general
> peephole2 or other means of optimizing this?
No, this would break carry flag propagation from cmp to sbb.
>From gcc-bugs-return-578969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 12:18:37 2017
Return-Path: <gcc-bugs-return-578969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51824 invoked by alias); 18 Oct 2017 12:18: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 46576 invoked by uid 48); 18 Oct 2017 12:18:34 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82591] [8 Regression] [graphite] Compile-time hog w/ -O2 -floop-nest-optimize
Date: Wed, 18 Oct 2017 12: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: 8.0
X-Bugzilla-Keywords: compile-time-hog
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82591-4-lwYVThE89n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82591-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02029.txt.bz2
Content-length: 572

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82591

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 #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like we have to set max-operations around AST generation as well (I'll
allow it another share of the same param).
>From gcc-bugs-return-578970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 12:20:05 2017
Return-Path: <gcc-bugs-return-578970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128716 invoked by alias); 18 Oct 2017 12: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 125833 invoked by uid 48); 18 Oct 2017 12:19:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 12: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.2.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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82580-4-v4snRF9uSE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02030.txt.bz2
Content-length: 1381

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The fact that flags is live is the reason why the
(define_peephole2
  [(parallel [(set (reg FLAGS_REG) (match_operand 0))
              (match_operand 4)])
   (set (match_operand:QI 1 "register_operand")
        (match_operator:QI 2 "ix86_comparison_operator"
          [(reg FLAGS_REG) (const_int 0)]))
   (parallel [(set (match_operand 3 "any_QIreg_operand")
                   (zero_extend (match_dup 1)))
              (clobber (reg:CC FLAGS_REG))])]
  "(peep2_reg_dead_p (3, operands[1])
    || operands_match_p (operands[1], operands[3]))
   && ! reg_overlap_mentioned_p (operands[3], operands[0])
   && ! reg_set_p (operands[3], operands[4])
   && peep2_regno_dead_p (0, FLAGS_REG)"
  [(parallel [(set (match_dup 5) (match_dup 0))
              (match_dup 4)])
   (set (strict_low_part (match_dup 6))
        (match_dup 2))]
{
  operands[5] = gen_rtx_REG (GET_MODE (operands[0]), FLAGS_REG);
  operands[6] = gen_lowpart (QImode, operands[3]);
  ix86_expand_clear (operands[3]);
})
peephole doesn't trigger.  What I meant is another peephole that would emit
        xorl    %eax, %eax
        cmpq    %rdi, %rdx
        sbbq    %rsi, %rcx
        setb    %al
i.e. like the above peephole, but with yet another instruction.  Let me try to
write it...
>From gcc-bugs-return-578971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 12:39:57 2017
Return-Path: <gcc-bugs-return-578971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79064 invoked by alias); 18 Oct 2017 12:39: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 67122 invoked by uid 48); 18 Oct 2017 12:39:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 12: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: 7.2.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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82580-4-GAuSrn4G3E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02031.txt.bz2
Content-length: 298

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42394
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42394&action=edit
gcc8-pr82580-peephole2.patch

Untested incremental patch with the 2 peepholes.
>From gcc-bugs-return-578972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 12:48:45 2017
Return-Path: <gcc-bugs-return-578972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18220 invoked by alias); 18 Oct 2017 12: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 12108 invoked by uid 48); 18 Oct 2017 12:48:41 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 18 Oct 2017 12:48: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.2.0
X-Bugzilla-Keywords: build
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-81797-4-IaLdXTrihh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02032.txt.bz2
Content-length: 185

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #22 from Jonathan Wakely <redi at gcc dot gnu.org> ---
So maybe somebody should submit the patch to the mailing lists.
>From gcc-bugs-return-578973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 12:58:21 2017
Return-Path: <gcc-bugs-return-578973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75726 invoked by alias); 18 Oct 2017 12:58: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 75618 invoked by uid 48); 18 Oct 2017 12:58:17 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Wed, 18 Oct 2017 12: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-82600-4-8kiwRbK2lv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02033.txt.bz2
Content-length: 694

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andi from comment #0)
> Building firefox with gcc8 trunk i get this error:

This is a warning, not an error. 

If you use -Werror to cause compilation to fail that's your choice, but it's
still just a warning as far as we're concerned.

If you can't build because you choose to use -Werror then don't use -Werror.
>From gcc-bugs-return-578974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 13:09:40 2017
Return-Path: <gcc-bugs-return-578974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89406 invoked by alias); 18 Oct 2017 13:09: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 85335 invoked by uid 48); 18 Oct 2017 13:09:32 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82517] use-after-scope for a variable with big alignment causes a false positive
Date: Wed, 18 Oct 2017 13: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:
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-82517-4-ezWURYyUdR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82517-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82517-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02034.txt.bz2
Content-length: 495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82517

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-18
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-578975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 13:18:29 2017
Return-Path: <gcc-bugs-return-578975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68138 invoked by alias); 18 Oct 2017 13: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 68081 invoked by uid 48); 18 Oct 2017 13:18:24 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82603] [8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize
Date: Wed, 18 Oct 2017 13: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-82603-4-tRUrmEpvjR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02035.txt.bz2
Content-length: 715

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-18
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |8.0
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r253093.
>From gcc-bugs-return-578976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 13:18:40 2017
Return-Path: <gcc-bugs-return-578976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68930 invoked by alias); 18 Oct 2017 13: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 68722 invoked by uid 48); 18 Oct 2017 13:18:36 -0000
From: "andi at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Wed, 18 Oct 2017 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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andi at mozilla 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82600-4-YlQWHhQvS9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02036.txt.bz2
Content-length: 596

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

--- Comment #8 from Andi <andi at mozilla dot com> ---
(In reply to Jonathan Wakely from comment #7)
> (In reply to Andi from comment #0)
> > Building firefox with gcc8 trunk i get this error:
> 
> This is a warning, not an error. 
> 
> If you use -Werror to cause compilation to fail that's your choice, but it's
> still just a warning as far as we're concerned.
> 
> If you can't build because you choose to use -Werror then don't use -Werror.
Indeed the build was ran with -Werror since we wanted to see what are our
blockers.
>From gcc-bugs-return-578977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 13:19:09 2017
Return-Path: <gcc-bugs-return-578977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69858 invoked by alias); 18 Oct 2017 13:19:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 69800 invoked by uid 48); 18 Oct 2017 13:19:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 13: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.2.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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82580-4-cPGOV7vz2E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02037.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
BTW, perhaps powerpc64, aarch64 or other targets could benefit from similar
approach.  Shall we clone this PR for those?
>From gcc-bugs-return-578978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 13:30:38 2017
Return-Path: <gcc-bugs-return-578978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81215 invoked by alias); 18 Oct 2017 13: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 81115 invoked by uid 48); 18 Oct 2017 13:30:32 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 13: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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-82580-4-xXjMAcM5o1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02038.txt.bz2
Content-length: 538

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42393|0                           |1
        is obsolete|                            |

--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 42395
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42395&action=edit
Prototype patch in testing
>From gcc-bugs-return-578979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 13:34:27 2017
Return-Path: <gcc-bugs-return-578979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43733 invoked by alias); 18 Oct 2017 13:34: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 41883 invoked by uid 48); 18 Oct 2017 13:34:23 -0000
From: "ryxi at stu dot xidian.edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 13: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: unknown
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ryxi at stu dot xidian.edu.cn
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82602-4-YXCBRTf6eA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02039.txt.bz2
Content-length: 763

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

Xi Ruoyao <ryxi at stu dot xidian.edu.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryxi at stu dot xidian.edu.cn

--- Comment #3 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
I'm still not convinced this is a bug.  For example, all kernel code
uses `asm volatile ("" ::: "memory")` as barrier to stop GCC to reorder code
through it, not `asm volatile ("" :::)`.  So the developers have been aware
a "asm volatile" does NOT mean a barrier. If we change this behaviour and
stop reordering through all "asm volatile"s, the generated code could be
slower.
>From gcc-bugs-return-578980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 13:41:08 2017
Return-Path: <gcc-bugs-return-578980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62613 invoked by alias); 18 Oct 2017 13:41: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 62200 invoked by uid 48); 18 Oct 2017 13:41:04 -0000
From: "ryxi at stu dot xidian.edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 13: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: unknown
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ryxi at stu dot xidian.edu.cn
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-xJa27Y07QR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02040.txt.bz2
Content-length: 377

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #4 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
By the way, in kernel code (compiler-gcc.h) there is a comment:

/* The "volatile" is due to gcc bugs */
#define barrier() __asm__ __volatile__("": : :"memory")

So the developer(s) actually think "volatile" is unnecessary, instead of the
"memory" clobber.
>From gcc-bugs-return-578981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 13:45:39 2017
Return-Path: <gcc-bugs-return-578981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74657 invoked by alias); 18 Oct 2017 13: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 74299 invoked by uid 48); 18 Oct 2017 13:45:29 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 13: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: unknown
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82602-4-noeXDa1NSr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02041.txt.bz2
Content-length: 933

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot de

--- Comment #5 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Xi Ruoyao from comment #3)
> I'm still not convinced this is a bug.  For example, all kernel code
> uses `asm volatile ("" ::: "memory")` as barrier to stop GCC to reorder code
> through it, not `asm volatile ("" :::)`.  So the developers have been aware
> a "asm volatile" does NOT mean a barrier. If we change this behaviour and
> stop reordering through all "asm volatile"s, the generated code could be
> slower.

Yes, spin locks need to have a "memory" clobber.
I agree it will only work by chance without.
>From gcc-bugs-return-578982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 13:58:16 2017
Return-Path: <gcc-bugs-return-578982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83294 invoked by alias); 18 Oct 2017 13: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 83226 invoked by uid 48); 18 Oct 2017 13:58:12 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 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: unknown
X-Bugzilla-Keywords: 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: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-06tqJDMGxK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02042.txt.bz2
Content-length: 838

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Xi Ruoyao from comment #3)
> I'm still not convinced this is a bug.  For example, all kernel code
> uses `asm volatile ("" ::: "memory")` as barrier to stop GCC to reorder code
> through it, not `asm volatile ("" :::)`.  So the developers have been aware
> a "asm volatile" does NOT mean a barrier. If we change this behaviour and
> stop reordering through all "asm volatile"s, the generated code could be
> slower.

The bug in IRA is that it would move volatile asm statements to wherever
else it felt like, including for example over another volatile asm.  That
is the bug, which my patch fixes.  Making volatile asm a "barrier" (what
does that even _mean_?!) is a bad idea, I certainly agree.
>From gcc-bugs-return-578983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 14:02:56 2017
Return-Path: <gcc-bugs-return-578983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105202 invoked by alias); 18 Oct 2017 14:02: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 105117 invoked by uid 48); 18 Oct 2017 14:02:48 -0000
From: "david at westcontrol dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 14: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: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: david at westcontrol dot com
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-z7p7rOemFT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02043.txt.bz2
Content-length: 987

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #7 from David Brown <david at westcontrol dot com> ---
(In reply to Xi Ruoyao from comment #3)
There is no intention to make "asm volatile" a barrier, as you get with a
memory clobber.  The intention is to stop it moving past other volatile code
(such as other asm volatiles, and volatile memory accesses).  An "asm volatile"
statement should still be moveable across other "normal" code.

(In reply to Xi Ruoyao from comment #4)
As for the comment in the kernel code, the gcc documentation says that an "asm"
statement with no output is automatically considered as though it were "asm
volatile".  So it should not be necessary to write "volatile" in the memory
barrier here, as the compiler should treat it that way anyway.  If there is a
compiler bug there, it should be fixed - or the documentation could be changed.
 There is certainly no harm in having the "volatile" explicit in the barrier()
definition.
>From gcc-bugs-return-578984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 14:29:38 2017
Return-Path: <gcc-bugs-return-578984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22050 invoked by alias); 18 Oct 2017 14: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 21910 invoked by uid 48); 18 Oct 2017 14:29:33 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Wed, 18 Oct 2017 14: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-82575-4-nkrkQLkA3F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02044.txt.bz2
Content-length: 891

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-18
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |8.0
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
At some point I had those "removed" symbols unnamed but Solaris ld didn't like
that.

I'm intentionally not rewriting the symbol table but replacing removed entries
with stubs to not need to touch relocation section data.

Any suggestion for a better "stub" for globals?
>From gcc-bugs-return-578985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 14:30:35 2017
Return-Path: <gcc-bugs-return-578985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27328 invoked by alias); 18 Oct 2017 14:30: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 23875 invoked by uid 48); 18 Oct 2017 14:30:05 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82603] [8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize
Date: Wed, 18 Oct 2017 14: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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82603-4-gm79L1kJvH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02045.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603

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 #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
>From gcc-bugs-return-578986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 14:30:51 2017
Return-Path: <gcc-bugs-return-578986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28461 invoked by alias); 18 Oct 2017 14:30: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 27725 invoked by uid 48); 18 Oct 2017 14:30:45 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82603] [7/8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize
Date: Wed, 18 Oct 2017 14: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: 8.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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone short_desc
Message-ID: <bug-82603-4-JUnMKpUTuc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02046.txt.bz2
Content-length: 608

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.0                         |7.3
            Summary|[8 Regression] ICE in       |[7/8 Regression] ICE in
                   |ifcvt_local_dce w/ -O2      |ifcvt_local_dce w/ -O2
                   |-ftree-loop-vectorize       |-ftree-loop-vectorize

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
The rev. was also backported.
>From gcc-bugs-return-578987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 14:36:03 2017
Return-Path: <gcc-bugs-return-578987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60926 invoked by alias); 18 Oct 2017 14:36: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 60850 invoked by uid 55); 18 Oct 2017 14:35:58 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82591] [8 Regression] [graphite] Compile-time hog w/ -O2 -floop-nest-optimize
Date: Wed, 18 Oct 2017 14: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: compile-time-hog
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82591-4-hgXwWkRvf0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82591-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02047.txt.bz2
Content-length: 723

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82591

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Oct 18 14:35:26 2017
New Revision: 253856

URL: https://gcc.gnu.org/viewcvs?rev=253856&root=gcc&view=rev
Log:
2017-10-18  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82591
        * graphite.c (graphite_transform_loops): Move code gen message
        printing ...
        * graphite-isl-ast-to-gimple.c (graphite_regenerate_ast_isl):
        Here.  Handle scop_to_isl_ast failing.
        (scop_to_isl_ast): Limit the number of ISL operations.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-isl-ast-to-gimple.c
    trunk/gcc/graphite.c
>From gcc-bugs-return-578988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 14:42:09 2017
Return-Path: <gcc-bugs-return-578988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105156 invoked by alias); 18 Oct 2017 14: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 104040 invoked by uid 48); 18 Oct 2017 14:42:00 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82591] [8 Regression] [graphite] Compile-time hog w/ -O2 -floop-nest-optimize
Date: Wed, 18 Oct 2017 14:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: compile-time-hog
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82591-4-cIcbphhcgE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82591-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02048.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82591

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 by limiting on the GCC side.  AST generation is still oddly slow.
>From gcc-bugs-return-578989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 14:54:34 2017
Return-Path: <gcc-bugs-return-578989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84759 invoked by alias); 18 Oct 2017 14: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 84632 invoked by uid 48); 18 Oct 2017 14:54:29 -0000
From: "fxcoudert at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 18 Oct 2017 14: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.2.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fxcoudert at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81797-4-fxS5PJNJx0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02049.txt.bz2
Content-length: 545

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #23 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #22)
> So maybe somebody should submit the patch to the mailing lists.

Submitted: https://gcc.gnu.org/ml/libstdc++/2017-10/msg00045.html

Sorry I didn't do it before, but I wasn't sure it would be welcome, as you were
(as far as I can tell) the only libstdc++ maintainer to have commented here,
and you had stated that you "don't think this is a libstdc++ issue".
>From gcc-bugs-return-578990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 15:36:18 2017
Return-Path: <gcc-bugs-return-578990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122869 invoked by alias); 18 Oct 2017 15:36: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 122815 invoked by uid 48); 18 Oct 2017 15:36:14 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Wed, 18 Oct 2017 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: 6.4.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-FYxHW2OtJg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02050.txt.bz2
Content-length: 1028

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #14 from Christophe Lyon <clyon at gcc dot gnu.org> ---
I think I understand the problem better now, after a few experiments, and a
discussion with proot's author.

The testcase finishes with a call to execute_command_line with wait=.false, so
the main process may complete before the child (execute_command_line) does.

In such a case, proot returns the exit code of the last living process, the
child in our case, so 127 (command not found). And sometimes it can return 0,
depending on the process scheduling on the host.

Forcing qemu to dump traces seems to hide the problem, probably because it does
change the process schedule.

FWIW, I can live with this by flagging this test as 'random' in my
GCC-regression testing.

Removing the last
   call execute_command_line(command , wait=.false., exitstat=i)
or moving it before
   call execute_command_line(command ,               exitstat=i, cmdstat=j)
seems to workaround the issue for me.
>From gcc-bugs-return-578991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 15:41:34 2017
Return-Path: <gcc-bugs-return-578991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53235 invoked by alias); 18 Oct 2017 15: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 53191 invoked by uid 48); 18 Oct 2017 15:41:29 -0000
From: "ryxi at stu dot xidian.edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 15: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: unknown
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ryxi at stu dot xidian.edu.cn
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-LPk9HcAKvj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02051.txt.bz2
Content-length: 1382

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #8 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
(In reply to David Brown from comment #7)

> There is no intention to make "asm volatile" a barrier, as you get with a
> memory clobber.  The intention is to stop it moving past other volatile code
> (such as other asm volatiles, and volatile memory accesses).  An "asm
> volatile" statement should still be moveable across other "normal" code.

I see... But then your code in the maillist

             uint32_t status;

             /* save the PRIMASK into 'status' */
             __asm volatile ("mrs %0,PRIMASK" : "=r" (status) :: );

             /* set PRIMASK to disable interrupts */
             __asm volatile ("cpsid i");

             foo(); /* call a function */

             /* restore PRIMASK from 'status' */
             __asm volatile ("msr PRIMASK,%0" :: "r" (status) : );

could still become

             uint32_t status;

             /* save the PRIMASK into 'status' */
             __asm volatile ("mrs %0,PRIMASK" : "=r" (status) :: );

             foo(); /* call a function */

             /* set PRIMASK to disable interrupts */
             __asm volatile ("cpsid i");

             /* restore PRIMASK from 'status' */
             __asm volatile ("msr PRIMASK,%0" :: "r" (status) : );

and still need a "memory" clobber.
>From gcc-bugs-return-578992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 15:47:51 2017
Return-Path: <gcc-bugs-return-578992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32901 invoked by alias); 18 Oct 2017 15:47: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 32824 invoked by uid 48); 18 Oct 2017 15:47:45 -0000
From: "etienne_lorrain at yahoo dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/10740] ../../gcc/gcc/gengtype.c:430: undefined reference to "lexer_line"
Date: Wed, 18 Oct 2017 15: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: etienne_lorrain at yahoo dot 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-10740-4-9W0eSCaP02@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-10740-4@http.gcc.gnu.org/bugzilla/>
References: <bug-10740-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02052.txt.bz2
Content-length: 885

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10740

etienne_lorrain at yahoo dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |etienne_lorrain at yahoo dot fr

--- Comment #6 from etienne_lorrain at yahoo dot fr ---
I just had this error on Fedora26 compiling gcc-7-20171012.
It looks like it is due to the fact that I did not have flex installed.
Something like "sudo yum install flex" does install flex, but obviously does
not remove file ./host-x86_64-pc-linux-gnu/gcc/gengtype-lex.c so retrying "make
bootstrap" brings exactly the same error.
I did "make realclean" and again "./configure ..." and everything works.
Maybe "./contrib/download_prerequisites" should warn that flex is needed when
that command is not present...
>From gcc-bugs-return-578993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 15:52:09 2017
Return-Path: <gcc-bugs-return-578993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1229 invoked by alias); 18 Oct 2017 15: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 1168 invoked by uid 48); 18 Oct 2017 15:52:05 -0000
From: "alexander.nesterovskiy at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82604] New: [8 Regression] SPEC CPU2006 410.bwaves ~50% performance regression with trunk@253679 when ftree-parallelize-loops is used
Date: Wed, 18 Oct 2017 15:52: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alexander.nesterovskiy 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-82604-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02053.txt.bz2
Content-length: 1351

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82604

            Bug ID: 82604
           Summary: [8 Regression] SPEC CPU2006 410.bwaves ~50%
                    performance regression with trunk@253679 when
                    ftree-parallelize-loops is used
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alexander.nesterovskiy at intel dot com
  Target Milestone: ---

Minimal options to reproduce regression (4 threads is just for example, there
can be more):
-Ofast -funroll-loops -flto -ftree-parallelize-loops=4

Auto-parallelization became mostly useless for 410.bwaves after r253679.
CPU time distributes like this:
         Thread0 Thread1 Thread2 Thread3
r253679: ~91%    ~3%     ~3%     ~3%
r253678: ~34%    ~22%    ~22%    ~22%

Linking with "-fopt-info-loop-optimized" shows that twice less loops have
parallelized:
---
gfortran -Ofast -funroll-loops -flto -ftree-parallelize-loops=4 -g
-fopt-info-loop-optimized=loop.optimized *.o
grep parallelizing loop.optimized -c
---
r253679: 19
r253678: 38

Most valuable missed parallelization is
"block_solver.f:170:0: note: parallelizing outer loop 2"
in the hottest function "mat_times_vec".
>From gcc-bugs-return-578994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 15:56:51 2017
Return-Path: <gcc-bugs-return-578994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11746 invoked by alias); 18 Oct 2017 15: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 11497 invoked by uid 55); 18 Oct 2017 15:56:47 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82574] [8 Regression] wrong code at -O3 on x86_64-linux-gnu
Date: Wed, 18 Oct 2017 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: 8.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: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82574-4-kZ7xiD68LH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82574-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82574-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02054.txt.bz2
Content-length: 766

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82574

--- Comment #3 from amker at gcc dot gnu.org ---
Author: amker
Date: Wed Oct 18 15:56:15 2017
New Revision: 253857

URL: https://gcc.gnu.org/viewcvs?rev=253857&root=gcc&view=rev
Log:
        PR tree-optimization/82574
        * tree-loop-distribution.c (find_single_drs): New parameter.  Check
        that data reference must be executed exactly once per iteration
        against the outermost loop in nest.
        (classify_partition): Update call to above function.

        gcc/testsuite
        * gcc.dg/tree-ssa/pr82574.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr82574.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-loop-distribution.c
>From gcc-bugs-return-578995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 15:59:44 2017
Return-Path: <gcc-bugs-return-578995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53934 invoked by alias); 18 Oct 2017 15:59: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 53852 invoked by uid 48); 18 Oct 2017 15:59:39 -0000
From: "etienne_lorrain at yahoo dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82264] [6 Regression] ICE in vn_phi_lookup at gcc/tree-ssa-sccvn.c:3125
Date: Wed, 18 Oct 2017 15: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: 7.1.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: etienne_lorrain at yahoo dot fr
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82264-4-HsoOmrFcMm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82264-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82264-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02055.txt.bz2
Content-length: 201

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82264

--- Comment #6 from etienne_lorrain at yahoo dot fr ---
fixed for my testcase (tested gcc version 7.2.1 20171012), can be closed.
Thanks, Etienne.
>From gcc-bugs-return-578996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:03:57 2017
Return-Path: <gcc-bugs-return-578996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65391 invoked by alias); 18 Oct 2017 16:03: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 65302 invoked by uid 48); 18 Oct 2017 16:03:49 -0000
From: "zeratul976 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/50169] [DR 2141] "new struct X {{}};" incorrectly treated as an invalid struct-definition
Date: Wed, 18 Oct 2017 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: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zeratul976 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: cc
Message-ID: <bug-50169-4-bhEEnjlnks@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-50169-4@http.gcc.gnu.org/bugzilla/>
References: <bug-50169-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02056.txt.bz2
Content-length: 527

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50169

Nathan Ridge <zeratul976 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zeratul976 at hotmail dot com

--- Comment #6 from Nathan Ridge <zeratul976 at hotmail dot com> ---
Here is another test case that MSVC accepts but GCC rejects:

struct A {};
struct A* b = (1 == 1) ? new struct A : new struct A;
>From gcc-bugs-return-578997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:10:51 2017
Return-Path: <gcc-bugs-return-578997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79623 invoked by alias); 18 Oct 2017 16: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 79500 invoked by uid 48); 18 Oct 2017 16:10:37 -0000
From: "mukesh.kapoor at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82235] Copy ctor is not found for copying array of an object when it's marked explicit
Date: Wed, 18 Oct 2017 16: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mukesh.kapoor at oracle 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-82235-4-Awgdk9kZ9O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82235-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82235-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02057.txt.bz2
Content-length: 472

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82235

Mukesh Kapoor <mukesh.kapoor at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mukesh.kapoor at oracle dot com

--- Comment #1 from Mukesh Kapoor <mukesh.kapoor at oracle dot com> ---
The problem occurs only when initializing arrays.
I am working on this.
>From gcc-bugs-return-578998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:18:18 2017
Return-Path: <gcc-bugs-return-578998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94316 invoked by alias); 18 Oct 2017 16:18: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 94265 invoked by uid 48); 18 Oct 2017 16:18:14 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 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: unknown
X-Bugzilla-Keywords: 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: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-4vAQMMBZ83@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02058.txt.bz2
Content-length: 279

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> ---
You cannot do that if you do not know what foo() does (it could for
example contain another volatile asm).  But yes, the code as written
is not so great.
>From gcc-bugs-return-578999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:31:16 2017
Return-Path: <gcc-bugs-return-578999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63859 invoked by alias); 18 Oct 2017 16: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 63799 invoked by uid 48); 18 Oct 2017 16:31:08 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82605] New: ICE in insert_parameter_exprs, at fortran/decl.c:3154
Date: Wed, 18 Oct 2017 16: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: 8.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-82605-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02059.txt.bz2
Content-length: 1615

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82605

            Bug ID: 82605
           Summary: ICE in insert_parameter_exprs, at fortran/decl.c:3154
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

With a missing attribute allocatable or pointer :


$ cat z1.f90
program p
   type t(a, b)
      integer, kind :: a
      integer, len :: b
      real(a) :: r(b)
   end type
   type(t(8, :)) :: x
   real(x%a) :: y
end


$ gfortran-8-20171015 -c z1.f90
z1.f90:9:0:

 end

internal compiler error: Segmentation fault
0xb5a08f crash_signal
        ../../gcc/toplev.c:326
0x677a7c insert_parameter_exprs
        ../../gcc/fortran/decl.c:3154
0x693c49 gfc_traverse_expr(gfc_expr*, gfc_symbol*, bool (*)(gfc_expr*,
gfc_symbol*, int*), int)
        ../../gcc/fortran/expr.c:4636
0x73c8d2 structure_alloc_comps
        ../../gcc/fortran/trans-array.c:9041
0x73df30 gfc_allocate_pdt_comp(gfc_symbol*, tree_node*, int,
gfc_actual_arglist*)
        ../../gcc/fortran/trans-array.c:9301
0x751a7f gfc_trans_deferred_vars(gfc_symbol*, gfc_wrapped_block*)
        ../../gcc/fortran/trans-decl.c:4300
0x7540c3 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6525
0x6e6580 translate_all_program_units
        ../../gcc/fortran/parse.c:6088
0x6e6580 gfc_parse_file()
        ../../gcc/fortran/parse.c:6291
0x72a6bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-579000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:32:24 2017
Return-Path: <gcc-bugs-return-579000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65925 invoked by alias); 18 Oct 2017 16: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 65838 invoked by uid 48); 18 Oct 2017 16:32:19 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 16: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: unknown
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-FcD6rDykZy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02060.txt.bz2
Content-length: 264

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #10 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Yes, and moreover foo() could access non-volatile memory.
And only a memory clobber can prevent the compiler from
using cached values.
>From gcc-bugs-return-579001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:34:48 2017
Return-Path: <gcc-bugs-return-579001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72171 invoked by alias); 18 Oct 2017 16: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 72147 invoked by uid 48); 18 Oct 2017 16:34:44 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82606] New: ICE in gfc_extract_int, at fortran/expr.c:641
Date: Wed, 18 Oct 2017 16:34: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.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-82606-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02061.txt.bz2
Content-length: 1667

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606

            Bug ID: 82606
           Summary: ICE in gfc_extract_int, at fortran/expr.c:641
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

With reversed declaration order :


$ cat z1.f90
program p
   type t(a, b)
      integer, len :: b
      integer, kind :: a
      real(a) :: r(b)
   end type
   type(t(8, :)), allocatable :: x
   real(x%a) :: y
end



$ gfortran-8-20171015 -c z1.f90
f951: internal compiler error: Segmentation fault
0xb5a08f crash_signal
        ../../gcc/toplev.c:326
0x68e96d gfc_extract_int(gfc_expr*, int*, int)
        ../../gcc/fortran/expr.c:641
0x67980d gfc_match_kind_spec(gfc_typespec*, bool)
        ../../gcc/fortran/decl.c:2754
0x67faa2 gfc_match_decl_type_spec(gfc_typespec*, int)
        ../../gcc/fortran/decl.c:4053
0x68115c gfc_match_data_decl()
        ../../gcc/fortran/decl.c:5605
0x6dbac9 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6df17e match_word
        ../../gcc/fortran/parse.c:376
0x6df17e decode_statement
        ../../gcc/fortran/parse.c:376
0x6e0fb4 next_free
        ../../gcc/fortran/parse.c:1225
0x6e0fb4 next_statement
        ../../gcc/fortran/parse.c:1457
0x6e289c parse_spec
        ../../gcc/fortran/parse.c:3831
0x6e4d93 parse_progunit
        ../../gcc/fortran/parse.c:5634
0x6e6354 gfc_parse_file()
        ../../gcc/fortran/parse.c:6174
0x72a6bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-579002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:36:02 2017
Return-Path: <gcc-bugs-return-579002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73783 invoked by alias); 18 Oct 2017 16:36: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 73740 invoked by uid 48); 18 Oct 2017 16:35:58 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641
Date: Wed, 18 Oct 2017 16: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:
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:
Message-ID: <bug-82606-4-MhK9I7AJj7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02062.txt.bz2
Content-length: 1332

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

BTW, with an invalid modification (--> fortran/decl.c:3244) :


$ cat z4.f90
program p
   type t(a, b, *)
      integer, kind :: a
      integer, len :: b
      real(a) :: r(b)
   end type
   type(t(8, 3)) :: x
   real(x%a) :: y
end


$ gfortran-8-20171015 -c z4.f90
f951: internal compiler error: Segmentation fault
0xb5a08f crash_signal
        ../../gcc/toplev.c:326
0x679fa3 gfc_get_pdt_instance(gfc_actual_arglist*, gfc_symbol**,
gfc_actual_arglist**)
        ../../gcc/fortran/decl.c:3244
0x680221 gfc_match_decl_type_spec(gfc_typespec*, int)
        ../../gcc/fortran/decl.c:3787
0x68115c gfc_match_data_decl()
        ../../gcc/fortran/decl.c:5605
0x6dbac9 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6df17e match_word
        ../../gcc/fortran/parse.c:376
0x6df17e decode_statement
        ../../gcc/fortran/parse.c:376
0x6e0fb4 next_free
        ../../gcc/fortran/parse.c:1225
0x6e0fb4 next_statement
        ../../gcc/fortran/parse.c:1457
0x6e289c parse_spec
        ../../gcc/fortran/parse.c:3831
0x6e4d93 parse_progunit
        ../../gcc/fortran/parse.c:5634
0x6e6354 gfc_parse_file()
        ../../gcc/fortran/parse.c:6174
0x72a6bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-579003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:40:12 2017
Return-Path: <gcc-bugs-return-579003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78518 invoked by alias); 18 Oct 2017 16:40: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 78453 invoked by uid 48); 18 Oct 2017 16:40:07 -0000
From: "i at jsteward dot moe" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82607] New: SPARC Linux: go frontend runs infinitely on 5.4.0, 6.4.0 and 7.2.0
Date: Wed, 18 Oct 2017 16:40: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: i at jsteward dot moe
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 attachments.created
Message-ID: <bug-82607-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02063.txt.bz2
Content-length: 2694

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82607

            Bug ID: 82607
           Summary: SPARC Linux: go frontend runs infinitely on 5.4.0,
                    6.4.0 and 7.2.0
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: i at jsteward dot moe
                CC: cmang at google dot com
  Target Milestone: ---

Created attachment 42396
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42396&action=edit
strace of `go-7 env`

The command go-{5,6,7} (for version 5.4.0, 6.4.0, 7.2.0) all run infinitely
even without any arguments passed (i.e. simply calling `go-7`) on sparc on
linux, and utilizes entire processor thread to 100%. The strace is attached.

I'm using Gentoo with Linux kernel 4.9.49 (Linux sparc 4.9.49-gentoo-r1 #2 SMP
Sat Oct 7 04:48:20 CST 2017 sparc64 sun4v UltraSparc T2 (Niagara2) GNU/Linux).
The userland is 32 bit if that matters. Below is `gccgo -v`.

$ gccgo -v
Using built-in specs.
COLLECT_GCC=/usr/sparc-unknown-linux-gnu/gcc-bin/7.2.0/gccgo
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/sparc-unknown-linux-gnu/7.2.0/lto-wrapper
Target: sparc-unknown-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-7.2.0/work/gcc-7.2.0/configure
--host=sparc-unknown-linux-gnu --build=sparc-unknown-linux-gnu --prefix=/usr
--bindir=/usr/sparc-unknown-linux-gnu/gcc-bin/7.2.0
--includedir=/usr/lib/gcc/sparc-unknown-linux-gnu/7.2.0/include
--datadir=/usr/share/gcc-data/sparc-unknown-linux-gnu/7.2.0
--mandir=/usr/share/gcc-data/sparc-unknown-linux-gnu/7.2.0/man
--infodir=/usr/share/gcc-data/sparc-unknown-linux-gnu/7.2.0/info
--with-gxx-include-dir=/usr/lib/gcc/sparc-unknown-linux-gnu/7.2.0/include/g++-v7
--with-python-dir=/share/gcc-data/sparc-unknown-linux-gnu/7.2.0/python
--enable-languages=c,c++,go,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 7.2.0 p1.1' --disable-esp --enable-libstdcxx-time
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --disable-multilib --disable-altivec --disable-fixed-point
--enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap
--disable-libssp --disable-libcilkrts --disable-libmpx --disable-vtable-verify
--disable-libvtv --enable-lto --without-isl --enable-libsanitizer
--disable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.2.0 (Gentoo 7.2.0 p1.1)
>From gcc-bugs-return-579004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:45:05 2017
Return-Path: <gcc-bugs-return-579004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78899 invoked by alias); 18 Oct 2017 16:45: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 78775 invoked by uid 55); 18 Oct 2017 16:45:00 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82556] [7/8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Wed, 18 Oct 2017 16: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: 8.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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82556-4-hHE1LX2Jxk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02064.txt.bz2
Content-length: 755

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

--- Comment #7 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Wed Oct 18 16:44:27 2017
New Revision: 253862

URL: https://gcc.gnu.org/viewcvs?rev=253862&root=gcc&view=rev
Log:
2017-10-18  Vladimir Makarov  <vmakarov@redhat.com>

        PR middle-end/82556
        * lra-constraints.c (curr_insn_transform): Use non-input operand
        instead of output one for matched reload.

2017-10-18  Vladimir Makarov  <vmakarov@redhat.com>

        PR middle-end/82556
        * gcc.target/i386/pr82556.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82556.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:48:36 2017
Return-Path: <gcc-bugs-return-579005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88003 invoked by alias); 18 Oct 2017 16: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 87929 invoked by uid 55); 18 Oct 2017 16:48:32 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82556] [7/8 Regression] internal compiler error in curr_insn_transform, at lra-constraints.c:4307
Date: Wed, 18 Oct 2017 16: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: 8.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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82556-4-XTlJoRkI5O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82556-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02065.txt.bz2
Content-length: 819

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556

--- Comment #8 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Wed Oct 18 16:47:38 2017
New Revision: 253863

URL: https://gcc.gnu.org/viewcvs?rev=253863&root=gcc&view=rev
Log:
2017-10-18  Vladimir Makarov  <vmakarov@redhat.com>

        PR middle-end/82556
        * lra-constraints.c (curr_insn_transform): Use non-input operand
        instead of output one for matched reload.

2017-10-18  Vladimir Makarov  <vmakarov@redhat.com>

        PR middle-end/82556
        * gcc.target/i386/pr82556.c: New.


Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr82556.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/lra-constraints.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 16:50:44 2017
Return-Path: <gcc-bugs-return-579006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95552 invoked by alias); 18 Oct 2017 16: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 95451 invoked by uid 48); 18 Oct 2017 16:50:39 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 16:50: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: 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: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-JV8faG1iXT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02066.txt.bz2
Content-length: 939

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #11 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #10)
> Yes, and moreover foo() could access non-volatile memory.
> And only a memory clobber can prevent the compiler from
> using cached values.

But you *want* the compiler to use cached values if it can.

It is valid for the compiler to move all of foo (or part of it) to
outside the asm's, if the compiler can see the body of foo, e.g.
with LTO or if it is defined in this translation unit.  That's what
makes this code not so super.  There should _not_ be a memory clobber
in these asm statements.  Memory clobbers do not prevent using cached
values, btw.; not in the general case, anyway.  A memory clobber says
"this asm may write to some memory, and I'm not saying what".  It does
not force things to live in memory, and it does do nothing to things
in registers.
>From gcc-bugs-return-579007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 17:11:37 2017
Return-Path: <gcc-bugs-return-579007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41949 invoked by alias); 18 Oct 2017 17: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 41732 invoked by uid 48); 18 Oct 2017 17:11:32 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82608] New: missing -Warray-bounds on an out-of-bounds VLA index
Date: Wed, 18 Oct 2017 17:11: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.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-82608-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02067.txt.bz2
Content-length: 944

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82608

            Bug ID: 82608
           Summary: missing -Warray-bounds on an out-of-bounds VLA index
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

GCC doesn't diagnose out-of-bounds indices into VLAs even in cases where it
could.  For instance, in the program below the upper bound of the VLA is at
most 32 while the index is greater.  This information is available in the VRP
pass and so it should be possible to detect this bug.

$ cat a.c && gcc -O2 -S -Wall -Warray-bounds -Wextra a.c
void sink (void*);

int f (unsigned n)
{
  if (n < 1 || n > 32)
    n = 32;

  char vla[n];

  sink (vla);

  return vla[97];   // missing -Warray-bounds
}
>From gcc-bugs-return-579008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 17:38:29 2017
Return-Path: <gcc-bugs-return-579008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66298 invoked by alias); 18 Oct 2017 17: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 65687 invoked by uid 48); 18 Oct 2017 17:38:22 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82605] ICE in insert_parameter_exprs, at fortran/decl.c:3154
Date: Wed, 18 Oct 2017 17: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: 8.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-82605-4-jIfrRt8WhQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82605-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82605-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02068.txt.bz2
Content-length: 568

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82605

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-18
                 CC|                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
>From gcc-bugs-return-579009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 17:39:08 2017
Return-Path: <gcc-bugs-return-579009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81628 invoked by alias); 18 Oct 2017 17:39: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 77354 invoked by uid 48); 18 Oct 2017 17:39:03 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641
Date: Wed, 18 Oct 2017 17: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: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: 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-82606-4-lqAnbJ0H0D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02069.txt.bz2
Content-length: 568

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-18
                 CC|                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
>From gcc-bugs-return-579010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 17:54:55 2017
Return-Path: <gcc-bugs-return-579010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105077 invoked by alias); 18 Oct 2017 17: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 104984 invoked by uid 55); 18 Oct 2017 17:54:50 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Wed, 18 Oct 2017 17:54: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-Z4pKLsTZuo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02070.txt.bz2
Content-length: 586

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Wed Oct 18 17:54:18 2017
New Revision: 253865

URL: https://gcc.gnu.org/viewcvs?rev=253865&root=gcc&view=rev
Log:
2017-10-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR libfortran/82233
        * gfortran.dg/execute_command_line_3.f90:  Remove unneeded output.
        Move test with wait=.false. before the last test.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/execute_command_line_3.f90
>From gcc-bugs-return-579011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 17:59:29 2017
Return-Path: <gcc-bugs-return-579011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111232 invoked by alias); 18 Oct 2017 17:59: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 111179 invoked by uid 48); 18 Oct 2017 17:59:25 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Wed, 18 Oct 2017 17:59: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-BkPrlEJYNb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02071.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #16 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #14)

> Removing the last
>    call execute_command_line(command , wait=.false., exitstat=i)
> or moving it before
>    call execute_command_line(command ,               exitstat=i, cmdstat=j)
> seems to workaround the issue for me.

I have done the latter in the commit just now. Hopefully, this
will the reduce the amount of noise in your test log.
>From gcc-bugs-return-579012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 18:08:47 2017
Return-Path: <gcc-bugs-return-579012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1687 invoked by alias); 18 Oct 2017 18: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 1621 invoked by uid 48); 18 Oct 2017 18:08:42 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82609] New: missing -Warrray-bounds on an argument in parentheses
Date: Wed, 18 Oct 2017 18: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: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82609-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02072.txt.bz2
Content-length: 1062

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82609

            Bug ID: 82609
           Summary: missing -Warrray-bounds on an argument in parentheses
           Product: gcc
           Version: 8.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: ---

While testing my C/C++ patch for pr82588 I noticed the following rather bizarre
bug where a -Warray-bound warning for an out-of-bounds index is suppressed by
enclosing the invalid array reference in parentheses.

$ cat a.c && gcc -O2 -S -Wall -Warray-bounds -Wextra -xc++ a.c
extern char a[2];
extern char b[2];

int f (void)
{
  return a[-1];   // -Warray-bounds (good)
}

int g (void)
{
  return (b[-1]);   // missing -Warray-bounds in C++ only
}


a.c: In function ‘int f()’:
a.c:6:14: warning: array subscript is below array bounds [-Warray-bounds]
   return a[-1];   // -Warray-bounds (good)
          ~~~~^
>From gcc-bugs-return-579013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 18:15:41 2017
Return-Path: <gcc-bugs-return-579013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19552 invoked by alias); 18 Oct 2017 18:15: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 19464 invoked by uid 48); 18 Oct 2017 18:15:36 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641
Date: Wed, 18 Oct 2017 18: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.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: 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-82606-4-IV1IFhkv41@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02073.txt.bz2
Content-length: 1008

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606

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 ---
Index: expr.c
===================================================================
--- expr.c      (revision 253587)
+++ expr.c      (working copy)
@@ -636,6 +636,9 @@ gfc_extract_int (gfc_expr *expr, int *result, int repo
           if (ref->u.c.component->attr.pdt_kind)
             expr = ref->u.c.component->initializer;
        }
+
+       if (!expr)
+         return true;
     }

   if (expr->expr_type != EXPR_CONSTANT)


% gfcx -c a.f90
a.f90:8:3:

    real(x%a) :: y
   1
Error: Unclassifiable statement at (1)
>From gcc-bugs-return-579014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 18:23:55 2017
Return-Path: <gcc-bugs-return-579014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21962 invoked by alias); 18 Oct 2017 18: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 15283 invoked by uid 48); 18 Oct 2017 18:23:51 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641
Date: Wed, 18 Oct 2017 18: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: 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:
Message-ID: <bug-82606-4-lel4sUq2EK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02074.txt.bz2
Content-length: 1458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606

--- Comment #4 from kargl at gcc dot gnu.org ---
(In reply to G. Steinmetz from comment #1)
> BTW, with an invalid modification (--> fortran/decl.c:3244) :
> 
> 
> $ cat z4.f90
> program p
>    type t(a, b, *)
>       integer, kind :: a
>       integer, len :: b
>       real(a) :: r(b)
>    end type
>    type(t(8, 3)) :: x
>    real(x%a) :: y
> end
> 
> 
> $ gfortran-8-20171015 -c z4.f90
> f951: internal compiler error: Segmentation fault
> 0xb5a08f crash_signal
>         ../../gcc/toplev.c:326
> 0x679fa3 gfc_get_pdt_instance(gfc_actual_arglist*, gfc_symbol**,
> gfc_actual_arglist**)

Index: decl.c
===================================================================
--- decl.c      (revision 253587)
+++ decl.c      (working copy)
@@ -3241,6 +3241,9 @@ gfc_get_pdt_instance (gfc_actual_arglist *param_list, 
        name_seen = true;
       param = type_param_name_list->sym;

+      if (!param)
+       goto error_return;
+
       c1 = gfc_find_component (pdt, param->name, false, true, NULL);
       if (!pdt->attr.use_assoc && !c1)
        {

 gfcx -c b.f90
b.f90:7:11:

    type(t(8, 3)) :: x
           1
Error: Invalid character in name at (1)
b.f90:8:10:

    real(x%a) :: y
          1
Error: Symbol 'x' at (1) has no IMPLICIT type
>From gcc-bugs-return-579015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 18:28:09 2017
Return-Path: <gcc-bugs-return-579015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126724 invoked by alias); 18 Oct 2017 18: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 119520 invoked by uid 48); 18 Oct 2017 18:28:04 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82606] ICE in gfc_extract_int, at fortran/expr.c:641
Date: Wed, 18 Oct 2017 18: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
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:
Message-ID: <bug-82606-4-2jA6guXurq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02075.txt.bz2
Content-length: 436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to G. Steinmetz from comment #0)

Mein lieber Steinmetz,

Würden sie bitte die Überschriften dieser Problembenachrichtigungen mit "PDT"
voranstellen und sie mit dem "Meta-Bug" PR82173 verknüpfen.

Vielen Dank, wie immer, für diese Benachrichtigungen :-)

Herzliche Grüße

Paul
>From gcc-bugs-return-579016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 18:36:19 2017
Return-Path: <gcc-bugs-return-579016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56404 invoked by alias); 18 Oct 2017 18:36: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 56290 invoked by uid 48); 18 Oct 2017 18:36:15 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82605] ICE in insert_parameter_exprs, at fortran/decl.c:3154
Date: Wed, 18 Oct 2017 18: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:
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-82605-4-YQeaf7EjpK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82605-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82605-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02076.txt.bz2
Content-length: 936

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82605

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #2 from kargl at gcc dot gnu.org ---
Index: expr.c
===================================================================
--- expr.c      (revision 253587)
+++ expr.c      (working copy)
@@ -4630,7 +4633,7 @@ gfc_traverse_expr (gfc_expr *expr, gfc_symbol *sym,
   gfc_constructor *c;
   int i;

-  if (!expr)
+  if (!expr || !sym)
     return false;

   if ((*func) (expr, sym, &f))

% gfcx -c c.f90
c.f90:5:12:

       real(a) :: r(b)
            1
Error: Constant expression required at (1)
>From gcc-bugs-return-579017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 19:04:28 2017
Return-Path: <gcc-bugs-return-579017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123768 invoked by alias); 18 Oct 2017 19:04: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 123666 invoked by uid 48); 18 Oct 2017 19:04:22 -0000
From: "eieio at google dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82478] Rejects valid access to private member type that should be allowed by friend
Date: Wed, 18 Oct 2017 19: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: 7.2.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eieio at google 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-82478-4-vJe07yA404@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82478-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02077.txt.bz2
Content-length: 958

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82478

--- Comment #5 from Corey Tabaka <eieio at google dot com> ---
>From what I can tell the standard is not very explicit about the access rules
in the argument list of a partial specialization specifically. However, there
are examples in the spec that demonstrate friend access does apply when
evaluating template arguments in general.

Here's the example from 11.0.6:

class A {
   typedef int I;
   I f();
   friend I g(I);
   static I x;
   template<int> struct Q;
   template<int> friend struct R;
   protected:
   struct B { };
};

A::I A::f() { return 0; }
A::I g(A::I p = A::x);
A::I g(A::I p) { return 0; }
A::I A::x = 0;
template<A::I> struct A::Q { };
template<A::I> struct R { };
struct D: A::B, A { };

Considering that "template<A::I> struct R" is allowed it seems reasonable that
"template<> struct X<A::I>" should also be allowed if X is a friend of A as
well.

What do you think?
>From gcc-bugs-return-579018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 20:11:44 2017
Return-Path: <gcc-bugs-return-579018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7661 invoked by alias); 18 Oct 2017 20: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 5032 invoked by uid 48); 18 Oct 2017 20:11:38 -0000
From: "mukesh.kapoor at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82307] unscoped enum-base incorrect cast
Date: Wed, 18 Oct 2017 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: 6.4.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mukesh.kapoor at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mukesh.kapoor at oracle dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82307-4-i0AcHeJvIC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82307-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02078.txt.bz2
Content-length: 198

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82307

--- Comment #6 from Mukesh Kapoor <mukesh.kapoor at oracle dot com> ---
Submitted fix: https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00524.html
>From gcc-bugs-return-579019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 20:19:43 2017
Return-Path: <gcc-bugs-return-579019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73230 invoked by alias); 18 Oct 2017 20:19: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 71175 invoked by uid 55); 18 Oct 2017 20:19:39 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Wed, 18 Oct 2017 20: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.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uros at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82580-4-kWGLAOcKys@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02079.txt.bz2
Content-length: 1087

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #12 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Oct 18 20:19:05 2017
New Revision: 253867

URL: https://gcc.gnu.org/viewcvs?rev=253867&root=gcc&view=rev
Log:
        PR target/82580
        * config/i386/i386-modes.def (CCGZ): New CC mode.
        * config/i386/i386.md (sub<mode>3_carry_ccgz): New insn pattern.
        * config/i386/predicates.md (ix86_comparison_operator):
        Handle CCGZmode.
        * config/i386/i386.c (ix86_expand_branch) <case E_TImode>:
        Emulate LE, LEU, GT, GTU, LT, LTU, GE and GEU double-word comparisons
        with double-word subtraction.
        (put_condition_code): Handle CCGZmode.

testsuite/ChangeLog:

        PR target/82580
        * gcc.target/i386/pr82580.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82580.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386-modes.def
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
    trunk/gcc/config/i386/predicates.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 20:27:51 2017
Return-Path: <gcc-bugs-return-579020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18241 invoked by alias); 18 Oct 2017 20: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 17832 invoked by uid 48); 18 Oct 2017 20:27:46 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82609] missing -Warrray-bounds on an argument in parentheses
Date: Wed, 18 Oct 2017 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: 8.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: manu at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-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-82609-4-9ZE5GxFjO5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82609-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02080.txt.bz2
Content-length: 468

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82609

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Almost surely this is PR74762. Or perhaps PR25733
>From gcc-bugs-return-579021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 20:33:10 2017
Return-Path: <gcc-bugs-return-579021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30135 invoked by alias); 18 Oct 2017 20:33: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 30064 invoked by uid 55); 18 Oct 2017 20:33:05 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79795] [6/7/8 Regression] Fortran ICE in resolve_symbol starting with r163221
Date: Wed, 18 Oct 2017 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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-79795-4-9tqOty7SjF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02081.txt.bz2
Content-length: 729

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79795

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Wed Oct 18 20:32:34 2017
New Revision: 253868

URL: https://gcc.gnu.org/viewcvs?rev=253868&root=gcc&view=rev
Log:
2017-10-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/79795
        * resolve.c (resovle_symbol): Change gcc_assert to
        sensible error message.

2017-10-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/79795
        * gfortran.dg/assumed_size_2.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/assumed_size_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 20:34:35 2017
Return-Path: <gcc-bugs-return-579022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31513 invoked by alias); 18 Oct 2017 20: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 31418 invoked by uid 48); 18 Oct 2017 20:34:31 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82606] [PDT] ICE in gfc_extract_int, at fortran/expr.c:641
Date: Wed, 18 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.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: blocked short_desc
Message-ID: <bug-82606-4-H3giAEgxtw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82606-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02082.txt.bz2
Content-length: 747

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82606

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |82173
            Summary|ICE in gfc_extract_int, at  |[PDT] ICE in
                   |fortran/expr.c:641          |gfc_extract_int, at
                   |                            |fortran/expr.c:641

--- Comment #6 from G. Steinmetz <gscfq@t-online.de> ---
(In reply to Paul Thomas from comment #5)

Thanks for the hint, Paul. Done.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors
>From gcc-bugs-return-579023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 21:08:54 2017
Return-Path: <gcc-bugs-return-579023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48636 invoked by alias); 18 Oct 2017 21: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 46588 invoked by uid 55); 18 Oct 2017 21:08:50 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 21: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: unknown
X-Bugzilla-Keywords: 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: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-WGajnMdRKr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02083.txt.bz2
Content-length: 609

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #12 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Wed Oct 18 21:08:18 2017
New Revision: 253869

URL: https://gcc.gnu.org/viewcvs?rev=253869&root=gcc&view=rev
Log:
ira: volatile asm's are not moveable (PR82602)

A volatile asm statement can not be moved (relative to other volatile
asm, etc.), but IRA would do it nevertheless.  This patch fixes it.


        PR rtl-optimization/82602
        * ira.c (rtx_moveable_p): Return false for volatile asm.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ira.c
>From gcc-bugs-return-579024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 21:13:53 2017
Return-Path: <gcc-bugs-return-579024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60258 invoked by alias); 18 Oct 2017 21:13: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 58171 invoked by uid 55); 18 Oct 2017 21:13:49 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 21: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: unknown
X-Bugzilla-Keywords: 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: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-Yr41zOawbz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02084.txt.bz2
Content-length: 641

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Wed Oct 18 21:13:16 2017
New Revision: 253870

URL: https://gcc.gnu.org/viewcvs?rev=253870&root=gcc&view=rev
Log:
ira: volatile asm's are not moveable (PR82602)

A volatile asm statement can not be moved (relative to other volatile
asm, etc.), but IRA would do it nevertheless.  This patch fixes it.


        PR rtl-optimization/82602
        * ira.c (rtx_moveable_p): Return false for volatile asm.

Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/ira.c
>From gcc-bugs-return-579025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 21:16:06 2017
Return-Path: <gcc-bugs-return-579025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40696 invoked by alias); 18 Oct 2017 21:16: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 40601 invoked by uid 55); 18 Oct 2017 21:16:01 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 21: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: unknown
X-Bugzilla-Keywords: 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: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82602-4-zCOVA5vwvj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02085.txt.bz2
Content-length: 641

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #14 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Wed Oct 18 21:15:24 2017
New Revision: 253871

URL: https://gcc.gnu.org/viewcvs?rev=253871&root=gcc&view=rev
Log:
ira: volatile asm's are not moveable (PR82602)

A volatile asm statement can not be moved (relative to other volatile
asm, etc.), but IRA would do it nevertheless.  This patch fixes it.


        PR rtl-optimization/82602
        * ira.c (rtx_moveable_p): Return false for volatile asm.

Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/ira.c
>From gcc-bugs-return-579026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 21:17:26 2017
Return-Path: <gcc-bugs-return-579026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42934 invoked by alias); 18 Oct 2017 21:17: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 42801 invoked by uid 48); 18 Oct 2017 21:17:22 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Wed, 18 Oct 2017 21: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: unknown
X-Bugzilla-Keywords: ra
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: bug_status resolution
Message-ID: <bug-82602-4-AAVw80jkVR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02086.txt.bz2
Content-length: 465

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Fixed on all open release branches.
>From gcc-bugs-return-579027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 21:30:31 2017
Return-Path: <gcc-bugs-return-579027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115296 invoked by alias); 18 Oct 2017 21:30: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 115226 invoked by uid 55); 18 Oct 2017 21:30:25 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82567] [6/7/8] gfortran takes a long time to compile a simple implied-do with -Optimization.
Date: Wed, 18 Oct 2017 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: compile-time-hog, missed-optimization
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82567-4-13unTipIZ1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82567-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02087.txt.bz2
Content-length: 889

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82567

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Wed Oct 18 21:29:37 2017
New Revision: 253872

URL: https://gcc.gnu.org/viewcvs?rev=253872&root=gcc&view=rev
Log:
2017-10-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/82567
        * frontend-passes.c (combine_array_constructor): If an array
        constructor is all constants and has more elements than a small
        constant, don't convert a*[b,c] to [a*b,a*c] to reduce compilation
        times.

2017-10-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/82567
        * gfortran.dg/array_constructor_51.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/array_constructor_51.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/frontend-passes.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 21:39:11 2017
Return-Path: <gcc-bugs-return-579028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1763 invoked by alias); 18 Oct 2017 21: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 1744 invoked by uid 48); 18 Oct 2017 21:39:06 -0000
From: "fxcoudert at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82610] New: Bootstrap fails on macOS 10.13 because of abort redefinition
Date: Wed, 18 Oct 2017 21:39: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fxcoudert at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82610-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02088.txt.bz2
Content-length: 1336

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610

            Bug ID: 82610
           Summary: Bootstrap fails on macOS 10.13 because of abort
                    redefinition
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org
  Target Milestone: ---

At some point we should simply stop redefining abort in system.h, since it
creates endless issues with system headers :(

Bootstrap currently fails on darwin because gcc/unique-ptr-tests.cc includes
include/unique-ptr.h, which includes <memory>, which uses abort internally...
while gcc/system.h (which has been included before those) redefines abort to
fancy_abort.

Fix is to include <memory> in system.h:

Index: gcc/system.h
===================================================================
--- gcc/system.h        (revision 253855)
+++ gcc/system.h        (working copy)
@@ -233,6 +233,7 @@ extern int errno;
 # include <vector>
 #endif
 # include <cstring>
+# include <memory>
 # include <new>
 # include <utility>
 #endif
>From gcc-bugs-return-579029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 21:53:17 2017
Return-Path: <gcc-bugs-return-579029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4070 invoked by alias); 18 Oct 2017 21: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 4038 invoked by uid 48); 18 Oct 2017 21:53:13 -0000
From: "jetanner at usc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82611] New: Incorrect warning for redundant capture in lambda
Date: Wed, 18 Oct 2017 21: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jetanner at usc 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-82611-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02089.txt.bz2
Content-length: 1041

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82611

            Bug ID: 82611
           Summary: Incorrect warning for redundant capture in lambda
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jetanner at usc dot edu
  Target Milestone: ---

test.cpp:
int main()
{
    int i;
    auto a = [=, i](){};
}

Warning produced:
test.cpp: In function ‘int main()’:
test.cpp:4:15: warning: explicit by-copy capture of ‘i’ redundant with by-copy
capture default
  auto a = [=, i](){};

variable i is not captured with the '=' because i is not used inside the
lambda, so capturing it explicitly is necessary. However, gcc still reports a
redundant capture.

My use-case is that I capture a std::shared_ptr to prevent it from going out of
scope and deconstructing, even though it is not used directly inside my lambda.
>From gcc-bugs-return-579030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 22:35:35 2017
Return-Path: <gcc-bugs-return-579030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66554 invoked by alias); 18 Oct 2017 22:35: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 66497 invoked by uid 48); 18 Oct 2017 22:35:31 -0000
From: "chrisj at rtems dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 18 Oct 2017 22: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: 7.2.0
X-Bugzilla-Keywords: build, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chrisj at rtems 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-81797-4-eEYYwfDUX4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02090.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #24 from Chris Johns <chrisj at rtems dot org> ---
I would welcome a patch attached to this ticket. 

My efforts with .NOTPARALLEL cannot get RTEMS's cross-compiled tools to build.
I have seen a build work however most fail with a range of headers that can
vary from build to build. I can see the massive `ln -s` happening and after the
build fails and stops all the links are present.
>From gcc-bugs-return-579031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 22:48:50 2017
Return-Path: <gcc-bugs-return-579031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93529 invoked by alias); 18 Oct 2017 22:48: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 93470 invoked by uid 48); 18 Oct 2017 22:48:46 -0000
From: "mukesh.kapoor at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80955] Macros expanded in definition of user-defined literals
Date: Wed, 18 Oct 2017 22: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.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mukesh.kapoor 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: cc
Message-ID: <bug-80955-4-5MU4kVVsQe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80955-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80955-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02091.txt.bz2
Content-length: 451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80955

Mukesh Kapoor <mukesh.kapoor at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mukesh.kapoor at oracle dot com

--- Comment #1 from Mukesh Kapoor <mukesh.kapoor at oracle dot com> ---
Incorrect parsing of string.
I am working on this.
>From gcc-bugs-return-579032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 22:53:05 2017
Return-Path: <gcc-bugs-return-579032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105635 invoked by alias); 18 Oct 2017 22: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 105593 invoked by uid 48); 18 Oct 2017 22:53:01 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Wed, 18 Oct 2017 22: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.0
X-Bugzilla-Keywords:
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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82575-4-BuAuG5RJZ1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02092.txt.bz2
Content-length: 460

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Created attachment 42397
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42397&action=edit
proposed patch

I hadn't debugged past grepping for "debugobj" when I created the bugzilla. 
Now that I've looked further, it seems easy to fix.  At least on linux the
attached patch cures the problem and should work with other ELF linkers.
>From gcc-bugs-return-579033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 23:31:45 2017
Return-Path: <gcc-bugs-return-579033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39066 invoked by alias); 18 Oct 2017 23:31: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 35194 invoked by uid 48); 18 Oct 2017 23:31:40 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/60440] Bogus -Wreturn-type warning after error
Date: Wed, 18 Oct 2017 23: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.0
X-Bugzilla-Keywords: diagnostic, error-recovery
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-60440-4-g7deK2i0uX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60440-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60440-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02093.txt.bz2
Content-length: 457

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60440

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
cc-ing Martin Liska since he made -Wreturn-type enabled by default now
>From gcc-bugs-return-579034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 23:35:41 2017
Return-Path: <gcc-bugs-return-579034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76946 invoked by alias); 18 Oct 2017 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 76875 invoked by uid 48); 18 Oct 2017 23:35:37 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/67629] bogus -Wreturn-type in a function with tautological if-else
Date: Wed, 18 Oct 2017 23: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:
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-67629-4-tsQGdmR93N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67629-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67629-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02094.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67629

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
cc-ing Martin Liska since he made -Wreturn-type enabled by default now.
>From gcc-bugs-return-579035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 23:39:15 2017
Return-Path: <gcc-bugs-return-579035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79062 invoked by alias); 18 Oct 2017 23: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 78997 invoked by uid 48); 18 Oct 2017 23:39:11 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/55189] enable -Wreturn-type by default
Date: Wed, 18 Oct 2017 23: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: 4.6.2
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-55189-4-brdSjbSoCD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55189-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55189-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02095.txt.bz2
Content-length: 527

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org

--- Comment #11 from Eric Gallager <egallager at gcc dot gnu.org> ---
cc-ing Martin Liska because I think he fixed this recently
>From gcc-bugs-return-579036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 18 23:42:12 2017
Return-Path: <gcc-bugs-return-579036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93500 invoked by alias); 18 Oct 2017 23:42: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 93455 invoked by uid 48); 18 Oct 2017 23:42:09 -0000
From: "i at jsteward dot moe" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82607] SPARC Linux: go frontend runs infinitely on 5.4.0, 6.4.0 and 7.2.0
Date: Wed, 18 Oct 2017 23: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: i at jsteward dot moe
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-82607-4-SgfpfR5r9u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82607-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82607-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02096.txt.bz2
Content-length: 182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82607

--- Comment #1 from i at jsteward dot moe ---
Seems like a simple Hello world directly compiled with gccgo will work as
normal.
>From gcc-bugs-return-579037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 00:21:11 2017
Return-Path: <gcc-bugs-return-579037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107313 invoked by alias); 19 Oct 2017 00:21: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 107246 invoked by uid 48); 19 Oct 2017 00:21:06 -0000
From: "howarth.at.gcc at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Thu, 19 Oct 2017 00: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: 7.2.0
X-Bugzilla-Keywords: build, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: howarth.at.gcc 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-81797-4-in5YnrWqxK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02097.txt.bz2
Content-length: 777

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #25 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
(In reply to Chris Johns from comment #24)
> I would welcome a patch attached to this ticket. 
> 
> My efforts with .NOTPARALLEL cannot get RTEMS's cross-compiled tools to
> build. I have seen a build work however most fail with a range of headers
> that can vary from build to build. I can see the massive `ln -s` happening
> and after the build fails and stops all the links are present.

Doesn't cross-compiles set GLIBCXX_HOSTED_FALSE such that install-data-local is
set to install-freestanding-headers instead of install-headers in
libstdc++-v3/include/Makefile.in? Perhaps you need...

.NOTPARALLEL: install-freestanding-headers

as well?
>From gcc-bugs-return-579038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 00:30:44 2017
Return-Path: <gcc-bugs-return-579038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29556 invoked by alias); 19 Oct 2017 00: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 29437 invoked by uid 48); 19 Oct 2017 00:30:34 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Thu, 19 Oct 2017 00:30: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.2.0
X-Bugzilla-Keywords: build, patch
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-81797-4-OiKCi7ULCi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02098.txt.bz2
Content-length: 394

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #26 from Jonathan Wakely <redi at gcc dot gnu.org> ---
No, cross-compiles are not automatically freestanding, and .NOTPARALLEL ignores
any prerequisites, so it makes no difference whether you say

.NOTPARALLEL: install-freestanding-headers

or

.NOTPARALLEL: install-headers

or

.NOTPARALLEL:

they all have the same effect.
>From gcc-bugs-return-579039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 00:34:31 2017
Return-Path: <gcc-bugs-return-579039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44234 invoked by alias); 19 Oct 2017 00: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 44153 invoked by uid 48); 19 Oct 2017 00:34:27 -0000
From: "chrisj at rtems dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Thu, 19 Oct 2017 00: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: 7.2.0
X-Bugzilla-Keywords: build, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chrisj at rtems 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-81797-4-1MOwOubb3e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02099.txt.bz2
Content-length: 1198

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #27 from Chris Johns <chrisj at rtems dot org> ---
(In reply to Jack Howarth from comment #25)
> (In reply to Chris Johns from comment #24)
> Doesn't cross-compiles set GLIBCXX_HOSTED_FALSE such that install-data-local
> is set to install-freestanding-headers instead of install-headers in
> libstdc++-v3/include/Makefile.in? Perhaps you need...
> 
> .NOTPARALLEL: install-freestanding-headers
> 
> as well?

I tried a number of options when looking and also I thought all that was needed
was .NOTPARALLEL:. I will boot up the Mac and take look soon.

I looked over the include's Makefile.in and I am still a little confused about
the race-condition being patched with .NOTPARALLEL. I could not see one, which
is not unusual with this type of issue. The failure for me is always in a
header the massive 'ln -s' as I stated before and this is part of the 'all'
target being invoked at this point in time yet it is a C++ file being built by
some other Makefile that is seeing the file not present and when I inspect the
directory after the failure the link is present. Is the race condition or
failure somewhere else?
>From gcc-bugs-return-579040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 01:02:52 2017
Return-Path: <gcc-bugs-return-579040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34819 invoked by alias); 19 Oct 2017 01: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 34766 invoked by uid 48); 19 Oct 2017 01:02:48 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Thu, 19 Oct 2017 01: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.0
X-Bugzilla-Keywords:
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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82575-4-2dHv8ha4uX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02100.txt.bz2
Content-length: 179

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
Patch now bootstrapped and regression tested powerpc64le-linux.
>From gcc-bugs-return-579041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 01:07:26 2017
Return-Path: <gcc-bugs-return-579041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103573 invoked by alias); 19 Oct 2017 01: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 98967 invoked by uid 48); 19 Oct 2017 01:07:22 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/81890] asm memory constraints are difficult and not well documented
Date: Thu, 19 Oct 2017 01:07: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.0
X-Bugzilla-Keywords: documentation, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-81890-4-jCysJSDP7f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81890-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81890-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02101.txt.bz2
Content-length: 585

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81890

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Fixed with git b184df229c (svn r253700) and git a486310e37 (svn r253701). 
Forgot to add the bug number to the ChangeLog.
>From gcc-bugs-return-579042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 01:48:35 2017
Return-Path: <gcc-bugs-return-579042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74970 invoked by alias); 19 Oct 2017 01:48: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 74936 invoked by uid 48); 19 Oct 2017 01:48:31 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82585] missing -Warray-bounds calling strlen on a member at out-of-bounds offfset
Date: Thu, 19 Oct 2017 01: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: 8.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-82585-4-HWezMFQyUf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82585-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82585-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02102.txt.bz2
Content-length: 923

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82585

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Probably one form is folded to &a[4] and p->a + 4 is not folded to &p->a[4].

That's right.  (a + 4) is MEM_REF (char[3], ADDR_EXPR (char[3], VAR_DECL (a)))
and (p->a + 4 is) MEM_REF (char[3], SSA_NAME (p), 4).  The latter makes it
impossible to tell the invalid (p->a + 10) from the valid (p[1].a + 2).

But maybe it's not completely hopeless.  Even if we can't tell whether the
result of the pointer addition is derived from a pointer to the same subobject,
it should be possible to determine whether or not the resulting pointer points
to the same subobject (or at least one of the same type) as the original
pointer.  That doesn't detect all kinds of problems but it detects the worst
kind: using a pointer to T to access a subobject of type U.
>From gcc-bugs-return-579043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 02:31:25 2017
Return-Path: <gcc-bugs-return-579043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82789 invoked by alias); 19 Oct 2017 02:31: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 82738 invoked by uid 48); 19 Oct 2017 02:31:21 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds
Date: Thu, 19 Oct 2017 02: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: 4.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: cc short_desc
Message-ID: <bug-56456-4-ZvsBSmYTQb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02103.txt.bz2
Content-length: 830

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org
            Summary|[meta-bug] bogus/missing    |[meta-bug] bogus/missing
                   |warning (when inlining or   |-Warray-bounds
                   |unrolling): "array          |
                   |subscript is above array    |
                   |bounds" [-Warray-bounds]    |

--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Now that this bug has become a tracker for both false positives and false
negatives the inlining/unrolling part is not relevant anymore so adjusting the
Summary.
>From gcc-bugs-return-579044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 03:18:04 2017
Return-Path: <gcc-bugs-return-579044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61041 invoked by alias); 19 Oct 2017 03: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 60890 invoked by uid 48); 19 Oct 2017 03:17:56 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82612] New: missing -Warray-bounds on a non-zero offset from the address of a non-array object
Date: Thu, 19 Oct 2017 03: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: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82612-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02104.txt.bz2
Content-length: 1022

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82612

            Bug ID: 82612
           Summary: missing -Warray-bounds on a non-zero offset from the
                    address of a non-array object
           Product: gcc
           Version: 8.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: ---

More testing of my -Warray-bounds patch for pr82588 et al. exposed a missing
warning on the following corner case (and similar cases like it).

$ cat a.c && gcc -O2 -S -Warray-bounds a.c
int g (int i)
{
  int *p = &i;

  return p[2];
}

To detect this the implementation could check the operand of the address-of
operator and trigger if it's a non-array object.  It should even be possible to
detect the out-of-bounds index in the following:

int a[3];
int b[5];

int f (int i)
{
  int *p = i < 0 ? a : b;

  return p[7];
}
>From gcc-bugs-return-579045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 05:38:40 2017
Return-Path: <gcc-bugs-return-579045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33853 invoked by alias); 19 Oct 2017 05:38: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 33776 invoked by uid 48); 19 Oct 2017 05:38:35 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Thu, 19 Oct 2017 05: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: 7.2.0
X-Bugzilla-Keywords: build, patch
X-Bugzilla-Severity: normal
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-81797-4-zt3WJwZNB6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02105.txt.bz2
Content-length: 1330

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #28 from Marc Glisse <glisse at gcc dot gnu.org> ---
I am also failing to see how this can happen without a bug in make or macos.
The failing command is the recipe for ${pch1b_output}. That rule has
${allstamped} as a dependency, which includes stamp-bits-sup, whose recipe does
link the header. At least, disabling precompiled headers should work around it
(--disable-libstdcxx-pch IIRC)

You could always remove the @ sign on the $(STAMP) lines (and the ones before)
so it gets printed in the output, maybe that would show something suspicious.
If you are building in a clean directory (the headers aren't there yet), you
could also remove '-' at the beginning of the $(LN_S) lines, to make sure that
no error occurs. Running make in verbose mode might also hint at something.
Maybe print the date in the pch rule (or use the creation date of
${pch1_output_builddir}), and compare it to the creation date of the symlinks,
etc.

If the issue was with make, you could try replacing
all-local: ${allstamped} ${allcreated}

with
all-local:
        $(MAKE) ${allstamped}
        $(MAKE) ${allcreated}

Generally, I don't understand why we are linking sources in the build directory
instead of passing -I flags pointing directly to the source directory.
>From gcc-bugs-return-579046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:11:06 2017
Return-Path: <gcc-bugs-return-579046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122286 invoked by alias); 19 Oct 2017 07: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 122192 invoked by uid 48); 19 Oct 2017 07:11:02 -0000
From: "david at westcontrol dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82602] IRA considers volatile asm to be moveable
Date: Thu, 19 Oct 2017 07: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: unknown
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: david at westcontrol dot com
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-82602-4-K9j1ut1Ubm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82602-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02106.txt.bz2
Content-length: 1917

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #16 from David Brown <david at westcontrol dot com> ---
(In reply to Xi Ruoyao from comment #8)
> (In reply to David Brown from comment #7)
> 
> > There is no intention to make "asm volatile" a barrier, as you get with a
> > memory clobber.  The intention is to stop it moving past other volatile code
> > (such as other asm volatiles, and volatile memory accesses).  An "asm
> > volatile" statement should still be moveable across other "normal" code.
> 
> I see... But then your code in the maillist
> 

Yes, of course if the compiler knows the contents of foo() (from LTO, or from a
definition in the same file), then it can re-arrange any non-volatile
statements there.  That is a separate issue, and a known issue.  For most
purposes this can be handled just by using memory clobbers or appropriate use
of volatile variables.  For more advanced uses, fake dependencies in asm
statements can also be used.  This is all known territory.

In order to get correct code, you need control of particular memory accesses
within a critical region like this - execution and calculations don't matter,
nor do local variables.  That's why memory clobbers are nice - they may lead to
some sub-optimal code, but they are an easy way to get it correct.

For the best possible code, you may want control of calculations and execution
as well - in particular, you want to minimise the processor time within the
critical region.  That is a lot harder, and there is currently no way to
specify things fully (though with careful use of asm dependencies, you can get
close).  But that is another issue entirely, and it is a matter of code
efficiency rather than code correctness.

However, correctness here depends on the compiler honouring the ordering of
volatile asm statements with respect to other volatile code, and this patch
fixes that.
>From gcc-bugs-return-579047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:12:52 2017
Return-Path: <gcc-bugs-return-579047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125035 invoked by alias); 19 Oct 2017 07:12: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 124935 invoked by uid 48); 19 Oct 2017 07: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/82604] [8 Regression] SPEC CPU2006 410.bwaves ~50% performance regression with trunk@253679 when ftree-parallelize-loops is used
Date: Thu, 19 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords: missed-optimization
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cc target_milestone
Message-ID: <bug-82604-4-9WbPnfAvlU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82604-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82604-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02107.txt.bz2
Content-length: 1002

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82604

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
                 CC|                            |amker at gcc dot gnu.org,
                   |                            |matz at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |8.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I suppose loop distribution inserted a version copy turning this into a
non-perfect nest for outer loops and thus disabling autopar there.

What probably makes sense is to run autoparallelization earlier or to try
-fparallelize-loops-all (using ISL dependence analysis).

Just guesses of course, autopar isn't one of our most elaborate passes...
>From gcc-bugs-return-579048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:12:59 2017
Return-Path: <gcc-bugs-return-579048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125734 invoked by alias); 19 Oct 2017 07: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 125195 invoked by uid 48); 19 Oct 2017 07:12:53 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/60440] Bogus -Wreturn-type warning after error
Date: Thu, 19 Oct 2017 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: 4.9.0
X-Bugzilla-Keywords: diagnostic, error-recovery
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-60440-4-ZG2rIZJJj3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60440-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60440-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02108.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60440

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks for CC. Patches are currently under review.
About this PR: as 'b' is undeclared, the whole statement with the expression is
ignored and we have:

(gdb) p debug_function(cfun->decl, 0)
f (int a)
{
  <bb 2> [0.00%] [count: INV]:
  return;

}

That's why we then warn, it's reasonable in my opinion. However I'm not a FE
maintainer, maybe it's doable.
>From gcc-bugs-return-579049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:16:39 2017
Return-Path: <gcc-bugs-return-579049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10795 invoked by alias); 19 Oct 2017 07: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 10694 invoked by uid 48); 19 Oct 2017 07:16:30 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/67629] bogus -Wreturn-type in a function with tautological if-else
Date: Thu, 19 Oct 2017 07: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: 6.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:
Message-ID: <bug-67629-4-UEtmYdHoZ9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67629-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67629-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02109.txt.bz2
Content-length: 935

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67629

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
That's for CC. However as the warning is triggered early, we don't have
optimized IL:

(gdb) p debug_function(cfun->decl, 0)
foo (_Bool a)
{
  int D.1836;

  <bb 2> [0.00%] [count: INV]:
  if (a != 0)
    goto <bb 3>; [INV] [count: INV]
  else
    goto <bb 4>; [INV] [count: INV]

  <bb 3> [0.00%] [count: INV]:
  D.1836 = 0;
  // predicted unlikely by early return (on trees) predictor.
  goto <bb 7>; [INV] [count: INV]

  <bb 4> [0.00%] [count: INV]:
  _1 = ~a;
  if (_1 != 0)
    goto <bb 5>; [INV] [count: INV]
  else
    goto <bb 6>; [INV] [count: INV]

  <bb 5> [0.00%] [count: INV]:
  D.1836 = 1;
  // predicted unlikely by early return (on trees) predictor.
  goto <bb 7>; [INV] [count: INV]

  <bb 6> [0.00%] [count: INV]:
  return;

  <bb 7> [0.00%] [count: INV]:
<L4>:
  return D.1836;

}
>From gcc-bugs-return-579050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:18:42 2017
Return-Path: <gcc-bugs-return-579050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16460 invoked by alias); 19 Oct 2017 07: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 16323 invoked by uid 48); 19 Oct 2017 07:18:37 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/55189] enable -Wreturn-type by default
Date: Thu, 19 Oct 2017 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: 4.6.2
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-55189-4-GOe2ytdciR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55189-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55189-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02110.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org

--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
I take it, I have fixed test-suite fallout. Hopefully this time the patch will
land to trunk.
>From gcc-bugs-return-579051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:19:27 2017
Return-Path: <gcc-bugs-return-579051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17685 invoked by alias); 19 Oct 2017 07:19: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 17631 invoked by uid 48); 19 Oct 2017 07:19:24 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82612] missing -Warray-bounds on a non-zero offset from the address of a non-array object
Date: Thu, 19 Oct 2017 07: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.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-82612-4-kb9JMYAVAb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82612-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82612-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02111.txt.bz2
Content-length: 760

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82612

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
But we are not even having an ARRAY_REF in the IL ...

So try

int g (int i)
{
  int (*p)[2] = (int (*)[2])&i;

  return (*p)[2];
}

where we also do not warn.  Or the VLA variant:

int g (int i, int n)
{
  int (*p)[n] = (int (*)[n])&i;

  return (*p)[2];
}

Basically the warning code blindly trusts the ARRAY_TYPE domain even if
there's an underlying decl where that array wouldn't fit.  So the warning
you are requesting is more an out-of-bound object access in general.

To warn for this substitute each variable offset with its minimum range
value, call get_ref_base_and_extent and see if offset/size are within
the base object.
>From gcc-bugs-return-579052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:26:52 2017
Return-Path: <gcc-bugs-return-579052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36663 invoked by alias); 19 Oct 2017 07: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 24164 invoked by uid 48); 19 Oct 2017 07:26:48 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 because of abort redefinition
Date: Thu, 19 Oct 2017 07: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone short_desc
Message-ID: <bug-82610-4-5AkcqZjLgt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02112.txt.bz2
Content-length: 1052

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org,
                   |                            |tbsaunde at gcc dot gnu.org
   Target Milestone|---                         |8.0
            Summary|Bootstrap fails on macOS    |[8 Regression] Bootstrap
                   |10.13 because of abort      |fails on macOS 10.13
                   |redefinition                |because of abort
                   |                            |redefinition

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, include/ shouldn't include system headers directly :/  Of course they all
do...

<memory> is probably not too bad to include unconditionally, but maybe we can
avoid including that for unique-ptr.h?  Quickly browsing doesn't find anything
needing it?
>From gcc-bugs-return-579053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:37:27 2017
Return-Path: <gcc-bugs-return-579053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129780 invoked by alias); 19 Oct 2017 07: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 127534 invoked by uid 48); 19 Oct 2017 07:37:23 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/82534] [meta-bug] POSIX compliant compiler options
Date: Thu, 19 Oct 2017 07:37: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.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
Message-ID: <bug-82534-4-3jUpSfFuuO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82534-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82534-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02113.txt.bz2
Content-length: 879

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82534

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-19
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Interesting Jim. Anyway it can be done by more complex option (*.opts) parser.
The current one in written in AWK and I'm not planning to enhance it. Martin
Sebor
create some bugs, where we can check for missing options in documentation and
so on.
>From gcc-bugs-return-579054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:39:39 2017
Return-Path: <gcc-bugs-return-579054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114202 invoked by alias); 19 Oct 2017 07: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 110227 invoked by uid 55); 19 Oct 2017 07:39:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82568] [6/7/8] ICE with do-loop inside BLOCK inside omp
Date: Thu, 19 Oct 2017 07: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: 6.4.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:
Message-ID: <bug-82568-4-0BJ7pJLks4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02114.txt.bz2
Content-length: 1376

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82568

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 19 07:38:59 2017
New Revision: 253878

URL: https://gcc.gnu.org/viewcvs?rev=253878&root=gcc&view=rev
Log:
        PR fortran/82568
        * gfortran.h (gfc_resolve_do_iterator): Add a bool arg.
        (gfc_resolve_omp_local_vars): New declaration.
        * openmp.c (omp_current_ctx): Make static.
        (gfc_resolve_omp_parallel_blocks): Handle EXEC_OMP_TASKLOOP
        and EXEC_OMP_TASKLOOP_SIMD.
        (gfc_resolve_do_iterator): Add ADD_CLAUSE argument, if false,
        don't actually add any clause.  Move omp_current_ctx test
        earlier.
        (handle_local_var, gfc_resolve_omp_local_vars): New functions.
        * resolve.c (gfc_resolve_code): Call gfc_resolve_omp_parallel_blocks
        instead of just gfc_resolve_omp_do_blocks for EXEC_OMP_TASKLOOP
        and EXEC_OMP_TASKLOOP_SIMD.
        (gfc_resolve_code): Adjust gfc_resolve_do_iterator caller.
        (resolve_codes): Call gfc_resolve_omp_local_vars.

        * gfortran.dg/gomp/pr82568.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/gomp/pr82568.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/openmp.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:51:26 2017
Return-Path: <gcc-bugs-return-579055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88243 invoked by alias); 19 Oct 2017 07:51: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 87731 invoked by uid 55); 19 Oct 2017 07:51:20 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82517] use-after-scope for a variable with big alignment causes a false positive
Date: Thu, 19 Oct 2017 07:51: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82517-4-p8EHXDMqTl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82517-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82517-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02115.txt.bz2
Content-length: 834

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82517

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Oct 19 07:50:48 2017
New Revision: 253879

URL: https://gcc.gnu.org/viewcvs?rev=253879&root=gcc&view=rev
Log:
Do not instrument use-after-scope for vars with large alignment (PR
sanitizer/82517).

2017-10-19  Martin Liska  <mliska@suse.cz>

        PR sanitizer/82517
        * gimplify.c (gimplify_decl_expr): Do not instrument variables
        that have a large alignment.
        (gimplify_target_expr): Likewise.
2017-10-19  Martin Liska  <mliska@suse.cz>

        PR sanitizer/82517
        * gcc.dg/asan/pr82517.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/asan/pr82517.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 07:52:33 2017
Return-Path: <gcc-bugs-return-579056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92420 invoked by alias); 19 Oct 2017 07: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 92368 invoked by uid 48); 19 Oct 2017 07:52:29 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Thu, 19 Oct 2017 07: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82575-4-iPxs0vGti8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02116.txt.bz2
Content-length: 1173

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Alan Modra from comment #2)
> Created attachment 42397 [details]
> proposed patch
> 
> I hadn't debugged past grepping for "debugobj" when I created the bugzilla. 
> Now that I've looked further, it seems easy to fix.  At least on linux the
> attached patch cures the problem and should work with other ELF linkers.

Hmm, but those symbols will prevail, enlarging the final symbol table?
Or are weak + hidden symbols removed even for shared libaries?

IIRC the Solaris linker didn't like to interpret "unused" (aka unreferenced)
UNDEF globals as irrelevant, complaining about missing symbols later.  GNU
ld simply discards those in the partial link we perform over all debug
objects.

In the end I might end up writing all the code to really remove entries
from symtab...  No, I don't really like to do that, this was supposed to be
an easy hack for the legacy until somebody fixes the linker plugin interface
so we can claim part of the object and tell the linker to keep a set of
sections for the final link (plus renaming them).
>From gcc-bugs-return-579057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 08:09:32 2017
Return-Path: <gcc-bugs-return-579057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5054 invoked by alias); 19 Oct 2017 08: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 4921 invoked by uid 48); 19 Oct 2017 08:09:23 -0000
From: "fabian.loeschner at live dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82613] New: Cannot access private definitions in base clause of friend class template
Date: Thu, 19 Oct 2017 08: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fabian.loeschner at live 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-82613-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02117.txt.bz2
Content-length: 1432

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82613

            Bug ID: 82613
           Summary: Cannot access private definitions in base clause of
                    friend class template
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fabian.loeschner at live dot de
  Target Milestone: ---

Affected versions: all up to 8.0.0 20171015

The following code:

    struct Empty {};

    template <typename T>
    struct B;

    struct A
    {
        friend struct B<A>;

    private:
        using BaseForB = Empty;
    };

    template <typename T>
    struct B : T::BaseForB
    {
    };

    int main()
    {
        B<A> test;
        return 0;
    }

leads to the error:

    test.cpp: In instantiation of 'class B<A>':
    test.cpp:21:7: required from here
    test.cpp:15:8: error: 'using BaseForB = class Empty' is private within this
context
     struct B : T::BaseForB
            ^
    test.cpp:11:20: note: declared private here
      using BaseForB = Empty;
                        ^

According to cppreference this should be legal: "The friend itself can also
inherit from private and protected members of this class. (since C++11)".
Furthermore the code works when converting 'B' to a regular class without
template parameters.
>From gcc-bugs-return-579058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 08:11:28 2017
Return-Path: <gcc-bugs-return-579058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19059 invoked by alias); 19 Oct 2017 08: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 18566 invoked by uid 48); 19 Oct 2017 08:11:24 -0000
From: "fxcoudert at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Thu, 19 Oct 2017 08: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: 7.2.0
X-Bugzilla-Keywords: build, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fxcoudert at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81797-4-ZcupA8nkIc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02118.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #29 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
As suggested by Marc, I've removed the @ from include/Makefile.in, and removed
the leading - for lines with LN_S.

The result of "make -d --trace -j8 all-target-libstdc++-v3", in a build where
x86_64-apple-darwin17.0.0/libstdc++-v3 was entirely removed, can be found here:
https://gist.github.com/fxcoudert/b621465a794d968593bc7ed90c0fc1fb
>From gcc-bugs-return-579059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 08:30:40 2017
Return-Path: <gcc-bugs-return-579059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86077 invoked by alias); 19 Oct 2017 08:30: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 85998 invoked by uid 48); 19 Oct 2017 08:30:34 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82604] [8 Regression] SPEC CPU2006 410.bwaves ~50% performance regression with trunk@253679 when ftree-parallelize-loops is used
Date: Thu, 19 Oct 2017 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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82604-4-S7XJE3GbA3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82604-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82604-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02119.txt.bz2
Content-length: 661

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82604

--- Comment #2 from amker at gcc dot gnu.org ---
(In reply to Richard Biener from comment #1)
> I suppose loop distribution inserted a version copy turning this into a
> non-perfect nest for outer loops and thus disabling autopar there.
> 
> What probably makes sense is to run autoparallelization earlier or to try
Given passes like split/distribution/interchange are not to help
GRAPHITE/autopar, another choice is to push them later after GRAPHITE and
autopar?

> -fparallelize-loops-all (using ISL dependence analysis).
> 
> Just guesses of course, autopar isn't one of our most elaborate passes...
>From gcc-bugs-return-579060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 08:37:41 2017
Return-Path: <gcc-bugs-return-579060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120111 invoked by alias); 19 Oct 2017 08: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 119732 invoked by uid 55); 19 Oct 2017 08:37:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Thu, 19 Oct 2017 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: 7.2.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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82580-4-AtbHF3MHYs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02120.txt.bz2
Content-length: 732

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 19 08:37:04 2017
New Revision: 253884

URL: https://gcc.gnu.org/viewcvs?rev=253884&root=gcc&view=rev
Log:
        PR target/82580
        * config/i386/i386.md (setcc + movzbl to xor + setcc): New peephole2.
        (setcc + and to xor + setcc): New peephole2.

        * gcc.target/i386/pr82580.c: Use {\msbb} instead of "sbb" in
        scan-assembler-times.  Check that there are no movzb* instructions
        if lp64.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/pr82580.c
>From gcc-bugs-return-579061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:02:18 2017
Return-Path: <gcc-bugs-return-579061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129795 invoked by alias); 19 Oct 2017 09:02: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 126980 invoked by uid 48); 19 Oct 2017 09:02:09 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82517] use-after-scope for a variable with big alignment causes a false positive
Date: Thu, 19 Oct 2017 09: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work cf_known_to_fail
Message-ID: <bug-82517-4-7BZkgYMzgQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82517-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82517-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02121.txt.bz2
Content-length: 459

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82517

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.0
      Known to fail|                            |7.2.0

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk, queued for backports.
>From gcc-bugs-return-579062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:03:24 2017
Return-Path: <gcc-bugs-return-579062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32918 invoked by alias); 19 Oct 2017 09:03: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 23011 invoked by uid 55); 19 Oct 2017 09:03:08 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82604] [8 Regression] SPEC CPU2006 410.bwaves ~50% performance regression with trunk@253679 when ftree-parallelize-loops is used
Date: Thu, 19 Oct 2017 09: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.0
X-Bugzilla-Keywords: missed-optimization
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82604-4-7oC1Bb0nKZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82604-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82604-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02122.txt.bz2
Content-length: 1351

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82604

--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 19 Oct 2017, amker at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82604
> 
> --- Comment #2 from amker at gcc dot gnu.org ---
> (In reply to Richard Biener from comment #1)
> > I suppose loop distribution inserted a version copy turning this into a
> > non-perfect nest for outer loops and thus disabling autopar there.
> > 
> > What probably makes sense is to run autoparallelization earlier or to try
> Given passes like split/distribution/interchange are not to help
> GRAPHITE/autopar, another choice is to push them later after GRAPHITE and
> autopar?

I suppose sometimes they will help autopar given w/o the help of
GRAPHITE autopar can only handle perfect nests.

I think it would be nice to rewrite autopar in terms of GRAPHITE
only, thus instruct ISL to tile the parallel loops in the region
so the outermost parallel loops in a SCOP can be OMP-ized by the code 
generator if requested (that's similar to the idea of tiling the
inner loop for autovectorizing).

But yes, if autopar weren't restricted we'd move it before all
high-level loop opts.  And we'd have a split pipeline between
a graphite pass and our own high-level loop opts if graphite
were good enough.
>From gcc-bugs-return-579063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:08:02 2017
Return-Path: <gcc-bugs-return-579063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2691 invoked by alias); 19 Oct 2017 09:08: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 2389 invoked by uid 48); 19 Oct 2017 09:07:48 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71082] Internal compiler error when create initializer list with pointers to members
Date: Thu, 19 Oct 2017 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: 6.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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-71082-4-PcSLPIkbgs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71082-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71082-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02123.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71082

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Dup.

*** This bug has been marked as a duplicate of bug 70869 ***
>From gcc-bugs-return-579064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:08:04 2017
Return-Path: <gcc-bugs-return-579064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2861 invoked by alias); 19 Oct 2017 09: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 2593 invoked by uid 48); 19 Oct 2017 09:08:00 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70869] [6 Regression] internal compiler error: Segmentation fault on array of pointer to function members
Date: Thu, 19 Oct 2017 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: 6.1.0
X-Bugzilla-Keywords: ice-on-valid-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: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-70869-4-rvObtzFTVX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70869-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70869-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02124.txt.bz2
Content-length: 456

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70869

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |farmaazon at gmail dot com

--- Comment #21 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 71082 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:10:31 2017
Return-Path: <gcc-bugs-return-579065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12861 invoked by alias); 19 Oct 2017 09: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 12797 invoked by uid 48); 19 Oct 2017 09:10:28 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71197] for range loop causes an error with inline function references
Date: Thu, 19 Oct 2017 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: 6.1.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini 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: bug_status resolution
Message-ID: <bug-71197-4-TbMJrl6alG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71197-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71197-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02125.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71197

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Feedback not forthcoming.
>From gcc-bugs-return-579066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:19:41 2017
Return-Path: <gcc-bugs-return-579066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23847 invoked by alias); 19 Oct 2017 09: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 3477 invoked by uid 48); 19 Oct 2017 09:18:43 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82614] New: GCOV crashes while parsing gcda file
Date: Thu, 19 Oct 2017 09:19: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla 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 attachments.created
Message-ID: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02126.txt.bz2
Content-length: 714

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

            Bug ID: 82614
           Summary: GCOV crashes while parsing gcda file
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mcastelluccio at mozilla dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 42398
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42398&action=edit
GCDA file

This file was generated using _gcov_dump. It was generated along many others,
but this is the only one where gcov crashes.
>From gcc-bugs-return-579067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:22:38 2017
Return-Path: <gcc-bugs-return-579067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39229 invoked by alias); 19 Oct 2017 09:22: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 39167 invoked by uid 48); 19 Oct 2017 09:22:35 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82614] GCOV crashes while parsing gcda file
Date: Thu, 19 Oct 2017 09: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla 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-82614-4-uPuykqNI1m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02127.txt.bz2
Content-length: 244

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

--- Comment #1 from Marco Castelluccio <mcastelluccio at mozilla dot com> ---
Created attachment 42399
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42399&action=edit
GCNO file
>From gcc-bugs-return-579068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:35:12 2017
Return-Path: <gcc-bugs-return-579068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96811 invoked by alias); 19 Oct 2017 09: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 94623 invoked by uid 48); 19 Oct 2017 09:35:07 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79917] Internal compiler error with variadic template and concepts, internal compiler error: in tsubst_constraint, at cp/constraint.cc:1956
Date: Thu, 19 Oct 2017 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: c++-concepts
X-Bugzilla-Keywords:
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 blocked everconfirmed
Message-ID: <bug-79917-4-S3W4r6Y5IF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79917-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79917-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02128.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79917

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-19
             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-579069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:40:40 2017
Return-Path: <gcc-bugs-return-579069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33149 invoked by alias); 19 Oct 2017 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 27063 invoked by uid 48); 19 Oct 2017 09:40:36 -0000
From: "ivo.raisr at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82545] [7 Regression] -O2: ICE in gimple_split_edge, at tree-cfg.c:2838, during GIMPLE pass sanopt
Date: Thu, 19 Oct 2017 09: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ivo.raisr at oracle 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82545-4-tvhk9wIDf5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82545-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02129.txt.bz2
Content-length: 181

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82545

--- Comment #10 from Ivo Raisr <ivo.raisr at oracle dot com> ---
Thank you for the fix. Works on the full source file as well.
>From gcc-bugs-return-579070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:43:42 2017
Return-Path: <gcc-bugs-return-579070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96308 invoked by alias); 19 Oct 2017 09:43: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 94059 invoked by uid 48); 19 Oct 2017 09:43:37 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79689] ICE with trailing return type
Date: Thu, 19 Oct 2017 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: 6.3.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
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-79689-4-P8dOVqexeo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79689-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79689-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02130.txt.bz2
Content-length: 445

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79689

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Likewise.
>From gcc-bugs-return-579071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:44:51 2017
Return-Path: <gcc-bugs-return-579071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124357 invoked by alias); 19 Oct 2017 09: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 122756 invoked by uid 48); 19 Oct 2017 09:44:47 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79711] [concepts] ICE in instantiate_decl, at cp/pt.c:22474
Date: Thu, 19 Oct 2017 09: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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on blocked everconfirmed
Message-ID: <bug-79711-4-hsBdnXKCLc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79711-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02131.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79711

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-19
             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-579072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:50:59 2017
Return-Path: <gcc-bugs-return-579072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47031 invoked by alias); 19 Oct 2017 09:50: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 46935 invoked by uid 48); 19 Oct 2017 09:50:54 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79781] ICE on valid C++ code with -std=c++14 (in assemble_integer, at varasm.c:2733)
Date: Thu, 19 Oct 2017 09: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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-79781-4-oJ7dVcJDQ2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79781-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79781-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02132.txt.bz2
Content-length: 543

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79781

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot com

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in the released 7.1.0. Honestly, I'm not 100% sure we are clear to add
such testcases to our own testsuite: can somebody confirm please?
>From gcc-bugs-return-579073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 09:59:06 2017
Return-Path: <gcc-bugs-return-579073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110469 invoked by alias); 19 Oct 2017 09: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 107854 invoked by uid 48); 19 Oct 2017 09:59:03 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81024] ICE within  convert_like_real with std::initializer_list
Date: Thu, 19 Oct 2017 09: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.0
X-Bugzilla-Keywords:
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-81024-4-TCI0eVVPRa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81024-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81024-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02133.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81024

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-19
     Ever confirmed|0                           |1
>From gcc-bugs-return-579074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 10:01:34 2017
Return-Path: <gcc-bugs-return-579074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48631 invoked by alias); 19 Oct 2017 10: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 37331 invoked by uid 48); 19 Oct 2017 10:01:25 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81742] c++: internal compiler error: Segmentation fault (program cc1plus)
Date: Thu, 19 Oct 2017 10: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: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini 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: bug_status resolution
Message-ID: <bug-81742-4-pRplkvI7J3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81742-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81742-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02134.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81742

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Feedback not forthcoming.
>From gcc-bugs-return-579075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 10:02:51 2017
Return-Path: <gcc-bugs-return-579075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22197 invoked by alias); 19 Oct 2017 10: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 22140 invoked by uid 48); 19 Oct 2017 10:02:44 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82614] GCOV crashes while parsing gcda file
Date: Thu, 19 Oct 2017 10:02: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: 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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82614-4-nylT6IBCzx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02135.txt.bz2
Content-length: 593

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-19
     Ever confirmed|0                           |1

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks for the report Marco. Looks it comes from Firefox, am I right?
Which version of GCC have you been using?
>From gcc-bugs-return-579077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 10:08:44 2017
Return-Path: <gcc-bugs-return-579077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88977 invoked by alias); 19 Oct 2017 10:08: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 88873 invoked by uid 48); 19 Oct 2017 10:08:40 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81942] ICE on empty constexpr constructor with C++14
Date: Thu, 19 Oct 2017 10: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
X-Bugzilla-Keywords: ice-on-valid-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: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-81942-4-7Ad4FXTyIV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81942-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81942-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02137.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81942

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nsz at gcc dot gnu.org

--- Comment #18 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 82023 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 10:08:44 2017
Return-Path: <gcc-bugs-return-579076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88928 invoked by alias); 19 Oct 2017 10:08: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 88823 invoked by uid 48); 19 Oct 2017 10:08:39 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82023] [arm] constexpr ICE: in cxx_eval_constant_expression, at cp/constexpr.c:4556
Date: Thu, 19 Oct 2017 10: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
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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-82023-4-ugT2hsKFqv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82023-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82023-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02136.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82023

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Dup.

*** This bug has been marked as a duplicate of bug 81942 ***
>From gcc-bugs-return-579078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 10:37:03 2017
Return-Path: <gcc-bugs-return-579078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106237 invoked by alias); 19 Oct 2017 10: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 104366 invoked by uid 48); 19 Oct 2017 10:36:59 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/55189] enable -Wreturn-type by default
Date: Thu, 19 Oct 2017 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: 4.6.2
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-55189-4-QJCjC1SRZ9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55189-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55189-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02138.txt.bz2
Content-length: 299

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
>From gcc-bugs-return-579080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 10:53:50 2017
Return-Path: <gcc-bugs-return-579080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67348 invoked by alias); 19 Oct 2017 10: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 67284 invoked by uid 48); 19 Oct 2017 10:53:47 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82615] [8 Regression] SPEC CPU2006 453.povray ~10% performance deviation with trunk@248863
Date: Thu, 19 Oct 2017 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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc cf_known_to_work target_milestone cf_known_to_fail
Message-ID: <bug-82615-4-hOIgrvMEmR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82615-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82615-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02140.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82615

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2017-10-19
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jamborm at gcc dot gnu.org
      Known to work|                            |7.2.0
   Target Milestone|---                         |8.0
      Known to fail|                            |8.0
>From gcc-bugs-return-579079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 10:53:15 2017
Return-Path: <gcc-bugs-return-579079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56533 invoked by alias); 19 Oct 2017 10: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 56474 invoked by uid 48); 19 Oct 2017 10:53:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82615] New: [8 Regression] SPEC CPU2006 453.povray ~10% performance deviation with trunk@248863
Date: Thu, 19 Oct 2017 10:53: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-82615-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02139.txt.bz2
Content-length: 611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82615

            Bug ID: 82615
           Summary: [8 Regression] SPEC CPU2006 453.povray ~10%
                    performance deviation with trunk@248863
           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: ---

Starting with the revision, we lost ~10% with -Ofast and -mtune=generic on both
AMD Zen and Intel Haswell i7.
>From gcc-bugs-return-579081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 11:04:17 2017
Return-Path: <gcc-bugs-return-579081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95419 invoked by alias); 19 Oct 2017 11: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 95308 invoked by uid 48); 19 Oct 2017 11:04:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Thu, 19 Oct 2017 11: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: 7.2.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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82580-4-9jI8GaTjNl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02141.txt.bz2
Content-length: 543

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for trunk on i?86/x86_64.  I think powerpc*, aarch64 or other targets
should be tracked separately if maintainers care.
>From gcc-bugs-return-579083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 11:09:44 2017
Return-Path: <gcc-bugs-return-579083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37798 invoked by alias); 19 Oct 2017 11:09: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 37732 invoked by uid 48); 19 Oct 2017 11:09:39 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/81829] [7 Regression] /usr/bin/gcc-{ar,nm,ranlib} segfault without arguments
Date: Thu, 19 Oct 2017 11:09: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.1.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work
Message-ID: <bug-81829-4-5hmN6lkjCs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81829-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81829-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02143.txt.bz2
Content-length: 404

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81829

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.0

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk, queued for backports.
>From gcc-bugs-return-579082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 11:09:04 2017
Return-Path: <gcc-bugs-return-579082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35274 invoked by alias); 19 Oct 2017 11: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 35057 invoked by uid 55); 19 Oct 2017 11:09:00 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/81829] [7 Regression] /usr/bin/gcc-{ar,nm,ranlib} segfault without arguments
Date: Thu, 19 Oct 2017 11:09: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.1.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81829-4-pzctRpzNMB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81829-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81829-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02142.txt.bz2
Content-length: 622

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81829

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Oct 19 11:08:28 2017
New Revision: 253886

URL: https://gcc.gnu.org/viewcvs?rev=253886&root=gcc&view=rev
Log:
Revert r238089 (PR driver/81829).

2017-10-19  Martin Liska  <mliska@suse.cz>

        PR driver/81829
        * file-find.c (remove_prefix): Remove.
        * file-find.h (remove_prefix): Likewise.
        * gcc-ar.c: Remove smartness of lookup.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/file-find.c
    trunk/gcc/file-find.h
    trunk/gcc/gcc-ar.c
>From gcc-bugs-return-579084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 11:28:05 2017
Return-Path: <gcc-bugs-return-579084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112669 invoked by alias); 19 Oct 2017 11:28: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 112283 invoked by uid 48); 19 Oct 2017 11:28:01 -0000
From: "morwenn29 at hotmail dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82580] Optimize comparisons for __int128 on x86-64
Date: Thu, 19 Oct 2017 11: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: 7.2.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: morwenn29 at hotmail dot fr
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82580-4-6ubPm7PPhR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02144.txt.bz2
Content-length: 158

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82580

--- Comment #15 from Morwenn <morwenn29 at hotmail dot fr> ---
That was insanely fast, thanks a lot! :)
>From gcc-bugs-return-579085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 11:46:12 2017
Return-Path: <gcc-bugs-return-579085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64966 invoked by alias); 19 Oct 2017 11: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 64897 invoked by uid 48); 19 Oct 2017 11:46:08 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82616] New: ../bfd/.libs/libbfd.a(plugin.o): undefined reference to symbol 'dlsym@@GLIBC_2.16'
Date: Thu, 19 Oct 2017 11:46: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.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_file_loc bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-82616-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02145.txt.bz2
Content-length: 1270

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82616

            Bug ID: 82616
           Summary: ../bfd/.libs/libbfd.a(plugin.o): undefined reference
                    to symbol 'dlsym@@GLIBC_2.16'
           Product: gcc
           Version: 8.0
               URL: https://sourceware.org/bugzilla/show_bug.cgi?id=22318
            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: ---

config/plugins.m4 is shared with binutils. It has

 if test "$plugins" = "yes"; then
    AC_SEARCH_LIBS([dlopen], [dl])
  fi

plugins use dlsym, but libasan.so only intercepts dlopen, not dlsym:

[hjl@gnu-tools-1 binutils-x32-text]$ nm -D /lib64/libasan.so.4| grep " dl"
0000000000038580 W dlclose
                 U dl_iterate_phdr
000000000004dc50 W dlopen
                 U dlsym
                 U dlvsym
[hjl@gnu-tools-1 binutils-x32-text]$ 

Testing dlopen for libdl leads to false negative when -fsanitize=address
is used.
>From gcc-bugs-return-579086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 11:54:55 2017
Return-Path: <gcc-bugs-return-579086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33652 invoked by alias); 19 Oct 2017 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 27267 invoked by uid 48); 19 Oct 2017 11:54:51 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82614] GCOV crashes while parsing gcda file
Date: Thu, 19 Oct 2017 11: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla dot com
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-82614-4-A4o601hMJq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02146.txt.bz2
Content-length: 489

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

--- Comment #3 from Marco Castelluccio <mcastelluccio at mozilla dot com> ---
> Thanks for the report Marco. Looks it comes from Firefox, am I right?

Yes, that's correct. Actually, from a build of the JS shell.

> Which version of GCC have you been using?

The build was done with "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609".

We were also able to reproduce the crash with a gcda generated normally,
without __gcov_dump.
>From gcc-bugs-return-579087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:00:34 2017
Return-Path: <gcc-bugs-return-579087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24725 invoked by alias); 19 Oct 2017 12:00: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 10176 invoked by uid 48); 19 Oct 2017 12:00:25 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82614] GCOV crashes while parsing gcda file
Date: Thu, 19 Oct 2017 12:00: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: 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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82614-4-1MDMIHEE4c@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02147.txt.bz2
Content-length: 780

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Marco Castelluccio from comment #3)
> > Thanks for the report Marco. Looks it comes from Firefox, am I right?
> 
> Yes, that's correct. Actually, from a build of the JS shell.
> 
> > Which version of GCC have you been using?
> 
> The build was done with "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609".
> 
> We were also able to reproduce the crash with a gcda generated normally,
> without __gcov_dump.

I see, not the GCC 5.x is not longer supported. Anyway, please paste backtrace
from gcov when the segfaults happens.

I did quite some fixes to gcov that are included in GCC 7.x branch. Can you
please test a new release?
>From gcc-bugs-return-579088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:17:17 2017
Return-Path: <gcc-bugs-return-579088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118166 invoked by alias); 19 Oct 2017 12:17: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 118122 invoked by uid 55); 19 Oct 2017 12:17:13 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81048] [6/7/8 Regression] incorrect derived type initialization
Date: Thu, 19 Oct 2017 12: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.3.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81048-4-TUuD430bAH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02148.txt.bz2
Content-length: 801

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81048

--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Oct 19 12:16:41 2017
New Revision: 253889

URL: https://gcc.gnu.org/viewcvs?rev=253889&root=gcc&view=rev
Log:
2017-10-19  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/81048
        * resolve.c (resolve_symbol): Ensure that derived type array
        results get default initialization.

2017-10-19  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/81048
        * gfortran.dg/derived_init_4.f90 : New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/derived_init_4.f90
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/resolve.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:18:25 2017
Return-Path: <gcc-bugs-return-579089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6547 invoked by alias); 19 Oct 2017 12: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 991 invoked by uid 48); 19 Oct 2017 12:18:18 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81048] [6/7/8 Regression] incorrect derived type initialization
Date: Thu, 19 Oct 2017 12: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: 6.3.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81048-4-UbNp91lN2T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02149.txt.bz2
Content-length: 474

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81048

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on 6-, 7- and 8-branches.

Thanks for the report.

Paul
>From gcc-bugs-return-579090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:27:01 2017
Return-Path: <gcc-bugs-return-579090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38500 invoked by alias); 19 Oct 2017 12: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 38445 invoked by uid 48); 19 Oct 2017 12:26:56 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/81795] Stray "originally defined here" when using -Wc++-compat with #pragma GCC diagnostic push/pop
Date: Thu, 19 Oct 2017 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: 8.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: 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:
Message-ID: <bug-81795-4-SajOtBPUNz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81795-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81795-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02150.txt.bz2
Content-length: 244

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81795

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
Compiling with an older GCC makes me wonder: could the fix for this bug also be
backported to the other open branches?
>From gcc-bugs-return-579091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:29:33 2017
Return-Path: <gcc-bugs-return-579091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44164 invoked by alias); 19 Oct 2017 12: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 44093 invoked by uid 48); 19 Oct 2017 12:29:28 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Thu, 19 Oct 2017 12: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.0
X-Bugzilla-Keywords: build
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-82595-4-1ZesPil5Y5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02151.txt.bz2
Content-length: 417

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> Well, lsan_preinit.o shouldn't be linked into liblsan.so.*, either we should
> just ignore it completely, or install and link in like asan_preinit.o or
> tsan_preinit.o is.

Is there a workaround I can use until one of these options gets chosen?
>From gcc-bugs-return-579092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:33:26 2017
Return-Path: <gcc-bugs-return-579092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51954 invoked by alias); 19 Oct 2017 12: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 51860 invoked by uid 55); 19 Oct 2017 12:33:18 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Thu, 19 Oct 2017 12:33: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.0
X-Bugzilla-Keywords:
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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82575-4-0EK20xz5hs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02152.txt.bz2
Content-length: 1335

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
> --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Hmm, but those symbols will prevail, enlarging the final symbol table?
> Or are weak + hidden symbols removed even for shared libaries?

Well, they are still undefined.  Being hidden they won't become
dynamic unless your linker is broken.

> IIRC the Solaris linker didn't like to interpret "unused" (aka unreferenced)

From pr81968 it seems the symbol related complaint was just that the
linker warned on seeing a global symbol without name, which is kind of
reasonable given that a global symbol's linkage is via name.

> UNDEF globals as irrelevant, complaining about missing symbols later.  GNU
> ld simply discards those in the partial link we perform over all debug
> objects.

Yes, it's possible that other linkers might not remove the undefined
symbols from .symtab, which would leave nm and other binutils broken.
If that happens, I suppose we could edit .strtab to change the name of
__gnu_lto_slim, or bump st_name by one.

Changing global syms to local doesn't work since the locals must be
first in .symtab.  Using STT_FILE would work with GNU ld, but it's
anybody's guess how global STT_FILE symbols are handled in other
linkers.
>From gcc-bugs-return-579093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:34:42 2017
Return-Path: <gcc-bugs-return-579093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53412 invoked by alias); 19 Oct 2017 12:34: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 53309 invoked by uid 48); 19 Oct 2017 12:34:36 -0000
From: "uberprugelknabe at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82617] New: Internal compiler error in expand_expr_real_1 when compiling the attached file
Date: Thu, 19 Oct 2017 12:34: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.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uberprugelknabe 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 attachments.created
Message-ID: <bug-82617-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02153.txt.bz2
Content-length: 895

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82617

            Bug ID: 82617
           Summary: Internal compiler error in expand_expr_real_1 when
                    compiling the attached file
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: uberprugelknabe at hotmail dot com
  Target Milestone: ---

Created attachment 42400
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42400&action=edit
Source file triggering the crash

When compiling the attached file gfortran crashes with the error "Internal
compiler error in expand_expr_real_1". Confirmed in versions 7.2.0 and 4.8.5.
File compiles successfully with no warnings issued in intel fortran compiler
16.0.3 and pgi fortran compiler 17.4.0.
>From gcc-bugs-return-579094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:36:55 2017
Return-Path: <gcc-bugs-return-579094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66053 invoked by alias); 19 Oct 2017 12: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 66018 invoked by uid 48); 19 Oct 2017 12:36:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82618] New: Inefficient double-word subtration on x86_64
Date: Thu, 19 Oct 2017 12: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: 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: ---
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-82618-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02154.txt.bz2
Content-length: 1465

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82618

            Bug ID: 82618
           Summary: Inefficient double-word subtration on x86_64
           Product: gcc
           Version: 8.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: ---

If we only need the upper word from TImode subtraction, we could emit
        cmpq    %rdx, %rdi
        sbbq    %rcx, %rsi
        movq    %rsi, %rax
but we actually emit:
        movq    %rdi, %r9
        movq    %rsi, %r10
        subq    %rdx, %r9
        sbbq    %rcx, %r10
        movq    %r10, %rax
on the following testcase:

#ifdef __SIZEOF_INT128__
typedef unsigned __int128 U;
typedef unsigned long long H;
#else
typedef unsigned long long U;
typedef unsigned int H;
#endif

H
f0 (U x, U y)
{
  return (x - y) >> (__CHAR_BIT__ * sizeof (H));
}

For this testcase unfortunately we keep the TImode subtraction until after RA
and split it during split2.  Not sure if at that point there is something that
can still be done (whether there is a way to find that one subword is dead and
split differently in that case).  Or peephole2 to fix the effects (notice subq
with dead destination, turn it into corresponding compare, and if there is a
move from some register to a register dead after this insn, eliminate the move
too)?
>From gcc-bugs-return-579095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:46:45 2017
Return-Path: <gcc-bugs-return-579095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70116 invoked by alias); 19 Oct 2017 12:46: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 70051 invoked by uid 48); 19 Oct 2017 12:46:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82618] Inefficient double-word subtration on x86_64
Date: Thu, 19 Oct 2017 12: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:
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-82618-4-M41riMs22M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02155.txt.bz2
Content-length: 352

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82618

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Or add a pattern for
(set (reg:DI 100)
    (subreg:DI (minus:TI (reg/v:TI 90 [ x ])
            (reg/v:TI 94 [ y ])) 8))
that combine would match and then reload that differently if not using SSE regs
and split it differently too.
>From gcc-bugs-return-579096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:52:21 2017
Return-Path: <gcc-bugs-return-579096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68768 invoked by alias); 19 Oct 2017 12: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 68664 invoked by uid 48); 19 Oct 2017 12:52:18 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/48097] new Throw_2 failures in libjava under Xcode 4.0
Date: Thu, 19 Oct 2017 12: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: 4.6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: see_also
Message-ID: <bug-48097-4-i7MA3Y5OOd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48097-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48097-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02156.txt.bz2
Content-length: 1423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48097

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=44107

--- Comment #15 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #13)
> (In reply to Eric Gallager from comment #12)
> > GCJ has been removed from GCC 7. But on the other hand this isn't really so
> > much a java bug itself as it is an unwinding bug that java just happened to
> > be the one to tickle. So is it worth keeping this bug open?
> 
> agreed it's an unwinder bug, I suppose we need a non-Java reproducer. As of
> Darwin11, nothing should be using the libgcc_s unwinder (and really it
> shouldn't be used for darwin10).  The broken unwinder in the darwin9
> libgcc_s can't be easily fixed (44107) - and the resolution there is to
> update the installed lib.
> 
> It's possible that we're going to struggle to get a fix unless/until we can
> make output compatible with the compact unwinder.
> 
> We can leave this open, but as stated,  someone should try to find a
> non-Java reproducer.

(just checking back, and for reference, bug 44107 was closed as WONTFIX)
>From gcc-bugs-return-579097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:54:36 2017
Return-Path: <gcc-bugs-return-579097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76743 invoked by alias); 19 Oct 2017 12:54: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 76469 invoked by uid 48); 19 Oct 2017 12:54:31 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/49582] configure-target-libquadmath fail on powerpc-darwin8
Date: Thu, 19 Oct 2017 12:54: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: 4.6.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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-49582-4-0FhbP4DTij@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49582-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49582-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02157.txt.bz2
Content-length: 919

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49582

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> I can't reproduce this failure with gcc8 on i386-apple-darwin9.8.0; could
> you try again please? Also could this be combined with bug 37704 for a more
> generic multilib disabling flag that handles other directories besides
> libquadmath?

With no answer to the 1st question, I'm gonna assume the answer to my 2nd
question is "yes" and close this bug as a duplicate of bug 37704.

*** This bug has been marked as a duplicate of bug 37704 ***
>From gcc-bugs-return-579098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 12:54:36 2017
Return-Path: <gcc-bugs-return-579098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76757 invoked by alias); 19 Oct 2017 12:54: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 76490 invoked by uid 48); 19 Oct 2017 12:54:32 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/37704] RFE: Need specific version of --disable-multilib
Date: Thu, 19 Oct 2017 12:54: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: 4.4.0
X-Bugzilla-Keywords:
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: bonzini at gnu dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-37704-4-midWLaA2xR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-37704-4@http.gcc.gnu.org/bugzilla/>
References: <bug-37704-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02158.txt.bz2
Content-length: 450

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37704

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fang at csl dot cornell.edu

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
*** Bug 49582 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:07:24 2017
Return-Path: <gcc-bugs-return-579099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104234 invoked by alias); 19 Oct 2017 13:07: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 103903 invoked by uid 55); 19 Oct 2017 13:07:16 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Thu, 19 Oct 2017 13:07: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.0
X-Bugzilla-Keywords:
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82575-4-dCHrx7NH0n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02159.txt.bz2
Content-length: 2088

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
On October 19, 2017 2:33:17 PM GMT+02:00, amodra at gmail dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575
>
>--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
>> --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
>> Hmm, but those symbols will prevail, enlarging the final symbol
>table?
>> Or are weak + hidden symbols removed even for shared libaries?
>
>Well, they are still undefined.  Being hidden they won't become
>dynamic unless your linker is broken.

OK. I suppose they are properly prevailed by any global symbol of the same name
as well? Like a weak definition with default visibility? Or is there the chance
of linker diagnostics about 'mismatches'? 

The patch looks OK otherwise, so if you post it I'll approve it. 

>> IIRC the Solaris linker didn't like to interpret "unused" (aka
>unreferenced)
>
>From pr81968 it seems the symbol related complaint was just that the
>linker warned on seeing a global symbol without name, which is kind of
>reasonable given that a global symbol's linkage is via name.

OK. 

>> UNDEF globals as irrelevant, complaining about missing symbols later.
> GNU
>> ld simply discards those in the partial link we perform over all
>debug
>> objects.
>
>Yes, it's possible that other linkers might not remove the undefined
>symbols from .symtab, which would leave nm and other binutils broken.
>If that happens, I suppose we could edit .strtab to change the name of
>__gnu_lto_slim, or bump st_name by one.
>
>Changing global syms to local doesn't work since the locals must be
>first in .symtab.

Yeah, figured that out the hard way... 

  Using STT_FILE would work with GNU ld, but it's
>anybody's guess how global STT_FILE symbols are handled in other
>linkers.

OK. I might need to implement true section removal in the end (another Solaris
linker diagnostic). So implementing true symbol removal is another
possibility...
>From gcc-bugs-return-579100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:07:44 2017
Return-Path: <gcc-bugs-return-579100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106188 invoked by alias); 19 Oct 2017 13: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 105993 invoked by uid 48); 19 Oct 2017 13:07:40 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82618] Inefficient double-word subtration on x86_64
Date: Thu, 19 Oct 2017 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: 8.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82618-4-xHBbefjvz3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02160.txt.bz2
Content-length: 370

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82618

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Maybe a peephole2 pattern for sub<mode>_3 with:

"find_regno_note (peep2_next_insn (0), REG_UNUSED, operand[0])"

constraint that converts to equivalent compare would do the trick?

Hopefully, later passes (cprop_hardreg) would eliminate the move.
>From gcc-bugs-return-579101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:08:51 2017
Return-Path: <gcc-bugs-return-579101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107664 invoked by alias); 19 Oct 2017 13:08: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 107597 invoked by uid 48); 19 Oct 2017 13:08:47 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Thu, 19 Oct 2017 13: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: 7.2.0
X-Bugzilla-Keywords: build, patch
X-Bugzilla-Severity: normal
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-81797-4-pXSe6kM5Mu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02161.txt.bz2
Content-length: 716

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #30 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Francois-Xavier Coudert from comment #29)
> The result of "make -d --trace -j8 all-target-libstdc++-v3", in a build
> where x86_64-apple-darwin17.0.0/libstdc++-v3 was entirely removed, can be
> found here:
> https://gist.github.com/fxcoudert/b621465a794d968593bc7ed90c0fc1fb

make's I/O is not exactly a reliable way to debug multithreading issues, but
the output looks right to me.

If --disable-libstdcxx-pch works (does it?), and until someone can investigate
more, I'd be tempted to consider it a mac bug and recommend that option in
https://gcc.gnu.org/install/specific.html .
>From gcc-bugs-return-579102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:11:24 2017
Return-Path: <gcc-bugs-return-579102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13272 invoked by alias); 19 Oct 2017 13: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 8091 invoked by uid 55); 19 Oct 2017 13:11:15 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82445] ARM target generates unaligned STRD instruction
Date: Thu, 19 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82445-4-om3AmlmooS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02162.txt.bz2
Content-length: 2001

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445

--- Comment #6 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Thu Oct 19 13:10:42 2017
New Revision: 253890

URL: https://gcc.gnu.org/viewcvs?rev=253890&root=gcc&view=rev
Log:
[ARM] PR 82445 - suppress 32-bit aligned ldrd/strd peepholing with
-mno-unaligned-access

Peephole patterns exist in the arm backend to spot load/store
operations to adjacent memory operations in order to convert them into
ldrd/strd instructions.  However, when we have strict alignment
enforced, then we can only do this if the accesses are known to be
64-bit aligned; this is unlikely to be the case for most loads.  The
patch adds some alignment checking to the code that validates the
addresses for use in the peephole patterns.  This should also fix
incorrect generation of ldrd/strd with unaligned accesses that could
previously have occurred on ARMv5e where all such operations must be
64-bit aligned.

I've added some new tests as well.  In doing so I discovered that the
ldrd/strd peephole tests could never fail since they would match the
source file name in the scanned assembly as well as any instructions
of the intended type.  I've fixed those by tightening the scan results
slightly.

gcc:

* config/arm/arm.c (align_ok_ldrd_strd): New function.
(mem_ok_for_ldrd_strd): New parameter align.  Extract the alignment of the
mem into it.
(gen_operands_ldrd_strd): Validate the alignment of the accesses.

testsuite:

* gcc.target/arm/peep-ldrd-1.c: Tighten test scan pattern.
* gcc.target/arm/peep-strd-1.c: Likewise.
* gcc.target/arm/peep-ldrd-2.c: New test.
* gcc.target/arm/peep-strd-2.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/arm/peep-ldrd-2.c
    trunk/gcc/testsuite/gcc.target/arm/peep-strd-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/arm/peep-ldrd-1.c
    trunk/gcc/testsuite/gcc.target/arm/peep-strd-1.c
>From gcc-bugs-return-579103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:15:39 2017
Return-Path: <gcc-bugs-return-579103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33835 invoked by alias); 19 Oct 2017 13:15: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 33741 invoked by uid 55); 19 Oct 2017 13:15:31 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82445] ARM target generates unaligned STRD instruction
Date: Thu, 19 Oct 2017 13: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: 7.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82445-4-fHXsh5z3au@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02163.txt.bz2
Content-length: 2113

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445

--- Comment #7 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Thu Oct 19 13:14:55 2017
New Revision: 253891

URL: https://gcc.gnu.org/viewcvs?rev=253891&root=gcc&view=rev
Log:
[ARM] PR 82445 - suppress 32-bit aligned ldrd/strd peepholing with
-mno-unaligned-access

Peephole patterns exist in the arm backend to spot load/store
operations to adjacent memory operations in order to convert them into
ldrd/strd instructions.  However, when we have strict alignment
enforced, then we can only do this if the accesses are known to be
64-bit aligned; this is unlikely to be the case for most loads.  The
patch adds some alignment checking to the code that validates the
addresses for use in the peephole patterns.  This should also fix
incorrect generation of ldrd/strd with unaligned accesses that could
previously have occurred on ARMv5e where all such operations must be
64-bit aligned.

I've added some new tests as well.  In doing so I discovered that the
ldrd/strd peephole tests could never fail since they would match the
source file name in the scanned assembly as well as any instructions
of the intended type.  I've fixed those by tightening the scan results
slightly.

gcc:

* config/arm/arm.c (align_ok_ldrd_strd): New function.
(mem_ok_for_ldrd_strd): New parameter align.  Extract the alignment of the
mem into it.
(gen_operands_ldrd_strd): Validate the alignment of the accesses.

testsuite:

* gcc.target/arm/peep-ldrd-1.c: Tighten test scan pattern.
* gcc.target/arm/peep-strd-1.c: Likewise.
* gcc.target/arm/peep-ldrd-2.c: New test.
* gcc.target/arm/peep-strd-2.c: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.target/arm/peep-ldrd-2.c
    branches/gcc-7-branch/gcc/testsuite/gcc.target/arm/peep-strd-2.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/arm/arm.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gcc.target/arm/peep-ldrd-1.c
    branches/gcc-7-branch/gcc/testsuite/gcc.target/arm/peep-strd-1.c
>From gcc-bugs-return-579104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:17:20 2017
Return-Path: <gcc-bugs-return-579104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35625 invoked by alias); 19 Oct 2017 13:17: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 35554 invoked by uid 55); 19 Oct 2017 13:17:14 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82445] ARM target generates unaligned STRD instruction
Date: Thu, 19 Oct 2017 13: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: 7.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82445-4-wqRIMo8X7j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02164.txt.bz2
Content-length: 2113

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445

--- Comment #8 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Thu Oct 19 13:16:42 2017
New Revision: 253892

URL: https://gcc.gnu.org/viewcvs?rev=253892&root=gcc&view=rev
Log:
[ARM] PR 82445 - suppress 32-bit aligned ldrd/strd peepholing with
-mno-unaligned-access

Peephole patterns exist in the arm backend to spot load/store
operations to adjacent memory operations in order to convert them into
ldrd/strd instructions.  However, when we have strict alignment
enforced, then we can only do this if the accesses are known to be
64-bit aligned; this is unlikely to be the case for most loads.  The
patch adds some alignment checking to the code that validates the
addresses for use in the peephole patterns.  This should also fix
incorrect generation of ldrd/strd with unaligned accesses that could
previously have occurred on ARMv5e where all such operations must be
64-bit aligned.

I've added some new tests as well.  In doing so I discovered that the
ldrd/strd peephole tests could never fail since they would match the
source file name in the scanned assembly as well as any instructions
of the intended type.  I've fixed those by tightening the scan results
slightly.

gcc:

* config/arm/arm.c (align_ok_ldrd_strd): New function.
(mem_ok_for_ldrd_strd): New parameter align.  Extract the alignment of the
mem into it.
(gen_operands_ldrd_strd): Validate the alignment of the accesses.

testsuite:

* gcc.target/arm/peep-ldrd-1.c: Tighten test scan pattern.
* gcc.target/arm/peep-strd-1.c: Likewise.
* gcc.target/arm/peep-ldrd-2.c: New test.
* gcc.target/arm/peep-strd-2.c: New test.


Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.target/arm/peep-ldrd-2.c
    branches/gcc-6-branch/gcc/testsuite/gcc.target/arm/peep-strd-2.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/config/arm/arm.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/gcc.target/arm/peep-ldrd-1.c
    branches/gcc-6-branch/gcc/testsuite/gcc.target/arm/peep-strd-1.c
>From gcc-bugs-return-579105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:20:38 2017
Return-Path: <gcc-bugs-return-579105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47649 invoked by alias); 19 Oct 2017 13:20: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 47257 invoked by uid 48); 19 Oct 2017 13:20:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Thu, 19 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: build
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-82595-4-uD1rY0O1Fa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02165.txt.bz2
Content-length: 689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-19
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42401
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42401&action=edit
gcc8-pr82595.patch

Untested fix.
>From gcc-bugs-return-579106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:22:56 2017
Return-Path: <gcc-bugs-return-579106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54872 invoked by alias); 19 Oct 2017 13: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 54479 invoked by uid 48); 19 Oct 2017 13:22:51 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82445] ARM target generates unaligned STRD instruction
Date: Thu, 19 Oct 2017 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.1
X-Bugzilla-Keywords: wrong-code
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: rearnsha at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-82445-4-9AaGCUjFWe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82445-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02166.txt.bz2
Content-length: 510

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.5

--- Comment #9 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Fixed on trunk gcc-6 & gcc-7
>From gcc-bugs-return-579107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:23:24 2017
Return-Path: <gcc-bugs-return-579107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56188 invoked by alias); 19 Oct 2017 13: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 56083 invoked by uid 48); 19 Oct 2017 13:23:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Thu, 19 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: build
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-82595-4-qzY02gA1Rv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02167.txt.bz2
Content-length: 178

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
BTW, why --without-pic?  What you want to achieve by that?
>From gcc-bugs-return-579108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:26:13 2017
Return-Path: <gcc-bugs-return-579108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62482 invoked by alias); 19 Oct 2017 13: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 62423 invoked by uid 55); 19 Oct 2017 13:26:09 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Thu, 19 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords:
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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82575-4-9OiG3KwkLF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02168.txt.bz2
Content-length: 1218

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

--- Comment #7 from Alan Modra <amodra at gmail dot com> ---
> --- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
> OK. I suppose they are properly prevailed by any global symbol of the same name
> as well? Like a weak definition with default visibility? Or is there the chance
> of linker diagnostics about 'mismatches'? 

Yes, I think they should be OK.  The ELF gABI says of hidden symbols:

"A hidden symbol contained in a relocatable object must be either removed or
converted to STB_LOCAL binding by the link-editor when the relocatable object
is included in an executable file or shared object."

With luck, linkers will choose the first option.

Also:

"First, all of the non-default visibility attributes, when applied to a symbol
reference, imply that a definition to satisfy that reference must be provided
within the current executable or shared object. If such a symbol reference has
no definition within the component being linked, then the reference must have
STB_WEAK binding and is resolved to zero."

Which is why I made the symbol weak as well as hidden.  Otherwise
there may well have been a warning.
>From gcc-bugs-return-579109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:30:38 2017
Return-Path: <gcc-bugs-return-579109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130315 invoked by alias); 19 Oct 2017 13: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 128580 invoked by uid 48); 19 Oct 2017 13:30:32 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/82130] stringification (#) in traditional mode
Date: Thu, 19 Oct 2017 13:30: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.1.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:
Message-ID: <bug-82130-4-kjschZnBei@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82130-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82130-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02169.txt.bz2
Content-length: 389

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82130

--- Comment #2 from janus at gcc dot gnu.org ---
(In reply to Heiko Eißfeldt from comment #1)
> This variant works for me with:

Yes, that's a simple workaround. Still, it would be nice to have support for
the stringification operator '#' in traditional mode (for compatibility with
standard mode and other compilers like ifort).
>From gcc-bugs-return-579110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:32:30 2017
Return-Path: <gcc-bugs-return-579110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2927 invoked by alias); 19 Oct 2017 13:32: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 2876 invoked by uid 48); 19 Oct 2017 13:32:26 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82618] Inefficient double-word subtration on x86_64
Date: Thu, 19 Oct 2017 13: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: 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: attachments.created
Message-ID: <bug-82618-4-GRfJrqRXZS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02170.txt.bz2
Content-length: 385

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82618

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 42402
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42402&action=edit
Prototype patch

Attached patch compiles the test to:

        movq    %rsi, %r10
        cmpq    %rdx, %rdi
        sbbq    %rcx, %r10
        movq    %r10, %rax
>From gcc-bugs-return-579111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:39:38 2017
Return-Path: <gcc-bugs-return-579111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68296 invoked by alias); 19 Oct 2017 13: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 68232 invoked by uid 48); 19 Oct 2017 13:39:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82618] Inefficient double-word subtration on x86_64
Date: Thu, 19 Oct 2017 13: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82618-4-EwB9hVY0RD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02171.txt.bz2
Content-length: 239

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82618

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Comment on attachment 42402
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42402
Prototype patch

Nice, thanks.
>From gcc-bugs-return-579112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:50:52 2017
Return-Path: <gcc-bugs-return-579112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61665 invoked by alias); 19 Oct 2017 13: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 57062 invoked by uid 55); 19 Oct 2017 13:50:43 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82509] DW_AT_endianity issues with attribute scalar_storage_order
Date: Thu, 19 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: wrong-debug
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-82509-4-3FR1dAFTzp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02172.txt.bz2
Content-length: 1472

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Thu Oct 19 13:50:10 2017
New Revision: 253893

URL: https://gcc.gnu.org/viewcvs?rev=253893&root=gcc&view=rev
Log:
        PR debug/82509
        * dwarf2out.c (new_die_raw): New static inline function.
        (new_die): Use it to create the DIE.
        (add_AT_external_die_ref): Likewise.
        (clone_die): Likewise.
        (clone_as_declaration): Likewise.
        (dwarf2out_vms_debug_main_pointer): Likewise.
        (base_type_die): Likewise.  Remove early return for corner cases.
        Do not call add_pubtype on the DIE here.
        (is_base_type): Remove ERROR_MARK and return 0 for VOID_TYPE.
        (modified_type_die): Adjust the lookup for reverse order DIEs.  Skip
        typedefs for base types with DW_AT_endianity.  Make sure a DIE with
        native order exists for base types, attach the DIE manually and call
        add_pubtype on it.  Do not equate a reverse order DIE to the type.

Added:
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/sso-1.c
      - copied unchanged from r253848,
trunk/gcc/testsuite/gcc.dg/debug/dwarf2/sso.c
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/sso-2.c
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/sso-3.c
Removed:
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/sso.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:52:04 2017
Return-Path: <gcc-bugs-return-579113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22204 invoked by alias); 19 Oct 2017 13: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 21680 invoked by uid 48); 19 Oct 2017 13:51:59 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82601] missing uninitialized warning with -O0 / -Og
Date: Thu, 19 Oct 2017 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: 8.0
X-Bugzilla-Keywords: diagnostic
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:
Message-ID: <bug-82601-4-Nwi8XFlcuF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82601-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82601-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02173.txt.bz2
Content-length: 951

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82601

--- Comment #2 from janus at gcc dot gnu.org ---
(In reply to Richard Biener from comment #1)
> (does intent(out) mean it comes in uninitialized?)

Yes. To quote the Fortran 2008 standard (from section 5.3.10):

"The INTENT (OUT) attribute for a nonpointer dummy argument specifies that the
dummy argument becomes undefined on invocation of the procedure, except for any
subcomponents that are default-initialized (4.5.4.6)."


> So - is 'o' uninitialized in
> 
> subroutine test(o)
>  integer, intent(out) :: o
>  print *, o
> end subroutine
> 
> ?

Absolutely (see above). Even if the actual argument has been initialized before
invocation of the subroutine, the Fortran standard requires the compiler to
treat 'o' as being uninitialized on entering the subroutine.


> (we don't warn but I also think we have no way to
> annotate sth as uninitalized that is passed by reference).

:(
>From gcc-bugs-return-579114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:54:40 2017
Return-Path: <gcc-bugs-return-579114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44723 invoked by alias); 19 Oct 2017 13: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 44616 invoked by uid 48); 19 Oct 2017 13:54:36 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82509] DW_AT_endianity issues with attribute scalar_storage_order
Date: Thu, 19 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: wrong-debug
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-82509-4-AhqIrCNd1q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02174.txt.bz2
Content-length: 496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82509

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Fixed on mainline.
>From gcc-bugs-return-579115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:59:31 2017
Return-Path: <gcc-bugs-return-579115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80323 invoked by alias); 19 Oct 2017 13:59: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 79701 invoked by uid 48); 19 Oct 2017 13:59:25 -0000
From: "sistek at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/81591] segmentation fault when using priorities of nested tasks
Date: Thu, 19 Oct 2017 13:59: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sistek 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:
Message-ID: <bug-81591-4-RjrH54uFkt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81591-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02175.txt.bz2
Content-length: 236

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81591

--- Comment #10 from Jakub Sistek <sistek at seznam dot cz> ---
Hello,

are there any news regarding this issue, please? Were you able to reproduce it?

Best wishes,

Jakub Sistek
>From gcc-bugs-return-579116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 13:59:58 2017
Return-Path: <gcc-bugs-return-579116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83005 invoked by alias); 19 Oct 2017 13: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 82915 invoked by uid 48); 19 Oct 2017 13:59:54 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82615] [8 Regression] SPEC CPU2006 453.povray ~10% performance deviation with r248863
Date: Thu, 19 Oct 2017 13: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: version
Message-ID: <bug-82615-4-bJslSftYfk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82615-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82615-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02176.txt.bz2
Content-length: 399

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82615

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |8.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The rev. was supposed to be a no-op?
>From gcc-bugs-return-579117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 14:00:40 2017
Return-Path: <gcc-bugs-return-579117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94834 invoked by alias); 19 Oct 2017 14: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 94769 invoked by uid 48); 19 Oct 2017 14:00:36 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82601] missing uninitialized warning for INTENT(OUT) argument with -O0 / -Og
Date: Thu, 19 Oct 2017 14:00: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
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:
Message-ID: <bug-82601-4-BokutDuH3x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82601-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82601-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02177.txt.bz2
Content-length: 830

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82601

--- Comment #3 from janus at gcc dot gnu.org ---
Here is a variant of the example in comment 0, where the subroutine has been
substituted by a function:


program uninit

   integer :: p,q
   p = -1
   q = f(p)
   if (p<q) print *,"..."

contains

   function f(i) result(o)
      integer, intent(in) :: i
      integer :: o
      if (i<0) then
         print *, "..."
      else
         o = 1
      end if
   end function

end


This neither gives a warning (with -Wall) nor a runtime error (with
-fcheck=all), but the function result (and thereby q) is clearly uninitialized.

If I remove the conditional initialization of 'o' completely, I get:

Warning: Return value ‘o’ of function ‘f’ declared at (1) not set
[-Wreturn-type]
>From gcc-bugs-return-579118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 14:04:42 2017
Return-Path: <gcc-bugs-return-579118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117985 invoked by alias); 19 Oct 2017 14:04: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 117899 invoked by uid 48); 19 Oct 2017 14:04:35 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82615] [8 Regression] SPEC CPU2006 453.povray ~10% performance deviation with r248863
Date: Thu, 19 Oct 2017 14: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82615-4-c4PrKo70Z0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82615-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82615-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02178.txt.bz2
Content-length: 226

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82615

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> The rev. was supposed to be a no-op?

I also guess so.
>From gcc-bugs-return-579119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 14:11:34 2017
Return-Path: <gcc-bugs-return-579119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 924 invoked by alias); 19 Oct 2017 14:11: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 861 invoked by uid 48); 19 Oct 2017 14:11:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82434] -fstore-merging does not work reliably.
Date: Thu, 19 Oct 2017 14: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: 7.2.1
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-82434-4-aa74kuON0q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82434-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02179.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82434

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-579120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 14:22:34 2017
Return-Path: <gcc-bugs-return-579120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26781 invoked by alias); 19 Oct 2017 14: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 26739 invoked by uid 48); 19 Oct 2017 14:22:30 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 because of abort redefinition
Date: Thu, 19 Oct 2017 14:22: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82610-4-tMM6vdWzMJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02180.txt.bz2
Content-length: 688

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Sorry about the breakage.

(In reply to Richard Biener from comment #1)
> Hmm, include/ shouldn't include system headers directly :/  Of course they
> all do...
> 
> <memory> is probably not too bad to include unconditionally, but maybe we
> can avoid including that for unique-ptr.h?  Quickly browsing doesn't find
> anything
> needing it?

Nothing is using gnu::unique_ptr currently, but I hope to start using it in
e.g.:
  https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01021.html
On C++-11 and beyond that's std::unique_ptr, and hence <memory> would be
needed.
>From gcc-bugs-return-579121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 14:25:20 2017
Return-Path: <gcc-bugs-return-579121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29589 invoked by alias); 19 Oct 2017 14:25: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 29445 invoked by uid 55); 19 Oct 2017 14:25:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Thu, 19 Oct 2017 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: 8.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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82600-4-3wNCHzFgZp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02181.txt.bz2
Content-length: 618

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Oct 19 14:24:39 2017
New Revision: 253899

URL: https://gcc.gnu.org/viewcvs?rev=253899&root=gcc&view=rev
Log:
        PR c++/82600
        * typeck.c (check_return_expr): Don't call
        maybe_warn_about_returning_address_of_local in templates.

        * g++.dg/warn/Wreturn-local-addr-4.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/warn/Wreturn-local-addr-4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 14:25:47 2017
Return-Path: <gcc-bugs-return-579122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30460 invoked by alias); 19 Oct 2017 14: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 30363 invoked by uid 48); 19 Oct 2017 14:25:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82600] [8 Regression] Address of local variable returned [-Werror=return-local-addr] when building mozilla-central
Date: Thu, 19 Oct 2017 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: 8.0
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82600-4-jaJwDmuLb7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02182.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82600

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-579123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 15:41:05 2017
Return-Path: <gcc-bugs-return-579123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51260 invoked by alias); 19 Oct 2017 15: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 51236 invoked by uid 48); 19 Oct 2017 15:41:01 -0000
From: "tower120 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82619] New: C++17 std::apply treated as in global namespace under certain circumstances
Date: Thu, 19 Oct 2017 15: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tower120 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-82619-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02183.txt.bz2
Content-length: 893

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82619

            Bug ID: 82619
           Summary: C++17 std::apply treated as in global namespace under
                    certain circumstances
           Product: gcc
           Version: 7.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tower120 at gmail dot com
  Target Milestone: ---

Created attachment 42403
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42403&action=edit
cmake project. Look at test/main.cpp

Under certain circumstances C++17's std::apply treated as if it is in global
namespace.

See attached cmake project. Specially src/reactive/oberver.h. Project is fail
to compile, with function is ambiguous error.

uncommenting /src/reactive/oberver.h line 49 makes it compilable.
>From gcc-bugs-return-579124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 15:50:47 2017
Return-Path: <gcc-bugs-return-579124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124906 invoked by alias); 19 Oct 2017 15:50: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 124578 invoked by uid 48); 19 Oct 2017 15:50:42 -0000
From: "d25fe0be at outlook dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82619] C++17 std::apply treated as in global namespace under certain circumstances
Date: Thu, 19 Oct 2017 15: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: d25fe0be 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:
Message-ID: <bug-82619-4-dsq6LzE5kI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82619-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82619-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02184.txt.bz2
Content-length: 194

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82619

--- Comment #1 from d25fe0be@ <d25fe0be at outlook dot com> ---
If a `std::tuple` is passed in as `tuple`, isn't `std::apply` found by ADL?
>From gcc-bugs-return-579125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:03:44 2017
Return-Path: <gcc-bugs-return-579125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59427 invoked by alias); 19 Oct 2017 16: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 59408 invoked by uid 55); 19 Oct 2017 16:03:40 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82596] missing -Warray-bounds on an out-of-bounds index into string literal
Date: Thu, 19 Oct 2017 16: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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82596-4-2deZsn6Isu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82596-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82596-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02185.txt.bz2
Content-length: 654

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82596

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Thu Oct 19 16:03:07 2017
New Revision: 253902

URL: https://gcc.gnu.org/viewcvs?rev=253902&root=gcc&view=rev
Log:
PR tree-optimization/82596 - missing -Warray-bounds on an out-of-bounds
  index into string literal

gcc/ChangeLog:
        * tree.c (array_at_struct_end_p): Handle STRING_CST.

gcc/testsuite/ChangeLog:
        * gcc/testsuite/gcc.dg/pr82596.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/pr82596.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c
>From gcc-bugs-return-579127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:15:46 2017
Return-Path: <gcc-bugs-return-579127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83276 invoked by alias); 19 Oct 2017 16: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 83178 invoked by uid 48); 19 Oct 2017 16:15:41 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds
Date: Thu, 19 Oct 2017 16:15: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: 4.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-56456-4-uvxBHdQyVe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56456-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02187.txt.bz2
Content-length: 496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
Bug 56456 depends on bug 82596, which changed state.

Bug 82596 Summary: missing -Warray-bounds on an out-of-bounds index into string literal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82596

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-579126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:15:46 2017
Return-Path: <gcc-bugs-return-579126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83262 invoked by alias); 19 Oct 2017 16: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 83148 invoked by uid 48); 19 Oct 2017 16:15:41 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82596] missing -Warray-bounds on an out-of-bounds index into string literal
Date: Thu, 19 Oct 2017 16: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: 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: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82596-4-uLYdfHZoii@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82596-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82596-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02186.txt.bz2
Content-length: 615

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82596

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
r253902 fixes one part of the problem involving string literals.  The other
part (the missing -Warray-bounds on (i < 0 ? ABC : DEF)[7]) is also subject to
pr82612 and will be fixed under that bug.
>From gcc-bugs-return-579128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:16:15 2017
Return-Path: <gcc-bugs-return-579128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85764 invoked by alias); 19 Oct 2017 16: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 85730 invoked by uid 48); 19 Oct 2017 16:16:11 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82620] New: [PDT] ICE: free_expr0(): Bad expr type (at fortran/expr.c:497)
Date: Thu, 19 Oct 2017 16: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: 8.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-82620-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02188.txt.bz2
Content-length: 1713

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82620

            Bug ID: 82620
           Summary: [PDT] ICE: free_expr0(): Bad expr type (at
                    fortran/expr.c:497)
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Tracking an issue due to a typo (in lack of a better example) :


$ cat z1.f90
program p
   type t(a)
      integer, len :: a
   end type
   type(t(:)), allocatable :: x, y
   allocate(t(4) :: x)
   allocate)t(7) :: y)
end


$ gfortran-8-20171015 -c z1.f90
f951: internal compiler error: free_expr0(): Bad expr type
0x68da6f gfc_internal_error(char const*, ...)
        ../../gcc/fortran/error.c:1349
0x68e81b free_expr0
        ../../gcc/fortran/expr.c:497
0x68e8c4 gfc_free_expr(gfc_expr*)
        ../../gcc/fortran/expr.c:518
0x68e8c4 gfc_free_actual_arglist(gfc_actual_arglist*)
        ../../gcc/fortran/expr.c:534
0x6be3aa gfc_match_allocate()
        ../../gcc/fortran/match.c:4324
0x6dbac9 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6df8f9 match_word
        ../../gcc/fortran/parse.c:439
0x6df8f9 decode_statement
        ../../gcc/fortran/parse.c:439
0x6e0fb4 next_free
        ../../gcc/fortran/parse.c:1225
0x6e0fb4 next_statement
        ../../gcc/fortran/parse.c:1457
0x6e3be6 parse_executable
        ../../gcc/fortran/parse.c:5230
0x6e4f3e parse_progunit
        ../../gcc/fortran/parse.c:5660
0x6e6354 gfc_parse_file()
        ../../gcc/fortran/parse.c:6174
0x72a6bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-579129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:18:16 2017
Return-Path: <gcc-bugs-return-579129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89130 invoked by alias); 19 Oct 2017 16:18: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 88708 invoked by uid 48); 19 Oct 2017 16:18:11 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82621] New: [6/7/8 Regression] wrong code with -Og -fgcse -fweb
Date: Thu, 19 Oct 2017 16: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: 8.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 cf_gccbuild attachments.created
Message-ID: <bug-82621-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02189.txt.bz2
Content-length: 3232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82621

            Bug ID: 82621
           Summary: [6/7/8 Regression] wrong code with -Og -fgcse -fweb
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: wrong-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: powerpc-unknown-linux-gnu
             Build: x86_64-pc-linux-gnu

Created attachment 42404
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42404&action=edit
reduced testcase

Output:
$ powerpc-unknown-linux-gnu-gcc -Og -fgcse -fweb testcase.c
$ ./a.out 
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted

$ powerpc-unknown-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-powerpc/bin/powerpc-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-253803-checking-yes-rtl-df-extra-nographite-powerpc/bin/../libexec/gcc/powerpc-unknown-linux-gnu/8.0.0/lto-wrapper
Target: powerpc-unknown-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--without-cloog --without-ppl --without-isl
--with-sysroot=/usr/powerpc-unknown-linux-gnu --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=powerpc-unknown-linux-gnu
--with-ld=/usr/bin/powerpc-unknown-linux-gnu-ld
--with-as=/usr/bin/powerpc-unknown-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-253803-checking-yes-rtl-df-extra-nographite-powerpc
Thread model: posix
gcc version 8.0.0 20171017 (experimental) (GCC)                                 

The problem seems to be that .combine does:
...
insn_cost 4 for   109: r188:SI=0
insn_cost 4 for    77: {r196:SI=0-r188:SI;ca:SI=leu(r188:SI,0);}
      REG_UNUSED ca:SI
insn_cost 4 for    79: {r203:SI=r130:SI-r188:SI;ca:SI=leu(r188:SI,r130:SI);}
      REG_DEAD r188:SI
      REG_DEAD r130:SI
      REG_UNUSED ca:SI
insn_cost 4 for    81: r182:SI=high(`b')
insn_cost 8 for    83: r183:SI=[r182:SI+low(`b')]
      REG_DEAD r182:SI
      REG_EQUAL [`b']
insn_cost 4 for    89:
{r198:SI=r203:SI+r183:SI;ca:SI=ltu(r203:SI+r183:SI,r203:SI);}
      REG_DEAD r203:SI
      REG_DEAD r183:SI
insn_cost 4 for    90: {r197:SI=r196:SI+r196:SI+ca:SI;clobber ca:SI;}
      REG_DEAD r196:SI
      REG_DEAD ca:SI
      REG_UNUSED ca:SI
...
Trying 77 -> 90:
Failed to match this instruction:
(parallel [
        (set (reg:SI 197)
            (const_int 1 [0x1]))
        (clobber (reg:SI 76 ca))
    ])
Successfully matched this instruction:
(set (reg:SI 197)
    (const_int 1 [0x1]))
allowing combination of insns 77 and 90
original costs 4 + 4 = 8
replacement cost 4
deferring deletion of insn with uid = 77.
deferring deletion of insn with uid = 77.
modifying insn i3    90: r197:SI=0x1
deferring rescan insn with uid = 90.
...


Even though ca from insn 89 should be used in insn 90.
>From gcc-bugs-return-579130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:20:01 2017
Return-Path: <gcc-bugs-return-579130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100363 invoked by alias); 19 Oct 2017 16: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 99998 invoked by uid 48); 19 Oct 2017 16:19:57 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82622] New: [PDT] ICE in structure_alloc_comps, at fortran/trans-array.c:8963
Date: Thu, 19 Oct 2017 16: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: 8.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-82622-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02190.txt.bz2
Content-length: 1852

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82622

            Bug ID: 82622
           Summary: [PDT] ICE in structure_alloc_comps, at
                    fortran/trans-array.c:8963
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

This one is an interesting case ...
(... and the last PR derived from this search)


$ cat z1.f90
program p
   type t(a)
      integer, len :: a
   end type
   type t2(b)
      integer, len :: b
      type(t(1)) :: r(b)
   end type
   type(t2(:)), allocatable :: x
   allocate (t2(3) :: x)
end


$ gfortran-8-20171015 -c z1.f90
z1.f90:10:0:

    allocate (t2(3) :: x)

internal compiler error: Segmentation fault
0xb5a08f crash_signal
        ../../gcc/toplev.c:326
0x73cc83 structure_alloc_comps
        ../../gcc/fortran/trans-array.c:8963
0x73ba67 structure_alloc_comps
        ../../gcc/fortran/trans-array.c:8371
0x73df30 gfc_allocate_pdt_comp(gfc_symbol*, tree_node*, int,
gfc_actual_arglist*)
        ../../gcc/fortran/trans-array.c:9301
0x73c083 structure_alloc_comps
        ../../gcc/fortran/trans-array.c:9099
0x73df30 gfc_allocate_pdt_comp(gfc_symbol*, tree_node*, int,
gfc_actual_arglist*)
        ../../gcc/fortran/trans-array.c:9301
0x79b84a gfc_trans_allocate(gfc_code*)
        ../../gcc/fortran/trans-stmt.c:6407
0x72d2f7 trans_code
        ../../gcc/fortran/trans.c:1976
0x753f6c gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6420
0x6e6580 translate_all_program_units
        ../../gcc/fortran/parse.c:6088
0x6e6580 gfc_parse_file()
        ../../gcc/fortran/parse.c:6291
0x72a6bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-579131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:20:34 2017
Return-Path: <gcc-bugs-return-579131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103377 invoked by alias); 19 Oct 2017 16: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 102989 invoked by uid 48); 19 Oct 2017 16:20:30 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82622] [PDT] ICE in structure_alloc_comps, at fortran/trans-array.c:8963
Date: Thu, 19 Oct 2017 16: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: 8.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: blocked
Message-ID: <bug-82622-4-60gX0WWA3G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02191.txt.bz2
Content-length: 833

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82622

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |82173

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

A simplified version without allocatables :


$ cat z2.f90
program p
   type t(a)
      integer, len :: a
   end type
   type t2(b)
      integer, len :: b
      type(t(1)) :: r(b)
   end type
   type(t2(3)) :: x
   print *, x
end


$ gfortran-8-20171015 -c z2.f90
virtual memory exhausted: Cannot allocate memory


# relevant system limits set to "unlimited"


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors
>From gcc-bugs-return-579132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:30:27 2017
Return-Path: <gcc-bugs-return-579132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50886 invoked by alias); 19 Oct 2017 16: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 50607 invoked by uid 48); 19 Oct 2017 16:30:03 -0000
From: "tower120 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82619] C++17 std::apply treated as in global namespace under certain circumstances
Date: Thu, 19 Oct 2017 16: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tower120 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-82619-4-yD8KWIGCHC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82619-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82619-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02192.txt.bz2
Content-length: 352

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82619

--- Comment #2 from tower120 <tower120 at gmail dot com> ---
> If a `std::tuple` is passed in as `tuple`, isn't `std::apply` found by ADL?

Maybe, I don't understand how and when ADL work :(

Visual Studio / clang compiler said nothing about it, so I thought ...

Are you sure, this is the case?
>From gcc-bugs-return-579133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:37:11 2017
Return-Path: <gcc-bugs-return-579133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59084 invoked by alias); 19 Oct 2017 16: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 59026 invoked by uid 48); 19 Oct 2017 16:37:07 -0000
From: "misty at brew dot sh" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Thu, 19 Oct 2017 16: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: 7.2.0
X-Bugzilla-Keywords: build, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: misty at brew dot sh
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81797-4-Tc5pLElBYq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02193.txt.bz2
Content-length: 558

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #31 from Misty De Meo <misty at brew dot sh> ---
> If --disable-libstdcxx-pch works (does it?), and until someone can investigate more, I'd be tempted to consider it a mac bug and recommend that option in https://gcc.gnu.org/install/specific.html .

For what it's worth, Apple's response was: "We analyzed the issue and
determined the problem to be a latent bug in gcc’s build system that is
revealed by changes in macOS High Sierra. The FSF will need up issue a fix in
gcc."
>From gcc-bugs-return-579134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:40:52 2017
Return-Path: <gcc-bugs-return-579134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63572 invoked by alias); 19 Oct 2017 16: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 63505 invoked by uid 48); 19 Oct 2017 16:40:48 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/79543] Inappropriate "ld --version" checking
Date: Thu, 19 Oct 2017 16:40: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: 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: tschwinge 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-79543-4-hq77HrJu7a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79543-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79543-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02194.txt.bz2
Content-length: 698

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79543

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-19
           Assignee|unassigned at gcc dot gnu.org      |tschwinge at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
<http://mid.mail-archive.com/87po9jhz9e.fsf@euler.schwinge.homeip.net>.
>From gcc-bugs-return-579135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:43:15 2017
Return-Path: <gcc-bugs-return-579135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13173 invoked by alias); 19 Oct 2017 16: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 7436 invoked by uid 48); 19 Oct 2017 16:43:11 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/79543] Inappropriate "ld --version" checking
Date: Thu, 19 Oct 2017 16:43: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: patch
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: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-79543-4-wCNBn7dZCp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79543-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79543-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02195.txt.bz2
Content-length: 543

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79543

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 Thomas Schwinge from comment #1)
> <http://mid.mail-archive.com/87po9jhz9e.fsf@euler.schwinge.homeip.net>.

This link doesn't work for me.
>From gcc-bugs-return-579136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:49:10 2017
Return-Path: <gcc-bugs-return-579136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71408 invoked by alias); 19 Oct 2017 16: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 71344 invoked by uid 55); 19 Oct 2017 16:49:06 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82395] [8 Regression] qsort comparator non-negative on sorted output: 1 in color_allocnos
Date: Thu, 19 Oct 2017 16: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: 8.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82395-4-zVHqzzV7eN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82395-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02196.txt.bz2
Content-length: 557

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82395

--- Comment #5 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Author: amonakov
Date: Thu Oct 19 16:48:34 2017
New Revision: 253904

URL: https://gcc.gnu.org/viewcvs?rev=253904&root=gcc&view=rev
Log:
ira-color: fix allocno_priority_compare_func for qsort (PR 82395)

        PR rtl-optimization/82395
        * ira-color.c (allocno_priority_compare_func): Fix comparison step
        based on non_spilled_static_chain_regno_p.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ira-color.c
>From gcc-bugs-return-579138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:50:25 2017
Return-Path: <gcc-bugs-return-579138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74145 invoked by alias); 19 Oct 2017 16:50: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 73988 invoked by uid 48); 19 Oct 2017 16:50:21 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82407] [8 Regression][meta-bug] qsort_chk fallout tracking
Date: Thu, 19 Oct 2017 16:50: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: ice-checking, meta-bug
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82407-4-Ni9RpV8xHg@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: 2017-10/txt/msg02198.txt.bz2
Content-length: 510

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82407
Bug 82407 depends on bug 82395, which changed state.

Bug 82395 Summary: [8 Regression] qsort comparator non-negative on sorted output: 1 in color_allocnos
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82395

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-579137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 16:50:24 2017
Return-Path: <gcc-bugs-return-579137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74032 invoked by alias); 19 Oct 2017 16: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 73951 invoked by uid 48); 19 Oct 2017 16:50:21 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82395] [8 Regression] qsort comparator non-negative on sorted output: 1 in color_allocnos
Date: Thu, 19 Oct 2017 16:50: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: amonakov 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: bug_status resolution
Message-ID: <bug-82395-4-eSdysNWsG3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82395-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02197.txt.bz2
Content-length: 437

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82395

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-579139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 17:00:30 2017
Return-Path: <gcc-bugs-return-579139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79038 invoked by alias); 19 Oct 2017 17:00: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 78783 invoked by uid 48); 19 Oct 2017 17:00:25 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82619] C++17 std::apply treated as in global namespace under certain circumstances
Date: Thu, 19 Oct 2017 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: 7.1.0
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-82619-4-LEL4yiGlnp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82619-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82619-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02199.txt.bz2
Content-length: 939

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82619

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-19
     Ever confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to tower120 from comment #0)
> Created attachment 42403 [details]
> cmake project. Look at test/main.cpp

I'm not going to look at this big pile of code, please provide preprocessed
source for the file that gives an error, as requested by the page you were told
to read when creating this bug report: https://gcc.gnu.org/bugs/

(In reply to d25fe0be@ from comment #1)
> If a `std::tuple` is passed in as `tuple`, isn't `std::apply` found by ADL?

Yes.
>From gcc-bugs-return-579140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 17:29:01 2017
Return-Path: <gcc-bugs-return-579140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67710 invoked by alias); 19 Oct 2017 17: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 67419 invoked by uid 48); 19 Oct 2017 17:28:57 -0000
From: "tower120 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82619] C++17 std::apply treated as in global namespace under certain circumstances
Date: Thu, 19 Oct 2017 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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tower120 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-82619-4-3t151m29uQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82619-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82619-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02200.txt.bz2
Content-length: 1497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82619

tower120 <tower120 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from tower120 <tower120 at gmail dot com> ---
Sorry, this is ADL indeed.

I just noticed, that I tested in other compilers with -std=C++14 flag. That's
why that worked in all other compilers and pre gcc7.


Now, being aware of ADL, I am able to make the shortest version of "bug":

#include <tuple>

namespace ns {
    template<class F, class Tuple, std::size_t... I>
    static constexpr decltype(auto) apply_impl(F &&f, Tuple &&t,
std::index_sequence<I...>) {
        return f(std::get<I>(std::forward<Tuple>(t))...);
    }

    template<class F, class Tuple>
    static constexpr decltype(auto) apply(F &&f, Tuple &&t) {
        return apply_impl(std::forward<F>(f), std::forward<Tuple>(t),
                         
std::make_index_sequence<std::tuple_size<std::decay_t<Tuple>>::value>{});
    }

    template<class Closure, class Tuple>
    static void foreach_tuple(Closure &&closure, Tuple &&tuple) {
        //ns::
        apply([&](auto &&... args) {}, tuple);
    }
}


int main() {
    std::tuple t = {1,2,3};
    ns::foreach_tuple([](auto i){}, t);
    return 0;
}
>From gcc-bugs-return-579141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 17:36:16 2017
Return-Path: <gcc-bugs-return-579141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98404 invoked by alias); 19 Oct 2017 17: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 98074 invoked by uid 55); 19 Oct 2017 17:36:12 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82618] Inefficient double-word subtration on x86_64
Date: Thu, 19 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uros at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82618-4-6LdRHhuLlB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02201.txt.bz2
Content-length: 587

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82618

--- Comment #5 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Oct 19 17:35:39 2017
New Revision: 253905

URL: https://gcc.gnu.org/viewcvs?rev=253905&root=gcc&view=rev
Log:
        PR target/82618
        * config/i386/i386.md (sub to cmp): New peephole2 pattern.

testsuite/ChangeLog:

        PR target/82618
        * gcc.target/i386/pr82618.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82618.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 17:42:54 2017
Return-Path: <gcc-bugs-return-579142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5287 invoked by alias); 19 Oct 2017 17:42:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 5213 invoked by uid 48); 19 Oct 2017 17:42:49 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82618] Inefficient double-word subtraction on x86_64
Date: Thu, 19 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords:
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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget bug_status resolution assigned_to target_milestone short_desc
Message-ID: <bug-82618-4-szbaVpao3w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82618-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02202.txt.bz2
Content-length: 778

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82618

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |ubizjak at gmail dot com
   Target Milestone|---                         |8.0
            Summary|Inefficient double-word     |Inefficient double-word
                   |subtration on x86_64        |subtraction on x86_64

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
Implemented for gcc-8.
>From gcc-bugs-return-579143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 17:49:24 2017
Return-Path: <gcc-bugs-return-579143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31548 invoked by alias); 19 Oct 2017 17:49: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 26324 invoked by uid 48); 19 Oct 2017 17:48:48 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Thu, 19 Oct 2017 17:49: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: 6.4.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-jZhG0EWw96@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02203.txt.bz2
Content-length: 362

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #17 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Thanks for your effort; I'm still seeing noise though.

Sorry, I'm not fluent in fortran: is there a way to call wait() from fortran?
I could try adding it at the end of the testcase, to see if it reliably fixes
the problem I observed.
>From gcc-bugs-return-579144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 17:50:03 2017
Return-Path: <gcc-bugs-return-579144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33000 invoked by alias); 19 Oct 2017 17: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 32918 invoked by uid 55); 19 Oct 2017 17:49:56 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Thu, 19 Oct 2017 17:50: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-y9wqvR8bOi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02204.txt.bz2
Content-length: 931

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #18 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Thu Oct 19 17:49:24 2017
New Revision: 253907

URL: https://gcc.gnu.org/viewcvs?rev=253907&root=gcc&view=rev
Log:
2017-10-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR libfortran/82233
        * intrinsics/execute_command_line.c (execute_command_line):
        No call to runtime_error if cmdstat is present.

2017-10-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR libfortran/82233
        * gfortran.dg/execute_command_line_3.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/execute_command_line_3.f90
Modified:
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/libgfortran/ChangeLog
    branches/gcc-7-branch/libgfortran/intrinsics/execute_command_line.c
>From gcc-bugs-return-579145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 17:53:18 2017
Return-Path: <gcc-bugs-return-579145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60655 invoked by alias); 19 Oct 2017 17: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 59547 invoked by uid 48); 19 Oct 2017 17:53:14 -0000
From: "aaahaaah at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82623] New: many omp tests failed for both C++ and Fortran, gcc-6.4 on Redhat 7.3/64
Date: Thu, 19 Oct 2017 17: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aaahaaah 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-82623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02205.txt.bz2
Content-length: 1391

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

            Bug ID: 82623
           Summary: many omp tests failed for both C++ and Fortran,
                    gcc-6.4 on Redhat 7.3/64
           Product: gcc
           Version: 6.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: aaahaaah at yandex dot ru
  Target Milestone: ---

Created attachment 42405
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42405&action=edit
the output of gcc-6.4 tests

System: RedHat-7.3/64
Trying to compile gcc-6.4
The compilation itself ended up without errors.

Problem: Many OMP tests failed (both C++ and Fortran).

The following chain of commands was executed on the newly installed system:

sudo yum install mc wget curl cmake make binutils gcc gcc-c++ gcc-gfortran
openssh-clients openssh-server git automake meld

sudo yum groupinstall "Development Tools"

sudo yum install tkinter tk-devel vtk-devel texlive*

sudo yum install ncurses-devel boost-devel readline-devel

# Compile gcc:
sudo yum install gmp-devel mpfr-devel libmpc-devel texinfo perl bzip2 gzip
autoconf m4 automake gettext gperf autogen guile dejagnu expect tcl-devel

./configure --disable-multilib --enable-languages=c,c++,fortran
make
make check

The output log-file is attached.
>From gcc-bugs-return-579146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 17:55:33 2017
Return-Path: <gcc-bugs-return-579146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41702 invoked by alias); 19 Oct 2017 17:55: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 35971 invoked by uid 55); 19 Oct 2017 17:55:30 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79402] ICE with submodules: module procedure interface defined in parent module
Date: Thu, 19 Oct 2017 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: 6.3.1
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-79402-4-ONy8YrrwdO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79402-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79402-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02206.txt.bz2
Content-length: 832

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79402

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Oct 19 17:54:58 2017
New Revision: 253908

URL: https://gcc.gnu.org/viewcvs?rev=253908&root=gcc&view=rev
Log:
2017-10-19  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/79402
        * resolve.c (fixup_unique_dummy): New function.
        (gfc_resolve_expr): Call it for dummy variables with a unique
        symtree name.

2017-10-19  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/79402
        * gfortran.dg/submodule_23.f90: New test.


Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/submodule_23.f90
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/resolve.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 17:57:12 2017
Return-Path: <gcc-bugs-return-579147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89436 invoked by alias); 19 Oct 2017 17: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 86500 invoked by uid 48); 19 Oct 2017 17:57:08 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79402] ICE with submodules: module procedure interface defined in parent module
Date: Thu, 19 Oct 2017 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: 6.3.1
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-79402-4-YwbbO6HmBk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79402-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79402-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02207.txt.bz2
Content-length: 526

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79402

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> ---
Fixed in 6-, 7- and 8-branches.

Thanks for the report. Sorry that it took so long to get back to 6-branch.

Paul
>From gcc-bugs-return-579148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 18:08:58 2017
Return-Path: <gcc-bugs-return-579148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12414 invoked by alias); 19 Oct 2017 18: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 12330 invoked by uid 48); 19 Oct 2017 18:08:55 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82623] many omp tests failed for both C++ and Fortran, gcc-6.4 on Redhat 7.3/64
Date: Thu, 19 Oct 2017 18:08: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: 6.4.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 component
Message-ID: <bug-82623-4-hpFlBXAosb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02208.txt.bz2
Content-length: 476

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
          Component|c++                         |libgomp

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Can you provide the libgomp.log file?
>From gcc-bugs-return-579149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 18:10:02 2017
Return-Path: <gcc-bugs-return-579149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13528 invoked by alias); 19 Oct 2017 18: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 13465 invoked by uid 48); 19 Oct 2017 18:09:57 -0000
From: "oarias at knights dot ucf.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82624] New: [msp430] Target must allow for NULL pointer dereferences
Date: Thu, 19 Oct 2017 18: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: oarias at knights dot ucf.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-82624-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02209.txt.bz2
Content-length: 2433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82624

            Bug ID: 82624
           Summary: [msp430] Target must allow for NULL pointer
                    dereferences
           Product: gcc
           Version: 7.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: oarias at knights dot ucf.edu
  Target Milestone: ---

Created attachment 42406
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42406&action=edit
Disable -fdelete-null-pointer-checks in the msp430-elf target.

Greetings,

I filed a similar bug report to this one a few months ago [1]. I have come back
now more informed and with a fix (although for a different target). When
compiling the following code with -O2 or higher, the compiler generates a call
to abort.

void test(void) {
    volatile unsigned char* p = (volatile unsigned char*)0;
    *p = 0;
}

$ msp430-elf-gcc -O2 -S -mcpu=msp430 test.c

test:
        MOV.B   #0, &0
        CALL    #abort

(I believe gcc8 now generates an error for this instead of silently issuing bad
code, which is a lot saner.)

This is due to the activation of the -fdelete-null-pointer-checks option.
However, in MSP430, the memory area from 0x0000 to 0x000f is reserved for the
special function registers. These can be legitimately accessed by the software
during a read or write operation. For example, in the MSP430G2553, address 0
points to register IE1 (Interrupt Enable Register 1). Without access to this
register in that particular microcontroller, we are unable to enable interrupts
for the flash memory controller, watchdog timer, and USART module.

The reason we have yet to run into this particular issue is because the way TI
defines these symbols in the linker script that they distribute for the
msp430-elf toolchain:

PROVIDE(IE1                = 0x0000);

However, if using a definition from a header file which explicitly declares a
register as a pointer to address 0, code will fail to compile properly.

The attached patch disables this optimization for the msp430-elf target. I
_think_ it also updated all relevant bits of the documentation and the test
suite. If the latter is wrong, let me know what needs to be changed and I can
resubmit it. Thank you.

Cheers,
Orlando.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81720
>From gcc-bugs-return-579150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 18:11:07 2017
Return-Path: <gcc-bugs-return-579150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21921 invoked by alias); 19 Oct 2017 18:11: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 21879 invoked by uid 48); 19 Oct 2017 18:11:03 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82624] [msp430] Target must allow for NULL pointer dereferences
Date: Thu, 19 Oct 2017 18: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: 7.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-82624-4-ff9HQfp2tV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82624-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82624-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02210.txt.bz2
Content-length: 161

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82624

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Patches should be sent to gcc-patches@.
>From gcc-bugs-return-579151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 18:18:36 2017
Return-Path: <gcc-bugs-return-579151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103771 invoked by alias); 19 Oct 2017 18:18: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 100153 invoked by uid 55); 19 Oct 2017 18:18:31 -0000
From: "egall at gwmail dot gwu.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Thu, 19 Oct 2017 18: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.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egall at gwmail dot gwu.edu
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-82595-4-E2MVrH7HPP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02211.txt.bz2
Content-length: 717

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

--- Comment #6 from Eric Gallager <egall at gwmail dot gwu.edu> ---
On 10/19/17, jakub at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595
>
> --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> BTW, why --without-pic?  What you want to achieve by that?
>

I just copied it from my configure line from my home computer, which
runs i386-apple-darwin9.8.0, where I was trying --without-pic while
trying to fight with -mdynamic-no-pic when overriding BOOT_CFLAGS. I
guess I don't need it when compiling on the compile farm...

> --
> You are receiving this mail because:
> You reported the bug.
>From gcc-bugs-return-579152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 18:28:25 2017
Return-Path: <gcc-bugs-return-579152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13110 invoked by alias); 19 Oct 2017 18:28: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 12876 invoked by uid 48); 19 Oct 2017 18:28:20 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Thu, 19 Oct 2017 18: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: 7.2.0
X-Bugzilla-Keywords: build, patch
X-Bugzilla-Severity: normal
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-81797-4-vmO65DJXiq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02212.txt.bz2
Content-length: 708

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #32 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Misty De Meo from comment #31)
> For what it's worth, Apple's response was: "We analyzed the issue and
> determined the problem to be a latent bug in gcc’s build system that is
> revealed by changes in macOS High Sierra. The FSF will need up issue a fix
> in gcc."

Thanks for forwarding. Their response is oh so precise and helpful... "bug on
your side, washing my hands". I can't complain since I basically did the same
thing in my previous comment, but if they really did analyze the issue, one
might expect that they would share what the bug actually is :-(
>From gcc-bugs-return-579153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 18:28:44 2017
Return-Path: <gcc-bugs-return-579153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24745 invoked by alias); 19 Oct 2017 18:28: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 20778 invoked by uid 48); 19 Oct 2017 18:28:39 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82620] [PDT] ICE: free_expr0(): Bad expr type (at fortran/expr.c:497)
Date: Thu, 19 Oct 2017 18: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
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-82620-4-9W5NjL0goO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82620-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82620-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02213.txt.bz2
Content-length: 1427

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82620

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 ---
Index: match.c
===================================================================
--- match.c     (revision 253587)
+++ match.c     (working copy)
@@ -3968,7 +3968,10 @@ gfc_match_allocate (void)
   saw_stat = saw_errmsg = saw_source = saw_mold = saw_deferred = false;

   if (gfc_match_char ('(') != MATCH_YES)
-    goto syntax;
+    {
+      gfc_syntax_error (ST_ALLOCATE);
+      return MATCH_NO;
+    }

   /* Match an optional type-spec.  */
   old_locus = gfc_current_locus;
@@ -4318,7 +4321,8 @@ cleanup:
   gfc_free_expr (source);
   gfc_free_expr (stat);
   gfc_free_expr (mold);
-  if (tmp && tmp->expr_type) gfc_free_expr (tmp);
+  if (tmp && tmp->expr_type)
+    gfc_free_expr (tmp);
   gfc_free_alloc_list (head);
   if (type_param_spec_list)

% gfcx -c d.f90
d.f90:7:11:

    allocate)t(7) :: y)
           1
Error: Syntax error in ALLOCATE statement at (1)

%
>From gcc-bugs-return-579154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 18:40:32 2017
Return-Path: <gcc-bugs-return-579154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12360 invoked by alias); 19 Oct 2017 18:40: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 12043 invoked by uid 48); 19 Oct 2017 18:40:27 -0000
From: "michael.collison at linaro dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82597] [8 Regression] ICE at -O2 and -O3 x86_64-linux-gnu in the 32-bit mode: in extract_constrain_insn, at recog.c:2207
Date: Thu, 19 Oct 2017 18:40: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: michael.collison at linaro 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82597-4-y1nScD7S35@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02214.txt.bz2
Content-length: 932

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82597

Michael Collison <michael.collison at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.collison at linaro dot org

--- Comment #4 from Michael Collison <michael.collison at linaro dot org> ---
I am testing a patch that adds constrain the operands in compare-elim.c. Note
however that the test case has bug in it that seems to trigger the ICE. Without
the bug in the test case, the ICE no longer occurs.

Specifically the function 'int a (h, i)' has two parameters that default to
int. However in the call to function 'a' in:

void j () { long k = f (d (1, e = c), g); a (k) && (b = 0); }

only one argument 'k' is passed. When I modify the test case to add another
argument the ICE does not occur.
>From gcc-bugs-return-579155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 18:47:15 2017
Return-Path: <gcc-bugs-return-579155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53437 invoked by alias); 19 Oct 2017 18: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 53352 invoked by uid 48); 19 Oct 2017 18:47:10 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82617] Internal compiler error in expand_expr_real_1 when compiling the attached file
Date: Thu, 19 Oct 2017 18: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: 7.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: 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-82617-4-A2FJo6Ktls@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82617-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82617-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02215.txt.bz2
Content-length: 2423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82617

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-19
                 CC|                            |kargl at gcc dot gnu.org
          Component|fortran                     |middle-end
     Ever confirmed|0                           |1

--- Comment #1 from kargl at gcc dot gnu.org ---
Can you post the backtrace you get?  With top of tree, I see

% gfcx -c h.f90
h.f90:22:0:

   FUNCTION str_words(str,white) RESULT(items)

Error: Local declaration from a different function
..__result
h.f90:27:0:

     items = strwords_impl(str,white)

note: in statement
..__result = ..__result;
h.f90:22:0:

   FUNCTION str_words(str,white) RESULT(items)

Error: Local declaration from a different function
..__result
h.f90:27:0:

     items = strwords_impl(str,white)

note: in statement
_28 = (integer(kind=8)) ..__result;
h.f90:22:0:

   FUNCTION str_words(str,white) RESULT(items)

Error: Local declaration from a different function
..__result
h.f90:27:0:

     items = strwords_impl(str,white)

note: in statement
D.3686 = (sizetype) ..__result;
during GIMPLE pass: cfg
h.f90:22:0:

   FUNCTION str_words(str,white) RESULT(items)

internal compiler error: verify_gimple failed
0xda9ea6 verify_gimple_in_cfg(function*, bool)
        ../../gcc/gcc/tree-cfg.c:5397
0xcb152f execute_function_todo
        ../../gcc/gcc/passes.c:1992
0xcb234e execute_todo
        ../../gcc/gcc/passes.c:2046
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.

The reduced testcase 

module test

  implicit none

  contains

  function str_words(x,y) result(z)
    character(len=:), dimension(:), allocatable :: z
    character(len=*), intent(in) :: x, y
    z = strwords_impl(x,y)
  end function str_words

  function strwords_impl(a, b) result(c)
    character(len=:), dimension(:), allocatable :: c
    character(len=*), intent(in) :: a, b
    allocate(character(len=0) :: c(0))
  end function strwords_impl

end module test

yields the same result.  These errors appear to be
coming from the middle-end.
>From gcc-bugs-return-579156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 19:08:20 2017
Return-Path: <gcc-bugs-return-579156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13935 invoked by alias); 19 Oct 2017 19: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 125112 invoked by uid 48); 19 Oct 2017 19:08:15 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82620] [PDT] ICE: free_expr0(): Bad expr type (at fortran/expr.c:497)
Date: Thu, 19 Oct 2017 19: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.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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82620-4-f3E29bL3Uc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82620-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82620-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02216.txt.bz2
Content-length: 526

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82620

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-19
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The patch in comment1 seems the way to go.
>From gcc-bugs-return-579157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 19:09:32 2017
Return-Path: <gcc-bugs-return-579157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41921 invoked by alias); 19 Oct 2017 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 33105 invoked by uid 48); 19 Oct 2017 19:09:28 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82597] [8 Regression] ICE at -O2 and -O3 x86_64-linux-gnu in the 32-bit mode: in extract_constrain_insn, at recog.c:2207
Date: Thu, 19 Oct 2017 19:09: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82597-4-GxH33HVZdJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02217.txt.bz2
Content-length: 160

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82597

--- Comment #5 from Arseny Solokha <asolokha at gmx dot com> ---
So there is another testcase in PR82592.
>From gcc-bugs-return-579158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 19:15:31 2017
Return-Path: <gcc-bugs-return-579158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44127 invoked by alias); 19 Oct 2017 19:15: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 43970 invoked by uid 48); 19 Oct 2017 19:15:27 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82617] Internal compiler error in expand_expr_real_1 when compiling the attached file
Date: Thu, 19 Oct 2017 19: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: 7.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-82617-4-sCAkLwbMbH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82617-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82617-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02218.txt.bz2
Content-length: 553

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82617

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The ICE depends on the configuration of the compiler:

with --enable-checking=release, I get

during RTL pass: expand
pr82617.f90:27:0:

     items = strwords_impl(str,white)

internal compiler error: in expand_expr_real_1, at expr.c:9862

with --enable-checking=yes, I get the ICE in comment 1.

> These errors appear to be coming from the middle-end.

Yes, but probably because the frontend does do the "right" thing.
>From gcc-bugs-return-579159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 20:08:05 2017
Return-Path: <gcc-bugs-return-579159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121932 invoked by alias); 19 Oct 2017 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 121878 invoked by uid 48); 19 Oct 2017 20:08:00 -0000
From: "uzytkownik2 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82625] New: lower-optimization are not inlined with symbol multiversioning
Date: Thu, 19 Oct 2017 20:08: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: uzytkownik2 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-82625-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02219.txt.bz2
Content-length: 1983

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82625

            Bug ID: 82625
           Summary: lower-optimization are not inlined with symbol
                    multiversioning
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: uzytkownik2 at gmail dot com
  Target Milestone: ---

Consider following toy example:

__attribute__ ((target ("default")))
static uint32_t foo(const char *buf, size_t size) {
  return 1;
}

__attribute__ ((target ("avx")))
static uint32_t foo(const char *buf, size_t size) {
  return 2;
}

__attribute__ ((target ("default")))
uint32_t bar() {
  char buf[4096];
  uint32_t acc = 0;
  for (int i = 0; i < sizeof(buf); i++) {
    acc += foo(&buf[i], 1);
  }
  return acc;
}

__attribute__ ((target ("avx")))
uint32_t bar() {
  char buf[4096];
  uint32_t acc = 0;
  for (int i = 0; i < sizeof(buf); i++) {
    acc += foo(&buf[i], 1);
  }
  return acc;
}

bar.avx is correctly optimized to mov:

bar() [clone .avx]:
        movl    $8192, %eax
        ret

However even though default bar could be optimized to mov as well it goes
through loop and dispatch:

bar():
        pushq   %r12
        pushq   %rbp
        xorl    %ebp, %ebp
        pushq   %rbx
        subq    $4096, %rsp
        leaq    4096(%rsp), %r12
        movq    %rsp, %rbx
.L10:
        movq    %rbx, %rdi
        movl    $1, %esi
        addq    $1, %rbx
        call   
_ZL3fooPKcm._GLOBAL____tmp_compiler_explorer_compiler117919_59_b8onwy.b8iqhyqfr_example.cpp_00000000_0x82e640d209aabe90.ifunc(char
const*, unsigned long)
        addl    %eax, %ebp
        cmpq    %r12, %rbx
        jne     .L10
        addq    $4096, %rsp
        movl    %ebp, %eax
        popq    %rbx
        popq    %rbp
        popq    %r12
        ret

Possibly overlapping with bug #71990.
>From gcc-bugs-return-579160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 20:12:41 2017
Return-Path: <gcc-bugs-return-579160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128613 invoked by alias); 19 Oct 2017 20:12: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 128479 invoked by uid 48); 19 Oct 2017 20:12:37 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Thu, 19 Oct 2017 20: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.4.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81924-4-q2wdYI2hYg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02220.txt.bz2
Content-length: 237

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

--- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Yeah, that looks like a backporting oversight.

I'll have a look after I recover from the post-vacation email slog.
>From gcc-bugs-return-579161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 20:17:22 2017
Return-Path: <gcc-bugs-return-579161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6178 invoked by alias); 19 Oct 2017 20:17: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 6139 invoked by uid 48); 19 Oct 2017 20:17:17 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82614] GCOV crashes while parsing gcda file
Date: Thu, 19 Oct 2017 20:17: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla dot com
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-82614-4-KIoCnfBZTZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02221.txt.bz2
Content-length: 1157

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

--- Comment #5 from Marco Castelluccio <mcastelluccio at mozilla dot com> ---
(In reply to Martin Liška from comment #4)
> (In reply to Marco Castelluccio from comment #3)
> > > Thanks for the report Marco. Looks it comes from Firefox, am I right?
> > 
> > Yes, that's correct. Actually, from a build of the JS shell.
> > 
> > > Which version of GCC have you been using?
> > 
> > The build was done with "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609".
> > 
> > We were also able to reproduce the crash with a gcda generated normally,
> > without __gcov_dump.
> 
> I see, not the GCC 5.x is not longer supported. Anyway, please paste
> backtrace from gcov when the segfaults happens.

I'm having a hard time installing debugging symbols here, I might have to build
GCC from scratch.
If you already have a debug build of GCC 6 lurking around, you could try if you
could reproduce the crash yourself.

> I did quite some fixes to gcov that are included in GCC 7.x branch. Can you
> please test a new release?

We are testing with GCC 6 now, and will try with GCC 7 later on.
>From gcc-bugs-return-579162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 20:17:47 2017
Return-Path: <gcc-bugs-return-579162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7171 invoked by alias); 19 Oct 2017 20: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 7106 invoked by uid 48); 19 Oct 2017 20:17:44 -0000
From: "michael.collison at linaro dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82597] [8 Regression] ICE at -O2 and -O3 x86_64-linux-gnu in the 32-bit mode: in extract_constrain_insn, at recog.c:2207
Date: Thu, 19 Oct 2017 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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: michael.collison at linaro 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82597-4-AtIZEj5rEm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82597-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02222.txt.bz2
Content-length: 224

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82597

--- Comment #6 from Michael Collison <michael.collison at linaro dot org> ---
Yes I am aware of that report. I have a fix that should be sent to gcc-patches
shortly.
>From gcc-bugs-return-579163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 21:31:27 2017
Return-Path: <gcc-bugs-return-579163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83710 invoked by alias); 19 Oct 2017 21:31: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 83663 invoked by uid 48); 19 Oct 2017 21:31:22 -0000
From: "gcc at grundis dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/82626] New: -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Thu, 19 Oct 2017 21:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: regression
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at grundis 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-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02223.txt.bz2
Content-length: 799

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

            Bug ID: 82626
           Summary: -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to
                    be -1
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc at grundis dot de
  Target Milestone: ---

This was detected when compiling this:

echo "#include <cmath>" | g++ -x c++ - -msse -mfpmath=sse -o /dev/null

This combination of flags seems to cause a definition of __FLT_EVAL_METHOD__=-1
while it should be 2(?). This causes more issues later on code that relies on
that define. See https://sourceforge.net/p/mingw/bugs/2352/
>From gcc-bugs-return-579164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 21:37:14 2017
Return-Path: <gcc-bugs-return-579164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90049 invoked by alias); 19 Oct 2017 21: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 89997 invoked by uid 48); 19 Oct 2017 21:37:10 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82627] New: [8 regression] r253809 breaks test cases gcc.dg/graphite/interchange-3.c -7.c, -9.c, and uns-interchange-9.c
Date: Thu, 19 Oct 2017 21:37: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.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-82627-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02224.txt.bz2
Content-length: 1861

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82627

            Bug ID: 82627
           Summary: [8 regression] r253809 breaks test cases
                    gcc.dg/graphite/interchange-3.c -7.c, -9.c, and
                    uns-interchange-9.c
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

gcc.dg/graphite/interchange-3.c
gcc.dg/graphite/interchange-7.c
gcc.dg/graphite/interchange-9.c
gcc.dg/graphite/uns-interchange-9.c

The above test cases started failing with r253809 on powerpc64 be.  They run
fine on le.

They all fail the same way:

PASS: gcc.dg/graphite/interchange-9.c execution test
FAIL: gcc.dg/graphite/interchange-9.c scan-tree-dump graphite "tiled"

I compared the r253808 and 9 dumps and in the r253808 one there's a "not tiled"
output line missing in the other.

. . .
data dependences (
{ S_3[i1, 110] -> S_4[i1] : 0 <= i1 <= 110; S_9[110] -> S_6[]; S_4[i1] ->
S_9[i1] : 0 <= i1 <= 110; S_9[i1] -> S_3[1 + i1, 0] : 0 <= i1 <= 109; S_3[i1,
110] -> S_5[1 + i1] : 0 <= i1 <= 109; S_9[i1] -> S_5[1 + i1] : 0 <= i1 <= 109;
S_9[i1] -> S_9[1 + i1] : 0 <= i1 <= 109; S_5[i1] -> S_9[i1] : 0 <= i1 <= 110;
S_3[i1, i2] -> S_3[i1, 1 + i2] : 0 <= i1 <= 110 and 0 <= i2 <= 109; S_3[i1,
110] -> S_3[1 + i1, 0] : 0 <= i1 <= 109; S_11[] -> S_5[0]; S_4[i1] -> S_3[1 +
i1, 0] : 0 <= i1 <= 109; S_5[i1] -> S_3[i1, 0] : 0 <= i1 <= 110 }
)
not tiled
[scheduler] original schedule:
domain: "{ S_5[i1] : 0 <= i1 <= 110; S_9[i1] : 0 <= i1 <= 110; S_11[]; S_3[i1,
i2] : 0 <= i1 <= 110 and 0 <= i2 <= 110; S_6[]; S_4[i1] : 0 <= i1 <= 110 }"
. . .
>From gcc-bugs-return-579165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 21:41:18 2017
Return-Path: <gcc-bugs-return-579165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123680 invoked by alias); 19 Oct 2017 21: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 123336 invoked by uid 48); 19 Oct 2017 21:41:14 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Thu, 19 Oct 2017 21: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: 6.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: 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: cf_gcctarget bug_status resolution
Message-ID: <bug-82626-4-50Ddm1OB9i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02225.txt.bz2
Content-length: 792

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |i?86-*-*
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
from: http://en.cppreference.com/w/c/types/limits/FLT_EVAL_METHOD

-1      the default precision is not known

See http://pubs.opengroup.org/onlinepubs/009695399/basedefs/float.h.html also
The use of evaluation formats is characterized by the implementation-defined
value of FLT_EVAL_METHOD:

-1
Indeterminable.
>From gcc-bugs-return-579166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 21:54:08 2017
Return-Path: <gcc-bugs-return-579166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110620 invoked by alias); 19 Oct 2017 21: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 108286 invoked by uid 55); 19 Oct 2017 21:54:03 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Thu, 19 Oct 2017 21: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-82626-4-3bPgcGAmyf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02226.txt.bz2
Content-length: 204

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
I think a value of 0 should be correct with -mfpmath=sse.
>From gcc-bugs-return-579167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 22:03:40 2017
Return-Path: <gcc-bugs-return-579167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11691 invoked by alias); 19 Oct 2017 22:03: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 11622 invoked by uid 48); 19 Oct 2017 22:03:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Thu, 19 Oct 2017 22: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: 6.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82626-4-mXRxPDe2Av@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02227.txt.bz2
Content-length: 657

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

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> ---
(In reply to joseph@codesourcery.com from comment #2)
> I think a value of 0 should be correct with -mfpmath=sse.

For -msse2 -mfpmath=sse sure, and that is what you get.
But for -mno-sse2 -msse -mfpmath=sse only float computations are done in SSE,
double is done in x87.
>From gcc-bugs-return-579168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 22:32:58 2017
Return-Path: <gcc-bugs-return-579168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129174 invoked by alias); 19 Oct 2017 22: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 129066 invoked by uid 48); 19 Oct 2017 22:32:50 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/81712] gcc does not compile when using glib 2.26 (everything works fine with 2.25)
Date: Thu, 19 Oct 2017 22:32: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: 7.1.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:
Message-ID: <bug-81712-4-OB9tQfX6l7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81712-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81712-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02228.txt.bz2
Content-length: 174

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed by r249731 on trunk and r249956 on gcc-7-branch
>From gcc-bugs-return-579169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 23:06:58 2017
Return-Path: <gcc-bugs-return-579169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7834 invoked by alias); 19 Oct 2017 23:06: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 1235 invoked by uid 55); 19 Oct 2017 23:06:54 -0000
From: "amodra at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Thu, 19 Oct 2017 23: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.0
X-Bugzilla-Keywords:
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: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82575-4-BiEOlFVgqX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02229.txt.bz2
Content-length: 1089

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

--- Comment #8 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Thu Oct 19 23:06:20 2017
New Revision: 253914

URL: https://gcc.gnu.org/viewcvs?rev=253914&root=gcc&view=rev
Log:
PR82575, lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

If __gnu_lto_slim is global, undefined, default visibility in the
early debug object, then it finds its way into .dynsym when creating
shared libraries.  __gnu_lto_slim in a symbol table (.dynsym or
.symtab) signals nm and other binutils that the object is an LTO
object needing a plugin, but that isn't the case for the ld liblti-17
tests.  So, make __gnu_lto_slim hidden to prevent it becoming
dynamic.  Further, make it weak because some linkers may warn on
finding an undefined global non-default visibility symbol.

        PR lto/82575
        * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
        Make discarded non-local symbols weak and hidden.


Modified:
    trunk/libiberty/ChangeLog
    trunk/libiberty/simple-object-elf.c
>From gcc-bugs-return-579170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 23:10:26 2017
Return-Path: <gcc-bugs-return-579170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35690 invoked by alias); 19 Oct 2017 23: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 33570 invoked by uid 48); 19 Oct 2017 23:10:22 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Thu, 19 Oct 2017 23: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82575-4-wfkHsvRfUk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02230.txt.bz2
Content-length: 414

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Alan Modra <amodra at gmail dot com> ---
Fixed
>From gcc-bugs-return-579171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 23:12:23 2017
Return-Path: <gcc-bugs-return-579171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18925 invoked by alias); 19 Oct 2017 23:12: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 16924 invoked by uid 48); 19 Oct 2017 23:12:19 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82598] [8 Regression] lto debugobj lacks .note.GNU-stack
Date: Thu, 19 Oct 2017 23: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82598-4-YuUfgFJtUx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82598-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82598-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02231.txt.bz2
Content-length: 453

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82598

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Fixed on all the targets I reported, thanks!
>From gcc-bugs-return-579172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 23:16:33 2017
Return-Path: <gcc-bugs-return-579172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83630 invoked by alias); 19 Oct 2017 23:16: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 77867 invoked by uid 48); 19 Oct 2017 23:16:29 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82628] New: wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Thu, 19 Oct 2017 23:16: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-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02232.txt.bz2
Content-length: 1651

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

            Bug ID: 82628
           Summary: wrong code at -Os on x86_64-linux-gnu in the 32-bit
                    mode
           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/8.0.0/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 8.0.0 20171019 (experimental) [trunk revision 253908] (GCC) 
$ 
$ gcctk -m32 -O1 small.c; ./a.out
$ gcc-7.2.0 -m32 -Os small.c; ./a.out
gcc-7.2.0: error trying to exec 'cc1': execvp: No such file or directory
$ 
$ gcctk -m32 -Os small.c
$ timeout -s 9 2 ./a.out > out
Killed
$ ls -l out
-rw------- 1 su su 86507520 Oct 19 16:15 out
$ 


--------------------------------------------------------


int printf (const char *, ...);

int a, b = 1;

int main ()
{
  while (1) 
    {
      unsigned long long d = 18446744073709551615UL; 
      while (1)
        {
          int e = b;
          while (d < 2) 
            printf ("0"); 
          if (a)
            d++;
          if (b)
            break;
        }
      break;
    }
  return 0; 
}
>From gcc-bugs-return-579173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 19 23:23:20 2017
Return-Path: <gcc-bugs-return-579173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97040 invoked by alias); 19 Oct 2017 23: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 96981 invoked by uid 48); 19 Oct 2017 23:23:15 -0000
From: "thorstenkurth at me dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82629] New: OpenMP 4.5 Target Region mangling problem
Date: Thu, 19 Oct 2017 23: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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thorstenkurth at me 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-82629-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02233.txt.bz2
Content-length: 7792

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82629

            Bug ID: 82629
           Summary: OpenMP 4.5 Target Region mangling problem
           Product: gcc
           Version: 7.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thorstenkurth at me dot com
  Target Milestone: ---

Dear Sir/Madam,

I run into linking issues with gcc (GCC) 7.1.1 20170718 and OpenMP 4.5 target
offloading. I am compiling a mixed fortran/C++ code where target regions can be
in both source files. The final linking stage fails with the following error
message:

mpic++  -g -O3 -std=c++11  -fopenmp -foffload=nvptx-none
-DCG_USE_OLD_CONVERGENCE_CRITERIA -DBL_OMP_FABS -DNDEBUG -DBL_USE_MPI
-DBL_USE_OMP -DBL_GCC_VERSION='7.1.1' -DBL_GCC_MAJOR_VERSION=7
-DBL_GCC_MINOR_VERSION=1 -DBL_SPACEDIM=3 -DBL_FORT_USE_UNDERSCORE -DBL_Linux
-DMG_USE_FBOXLIB -DBL_USE_F_BASELIB -DBL_USE_FORTRAN_MPI -DUSE_F90_SOLVERS -I.
-I../../Src/C_BoundaryLib -I../../Src/LinearSolvers/C_CellMG
-I../../Src/LinearSolvers/C_CellMG4 -I../../Src/C_BaseLib
-I../../Src/C_BoundaryLib -I../../Src/C_BaseLib
-I../../Src/LinearSolvers/C_CellMG -I../../Src/LinearSolvers/C_CellMG4
-I../../Src/LinearSolvers/C_to_F_MG -I../../Src/LinearSolvers/C_to_F_MG
-I../../Src/LinearSolvers/F_MG -I../../Src/LinearSolvers/F_MG
-I../../Src/F_BaseLib -I../../Src/F_BaseLib -L.  -o main3d.gnu.MPI.OMP.ex
o/3d.gnu.MPI.OMP.EXE/main.o o/3d.gnu.MPI.OMP.EXE/writePlotFile.o
o/3d.gnu.MPI.OMP.EXE/FabSet.o o/3d.gnu.MPI.OMP.EXE/BndryRegister.o
o/3d.gnu.MPI.OMP.EXE/Mask.o o/3d.gnu.MPI.OMP.EXE/MultiMask.o
o/3d.gnu.MPI.OMP.EXE/BndryData.o o/3d.gnu.MPI.OMP.EXE/InterpBndryData.o
o/3d.gnu.MPI.OMP.EXE/MacBndry.o o/3d.gnu.MPI.OMP.EXE/ABecLaplacian.o
o/3d.gnu.MPI.OMP.EXE/CGSolver.o o/3d.gnu.MPI.OMP.EXE/LinOp.o
o/3d.gnu.MPI.OMP.EXE/Laplacian.o o/3d.gnu.MPI.OMP.EXE/MultiGrid.o
o/3d.gnu.MPI.OMP.EXE/ABec2.o o/3d.gnu.MPI.OMP.EXE/ABec4.o
o/3d.gnu.MPI.OMP.EXE/BoxLib.o o/3d.gnu.MPI.OMP.EXE/ParmParse.o
o/3d.gnu.MPI.OMP.EXE/Utility.o o/3d.gnu.MPI.OMP.EXE/UseCount.o
o/3d.gnu.MPI.OMP.EXE/DistributionMapping.o
o/3d.gnu.MPI.OMP.EXE/ParallelDescriptor.o o/3d.gnu.MPI.OMP.EXE/VisMF.o
o/3d.gnu.MPI.OMP.EXE/Arena.o o/3d.gnu.MPI.OMP.EXE/BArena.o
o/3d.gnu.MPI.OMP.EXE/CArena.o o/3d.gnu.MPI.OMP.EXE/OMPArena.o
o/3d.gnu.MPI.OMP.EXE/NFiles.o o/3d.gnu.MPI.OMP.EXE/FabConv.o
o/3d.gnu.MPI.OMP.EXE/FPC.o o/3d.gnu.MPI.OMP.EXE/Box.o
o/3d.gnu.MPI.OMP.EXE/IntVect.o o/3d.gnu.MPI.OMP.EXE/IndexType.o
o/3d.gnu.MPI.OMP.EXE/Orientation.o o/3d.gnu.MPI.OMP.EXE/Periodicity.o
o/3d.gnu.MPI.OMP.EXE/RealBox.o o/3d.gnu.MPI.OMP.EXE/BoxList.o
o/3d.gnu.MPI.OMP.EXE/BoxArray.o o/3d.gnu.MPI.OMP.EXE/BoxDomain.o
o/3d.gnu.MPI.OMP.EXE/FArrayBox.o o/3d.gnu.MPI.OMP.EXE/IArrayBox.o
o/3d.gnu.MPI.OMP.EXE/BaseFab.o o/3d.gnu.MPI.OMP.EXE/MultiFab.o
o/3d.gnu.MPI.OMP.EXE/iMultiFab.o o/3d.gnu.MPI.OMP.EXE/FabArray.o
o/3d.gnu.MPI.OMP.EXE/CoordSys.o o/3d.gnu.MPI.OMP.EXE/Geometry.o
o/3d.gnu.MPI.OMP.EXE/MultiFabUtil.o o/3d.gnu.MPI.OMP.EXE/BCRec.o
o/3d.gnu.MPI.OMP.EXE/PhysBCFunct.o o/3d.gnu.MPI.OMP.EXE/PlotFileUtil.o
o/3d.gnu.MPI.OMP.EXE/BLProfiler.o o/3d.gnu.MPI.OMP.EXE/BLBackTrace.o
o/3d.gnu.MPI.OMP.EXE/MemPool.o o/3d.gnu.MPI.OMP.EXE/MGT_Solver.o
o/3d.gnu.MPI.OMP.EXE/FMultiGrid.o o/3d.gnu.MPI.OMP.EXE/MultiFab_C_F.o
o/3d.gnu.MPI.OMP.EXE/backtrace_c.o o/3d.gnu.MPI.OMP.EXE/fabio_c.o
o/3d.gnu.MPI.OMP.EXE/timer_c.o o/3d.gnu.MPI.OMP.EXE/BLutil_F.o
o/3d.gnu.MPI.OMP.EXE/BLParmParse_F.o o/3d.gnu.MPI.OMP.EXE/BLBoxLib_F.o
o/3d.gnu.MPI.OMP.EXE/BLProfiler_F.o o/3d.gnu.MPI.OMP.EXE/INTERPBNDRYDATA_3D.o
o/3d.gnu.MPI.OMP.EXE/LO_UTIL.o o/3d.gnu.MPI.OMP.EXE/ABec_3D.o
o/3d.gnu.MPI.OMP.EXE/ABec_UTIL.o o/3d.gnu.MPI.OMP.EXE/LO_3D.o
o/3d.gnu.MPI.OMP.EXE/LP_3D.o o/3d.gnu.MPI.OMP.EXE/MG_3D.o
o/3d.gnu.MPI.OMP.EXE/ABec2_3D.o o/3d.gnu.MPI.OMP.EXE/ABec4_3D.o
o/3d.gnu.MPI.OMP.EXE/COORDSYS_3D.o o/3d.gnu.MPI.OMP.EXE/FILCC_3D.o
o/3d.gnu.MPI.OMP.EXE/BaseFab_nd.o o/3d.gnu.MPI.OMP.EXE/threadbox.o
o/3d.gnu.MPI.OMP.EXE/MultiFabUtil_3d.o o/3d.gnu.MPI.OMP.EXE/mempool_f.o
o/3d.gnu.MPI.OMP.EXE/compute_defect.o o/3d.gnu.MPI.OMP.EXE/coarsen_coeffs.o
o/3d.gnu.MPI.OMP.EXE/mg_prolongation.o o/3d.gnu.MPI.OMP.EXE/ml_prolongation.o
o/3d.gnu.MPI.OMP.EXE/cc_mg_cpp.o o/3d.gnu.MPI.OMP.EXE/cc_applyop.o
o/3d.gnu.MPI.OMP.EXE/cc_ml_resid.o o/3d.gnu.MPI.OMP.EXE/cc_smoothers.o
o/3d.gnu.MPI.OMP.EXE/cc_stencil.o o/3d.gnu.MPI.OMP.EXE/cc_stencil_apply.o
o/3d.gnu.MPI.OMP.EXE/cc_stencil_fill.o
o/3d.gnu.MPI.OMP.EXE/cc_interface_stencil.o
o/3d.gnu.MPI.OMP.EXE/cc_mg_tower_smoother.o o/3d.gnu.MPI.OMP.EXE/itsol.o
o/3d.gnu.MPI.OMP.EXE/mg.o o/3d.gnu.MPI.OMP.EXE/mg_tower.o
o/3d.gnu.MPI.OMP.EXE/ml_cc.o o/3d.gnu.MPI.OMP.EXE/ml_nd.o
o/3d.gnu.MPI.OMP.EXE/ml_norm.o o/3d.gnu.MPI.OMP.EXE/tridiag.o
o/3d.gnu.MPI.OMP.EXE/nodal_mg_cpp.o o/3d.gnu.MPI.OMP.EXE/nodal_mask.o
o/3d.gnu.MPI.OMP.EXE/nodal_divu.o
o/3d.gnu.MPI.OMP.EXE/nodal_interface_stencil.o
o/3d.gnu.MPI.OMP.EXE/nodal_newu.o o/3d.gnu.MPI.OMP.EXE/nodal_stencil.o
o/3d.gnu.MPI.OMP.EXE/nodal_stencil_fill.o
o/3d.gnu.MPI.OMP.EXE/nodal_smoothers.o
o/3d.gnu.MPI.OMP.EXE/nodal_stencil_apply.o o/3d.gnu.MPI.OMP.EXE/nodal_sum.o
o/3d.gnu.MPI.OMP.EXE/nodal_mg_tower_smoother.o
o/3d.gnu.MPI.OMP.EXE/stencil_types.o o/3d.gnu.MPI.OMP.EXE/nodal_sync_resid.o
o/3d.gnu.MPI.OMP.EXE/stencil_util.o o/3d.gnu.MPI.OMP.EXE/bc.o
o/3d.gnu.MPI.OMP.EXE/bc_functions.o o/3d.gnu.MPI.OMP.EXE/bl_constants.o
o/3d.gnu.MPI.OMP.EXE/bl_error.o o/3d.gnu.MPI.OMP.EXE/bl_IO.o
o/3d.gnu.MPI.OMP.EXE/bl_stream.o o/3d.gnu.MPI.OMP.EXE/bl_string.o
o/3d.gnu.MPI.OMP.EXE/bl_timer.o o/3d.gnu.MPI.OMP.EXE/bl_types.o
o/3d.gnu.MPI.OMP.EXE/bl_mem_stat.o o/3d.gnu.MPI.OMP.EXE/bl_space.o
o/3d.gnu.MPI.OMP.EXE/bl_prof_stubs.o o/3d.gnu.MPI.OMP.EXE/bndry_reg.o
o/3d.gnu.MPI.OMP.EXE/box_f.o o/3d.gnu.MPI.OMP.EXE/boxarray_f.o
o/3d.gnu.MPI.OMP.EXE/define_bc_tower.o o/3d.gnu.MPI.OMP.EXE/fab.o
o/3d.gnu.MPI.OMP.EXE/fabio.o o/3d.gnu.MPI.OMP.EXE/knapsack.o
o/3d.gnu.MPI.OMP.EXE/layout.o o/3d.gnu.MPI.OMP.EXE/list_box.o
o/3d.gnu.MPI.OMP.EXE/ml_boxarray.o o/3d.gnu.MPI.OMP.EXE/ml_layout.o
o/3d.gnu.MPI.OMP.EXE/ml_multifab.o o/3d.gnu.MPI.OMP.EXE/cc_restriction.o
o/3d.gnu.MPI.OMP.EXE/nodal_restriction.o
o/3d.gnu.MPI.OMP.EXE/ml_cc_restriction.o
o/3d.gnu.MPI.OMP.EXE/ml_nd_restriction.o
o/3d.gnu.MPI.OMP.EXE/nodal_neumann_bcs.o
o/3d.gnu.MPI.OMP.EXE/nodal_stencil_bc.o o/3d.gnu.MPI.OMP.EXE/multifab_f.o
o/3d.gnu.MPI.OMP.EXE/sort_box.o o/3d.gnu.MPI.OMP.EXE/sort_d.o
o/3d.gnu.MPI.OMP.EXE/sort_i.o o/3d.gnu.MPI.OMP.EXE/vector_i.o
o/3d.gnu.MPI.OMP.EXE/omp.o o/3d.gnu.MPI.OMP.EXE/parallel.o
o/3d.gnu.MPI.OMP.EXE/multifab_c.o o/3d.gnu.MPI.OMP.EXE/backtrace_f.o
o/3d.gnu.MPI.OMP.EXE/RHS_3D.o o/3d.gnu.MPI.OMP.EXE/COEF_3D.o
o/3d.gnu.MPI.OMP.EXE/bl_fort_module.o -lmpi_ibm
/autofs/nccs-svm1_sw/summitdev/gcc/7.1.1-20170802/bin/../lib/gcc/powerpc64le-unknown-linux-gnu/7.1.1/../../../../lib64/libgfortran.a 
lto1: fatal error: o/3d.gnu.MPI.OMP.EXE/FabSet.o: section
_ZN7BaseFabIdE4multEdRK3Boxii$_omp_fn$1 is missing

Looking carefully into that object file I find:

-bash-4.2$ nm o/3d.gnu.MPI.OMP.EXE/FabSet.o | grep omp | grep Base | grep mult
00000000000002d0 t _ZN7BaseFabIdE4multEdRK3Boxii._omp_fn.0
0000000000000000 t _ZN7BaseFabIdE4multEdRK3Boxii._omp_fn.1
0000000000000000 d _ZZN7BaseFabIdE4multEdRK3BoxiiE19.omp_data_kinds.145
0000000000000002 d _ZZN7BaseFabIdE4multEdRK3BoxiiE19.omp_data_kinds.153
0000000000000018 d _ZZN7BaseFabIdE4multEdRK3BoxiiE19.omp_data_sizes.152

The second entry is the function it is actually looking for, except that the
suffix $_omp_fn$1 is  ._omp_fn.1 instead. Is that an issue? In any case, the
code does not link. Can you tell me if that different naming is actually a
problem or if that is just a difference in printing between c++ linker and nm?

Best Regards
Thorsten Kurth
>From gcc-bugs-return-579175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 00:16:17 2017
Return-Path: <gcc-bugs-return-579175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13784 invoked by alias); 20 Oct 2017 00: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 13384 invoked by uid 48); 20 Oct 2017 00:16:12 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79790] [C++17] ICE class template argument deduction failed
Date: Fri, 20 Oct 2017 00: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.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: 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-79790-4-OrmomQzprl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79790-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79790-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02235.txt.bz2
Content-length: 454

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79790

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pkeir at outlook dot com

--- Comment #11 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 80997 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 00:16:16 2017
Return-Path: <gcc-bugs-return-579174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13668 invoked by alias); 20 Oct 2017 00: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 13189 invoked by uid 48); 20 Oct 2017 00:16:11 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80997] Failed C++17 class template deduction causes an ICE
Date: Fri, 20 Oct 2017 00: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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-80997-4-vviWvAoAU2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80997-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80997-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02234.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80997

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Dup.

*** This bug has been marked as a duplicate of bug 79790 ***
>From gcc-bugs-return-579176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 00:31:18 2017
Return-Path: <gcc-bugs-return-579176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26557 invoked by alias); 20 Oct 2017 00: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 26399 invoked by uid 55); 20 Oct 2017 00:31:14 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82308] [C++17] deduction of template arguments results in internal compiler error
Date: Fri, 20 Oct 2017 00: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: 7.2.0
X-Bugzilla-Keywords:
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-82308-4-FrgPWTspKO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82308-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02236.txt.bz2
Content-length: 504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82308

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Oct 20 00:30:41 2017
New Revision: 253920

URL: https://gcc.gnu.org/viewcvs?rev=253920&root=gcc&view=rev
Log:
2017-10-19  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/82308
        * g++.dg/cpp1z/class-deduction45.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction45.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 00:32:23 2017
Return-Path: <gcc-bugs-return-579177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27667 invoked by alias); 20 Oct 2017 00: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 27633 invoked by uid 48); 20 Oct 2017 00:32:19 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82308] [C++17] deduction of template arguments results in internal compiler error
Date: Fri, 20 Oct 2017 00: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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-82308-4-nYxSsYoEv0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82308-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02237.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82308

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in trunk.
>From gcc-bugs-return-579179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 01:40:22 2017
Return-Path: <gcc-bugs-return-579179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33427 invoked by alias); 20 Oct 2017 01:40: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 33366 invoked by uid 48); 20 Oct 2017 01:40:18 -0000
From: "rafael.espindola at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82630] New: Bogus DW_AT_GNU_call_site_value
Date: Fri, 20 Oct 2017 01:40: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael.espindola 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-82630-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02239.txt.bz2
Content-length: 1743

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82630

            Bug ID: 82630
           Summary: Bogus DW_AT_GNU_call_site_value
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rafael.espindola at gmail dot com
  Target Milestone: ---

Created attachment 42407
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42407&action=edit
testcase

If the attached file is compiled with "g++ test.cpp -fPIC  -g  -O3 -m32", the
produced dwarf has

DW_AT_location              len 0x0001: 52: DW_OP_reg2

Which means an argument is begin passed in edx. It also has

DW_AT_GNU_call_site_value   len 0x000e: 730003000000001c030000000022:
DW_OP_breg3+0 DW_OP_addr 0x00000000 DW_OP_minus DW_OP_addr 0x00000000
DW_OP_plus

The first DW_op_addr is

 .long   _GLOBAL_OFFSET_TABLE_

and the second one is

.long   .LC0

The first line actually produces a R_386_GOTPC, so it looks like the expression
is computing

(ebx - (GOTEND - PC)) + LC0

The code using LC0 is

_Z3fn3Pi:
        pushl   %esi
        pushl   %ebx
        xorl    %ebx, %ebx
        call    __x86.get_pc_thunk.si
        addl    $_GLOBAL_OFFSET_TABLE_, %esi
        subl    $12, %esp
        movl    24(%esp), %eax
        leal    .LC0@GOTOFF(%esi), %edx
        pushl   %ebx
        movl    %esi, %ebx
        pushl   %eax
        call    _ZL3fn2PiPKc1C.constprop.0

So at the point of the call ebx is GOTEND. This suggests that gcc is actually
trying to compute

(ebx - GOTEND) + LC0 but getting R_386_GOTPC wrong. But the expression also
simplifies to just LC0, which is what is actually in edx.
>From gcc-bugs-return-579178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 01:40:22 2017
Return-Path: <gcc-bugs-return-579178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33414 invoked by alias); 20 Oct 2017 01:40: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 33365 invoked by uid 48); 20 Oct 2017 01:40:18 -0000
From: "rafael.espindola at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82631] New: Bogus DW_AT_GNU_call_site_value
Date: Fri, 20 Oct 2017 01:40: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael.espindola 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-82631-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02238.txt.bz2
Content-length: 1743

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82631

            Bug ID: 82631
           Summary: Bogus DW_AT_GNU_call_site_value
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rafael.espindola at gmail dot com
  Target Milestone: ---

Created attachment 42408
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42408&action=edit
testcase

If the attached file is compiled with "g++ test.cpp -fPIC  -g  -O3 -m32", the
produced dwarf has

DW_AT_location              len 0x0001: 52: DW_OP_reg2

Which means an argument is begin passed in edx. It also has

DW_AT_GNU_call_site_value   len 0x000e: 730003000000001c030000000022:
DW_OP_breg3+0 DW_OP_addr 0x00000000 DW_OP_minus DW_OP_addr 0x00000000
DW_OP_plus

The first DW_op_addr is

 .long   _GLOBAL_OFFSET_TABLE_

and the second one is

.long   .LC0

The first line actually produces a R_386_GOTPC, so it looks like the expression
is computing

(ebx - (GOTEND - PC)) + LC0

The code using LC0 is

_Z3fn3Pi:
        pushl   %esi
        pushl   %ebx
        xorl    %ebx, %ebx
        call    __x86.get_pc_thunk.si
        addl    $_GLOBAL_OFFSET_TABLE_, %esi
        subl    $12, %esp
        movl    24(%esp), %eax
        leal    .LC0@GOTOFF(%esi), %edx
        pushl   %ebx
        movl    %esi, %ebx
        pushl   %eax
        call    _ZL3fn2PiPKc1C.constprop.0

So at the point of the call ebx is GOTEND. This suggests that gcc is actually
trying to compute

(ebx - GOTEND) + LC0 but getting R_386_GOTPC wrong. But the expression also
simplifies to just LC0, which is what is actually in edx.
>From gcc-bugs-return-579180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 02:01:21 2017
Return-Path: <gcc-bugs-return-579180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99475 invoked by alias); 20 Oct 2017 02: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 98916 invoked by uid 48); 20 Oct 2017 02:01:17 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82612] missing -Warray-bounds on a non-zero offset from the address of a non-array object
Date: Fri, 20 Oct 2017 02: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.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-82612-4-lWAcLhB6h7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82612-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82612-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02240.txt.bz2
Content-length: 1185

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82612

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
I realize there's no ARRAY_REF but users unfamiliar with GCC internals don't,
nor would they care.  I'm less concerned about code that defeats the type
system by using casts (though it would be nice to diagnose those as well if
possible).  What I think is important to try to diagnose is mistakes in
otherwise good, clean code.  Here's another example:

  struct A { char a[4]; };
  struct B { struct A a[2]; };

  int f (struct B *b)
  {
    char *p = b[0].a[1].a;

    return p[13];   // invalid: MEM[(char *)b_2(D) + 17B];
  }

  int g (struct B *b)
  {
    char *p = b[1].a[1].a;

    return p[1];   // valid: MEM[(char *)b_2(D) + 17B];
  }

There's no way to diagnose this in tree-vrp.c because there's no way to
distinguish the two MEM_REFs at that point (same as in pr82585).  This isn't a
shortcoming of the warning code in tree-vrp.c  But it is a deficiency in the
-Warray-bounds warning.  This coding bug could be detected before the pointer
addition that still has access to the array bounds is folded into a MEM_REF (in
tree-ssa-forwprop.c).
>From gcc-bugs-return-579181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 03:36:56 2017
Return-Path: <gcc-bugs-return-579181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17839 invoked by alias); 20 Oct 2017 03: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 17729 invoked by uid 48); 20 Oct 2017 03:36:50 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Fri, 20 Oct 2017 03: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: 6.4.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82233-4-qAgy4scS7d@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02241.txt.bz2
Content-length: 831

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #19 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #17)
> Thanks for your effort; I'm still seeing noise though.
> 
> Sorry, I'm not fluent in fortran: is there a way to call wait() from fortran?
> I could try adding it at the end of the testcase, to see if it reliably
> fixes the problem I observed.

You can use ISO_C_Binding and call a C function.  See
https://gcc.gnu.org/onlinedocs/gfortran/Interoperable-Subroutines-and-Functions.html
>From gcc-bugs-return-579182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 03:39:51 2017
Return-Path: <gcc-bugs-return-579182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90677 invoked by alias); 20 Oct 2017 03: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 90637 invoked by uid 48); 20 Oct 2017 03:39:47 -0000
From: "barry.revzin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82632] New: copy deduction candidate erroneously preferred over deduction-guide
Date: Fri, 20 Oct 2017 03: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: 8.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-82632-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02242.txt.bz2
Content-length: 1341

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82632

            Bug ID: 82632
           Summary: copy deduction candidate erroneously preferred over
                    deduction-guide
           Product: gcc
           Version: 8.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: ---

Minimal example courtesy of STL from
https://bugs.llvm.org/show_bug.cgi?id=34970:

template <typename X, typename Y> struct IsSame {
    static constexpr bool value = false;
};

template <typename Z> struct IsSame<Z, Z> {
    static constexpr bool value = true;
};

template <typename T> struct Optional {
    template <typename U> Optional(U&&) { }
};

template <typename A> Optional(A) -> Optional<A>;

int main() {
    Optional opt(1729);
    Optional dupe(opt);

    static_assert(IsSame<decltype(opt), Optional<int>>::value);
    static_assert(IsSame<decltype(dupe), Optional<int>>::value);
    static_assert(!IsSame<decltype(dupe), Optional<Optional<int>>>::value);
}

gcc accepts this code, but dupe should be an Optional<Optional<int>> since the
deduction-guide should take precedence over the copy deduction candidate per
the ordering in [over.match.best].
>From gcc-bugs-return-579183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 06:23:06 2017
Return-Path: <gcc-bugs-return-579183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81138 invoked by alias); 20 Oct 2017 06: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 81084 invoked by uid 48); 20 Oct 2017 06:23:01 -0000
From: "pavel.revak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/51242] [C++11] Unable to use strongly typed enums as bit fields
Date: Fri, 20 Oct 2017 06: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: 4.6.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pavel.revak 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-51242-4-4qc5z5dMAc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-51242-4@http.gcc.gnu.org/bugzilla/>
References: <bug-51242-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02243.txt.bz2
Content-length: 1206

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51242

Pavel Revak <pavel.revak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pavel.revak at gmail dot com

--- Comment #30 from Pavel Revak <pavel.revak at gmail dot com> ---
(In reply to Jonathan Wakely from comment #29)
> (In reply to Sasha B from comment #28)
> > You can disregard whether the underlying type is fixed or not. So, GCC
> > should not give a warning unless a bitfield containing Foo really is too
> > small to hold a given value of Foo, warning on the assignment makes sense.
> 
> I agree that we could warn on assignment instead. If the values assigned to
> the bitfield are constant and known to fit, there's no need to warn. See PR
> 61414 for the same warning. I don't know if we need to keep both bugs open.

Yes I agree that this warning has no sense if the constant don't reach the
maximum bits used in bitfield.

Instead of solution where warning is possible to disable with switch will be
better to test if maximum constant in enum will fit into bitfield.
>From gcc-bugs-return-579184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 07:02:27 2017
Return-Path: <gcc-bugs-return-579184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99778 invoked by alias); 20 Oct 2017 07:02: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 99659 invoked by uid 48); 20 Oct 2017 07:02:23 -0000
From: "ville.voutilainen at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80682] __is_trivially_constructible(void, int) returns true.
Date: Fri, 20 Oct 2017 07: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.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ville.voutilainen at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ville.voutilainen at gmail dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-80682-4-k106Xu5XrB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80682-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80682-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02244.txt.bz2
Content-length: 472

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80682

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Not backporting, closing.
>From gcc-bugs-return-579185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 07:29:03 2017
Return-Path: <gcc-bugs-return-579185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58611 invoked by alias); 20 Oct 2017 07: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 58542 invoked by uid 55); 20 Oct 2017 07:28:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82370] AVX512 can use a memory operand for immediate-count vpsrlw, but gcc doesn't.
Date: Fri, 20 Oct 2017 07: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: missed-optimization, ssemmx
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-82370-4-r25pMao9pv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82370-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82370-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02245.txt.bz2
Content-length: 876

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82370

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 20 07:28:25 2017
New Revision: 253923

URL: https://gcc.gnu.org/viewcvs?rev=253923&root=gcc&view=rev
Log:
        PR target/82370
        * config/i386/sse.md (*andnot<mode>3,
        <mask_codefor><code><mode>3<mask_name>, *<code><mode>3): Split
        (=v,v,vm) alternative into (=x,x,xm) and (=v,v,vm), for 128-bit
        and 256-bit vectors, the (=x,x,xm) alternative and when mask is
        not applied use empty suffix even for TARGET_AVX512VL.
        * config/i386/subst.md (mask_prefix3, mask_prefix4): When mask
        is applied, supply evex,evex or evex,evex,evex instead of just
        evex.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/sse.md
    trunk/gcc/config/i386/subst.md
>From gcc-bugs-return-579186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 07:31:10 2017
Return-Path: <gcc-bugs-return-579186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73301 invoked by alias); 20 Oct 2017 07: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 69268 invoked by uid 55); 20 Oct 2017 07:31:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82370] AVX512 can use a memory operand for immediate-count vpsrlw, but gcc doesn't.
Date: Fri, 20 Oct 2017 07: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, ssemmx
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-82370-4-li5JgDpWru@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82370-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82370-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02246.txt.bz2
Content-length: 1702

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82370

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 20 07:30:33 2017
New Revision: 253924

URL: https://gcc.gnu.org/viewcvs?rev=253924&root=gcc&view=rev
Log:
        PR target/82370
        * config/i386/sse.md (VI248_AVX2, VI248_AVX512BW, VI248_AVX512BW_2):
        New mode iterators.
        (<shift_insn><mode>3<mask_name>): Change the last of the 3
        define_insns for logical vector shifts to use VI248_AVX512BW
        iterator instead of VI48_AVX512, remove <mask_mode512bit_condition>
        condition, useless isa and prefix attributes.  Change the first
        2 of these define_insns to ...
        (<mask_codefor><shift_insn><mode>3<mask_name>): ... this, new
        define_insn for avx512vl.
        (<shift_insn><mode>3): ... and this, new define_insn without
        masking for non-avx512vl.

        * gcc.target/i386/avx-pr82370.c: New test.
        * gcc.target/i386/avx2-pr82370.c: New test.
        * gcc.target/i386/avx512f-pr82370.c: New test.
        * gcc.target/i386/avx512bw-pr82370.c: New test.
        * gcc.target/i386/avx512vl-pr82370.c: New test.
        * gcc.target/i386/avx512vlbw-pr82370.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/avx-pr82370.c
    trunk/gcc/testsuite/gcc.target/i386/avx2-pr82370.c
    trunk/gcc/testsuite/gcc.target/i386/avx512bw-pr82370.c
    trunk/gcc/testsuite/gcc.target/i386/avx512f-pr82370.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr82370.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vlbw-pr82370.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/sse.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 07:33:14 2017
Return-Path: <gcc-bugs-return-579187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36189 invoked by alias); 20 Oct 2017 07: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 32344 invoked by uid 55); 20 Oct 2017 07:33:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Fri, 20 Oct 2017 07: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.0
X-Bugzilla-Keywords: build
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-82595-4-DFwikZsYQ4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02247.txt.bz2
Content-length: 1016

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 20 07:32:35 2017
New Revision: 253925

URL: https://gcc.gnu.org/viewcvs?rev=253925&root=gcc&view=rev
Log:
        PR sanitizer/82595
        * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Add libtsan_preinit.o
        for -fsanitize=thread link of executables.
        (LIBLSAN_EARLY_SPEC): Add liblsan_preinit.o for -fsanitize=leak
        link of executables.

        * lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
        * lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
        liblsan_preinit.o.
        (lsan_files): Remove lsan_preinit.cc.
        (liblsan_preinit.o): New rule.
        * lsan/Makefile.in: Regenerated.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/gnu-user.h
    trunk/libsanitizer/ChangeLog
    trunk/libsanitizer/lsan/Makefile.am
    trunk/libsanitizer/lsan/Makefile.in
    trunk/libsanitizer/lsan/lsan.h
>From gcc-bugs-return-579188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 07:36:25 2017
Return-Path: <gcc-bugs-return-579188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45031 invoked by alias); 20 Oct 2017 07:36: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 44974 invoked by uid 55); 20 Oct 2017 07:36:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82158] _Noreturn functions that do return clobber caller's registers on ARM32 (but not other arches)
Date: Fri, 20 Oct 2017 07: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: 7.1.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: 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-82158-4-4bprU9cAOT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82158-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82158-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02248.txt.bz2
Content-length: 670

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82158

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 20 07:35:48 2017
New Revision: 253926

URL: https://gcc.gnu.org/viewcvs?rev=253926&root=gcc&view=rev
Log:
        PR target/82158
        * tree-cfg.c (pass_warn_function_return::execute): In noreturn
        functions when optimizing replace GIMPLE_RETURN stmts with
        calls to __builtin_unreachable ().

        * gcc.dg/tree-ssa/noreturn-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/noreturn-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c
>From gcc-bugs-return-579189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 08:02:33 2017
Return-Path: <gcc-bugs-return-579189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37820 invoked by alias); 20 Oct 2017 08:02: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 127288 invoked by uid 55); 20 Oct 2017 08:02:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Fri, 20 Oct 2017 08: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: 8.0
X-Bugzilla-Keywords: build
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-82595-4-igP4o38XOE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02249.txt.bz2
Content-length: 564

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 20 08:01:31 2017
New Revision: 253927

URL: https://gcc.gnu.org/viewcvs?rev=253927&root=gcc&view=rev
Log:
        PR sanitizer/82595
        * lsan/Makefile.am (lsan_files): Remove lsan_preinit.cc.
        * lsan/Makefile.in: Regenerated.

Modified:
    branches/gcc-7-branch/libsanitizer/ChangeLog
    branches/gcc-7-branch/libsanitizer/lsan/Makefile.am
    branches/gcc-7-branch/libsanitizer/lsan/Makefile.in
>From gcc-bugs-return-579190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 08:16:21 2017
Return-Path: <gcc-bugs-return-579190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119083 invoked by alias); 20 Oct 2017 08: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 116059 invoked by uid 48); 20 Oct 2017 08:15:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82353] [8 Regression] runtime ubsan crash
Date: Fri, 20 Oct 2017 08:16: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: 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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82353-4-8KVu3DkCGr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82353-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02250.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-579191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 08:17:55 2017
Return-Path: <gcc-bugs-return-579191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13499 invoked by alias); 20 Oct 2017 08: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 13408 invoked by uid 48); 20 Oct 2017 08:17:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82568] [6/7/8] ICE with do-loop inside BLOCK inside omp
Date: Fri, 20 Oct 2017 08: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.4.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: cc
Message-ID: <bug-82568-4-dE01EPltsL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02251.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82568

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> ---
Note, strictly speaking this is unspecified behavior, OpenMP so far only
supports Fortran 2003, and it is unclear what exactly will the first OpenMP
that will support Fortran 2008 say about data sharing of variables inside of
F2008 BLOCK.
>From gcc-bugs-return-579192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 08:31:30 2017
Return-Path: <gcc-bugs-return-579192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77504 invoked by alias); 20 Oct 2017 08: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 77341 invoked by uid 48); 20 Oct 2017 08:31:11 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82614] GCOV crashes while parsing gcda file
Date: Fri, 20 Oct 2017 08:31: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: 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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82614-4-0oSBIwdsdN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02252.txt.bz2
Content-length: 1460

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Marco Castelluccio from comment #5)
> (In reply to Martin Liška from comment #4)
> > (In reply to Marco Castelluccio from comment #3)
> > > > Thanks for the report Marco. Looks it comes from Firefox, am I right?
> > > 
> > > Yes, that's correct. Actually, from a build of the JS shell.
> > > 
> > > > Which version of GCC have you been using?
> > > 
> > > The build was done with "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609".
> > > 
> > > We were also able to reproduce the crash with a gcda generated normally,
> > > without __gcov_dump.
> > 
> > I see, not the GCC 5.x is not longer supported. Anyway, please paste
> > backtrace from gcov when the segfaults happens.
> 
> I'm having a hard time installing debugging symbols here, I might have to
> build GCC from scratch.
> If you already have a debug build of GCC 6 lurking around, you could try if
> you could reproduce the crash yourself.

Yes, but am I right that the gcda and gcno files attached are created with GCC
5.4?
I can't reproduce the segfault on my machine. Please paste command line
invocation.

> 
> > I did quite some fixes to gcov that are included in GCC 7.x branch. Can you
> > please test a new release?
> 
> We are testing with GCC 6 now, and will try with GCC 7 later on.

Yes, please test newer versions.
>From gcc-bugs-return-579193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:09:37 2017
Return-Path: <gcc-bugs-return-579193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114754 invoked by alias); 20 Oct 2017 09:09: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 114712 invoked by uid 48); 20 Oct 2017 09:09:33 -0000
From: "zwzhangwen.zhang at huawei dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81874] internal compiler error: in do_SUBST, at combine.c:725
Date: Fri, 20 Oct 2017 09: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: 6.4.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zwzhangwen.zhang at huawei 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-81874-4-ulTLMzkjZP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81874-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81874-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02253.txt.bz2
Content-length: 346

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81874

--- Comment #5 from zwzhangwen.zhang at huawei dot com ---
(In reply to zwzhangwen.zhang from comment #4)
> I have checked it can be hidden or fixed in gcc.gnu.org/svn/gcc/trunk@239421
> But it fixed PR71654 and it affected comparision expr?

could anyone help confirm the problem? thanks.
>From gcc-bugs-return-579195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:10:15 2017
Return-Path: <gcc-bugs-return-579195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115798 invoked by alias); 20 Oct 2017 09:10: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 115662 invoked by uid 48); 20 Oct 2017 09:10:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82630] Bogus DW_AT_GNU_call_site_value
Date: Fri, 20 Oct 2017 09: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: 8.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-82630-4-9dBtuX551C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02255.txt.bz2
Content-length: 184

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82630

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 82631 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:10:14 2017
Return-Path: <gcc-bugs-return-579194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115693 invoked by alias); 20 Oct 2017 09:10: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 115650 invoked by uid 48); 20 Oct 2017 09:10:10 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82631] Bogus DW_AT_GNU_call_site_value
Date: Fri, 20 Oct 2017 09: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: 8.0
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-82631-4-wFp5E1udK3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82631-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82631-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02254.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82631

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 82630 ***
>From gcc-bugs-return-579196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:11:53 2017
Return-Path: <gcc-bugs-return-579196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123412 invoked by alias); 20 Oct 2017 09:11: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 123359 invoked by uid 48); 20 Oct 2017 09:11:48 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82629] OpenMP 4.5 Target Region mangling problem
Date: Fri, 20 Oct 2017 09: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.1.1
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-82629-4-OqpuCMm4RI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82629-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82629-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02256.txt.bz2
Content-length: 505

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82629

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-20
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can you provide a testcase?
>From gcc-bugs-return-579197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:12:31 2017
Return-Path: <gcc-bugs-return-579197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125963 invoked by alias); 20 Oct 2017 09:12: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 125893 invoked by uid 48); 20 Oct 2017 09:12:26 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Fri, 20 Oct 2017 09: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82569-4-kGWyrcsUWn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02257.txt.bz2
Content-length: 841

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
It's a conflict with the out-of-ssa pass: this pass implicitly expects every
pseudo associated with a partition to be always fully initialized, including a
DImode pseudo for a partition attached to a SImode variable.  And this is
guaranteed for promoted SUBREGs because expand_gimple_stmt_1 makes sure that,
if one of the them is on the LHS of an assignment, then the whole SUBREG_REG is
assigned (with the appropriate extension).  But this falls for other SUBREGs.

So an immediate fix would be to generate the glue code between partitions with
undefined values and other partitions in insert_partition_copy_on_edge, but I'm
starting to wonder whether the entire approach shouldn't be scrapped instead.
>From gcc-bugs-return-579198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:13:58 2017
Return-Path: <gcc-bugs-return-579198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130168 invoked by alias); 20 Oct 2017 09: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 130119 invoked by uid 48); 20 Oct 2017 09:13:53 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work version target_milestone short_desc everconfirmed
Message-ID: <bug-82628-4-3GaLMOR4N6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02258.txt.bz2
Content-length: 864

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-20
      Known to work|                            |7.2.1
            Version|unknown                     |8.0
   Target Milestone|---                         |8.0
            Summary|wrong code at -Os on        |[8 Regression] wrong code
                   |x86_64-linux-gnu in the     |at -Os on x86_64-linux-gnu
                   |32-bit mode                 |in the 32-bit mode
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-579199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:21:49 2017
Return-Path: <gcc-bugs-return-579199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49289 invoked by alias); 20 Oct 2017 09: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 49243 invoked by uid 48); 20 Oct 2017 09:21:46 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82627] [8 regression] r253809 breaks test cases gcc.dg/graphite/interchange-3.c -7.c, -9.c, and uns-interchange-9.c
Date: Fri, 20 Oct 2017 09: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:
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-82627-4-Kfmw4SqG6P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02259.txt.bz2
Content-length: 988

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82627

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-20
   Target Milestone|---                         |8.0
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can you provide full dumps before/after please?  The patch removed some "stray"
stmts that might have tricked ISL into doing some transform that ended up being
useful to enable tiling.

Note that on x86_64 the dump has

not tiled

so the dump scanning isn't exactly useful... (most of the testcases are
broken - at some point they all got adjusted to PASS without any sensible
look :/)

The test shouldn't have any target dependence whatsoever though :/
>From gcc-bugs-return-579200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:26:41 2017
Return-Path: <gcc-bugs-return-579200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63330 invoked by alias); 20 Oct 2017 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 61187 invoked by uid 48); 20 Oct 2017 09:26:37 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82625] lower-optimization are not inlined with symbol multiversioning
Date: Fri, 20 Oct 2017 09: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: 7.2.1
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 version everconfirmed
Message-ID: <bug-82625-4-0m5H3hC8av@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82625-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82625-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02260.txt.bz2
Content-length: 850

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82625

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-20
                 CC|                            |mliska at suse dot cz
            Version|unknown                     |7.2.1
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I _think_ that's somehow an implementation artifact in that we do not handle
calls in "default" implementations different from calls in random non-versioned
functions.

Confirmed.
>From gcc-bugs-return-579201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:27:15 2017
Return-Path: <gcc-bugs-return-579201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80787 invoked by alias); 20 Oct 2017 09:27:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 77382 invoked by uid 48); 20 Oct 2017 09:27:10 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82623] many omp tests failed for both C++ and Fortran, gcc-6.4 on Redhat 7.3/64
Date: Fri, 20 Oct 2017 09:27: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: 6.4.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-82623-4-ryWzMIS5Yq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02261.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-20
     Ever confirmed|0                           |1
>From gcc-bugs-return-579202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:27:36 2017
Return-Path: <gcc-bugs-return-579202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104852 invoked by alias); 20 Oct 2017 09: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 99720 invoked by uid 48); 20 Oct 2017 09:27:32 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82621] [6/7/8 Regression] wrong code with -Og -fgcse -fweb
Date: Fri, 20 Oct 2017 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.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82621-4-Ibq4DAgrm7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82621-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82621-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02262.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82621

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |6.5
>From gcc-bugs-return-579203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:30:59 2017
Return-Path: <gcc-bugs-return-579203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100502 invoked by alias); 20 Oct 2017 09: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 94773 invoked by uid 48); 20 Oct 2017 09:30:55 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82625] lower-optimization are not inlined with symbol multiversioning
Date: Fri, 20 Oct 2017 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: 7.2.1
X-Bugzilla-Keywords: missed-optimization
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc assigned_to
Message-ID: <bug-82625-4-dqF1ZhIylw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82625-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82625-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02263.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82625

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|mliska at suse dot cz              |marxin at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Let me take a look.
>From gcc-bugs-return-579204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:31:18 2017
Return-Path: <gcc-bugs-return-579204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124726 invoked by alias); 20 Oct 2017 09: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 119117 invoked by uid 48); 20 Oct 2017 09:31:14 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82625] lower-optimization are not inlined with symbol multiversioning
Date: Fri, 20 Oct 2017 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: 7.2.1
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-82625-4-hbTA3K85Ft@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82625-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82625-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02264.txt.bz2
Content-length: 300

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82625

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
>From gcc-bugs-return-579205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 09:37:36 2017
Return-Path: <gcc-bugs-return-579205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123492 invoked by alias); 20 Oct 2017 09: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 119661 invoked by uid 48); 20 Oct 2017 09:37:32 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82574] [8 Regression] wrong code at -O3 on x86_64-linux-gnu
Date: Fri, 20 Oct 2017 09: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82574-4-EKwfLdlfUv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82574-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82574-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02265.txt.bz2
Content-length: 401

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82574

amker at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from amker at gcc dot gnu.org ---
Should be fixed.
>From gcc-bugs-return-579206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:12:45 2017
Return-Path: <gcc-bugs-return-579206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61722 invoked by alias); 20 Oct 2017 10: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 61613 invoked by uid 48); 20 Oct 2017 10:12:40 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Fri, 20 Oct 2017 10: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.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: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82569-4-pOocwEL6UX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02266.txt.bz2
Content-length: 1630

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #7)
> It's a conflict with the out-of-ssa pass: this pass implicitly expects every
> pseudo associated with a partition to be always fully initialized, including
> a DImode pseudo for a partition attached to a SImode variable.  And this is
> guaranteed for promoted SUBREGs because expand_gimple_stmt_1 makes sure
> that, if one of the them is on the LHS of an assignment, then the whole
> SUBREG_REG is assigned (with the appropriate extension).  But this falls for
> other SUBREGs.
> 
> So an immediate fix would be to generate the glue code between partitions
> with undefined values and other partitions in insert_partition_copy_on_edge,
> but I'm starting to wonder whether the entire approach shouldn't be scrapped
> instead.

Sounds indeed like a hack ontop of a hack :/

But I don't fully understand the new issue - what are "other SUBREGs"?  The
SUBREG_PROMOTED_VAR setting is set per subreg so we should be able to handle
those okish?

Like change

          temp = gen_lowpart_SUBREG (mode, decl_rtl);

          /* We cannot assume anything about an existing extension if the
             register may contain uninitialized bits.  */
          if (always_initialized_rtx)
            {
              SUBREG_PROMOTED_VAR_P (temp) = 1;
              SUBREG_PROMOTED_SET (temp, unsignedp);
            }

to

    if (always_initialized_rtx
        && mode == TYPE_MODE (TREE_TYPE (exp)))

?  Not sure if this captures the issue as said.
>From gcc-bugs-return-579207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:19:14 2017
Return-Path: <gcc-bugs-return-579207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60228 invoked by alias); 20 Oct 2017 10:19: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 54545 invoked by uid 48); 20 Oct 2017 10:19:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82630] Bogus DW_AT_GNU_call_site_value
Date: Fri, 20 Oct 2017 10:19: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: 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: cc
Message-ID: <bug-82630-4-vcg7YKylnn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02267.txt.bz2
Content-length: 1759

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82630

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com,
                   |                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The problem is the assembler's special treatment of _GLOBAL_OFFSET_TABLE_, that
.long _GLOBAL_OFFSET_TABLE_ or .quad _GLOBAL_OFFSET_TABLE_ on x86 doesn't
actually assemble as normal relocation against that symbol, but as a special
relocation.
The reason why we end up with this is that during var-tracking/dwarf2out in
this case we fail to prove that %ebx at that point contains
_GLOBAL_OFFSET_TABLE_ and so delegitimization offsers the last possibility,
verification of that at debug time.

The question is if it is actually possible to somehow emit an address of
_GLOBAL_OFFSET_TABLE_ into the debug info when
        .byte   0x3     # DW_OP_addr
        .long   _GLOBAL_OFFSET_TABLE_
doesn't work.  I've tried
.set .LC1000 = _GLOBAL_OFFSET_TABLE_
.long .LC1000
but that doesn't work either.  If we have some local symbol emitted in
allocatable sections, we could emit:
.byte 0x3 # DW_OP_addr
.long .LC0
.byte 0x3 # DW_OP_addr
.long .LC0@GOTOFF
.byte 0x1c # DW_OP_minus
because symbol@GOTOFF is symbol - _GLOBAL_OFFSET_TABLE_, but that is very nasty
and large.

In the end, it is pitty that for the R_386_GOTPC etc. relocations the x86
assembler doesn't use some @gotpc or similar suffixes; or we could get away
with a suffix that would undo this special handling of _GLOBAL_OFFSET_TABLE_
symbol.
>From gcc-bugs-return-579208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:20:35 2017
Return-Path: <gcc-bugs-return-579208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80157 invoked by alias); 20 Oct 2017 10:20: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 80074 invoked by uid 48); 20 Oct 2017 10:20:32 -0000
From: "aaahaaah at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82623] many omp tests failed for both C++ and Fortran, gcc-6.4 on Redhat 7.3/64
Date: Fri, 20 Oct 2017 10:20: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aaahaaah at yandex dot ru
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-82623-4-7BHRrFAupe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02268.txt.bz2
Content-length: 250

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

--- Comment #2 from Albert <aaahaaah at yandex dot ru> ---
Created attachment 42409
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42409&action=edit
libgomp.log from the testsuit folder
>From gcc-bugs-return-579209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:24:58 2017
Return-Path: <gcc-bugs-return-579209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86518 invoked by alias); 20 Oct 2017 10:24: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 86192 invoked by uid 48); 20 Oct 2017 10:24:53 -0000
From: "aaahaaah at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82623] many omp tests failed for both C++ and Fortran, gcc-6.4 on Redhat 7.3/64
Date: Fri, 20 Oct 2017 10:24: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aaahaaah at yandex dot ru
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-82623-4-ElF0soS2PC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02269.txt.bz2
Content-length: 257

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

--- Comment #3 from Albert <aaahaaah at yandex dot ru> ---
Created attachment 42410
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42410&action=edit
zipped libgomp.log from the testsuit folder
>From gcc-bugs-return-579210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:29:38 2017
Return-Path: <gcc-bugs-return-579210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97332 invoked by alias); 20 Oct 2017 10:29: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 97283 invoked by uid 48); 20 Oct 2017 10:29:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82623] many omp tests failed for both C++ and Fortran, gcc-6.4 on Redhat 7.3/64
Date: Fri, 20 Oct 2017 10:29: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: 6.4.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-82623-4-GfA95AZSu5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02270.txt.bz2
Content-length: 469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
>From the log, it is clear you aren't actually testing the newly built compiler,
but system gcc, so no wonder it doesn't support OpenMP 4.5 nor -fopenacc option
etc.
Dunno what have you done to achieve that, custom dejagnu *.exp file somewhere,
some environment variables or what.
In any case, it seems GCC_UNDER_TEST is not what it should be.
>From gcc-bugs-return-579212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:34:47 2017
Return-Path: <gcc-bugs-return-579212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118381 invoked by alias); 20 Oct 2017 10: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 118304 invoked by uid 48); 20 Oct 2017 10:34:42 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 10: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82628-4-Sm64Vcr5Q6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02272.txt.bz2
Content-length: 484

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |uros at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r253867.
>From gcc-bugs-return-579211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:34:05 2017
Return-Path: <gcc-bugs-return-579211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114551 invoked by alias); 20 Oct 2017 10: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 112219 invoked by uid 48); 20 Oct 2017 10:34:01 -0000
From: "aaahaaah at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82623] many omp tests failed for both C++ and Fortran, gcc-6.4 on Redhat 7.3/64
Date: Fri, 20 Oct 2017 10:34: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aaahaaah at yandex dot ru
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-82623-4-KQtESuYvTT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02271.txt.bz2
Content-length: 427

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

--- Comment #5 from Albert <aaahaaah at yandex dot ru> ---
(In reply to Andrew Pinski from comment #1)
> Can you provide the libgomp.log file?

Hi Andrew, the log file from the testsuit folder is attached.
Please, drop the first attachment of the libgomp.zip as it was added as a plain
text. The second one should be fine.
Let me know if you want to see the other files.
>From gcc-bugs-return-579213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:39:26 2017
Return-Path: <gcc-bugs-return-579213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 508 invoked by alias); 20 Oct 2017 10: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 466 invoked by uid 48); 20 Oct 2017 10:39:22 -0000
From: "aaahaaah at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82623] many omp tests failed for both C++ and Fortran, gcc-6.4 on Redhat 7.3/64
Date: Fri, 20 Oct 2017 10:39: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: 6.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aaahaaah at yandex dot ru
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-82623-4-7HlL9YPSwz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02273.txt.bz2
Content-length: 863

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

--- Comment #6 from Albert <aaahaaah at yandex dot ru> ---
(In reply to Jakub Jelinek from comment #4)
> From the log, it is clear you aren't actually testing the newly built
> compiler, but system gcc, so no wonder it doesn't support OpenMP 4.5 nor
> -fopenacc option etc.
> Dunno what have you done to achieve that, custom dejagnu *.exp file
> somewhere, some environment variables or what.
> In any case, it seems GCC_UNDER_TEST is not what it should be.

Hi Jakub,

I did not add any environmental variables nor I used any specific option. If I
stay inside the gcc-6.4 project folder I presume the command "make check" must
invoke gcc-6.4 but not gcc-4.8 (which is the system default).
Could you suggest a workaround to run all the tests using gcc-6.4 before the
command "sudo make install" was done?
>From gcc-bugs-return-579214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:42:32 2017
Return-Path: <gcc-bugs-return-579214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8990 invoked by alias); 20 Oct 2017 10: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 8904 invoked by uid 48); 20 Oct 2017 10:42:29 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Fri, 20 Oct 2017 10: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82569-4-Nup8ZRE2VS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02274.txt.bz2
Content-length: 530

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> But I don't fully understand the new issue - what are "other SUBREGs"?  The
> SUBREG_PROMOTED_VAR setting is set per subreg so we should be able to handle
> those okish?

The other SUBREGs are the SUBREGs created for a promoted variable but for which
we don't set SUBREG_PROMOTED_VAR_P anymore.  I guess a more sensible fix would
be to do the full assignment in expand_gimple_stmt_1 for them too.
>From gcc-bugs-return-579215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:44:59 2017
Return-Path: <gcc-bugs-return-579215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10965 invoked by alias); 20 Oct 2017 10: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 10948 invoked by uid 48); 20 Oct 2017 10:44:55 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] New: gcov does not handle removed functions
Date: Fri, 20 Oct 2017 10:44: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: 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
Message-ID: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02275.txt.bz2
Content-length: 1133

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

            Bug ID: 82633
           Summary: gcov does not handle removed functions
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

For following test-case:

class MyClass2
{
  public:
    void iterate() { a = 5; }

    int a;
};

int main()
{
  MyClass2 a;
  return 0;
}

We wrongly don't identify that function iterate has no executions:
        -:    1:class MyClass2
        -:    2:{
        -:    3:  public:
        -:    4:    void iterate() { a = 5; }
        -:    5:
        -:    6:    int a;
        -:    7:};
        -:    8:
        1:    9:int main()
        -:   10:{
        -:   11:  MyClass2 a;
        1:   12:  return 0;
        -:   13:}

It's caused by fact that it's removed from cgraph:
removed.cpp.000i.cgraph:Removing unused symbols: void MyClass2::iterate()
>From gcc-bugs-return-579216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:46:04 2017
Return-Path: <gcc-bugs-return-579216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14225 invoked by alias); 20 Oct 2017 10: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 13922 invoked by uid 48); 20 Oct 2017 10:46:00 -0000
From: "torvald at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80640] Missing memory side effect with __atomic_thread_fence (2)
Date: Fri, 20 Oct 2017 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: 6.3.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: torvald 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-80640-4-njYcvyg8Qe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80640-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80640-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02276.txt.bz2
Content-length: 1201

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80640

torvald at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |torvald at gcc dot gnu.org

--- Comment #11 from torvald at gcc dot gnu.org ---
(In reply to Alexander Monakov from comment #7)
> I've submitted a patch [1] for the missing compiler barrier, but however
> please note that the original ompi code and the example in comment #3 are
> wrong: in a pattern like
> 
>   while (*foo)
>     __atomic_thread_fence(__ATOMIC_ACQUIRE);
> 
> I think there are two issues; first, if *foo is a non-atomic, non-volatile
> object, a concurrent modification from another thread would invoke undefined
> behavior due to a data race;

It would be a data race even if it would be volatile but still non-atomic.

I can see how making atomic_thread_fence a compiler barrier for non-atomics
might help existing buggy code, but it would be sufficient it prevents certain
reordering of atomics.

Some more background and examples:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4455.html
>From gcc-bugs-return-579217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:51:17 2017
Return-Path: <gcc-bugs-return-579217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7662 invoked by alias); 20 Oct 2017 10:51: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 5415 invoked by uid 48); 20 Oct 2017 10:51:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82623] many omp tests failed for both C++ and Fortran, gcc-6.4 on Redhat 7.3/64
Date: Fri, 20 Oct 2017 10:51: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: 6.4.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-82623-4-pSKk6bzokj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82623-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02277.txt.bz2
Content-length: 1451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82623

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Albert from comment #6)
> (In reply to Jakub Jelinek from comment #4)
> > From the log, it is clear you aren't actually testing the newly built
> > compiler, but system gcc, so no wonder it doesn't support OpenMP 4.5 nor
> > -fopenacc option etc.
> > Dunno what have you done to achieve that, custom dejagnu *.exp file
> > somewhere, some environment variables or what.
> > In any case, it seems GCC_UNDER_TEST is not what it should be.
> 
> I did not add any environmental variables nor I used any specific option. If
> I stay inside the gcc-6.4 project folder I presume the command "make check"
> must invoke gcc-6.4 but not gcc-4.8 (which is the system default).

No.  It is possible to do installed compiler testing etc., by tweaking
GCC_UNDER_TEST, TOOL_EXECUTABLE etc. tcl variables.

> Could you suggest a workaround to run all the tests using gcc-6.4 before the
> command "sudo make install" was done?

I can't suggest anything, because it is unclear what you've done differently. 
Many people test gcc on RHEL 7.x/x86_64 and don't experience this.
You can e.g. do make check RUNTESTFLAGS=libgomp.exp=affinity-1.c in
x86_64-*/libgomp directory and say strace it to find out what all files outside
of the gcc tree it opens, then you can see if you don't have some modified one
somewhere etc.
>From gcc-bugs-return-579218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:52:58 2017
Return-Path: <gcc-bugs-return-579218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97920 invoked by alias); 20 Oct 2017 10:52:58 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 97864 invoked by uid 48); 20 Oct 2017 10:52:53 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/48463] gcov does not handle C++ clones (deleting ctors, template instantiations)
Date: Fri, 20 Oct 2017 10: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: 4.3.3
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-48463-4-LpzA7XnGp4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48463-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48463-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02278.txt.bz2
Content-length: 2139

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48463

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Example of template instantiation:

$ cat test.cpp
template<class T>
class Foo
{
  public:
  Foo()
  {
    b = 123;
  }

  void test() { b = 111; }

  private:
  int b;
};

template class Foo<float>;
template class Foo<int>;

int main()
{
  Foo<int> xx;
  xx.test();

  return 0;
}

$ cat test.cpp.gcov:

        -:    1:template<class T>
        -:    2:class Foo
        -:    3:{
        -:    4:  public:
        1:    5:  Foo()
        -:    6:  {
        1:    7:    b = 123;
        1:    8:  }
        -:    9:
        1:   10:  void test() { b = 111; }
        -:   11:
        -:   12:  private:
        -:   13:  int b;
        -:   14:};
        -:   15:
        -:   16:template class Foo<float>;
        -:   17:template class Foo<int>;
        -:   18:
        1:   19:int main()
        -:   20:{
        1:   21:  Foo<int> xx;
        1:   22:  xx.test();
        -:   23:
        1:   24:  return 0;
        -:   25:}

However LLVM does:

/home/marxin/Programming/testcases/gcov-problems/test.cpp:
    1|       |template<class T>
    2|       |class Foo
    3|       |{
    4|       |  public:
    5|       |  Foo()
    6|      1|  {
    7|      1|    b = 123;
    8|      1|  }
  ------------------
  | Unexecuted instantiation: _ZN3FooIfEC2Ev
  ------------------
  | _ZN3FooIiEC2Ev:
  |    6|      1|  {
  |    7|      1|    b = 123;
  |    8|      1|  }
  ------------------
    9|       |
   10|      1|  void test() { b = 111; }
  ------------------
  | Unexecuted instantiation: _ZN3FooIfE4testEv
  ------------------
  | _ZN3FooIiE4testEv:
  |   10|      1|  void test() { b = 111; }
  ------------------
   11|       |
   12|       |  private:
   13|       |  int b;
   14|       |};
   15|       |
   16|       |template class Foo<float>;
   17|       |template class Foo<int>;
   18|       |
   19|       |int main()
   20|      1|{
   21|      1|  Foo<int> xx;
   22|      1|  xx.test();
   23|      1|
   24|      1|  return 0;
   25|      1|}

Which is more precise.
>From gcc-bugs-return-579219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:53:18 2017
Return-Path: <gcc-bugs-return-579219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98733 invoked by alias); 20 Oct 2017 10: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 98671 invoked by uid 48); 20 Oct 2017 10:53:15 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] gcov does not handle removed functions
Date: Fri, 20 Oct 2017 10: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: 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-82633-4-XK8bh6NNXD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02279.txt.bz2
Content-length: 496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
LLVM does:

/home/marxin/Programming/testcases/gcov-problems/removed.cpp:
    1|       |class MyClass2
    2|       |{
    3|       |  public:
    4|      0|    void iterate() { a = 5; }
    5|       |
    6|       |    int a;
    7|       |};
    8|       |
    9|       |int main()
   10|      1|{
   11|      1|  MyClass2 a;
   12|      1|  return 0;
   13|      1|}
>From gcc-bugs-return-579220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:55:57 2017
Return-Path: <gcc-bugs-return-579220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118397 invoked by alias); 20 Oct 2017 10: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 118343 invoked by uid 48); 20 Oct 2017 10:55:53 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/48463] gcov does not handle C++ clones (deleting ctors, template instantiations)
Date: Fri, 20 Oct 2017 10:55: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: 4.3.3
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-48463-4-YuQKDCzcwt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48463-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48463-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02280.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48463

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
They basically provide info for all clones of a function:

  ------------------
  | _ZN3FooIfEC2Ev:
  |    6|      2|  {
  |    7|      2|    b = 123;
  |    8|      2|  }
  ------------------
  | _ZN3FooIiEC2Ev:
  |    6|      1|  {
  |    7|      1|    b = 123;
  |    8|      1|  }
  ------------------
>From gcc-bugs-return-579221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:56:28 2017
Return-Path: <gcc-bugs-return-579221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121058 invoked by alias); 20 Oct 2017 10: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 120892 invoked by uid 48); 20 Oct 2017 10:56:25 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] gcov does not handle removed functions
Date: Fri, 20 Oct 2017 10:56: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: unknown
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-82633-4-MpE7ewbcN8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02281.txt.bz2
Content-length: 270

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Err.  Isn't '-' effectively the same as '0'?  Maybe not exactly but '-' as
"optimized away" is correct as well, no?

I don't think this is a bug...
>From gcc-bugs-return-579222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 10:57:17 2017
Return-Path: <gcc-bugs-return-579222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122935 invoked by alias); 20 Oct 2017 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 122856 invoked by uid 48); 20 Oct 2017 10:57:12 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/48463] gcov does not handle C++ clones (deleting ctors, template instantiations)
Date: Fri, 20 Oct 2017 10:57: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: 4.3.3
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-48463-4-ZZxNoYqpaV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48463-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48463-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02282.txt.bz2
Content-length: 1006

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48463

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
GCC also has information that there are multiple functions pointing to a same
line of code:

$ gcov-dump test.gcno | grep FUNCTION
test.gcno: 01000000:  11:FUNCTION ident=108032747, lineno_checksum=0xc563f9a6,
cfg_checksum=0x21286892, `main' test.cpp:19
test.gcno: 01000000:  14:FUNCTION ident=1482441317, lineno_checksum=0xa9f23a94,
cfg_checksum=0xa43083b8, `_ZN3FooIiE4testEv' test.cpp:10
test.gcno: 01000000:  13:FUNCTION ident=402991310, lineno_checksum=0x0169e3ec,
cfg_checksum=0xa43083b8, `_ZN3FooIiEC2Ev' test.cpp:5
test.gcno: 01000000:  14:FUNCTION ident=1097691245, lineno_checksum=0x30c3089c,
cfg_checksum=0xa43083b8, `_ZN3FooIfE4testEv' test.cpp:10
test.gcno: 01000000:  13:FUNCTION ident=56186600, lineno_checksum=0x9a359dca,
cfg_checksum=0xa43083b8, `_ZN3FooIfEC2Ev' test.cpp:5

What we need to do is to properly present that.
>From gcc-bugs-return-579223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:07:57 2017
Return-Path: <gcc-bugs-return-579223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97638 invoked by alias); 20 Oct 2017 11:07: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 94852 invoked by uid 48); 20 Oct 2017 11:07:53 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Fri, 20 Oct 2017 11: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82569-4-Lroz7yxQyI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02283.txt.bz2
Content-length: 1691

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Index: cfgexpand.c
===================================================================
--- cfgexpand.c (revision 253921)
+++ cfgexpand.c (working copy)
@@ -3661,7 +3661,9 @@ expand_gimple_stmt_1 (gimple *stmt)
            bool promoted = false;

            target = expand_expr (lhs, NULL_RTX, VOIDmode, EXPAND_WRITE);
-           if (GET_CODE (target) == SUBREG && SUBREG_PROMOTED_VAR_P (target))
+           if (GET_CODE (target) == SUBREG
+               && (SUBREG_PROMOTED_VAR_P (target)
+                   || TREE_CODE (lhs) == SSA_NAME))
              promoted = true;

            ops.code = gimple_assign_rhs_code (assign_stmt);
@@ -3693,7 +3695,16 @@ expand_gimple_stmt_1 (gimple *stmt)
              ;
            else if (promoted)
              {
-               int unsignedp = SUBREG_PROMOTED_SIGN (target);
+               int unsignedp;
+
+               if (SUBREG_PROMOTED_VAR_P (target))
+                 unsignedp = SUBREG_PROMOTED_SIGN (target);
+               else
+                 {
+                   machine_mode pmode = promote_ssa_mode (lhs, &unsignedp);
+                   gcc_assert (GET_MODE (SUBREG_REG (target)) == pmode);
+                 }
+
                /* If TEMP is a VOIDmode constant, use convert_modes to make
                   sure that we properly convert it.  */
                if (CONSTANT_P (temp) && GET_MODE (temp) == VOIDmode)
>From gcc-bugs-return-579224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:10:33 2017
Return-Path: <gcc-bugs-return-579224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5048 invoked by alias); 20 Oct 2017 11:10: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 4984 invoked by uid 48); 20 Oct 2017 11:10:28 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82568] [6/7/8] ICE with do-loop inside BLOCK inside omp
Date: Fri, 20 Oct 2017 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: 6.4.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: cc blocked
Message-ID: <bug-82568-4-JgHN85IomH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02284.txt.bz2
Content-length: 958

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82568

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org
             Blocks|                            |36854, 69815

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Is this something that I should watch out for with
front-end optimization?  We create variables inside
BLOCK constructs there, which are inserted even if the
user doesn't specify them.

Marking this as blocking the relevant PRs so this point is not forgotten.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36854
[Bug 36854] [meta-bug] fortran front-end optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69815
[Bug 69815] Don't always use BLOCKS for front-end optimization variables
>From gcc-bugs-return-579225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:18:36 2017
Return-Path: <gcc-bugs-return-579225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13234 invoked by alias); 20 Oct 2017 11: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 13185 invoked by uid 55); 20 Oct 2017 11:18:32 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82436] [7 Regression] 465.tonto ICE in vect_get_slp_vect_defs, at tree-vect-slp.c:3410
Date: Fri, 20 Oct 2017 11: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: 8.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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82436-4-pwLIRnYrE5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82436-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82436-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02285.txt.bz2
Content-length: 968

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82436

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct 20 11:18:00 2017
New Revision: 253931

URL: https://gcc.gnu.org/viewcvs?rev=253931&root=gcc&view=rev
Log:
2017-10-20  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2017-10-06  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82436
        * tree-vect-slp.c (vect_supported_load_permutation_p): More
        conservatively choose the vectorization factor when checking
        whether we can perform the required load permutation.
        (vect_transform_slp_perm_load): Assert when we may not fail.

        * gcc.dg/vect/pr82436.c: New testcase.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/vect/pr82436.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree-vect-slp.c
>From gcc-bugs-return-579226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:19:39 2017
Return-Path: <gcc-bugs-return-579226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16417 invoked by alias); 20 Oct 2017 11: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 16373 invoked by uid 55); 20 Oct 2017 11:19:35 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82603] [7/8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize
Date: Fri, 20 Oct 2017 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: 8.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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82603-4-OQcv7qg1tn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02286.txt.bz2
Content-length: 724

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct 20 11:19:03 2017
New Revision: 253932

URL: https://gcc.gnu.org/viewcvs?rev=253932&root=gcc&view=rev
Log:
2017-10-20  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82603
        * tree-if-conv.c (predicate_mem_writes): Make sure to only
        remove false predicated stores.

        * gcc.dg/torture/pr82603.c: New testcase.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr82603.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree-if-conv.c
>From gcc-bugs-return-579227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:21:36 2017
Return-Path: <gcc-bugs-return-579227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19964 invoked by alias); 20 Oct 2017 11: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 19928 invoked by uid 48); 20 Oct 2017 11:21:32 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82603] [7/8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize
Date: Fri, 20 Oct 2017 11: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: 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82603-4-RMfRSwFAy9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02287.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603

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-579228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:21:47 2017
Return-Path: <gcc-bugs-return-579228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20859 invoked by alias); 20 Oct 2017 11: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 20662 invoked by uid 55); 20 Oct 2017 11:21:43 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82603] [7/8 Regression] ICE in ifcvt_local_dce w/ -O2 -ftree-loop-vectorize
Date: Fri, 20 Oct 2017 11: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: 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82603-4-0N6k0wWlmt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82603-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02288.txt.bz2
Content-length: 660

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82603

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct 20 11:21:11 2017
New Revision: 253933

URL: https://gcc.gnu.org/viewcvs?rev=253933&root=gcc&view=rev
Log:
2017-10-20  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82603
        * tree-if-conv.c (predicate_mem_writes): Make sure to only
        remove false predicated stores.

        * gcc.dg/torture/pr82603.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr82603.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-if-conv.c
>From gcc-bugs-return-579230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:22:58 2017
Return-Path: <gcc-bugs-return-579230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22831 invoked by alias); 20 Oct 2017 11:22: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 22771 invoked by uid 48); 20 Oct 2017 11:22:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82568] [6/7/8] ICE with do-loop inside BLOCK inside omp
Date: Fri, 20 Oct 2017 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: 6.4.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:
Message-ID: <bug-82568-4-Qf4PBItMn2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82568-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02290.txt.bz2
Content-length: 939

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82568

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
As I said, the standard doesn't cover it, so what it will say about it is
unclear.
One thing are non-saved non-common non-use_assoc vars inside of the BLOCK, for
those defining them as automatic variables inside of the region has the effect
of making them private, which is the only sane thing to do.
The reason for the ICE was that the standard says that if there are sequential
loops inside of parallel etc. regions, then their iteration variables are
predetermined private in the parallel (and what the code did was add them as
private clauses on the construct, referencing them before they were declared).
What is unclear is if there are saved, common, use_assoc vars inside the block
and they are mentioned in sequential loops as their iterators.  I have no idea
what will the standard say about those.
>From gcc-bugs-return-579229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:22:34 2017
Return-Path: <gcc-bugs-return-579229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21860 invoked by alias); 20 Oct 2017 11: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 21820 invoked by uid 48); 20 Oct 2017 11:22:30 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82436] [7 Regression] 465.tonto ICE in vect_get_slp_vect_defs, at tree-vect-slp.c:3410
Date: Fri, 20 Oct 2017 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: 8.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution cf_known_to_fail
Message-ID: <bug-82436-4-YIC8msTmtR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82436-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82436-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02289.txt.bz2
Content-length: 534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82436

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |7.2.1
         Resolution|---                         |FIXED
      Known to fail|7.2.1                       |

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-579231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:31:50 2017
Return-Path: <gcc-bugs-return-579231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57907 invoked by alias); 20 Oct 2017 11:31: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 57819 invoked by uid 48); 20 Oct 2017 11:31:46 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] gcov does not handle removed functions
Date: Fri, 20 Oct 2017 11:31: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: 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-82633-4-sRMKaKv10N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02291.txt.bz2
Content-length: 835

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
I don't think so Richi: documentation says:

The execution count is ‘-’ for lines containing no code.

And for:
$ cat removed.cpp
class MyClass2
{
  public:
    void iterate() { a = 5; }

    int a;
};

void foo()
{
}

int main()
{
  MyClass2 a;
  return 0;
}

        -:    1:class MyClass2
        -:    2:{
        -:    3:  public:
        -:    4:    void iterate() { a = 5; }
        -:    5:
        -:    6:    int a;
        -:    7:};
        -:    8:
    #####:    9:void foo()
        -:   10:{
    #####:   11:}
        -:   12:
        1:   13:int main()
        -:   14:{
        -:   15:  MyClass2 a;
        1:   16:  return 0;
        -:   17:}

Here we're not consistent.
>From gcc-bugs-return-579232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:36:53 2017
Return-Path: <gcc-bugs-return-579232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94667 invoked by alias); 20 Oct 2017 11:36: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 94636 invoked by uid 48); 20 Oct 2017 11:36:50 -0000
From: "barry.revzin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82632] copy deduction candidate erroneously preferred over deduction-guide
Date: Fri, 20 Oct 2017 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.0
X-Bugzilla-Keywords: accepts-invalid
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:
Message-ID: <bug-82632-4-QtShIZChOP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82632-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82632-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02292.txt.bz2
Content-length: 316

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82632

--- Comment #1 from Barry Revzin <barry.revzin at gmail dot com> ---
Actually, I'm pretty sure that gcc is correct here while this is a clang bug
for rejecting. The copy deduction candidate is more specialized, which is
preferred first over the deduction-guide.
>From gcc-bugs-return-579233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:41:04 2017
Return-Path: <gcc-bugs-return-579233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121845 invoked by alias); 20 Oct 2017 11:41: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 121754 invoked by uid 48); 20 Oct 2017 11:41:00 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] gcov does not handle removed functions
Date: Fri, 20 Oct 2017 11:41: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: unknown
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-82633-4-6wEUnYHvFY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02293.txt.bz2
Content-length: 607

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #3)
> I don't think so Richi: documentation says:
> 
> The execution count is ‘-’ for lines containing no code.

"code" or "source code"?

Because what's the difference to

        -:   11:  MyClass2 a;

?  I belive implementation-wise any source line that doesn't end up
having a corresponding assembler stmt with that line will be emitted
as '-', so DCEd stmts will be listed as '-', not '0'.  Does GCC _ever_
print '0'?
>From gcc-bugs-return-579234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:48:35 2017
Return-Path: <gcc-bugs-return-579234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20581 invoked by alias); 20 Oct 2017 11:48: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 11626 invoked by uid 48); 20 Oct 2017 11:48:20 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] gcov does not handle removed functions
Date: Fri, 20 Oct 2017 11:48: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: 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-82633-4-vNkegBUHm5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02294.txt.bz2
Content-length: 1057

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #4)
> (In reply to Martin Liška from comment #3)
> > I don't think so Richi: documentation says:
> > 
> > The execution count is ‘-’ for lines containing no code.
> 
> "code" or "source code"?

Good question :) Yes, now it reflects to GIMPLE statements.

> 
> Because what's the difference to
> 
>         -:   11:  MyClass2 a;
> 
> ?  I belive implementation-wise any source line that doesn't end up
> having a corresponding assembler stmt with that line will be emitted
> as '-', so DCEd stmts will be listed as '-', not '0'.  Does GCC _ever_
> print '0'?

No we never print 0. Actually the lines starting with ##### are the interesting
that are marked by tools as really not executed:

https://gcc.opensuse.org/gcc-lcov/gcc/collect2.c.gcov.html

and subject for another coverage. That's why I would like to see function
'iterate' being marked same as foo.
>From gcc-bugs-return-579235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 11:49:12 2017
Return-Path: <gcc-bugs-return-579235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27051 invoked by alias); 20 Oct 2017 11: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 26945 invoked by uid 48); 20 Oct 2017 11:49:02 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] gcov does not handle removed functions
Date: Fri, 20 Oct 2017 11:49: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: 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-82633-4-ejVemSPQ5E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02295.txt.bz2
Content-length: 550

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
And yes LLVM does it as one would expect:

removed.cpp:
    1|       |class MyClass2
    2|       |{
    3|       |  public:
    4|      0|    void iterate() { a = 5; }
    5|       |
    6|       |    int a;
    7|       |};
    8|       |
    9|       |void foo()
   10|      0|{
   11|      0|}
   12|       |
   13|       |int main()
   14|      1|{
   15|      1|  MyClass2 a;
   16|      1|  return 0;
   17|      1|}
>From gcc-bugs-return-579236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 12:04:09 2017
Return-Path: <gcc-bugs-return-579236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68064 invoked by alias); 20 Oct 2017 12:04: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 65171 invoked by uid 48); 20 Oct 2017 12:04:05 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82630] Bogus DW_AT_GNU_call_site_value
Date: Fri, 20 Oct 2017 12: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: 8.0
X-Bugzilla-Keywords: wrong-debug
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-82630-4-ZkJd0v6MRd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02296.txt.bz2
Content-length: 495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82630

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #2)
> The problem is the assembler's special treatment of _GLOBAL_OFFSET_TABLE_,
> that
> .long _GLOBAL_OFFSET_TABLE_ or .quad _GLOBAL_OFFSET_TABLE_ on x86 doesn't
> actually assemble as normal relocation against that symbol, but as a special
> relocation.

Should I change assembler to generate R_386_32 for

.long _GLOBAL_OFFSET_TABLE_
>From gcc-bugs-return-579237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 12:06:56 2017
Return-Path: <gcc-bugs-return-579237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122175 invoked by alias); 20 Oct 2017 12: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 122125 invoked by uid 48); 20 Oct 2017 12:06:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82630] Bogus DW_AT_GNU_call_site_value
Date: Fri, 20 Oct 2017 12: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: 8.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-82630-4-yaXqNzOpyM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02297.txt.bz2
Content-length: 416

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82630

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Then it would be unclear what that generates (something with the old assembler,
something else with the new assembler).
Trying now to change gcc so that it actually doesn't delegitimize UNSPEC_GOTOFF
in this case, but let it be accepted.  That should result in better debuginfo
size anyway.
>From gcc-bugs-return-579238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 12:54:32 2017
Return-Path: <gcc-bugs-return-579238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90514 invoked by alias); 20 Oct 2017 12: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 89303 invoked by uid 48); 20 Oct 2017 12:54:27 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc component
Message-ID: <bug-82628-4-mqInYSHrPo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02298.txt.bz2
Content-length: 2658

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org
          Component|tree-optimization           |rtl-optimization

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Looks like combine failure to me:

---cut here--
(insn 17 15 18 4 (set (reg:SI 93)
        (const_int 1 [0x1])) "pr82628.c":14 82 {*movsi_internal}
     (nil))
...
(insn 19 18 20 4 (set (reg:CC 17 flags)
        (compare:CC (reg:SI 93)
            (subreg:SI (reg/v:DI 89 [ d ]) 0))) "pr82628.c":14 7 {*cmpsi_1}
     (expr_list:REG_DEAD (reg:SI 93)
        (expr_list:REG_EQUAL (compare:CC (const_int 1 [0x1])
                (subreg:SI (reg/v:DI 89 [ d ]) 0))
            (nil))))
(insn 20 19 21 4 (parallel [
            (set (reg:CCGZ 17 flags)
                (compare:CCGZ (reg:SI 94)
                    (plus:SI (ltu:SI (reg:CC 17 flags)
                            (const_int 0 [0]))
                        (subreg:SI (reg/v:DI 89 [ d ]) 4))))
            (clobber (scratch:SI))
        ]) "pr82628.c":14 307 {subsi3_carry_ccgz}
     (expr_list:REG_DEAD (reg:SI 94)
        (expr_list:REG_EQUAL (compare:CCGZ (const_int 0 [0])
                (plus:SI (ltu:SI (reg:CC 17 flags)
                        (const_int 0 [0]))
                    (subreg:SI (reg/v:DI 89 [ d ]) 4)))
            (nil))))
(jump_insn 21 20 22 4 (set (pc)
        (if_then_else (geu (reg:CCGZ 17 flags)
                (const_int 0 [0]))
            (label_ref 16)
            (pc))) "pr82628.c":14 664 {*jcc}
     (expr_list:REG_DEAD (reg:CCGZ 17 flags)
        (int_list:REG_BR_PROB 912680552 (nil)))
 -> 16)
---cut here--

combines with:

Trying 17 -> 19:
Successfully matched this instruction:
(set (reg:CC 17 flags)
    (compare:CC (subreg:SI (reg/v:DI 89 [ d ]) 0)
        (const_int 1 [0x1])))

and further with:

Trying 19 -> 20:

Successfully matched this instruction:
(set (pc)
    (label_ref 16))

I don't think that combining:

(set (reg:CC 17 flags)
    (compare:CC (subreg:SI (reg/v:DI 89 [ d ]) 0)
        (const_int 1 [0x1])))

with

(insn 20 19 21 4 (parallel [
            (set (reg:CCGZ 17 flags)
                (compare:CCGZ (reg:SI 94)
                    (plus:SI (ltu:SI (reg:CC 17 flags)
                            (const_int 0 [0]))
                        (subreg:SI (reg/v:DI 89 [ d ]) 4))))
            (clobber (scratch:SI))

should result in unconditional jump:

(set (pc)
    (label_ref 16))
>From gcc-bugs-return-579239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:02:15 2017
Return-Path: <gcc-bugs-return-579239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15440 invoked by alias); 20 Oct 2017 13: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 7455 invoked by uid 48); 20 Oct 2017 13:02:07 -0000
From: "h2+bugs at fsfe dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82634] New: C++11 std::thread::join
Date: Fri, 20 Oct 2017 13: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: h2+bugs at fsfe 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-82634-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02299.txt.bz2
Content-length: 400

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82634

            Bug ID: 82634
           Summary: C++11 std::thread::join
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: h2+bugs at fsfe dot org
  Target Milestone: ---
>From gcc-bugs-return-579240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:13:36 2017
Return-Path: <gcc-bugs-return-579240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116182 invoked by alias); 20 Oct 2017 13: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 112036 invoked by uid 48); 20 Oct 2017 13:13:31 -0000
From: "h2+bugs at fsfe dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82635] New: std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 13:13: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: h2+bugs at fsfe 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-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02300.txt.bz2
Content-length: 1218

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

            Bug ID: 82635
           Summary: std::thread's join broken on FreeBSD with all GCCs >=
                    5
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: h2+bugs at fsfe dot org
  Target Milestone: ---

See the attached code. It compiles "fine" everywhere, but the resulting binary
crashes in some situations:

It runs fine on all compilers on Linux; it runs fine on all versions of clang
on FreeBSD and on GCC-4.9 on FreeBSD.

With GCC>=5 (including current 8-snapshot) the program crashes after 5
(sometimes 6) iterations. This may depend on the hardware, I can't say for
sure. It is also strange how it is only triggered after multiple iterations.

The problem must have been introduced in the last months, I know for sure that
it did not happen in June. However it seems strange that it affects all GCCs
down to version 5. Maybe something that was backported?

I am CCing FreeBSD's port maintainer in case something happened on the
packaging side of things.
>From gcc-bugs-return-579242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:14:46 2017
Return-Path: <gcc-bugs-return-579242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19080 invoked by alias); 20 Oct 2017 13: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 19052 invoked by uid 48); 20 Oct 2017 13:14:42 -0000
From: "h2+bugs at fsfe dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: h2+bugs at fsfe 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: attachments.created
Message-ID: <bug-82635-4-0wHGIymQqB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02302.txt.bz2
Content-length: 235

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

--- Comment #1 from Hannes Hauswedell <h2+bugs at fsfe dot org> ---
Created attachment 42411
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42411&action=edit
test program
>From gcc-bugs-return-579241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:14:17 2017
Return-Path: <gcc-bugs-return-579241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12412 invoked by alias); 20 Oct 2017 13: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 8629 invoked by uid 48); 20 Oct 2017 13:14:12 -0000
From: "h2+bugs at fsfe dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82634] C++11 std::thread::join
Date: Fri, 20 Oct 2017 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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: h2+bugs at fsfe 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: bug_status resolution
Message-ID: <bug-82634-4-RKonzlxr9T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82634-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82634-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02301.txt.bz2
Content-length: 474

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82634

Hannes Hauswedell <h2+bugs at fsfe dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Hannes Hauswedell <h2+bugs at fsfe dot org> ---
oops, seems like my browser wrongly created this.
>From gcc-bugs-return-579243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:14:57 2017
Return-Path: <gcc-bugs-return-579243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19842 invoked by alias); 20 Oct 2017 13: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 19758 invoked by uid 48); 20 Oct 2017 13:14:53 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 13: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-CzNFuloOXL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02303.txt.bz2
Content-length: 1029

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #3)
> Looks like combine failure to me:
>
> I don't think that combining:
> 
> (set (reg:CC 17 flags)
>     (compare:CC (subreg:SI (reg/v:DI 89 [ d ]) 0)
>         (const_int 1 [0x1])))
> 
> with
> 
> (insn 20 19 21 4 (parallel [
>             (set (reg:CCGZ 17 flags)
>                 (compare:CCGZ (reg:SI 94)
>                     (plus:SI (ltu:SI (reg:CC 17 flags)
>                             (const_int 0 [0]))
>                         (subreg:SI (reg/v:DI 89 [ d ]) 4))))
>             (clobber (scratch:SI))
> 
> should result in unconditional jump:
> 
> (set (pc)
>     (label_ref 16))

Please note two different subregs of the same register. Maybe somewhere combine
figures out that two different subregs of the same register are the same (which
are not - see the offsets!) and removes insn due to the invalid
"simplification".

Segher?
>From gcc-bugs-return-579244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:42:29 2017
Return-Path: <gcc-bugs-return-579244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11834 invoked by alias); 20 Oct 2017 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 11766 invoked by uid 48); 20 Oct 2017 13:42:25 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82129] [8 Regression] ICE in compute_antic, at tree-ssa-pre.c:2447
Date: Fri, 20 Oct 2017 13:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82129-4-NdRLwtFpZD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82129-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82129-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02304.txt.bz2
Content-length: 317

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82129

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
So we oscillate in the expression set because we "randomly" take expressions
when intersecting ANTIC_OUT.  Both keeping all and canonicalizing to lowest
expression ID fixes this.

Testing patch.
>From gcc-bugs-return-579245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:44:22 2017
Return-Path: <gcc-bugs-return-579245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100673 invoked by alias); 20 Oct 2017 13: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 95306 invoked by uid 55); 20 Oct 2017 13:44:18 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82473] [8 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1524
Date: Fri, 20 Oct 2017 13: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.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82473-4-nPEfxsRNsO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82473-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82473-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02305.txt.bz2
Content-length: 656

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82473

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct 20 13:43:47 2017
New Revision: 253937

URL: https://gcc.gnu.org/viewcvs?rev=253937&root=gcc&view=rev
Log:
2017-10-20  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82473
        * tree-vect-loop.c (vectorizable_reduction): Properly get at
        the largest input type.

        * gcc.dg/torture/pr82473.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr82473.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c
>From gcc-bugs-return-579247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:45:34 2017
Return-Path: <gcc-bugs-return-579247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110291 invoked by alias); 20 Oct 2017 13: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 110168 invoked by uid 48); 20 Oct 2017 13:45:29 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82473] [8 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1524
Date: Fri, 20 Oct 2017 13: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82473-4-qhrtWESWFD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82473-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82473-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02307.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82473

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-579246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:45:34 2017
Return-Path: <gcc-bugs-return-579246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110282 invoked by alias); 20 Oct 2017 13: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 110158 invoked by uid 48); 20 Oct 2017 13:45:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82630] Bogus DW_AT_GNU_call_site_value
Date: Fri, 20 Oct 2017 13:45: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: wrong-debug
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-82630-4-0yCIhWWPYu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02306.txt.bz2
Content-length: 689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82630

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-20
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42412
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42412&action=edit
gcc8-pr82630.patch

Untested fix.
>From gcc-bugs-return-579248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:46:44 2017
Return-Path: <gcc-bugs-return-579248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112214 invoked by alias); 20 Oct 2017 13:46: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 112162 invoked by uid 48); 20 Oct 2017 13:46:40 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/49526] extra move instruction for smmul
Date: Fri, 20 Oct 2017 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: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: 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-49526-4-iv4t9h32gC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49526-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49526-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02308.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49526

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|rearnsha at gcc dot gnu.org        |unassigned at gcc dot gnu.org

--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
I'm clearly not working this one...
>From gcc-bugs-return-579249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:52:32 2017
Return-Path: <gcc-bugs-return-579249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128684 invoked by alias); 20 Oct 2017 13: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 128649 invoked by uid 48); 20 Oct 2017 13:52:28 -0000
From: "tuliom at linux dot vnet.ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82636] New: powerpc: Unnecessary copy of __ieee128 parameter
Date: Fri, 20 Oct 2017 13: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tuliom at linux dot vnet.ibm.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-82636-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02309.txt.bz2
Content-length: 1058

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82636

            Bug ID: 82636
           Summary: powerpc: Unnecessary copy of __ieee128 parameter
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tuliom at linux dot vnet.ibm.com
  Target Milestone: ---

Tested with GCC 7.2.1 on powerpc64le.

The copy of vs36 (v4) to vs32 (v0) shouldn't be required, i.e. I'd expect to
have xsmaddqp v4,v2,v3.

$ cat s_fmaf128-power9.c
__ieee128
__fmaf128_power9 (__ieee128 x, __ieee128 y, __ieee128 z)
{
  asm ("xsmaddqp\t%0, %1, %2" : "+v" (z) : "v" (x), "v" (y));
  return z;
}

$ gcc -mcpu=power9 -mfloat128 -O3 -c s_fmaf128-power9.c -o test.o

$ objdump -d test.o
...
0000000000000000 <__fmaf128_power9>:
   0:   97 24 04 f0     xxlor   vs32,vs36,vs36    <----
   4:   08 1b 02 fc     xsmaddqp v0,v2,v3
   8:   97 04 40 f0     xxlor   vs34,vs32,vs32
   c:   20 00 80 4e     blr
        ...
>From gcc-bugs-return-579250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 13:58:31 2017
Return-Path: <gcc-bugs-return-579250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65197 invoked by alias); 20 Oct 2017 13:58: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 65146 invoked by uid 48); 20 Oct 2017 13:58:26 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82636] powerpc: Unnecessary copy of __ieee128 parameter
Date: Fri, 20 Oct 2017 13: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: 7.2.1
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-82636-4-1yTDhui6G6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02310.txt.bz2
Content-length: 534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82636

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ra
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-20
                 CC|                            |segher at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-579251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:02:44 2017
Return-Path: <gcc-bugs-return-579251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70236 invoked by alias); 20 Oct 2017 14: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 70109 invoked by uid 48); 20 Oct 2017 14:02:35 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Fri, 20 Oct 2017 14: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: 8.0
X-Bugzilla-Keywords: build
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82595-4-hOabKerCQf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02311.txt.bz2
Content-length: 1411

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #7)
> Author: jakub
> Date: Fri Oct 20 07:32:35 2017
> New Revision: 253925
> 
> URL: https://gcc.gnu.org/viewcvs?rev=253925&root=gcc&view=rev
> Log:
> 	PR sanitizer/82595
> 	* config/gnu-user.h (LIBTSAN_EARLY_SPEC): Add libtsan_preinit.o
> 	for -fsanitize=thread link of executables.
> 	(LIBLSAN_EARLY_SPEC): Add liblsan_preinit.o for -fsanitize=leak
> 	link of executables.
> 
> 	* lsan/lsan.h (__lsan_init): Add SANITIZER_INTERFACE_ATTRIBUTE.
> 	* lsan/Makefile.am (nodist_toolexeclib_HEADERS): Add
> 	liblsan_preinit.o.
> 	(lsan_files): Remove lsan_preinit.cc.
> 	(liblsan_preinit.o): New rule.
> 	* lsan/Makefile.in: Regenerated.
> 
> Modified:
>     trunk/gcc/ChangeLog
>     trunk/gcc/config/gnu-user.h
>     trunk/libsanitizer/ChangeLog
>     trunk/libsanitizer/lsan/Makefile.am
>     trunk/libsanitizer/lsan/Makefile.in
>     trunk/libsanitizer/lsan/lsan.h

I've bootstrapped now successfully after this revision; thanks!
>From gcc-bugs-return-579252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:03:22 2017
Return-Path: <gcc-bugs-return-579252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72456 invoked by alias); 20 Oct 2017 14: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 71459 invoked by uid 48); 20 Oct 2017 14:03:18 -0000
From: "keith.marshall at mailinator dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 14: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keith.marshall at mailinator 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: cc
Message-ID: <bug-82626-4-ObifFc40n7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02312.txt.bz2
Content-length: 1756

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

Keith Marshall <keith.marshall at mailinator dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keith.marshall at mailinator dot c
                   |                            |om

--- Comment #4 from Keith Marshall <keith.marshall at mailinator dot com> ---
(In reply to Jakub Jelinek from comment #3)
> (In reply to joseph@codesourcery.com from comment #2)
> > I think a value of 0 should be correct with -mfpmath=sse.
> 
> For -msse2 -mfpmath=sse sure, and that is what you get.
> But for -mno-sse2 -msse -mfpmath=sse only float computations are done in
> SSE, double is done in x87.

If you're going to claim that argument, then your C++ <cmath> header is broken,
because you've just made the float_t and double_t data types indeterminate for
-mfpmath=sse prior to SSE2, yet you unconditionally refer to both in "uses"
clauses, (which requires typedefs from somewhere, yet you aren't providing
them; if you expect me to provide them in MinGW <math.h> -- which is where
Danny Smith originally provided them, but he neglected the "indeterminate" case
-- then I'm probably going to make both equivalent to X87 defaults -- i.e.
80-bit long double for both -- and you might just as well punt float to the X87
too.  Thus, you've comprehensively broken support for pre-SSE2 -mfpmath=sse,
from GCC-6 onwards).

Sorry, but you can't have your cake, and eat it; one way or another, this is a
regression from GCC-5, which (correctly IMO, and in full agreement with Joseph)
set FLT_EVAL_METHOD to zero, for the OP's use case.
>From gcc-bugs-return-579253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:04:18 2017
Return-Path: <gcc-bugs-return-579253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75414 invoked by alias); 20 Oct 2017 14: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 75323 invoked by uid 48); 20 Oct 2017 14:04:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Fri, 20 Oct 2017 14: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: 8.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: 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-82595-4-2JMSjgrgdU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02313.txt.bz2
Content-length: 263

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Still, it was clearly caused by the bogus --without-pic, as lsan_preinit.cc is
guarded with a macro that was not enabled if PIC was defined.
>From gcc-bugs-return-579254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:12:44 2017
Return-Path: <gcc-bugs-return-579254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85202 invoked by alias); 20 Oct 2017 14: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 85106 invoked by uid 48); 20 Oct 2017 14:12:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 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: 6.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82626-4-J4zu8LGAtH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02314.txt.bz2
Content-length: 746

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
__FLT_EVAL_METHOD__ 0 can't be correct in that case, "all operations and
constants evaluate in the range and precision of the type used." does not hold,
but "all operations and constants evaluate in the range and precision of long
double." which is the requirement for 2 doesn't hold either - float operations
evaluate in the range and precision of that type (float), double evaluates in
the range and precision of long double.
float_t/double_t definitions aren't provided by GCC, but by the C library.
So, if they aren't defined properly in that case, it is up to glibc or mingw or
whatever else projects owns them.
>From gcc-bugs-return-579256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:23:09 2017
Return-Path: <gcc-bugs-return-579256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123446 invoked by alias); 20 Oct 2017 14:23: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 123300 invoked by uid 48); 20 Oct 2017 14:23:04 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82634] C++11 std::thread::join
Date: Fri, 20 Oct 2017 14: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: unknown
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: resolution
Message-ID: <bug-82634-4-a0RmagBjup@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82634-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82634-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02316.txt.bz2
Content-length: 430

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82634

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
dup

*** This bug has been marked as a duplicate of bug 82635 ***
>From gcc-bugs-return-579255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:23:08 2017
Return-Path: <gcc-bugs-return-579255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123365 invoked by alias); 20 Oct 2017 14:23: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 123312 invoked by uid 48); 20 Oct 2017 14:23:05 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 14: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
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-82635-4-Ier0ymnO8R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02315.txt.bz2
Content-length: 182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 82634 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:26:16 2017
Return-Path: <gcc-bugs-return-579257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4788 invoked by alias); 20 Oct 2017 14:26: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 4757 invoked by uid 48); 20 Oct 2017 14:26:12 -0000
From: "porton at narod dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82637] New: Compiler crash
Date: Fri, 20 Oct 2017 14:26: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: porton at narod 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-82637-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02317.txt.bz2
Content-length: 1883

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82637

            Bug ID: 82637
           Summary: Compiler crash
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: porton at narod dot ru
  Target Milestone: ---

Created attachment 42413
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42413&action=edit
Compiler input triggering bug

The files are attached. Use gnatchop to extract them.

$ gnatgcc -c uri.adb
+===========================GNAT BUG DETECTED==============================+
| 7.2.0 (x86_64-linux-gnu) Storage_Error stack overflow or erroneous memory
access|
| Error detected at uri.ads:10:28                                          |
| 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.                                       |
+==========================================================================+

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).

uri.adb
uri.ads
auxiliary.ads
handled_record.ads

compilation abandoned
>From gcc-bugs-return-579258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:32:51 2017
Return-Path: <gcc-bugs-return-579258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68716 invoked by alias); 20 Oct 2017 14: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 62277 invoked by uid 48); 20 Oct 2017 14:32:44 -0000
From: "uberprugelknabe at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82617] Internal compiler error in expand_expr_real_1 when compiling the attached file
Date: Fri, 20 Oct 2017 14: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uberprugelknabe 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-82617-4-4NQ0OTBr0I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82617-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82617-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02318.txt.bz2
Content-length: 1450

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82617

--- Comment #3 from Ögmundur Petersson <uberprugelknabe at hotmail dot com> ---
I fear that it doesn't add any new information but here is my full backtrace:

test.f90:22:0:

   FUNCTION str_words(str,white) RESULT(items)

Error: Local declaration from a different function
..__result
test.f90:27:0:

     items = strwords_impl(str,white)

note: in statement
..__result = ..__result;
test.f90:22:0:

   FUNCTION str_words(str,white) RESULT(items)

Error: Local declaration from a different function
..__result
test.f90:27:0:

     items = strwords_impl(str,white)

note: in statement
_28 = (integer(kind=8)) ..__result;
test.f90:22:0:

   FUNCTION str_words(str,white) RESULT(items)

Error: Local declaration from a different function
..__result
test.f90:27:0:

     items = strwords_impl(str,white)

note: in statement
D.3662 = (sizetype) ..__result;
test.f90:22:0:

   FUNCTION str_words(str,white) RESULT(items)

internal compiler error: verify_gimple failed
0xc330ae verify_gimple_in_cfg(function*, bool)
        ../../gcc-7.2.0/gcc/tree-cfg.c:5266
0xb15866 execute_function_todo
        ../../gcc-7.2.0/gcc/passes.c:1966
0xb168b2 execute_todo
        ../../gcc-7.2.0/gcc/passes.c:2016
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-579259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:35:41 2017
Return-Path: <gcc-bugs-return-579259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37547 invoked by alias); 20 Oct 2017 14: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 37481 invoked by uid 48); 20 Oct 2017 14:35:37 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82614] GCOV crashes while parsing gcda file
Date: Fri, 20 Oct 2017 14:35: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla dot com
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-82614-4-MJKEsoASJc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02319.txt.bz2
Content-length: 1614

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

--- Comment #7 from Marco Castelluccio <mcastelluccio at mozilla dot com> ---
(In reply to Martin Liška from comment #6)
> (In reply to Marco Castelluccio from comment #5)
> > (In reply to Martin Liška from comment #4)
> > > (In reply to Marco Castelluccio from comment #3)
> > > > > Thanks for the report Marco. Looks it comes from Firefox, am I right?
> > > > 
> > > > Yes, that's correct. Actually, from a build of the JS shell.
> > > > 
> > > > > Which version of GCC have you been using?
> > > > 
> > > > The build was done with "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609".
> > > > 
> > > > We were also able to reproduce the crash with a gcda generated normally,
> > > > without __gcov_dump.
> > > 
> > > I see, not the GCC 5.x is not longer supported. Anyway, please paste
> > > backtrace from gcov when the segfaults happens.
> > 
> > I'm having a hard time installing debugging symbols here, I might have to
> > build GCC from scratch.
> > If you already have a debug build of GCC 6 lurking around, you could try if
> > you could reproduce the crash yourself.
> 
> Yes, but am I right that the gcda and gcno files attached are created with
> GCC 5.4?
> I can't reproduce the segfault on my machine. Please paste command line
> invocation.

Yes, they were created with GCC 5.4.
Here's a crash report when I try to parse them with gcov-7:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1725255, perhaps you can
get the stacktrace from there.

I will report back after we finish testing with GCC 6/7.
>From gcc-bugs-return-579260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:36:02 2017
Return-Path: <gcc-bugs-return-579260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38397 invoked by alias); 20 Oct 2017 14: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 38344 invoked by uid 48); 20 Oct 2017 14:35:59 -0000
From: "porton at narod dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82638] New: Legal program rejected with a weird error message
Date: Fri, 20 Oct 2017 14:36: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: porton at narod 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-82638-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02320.txt.bz2
Content-length: 916

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82638

            Bug ID: 82638
           Summary: Legal program rejected with a weird error message
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: porton at narod dot ru
  Target Milestone: ---

Created attachment 42414
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42414&action=edit
Compiler input triggering bug

GNAT 7.2.0 for Debian.

This bug may be related with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82637
because I found them working on the same source.

Extract attached all2.chop with gnatchop.

$ gnatgcc -c uri.adb
uri.ads:7:28: "" is undefined
uri.ads:7:28: subtype mark required in this context
uri.ads:7:28: found <empty> declared at unknown location
>From gcc-bugs-return-579261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:37:19 2017
Return-Path: <gcc-bugs-return-579261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41414 invoked by alias); 20 Oct 2017 14: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 41384 invoked by uid 48); 20 Oct 2017 14:37:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 14: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
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-82635-4-1cwduXayj0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02321.txt.bz2
Content-length: 1404

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-20
     Ever confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
https://gcc.gnu.org/bugs/

What we need:
...
- the complete command line that triggers the bug;

Are you linking to libpthread?

Where does it crash?


(In reply to Hannes Hauswedell from comment #0)
> The problem must have been introduced in the last months, I know for sure
> that it did not happen in June. However it seems strange that it affects all
> GCCs down to version 5. Maybe something that was backported?

Nope.

The code is largely the same for GNU/Linux and FreeBSD, and I'm not aware of
any problems in it, and TSan doesn't show any, which suggests a problem in the
FreeBSD pthreads implementation.

I do recall something in FreeBSD's pthreads impl being non-conforming, where
the static PTHREAD_MUTEX_INITIALIZER (or maybe PTHREAD_COND_INITIALIZER)
creates an invalid object that then requires dynamic initialization on the
first use. There could be a race in that code (or I could be totally
misremembering).
>From gcc-bugs-return-579262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:43:50 2017
Return-Path: <gcc-bugs-return-579262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40717 invoked by alias); 20 Oct 2017 14:43: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 40679 invoked by uid 48); 20 Oct 2017 14:43:45 -0000
From: "porton at narod dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82637] Compiler crash
Date: Fri, 20 Oct 2017 14:43: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: porton at narod 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-82637-4-YPRlGZr6FA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82637-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82637-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02322.txt.bz2
Content-length: 192

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82637

--- Comment #1 from Victor Porton <porton at narod dot ru> ---
Possibly related bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82638
>From gcc-bugs-return-579263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:50:26 2017
Return-Path: <gcc-bugs-return-579263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69256 invoked by alias); 20 Oct 2017 14: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 69184 invoked by uid 48); 20 Oct 2017 14:50:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/78808] target_clones not applying to openmp functions
Date: Fri, 20 Oct 2017 14: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78808-4-ulVTzbXe1h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02323.txt.bz2
Content-length: 281

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can you please attach preprocessed sources for both issues (the error and the
undefined external ref to *.omp_fn* function) + full g++ command line options?
>From gcc-bugs-return-579264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 14:59:22 2017
Return-Path: <gcc-bugs-return-579264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95935 invoked by alias); 20 Oct 2017 14: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 92691 invoked by uid 48); 20 Oct 2017 14:59:17 -0000
From: "h2+bugs at fsfe dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: h2+bugs at fsfe dot 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-82635-4-oZafmnZv94@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02324.txt.bz2
Content-length: 1164

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

--- Comment #4 from Hannes Hauswedell <h2+bugs at fsfe dot org> ---
> the complete command line that triggers the bug;

/usr/local/bin/g++7 -Wl,-rpath -Wl,/usr/local/lib/gcc7/ -std=c++11 -pthread
test_thread.cpp
(g++7 could be g++6 g++6 or g++8)

> Are you linking to libpthread?

I am calling -pthread (or -lpthread), but ldd says:
% ldd a.out
a.out:
        libstdc++.so.6 => /usr/local/lib/gcc7//libstdc++.so.6 (0x800825000)
        libm.so.5 => /lib/libm.so.5 (0x800bba000)
        libgcc_s.so.1 => /usr/local/lib/gcc7//libgcc_s.so.1 (0x800de5000)
        libthr.so.3 => /lib/libthr.so.3 (0x800ffc000)
        libc.so.7 => /lib/libc.so.7 (0x801224000)

The broken combinations crash after a few iterations:
% ./a.out
Hallo
Waited successfully. Was joinable: 1
Hallo
Waited successfully. Was joinable: 1
Hallo
Waited successfully. Was joinable: 1
Hallo
Waited successfully. Was joinable: 1
Hallo
Waited successfully. Was joinable: 1
Hallo
[1]    2613 segmentation fault (core dumped)  ./a.out

The crash happens when calling .joinable(). If we skip the joinable check it
crashes on .join().
>From gcc-bugs-return-579265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:04:11 2017
Return-Path: <gcc-bugs-return-579265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5147 invoked by alias); 20 Oct 2017 15:04: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 2830 invoked by uid 48); 20 Oct 2017 15:04:05 -0000
From: "seurer at linux dot vnet.ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82627] [8 regression] r253809 breaks test cases gcc.dg/graphite/interchange-3.c -7.c, -9.c, and uns-interchange-9.c
Date: Fri, 20 Oct 2017 15: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at linux dot vnet.ibm.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc attachments.created
Message-ID: <bug-82627-4-IVMsidyWNV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02325.txt.bz2
Content-length: 514

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82627

Bill Seurer <seurer at linux dot vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |seurer at linux dot vnet.ibm.com

--- Comment #2 from Bill Seurer <seurer at linux dot vnet.ibm.com> ---
Created attachment 42415
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42415&action=edit
After revision
>From gcc-bugs-return-579266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:04:40 2017
Return-Path: <gcc-bugs-return-579266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16520 invoked by alias); 20 Oct 2017 15:04: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 14228 invoked by uid 48); 20 Oct 2017 15:04:35 -0000
From: "seurer at linux dot vnet.ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82627] [8 regression] r253809 breaks test cases gcc.dg/graphite/interchange-3.c -7.c, -9.c, and uns-interchange-9.c
Date: Fri, 20 Oct 2017 15: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at linux dot vnet.ibm.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82627-4-gmgPStAHmr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02326.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82627

--- Comment #3 from Bill Seurer <seurer at linux dot vnet.ibm.com> ---
Created attachment 42416
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42416&action=edit
Before revisvion
>From gcc-bugs-return-579267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:12:29 2017
Return-Path: <gcc-bugs-return-579267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53038 invoked by alias); 20 Oct 2017 15:12: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 45998 invoked by uid 48); 20 Oct 2017 15:12:24 -0000
From: "seurer at linux dot vnet.ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82627] [8 regression] r253809 breaks test cases gcc.dg/graphite/interchange-3.c -7.c, -9.c, and uns-interchange-9.c
Date: Fri, 20 Oct 2017 15: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at linux dot vnet.ibm.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82627-4-kEMpfmPaku@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02327.txt.bz2
Content-length: 215

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82627

--- Comment #4 from Bill Seurer <seurer at linux dot vnet.ibm.com> ---
I attached the dumps from before and after.  Wow, they are radically different
in size.
>From gcc-bugs-return-579268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:15:17 2017
Return-Path: <gcc-bugs-return-579268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93161 invoked by alias); 20 Oct 2017 15:15: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 80768 invoked by uid 55); 20 Oct 2017 15:15:01 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/79433] __has_include(<new header>) is true but #include <new header> gives #error when -std=old
Date: Fri, 20 Oct 2017 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: 7.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-79433-4-lH03gD4cE0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79433-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79433-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02328.txt.bz2
Content-length: 3293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79433

--- Comment #27 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Oct 20 15:14:29 2017
New Revision: 253943

URL: https://gcc.gnu.org/viewcvs?rev=253943&root=gcc&view=rev
Log:
PR libstdc++/79433 no #error for including headers with wrong -std

Backport from mainline
2017-09-12  Jonathan Wakely  <jwakely@redhat.com>

        PR libstdc++/79433
        * doc/xml/manual/status_cxx2017.xml: Update feature-test macros.
        * doc/html/*: Regenerate.
        * include/Makefile.am: Remove <bits/c++17_warning.h>.
        * include/Makefile.in: Regenerate.
        * include/bits/c++17_warning.h: Remove.
        * include/bits/string_view.tcc: Do not include <bits/c++17_warning.h>
        for pre-C++17 modes.
        * include/std/any: Likewise.
        (__cpp_lib_any): Define.
        * include/std/mutex (__cpp_lib_scoped_lock): Adjust value as per new
        SD-6 draft.
        * include/std/numeric (__cpp_lib_gcd_lcm): Define as per new SD-6
        draft.
        * include/std/optional: Do not include <bits/c++17_warning.h>.
        (__cpp_lib_optional): Define.
        * include/std/shared_mutex: Do not include <bits/c++14_warning.h>.
        * include/std/string_view: Do not include <bits/c++17_warning.h>.
        (__cpp_lib_string_view): Define.
        * include/std/variant: Do not include <bits/c++17_warning.h>.
        (__cpp_lib_variant): Define.
        * testsuite/20_util/optional/cons/value_neg.cc: Adjust dg-error line
        numbers.
        * testsuite/26_numerics/gcd/1.cc: Test for __cpp_lib_gcd_lcm.
        * testsuite/26_numerics/gcd/gcd_neg.cc: Adjust dg-error line
        numbers.
        * testsuite/26_numerics/lcm/1.cc: Test for __cpp_lib_gcd_lcm.
        * testsuite/26_numerics/lcm/lcm_neg.cc: Adjust dg-error line
        numbers.
        * testsuite/30_threads/scoped_lock/requirements/typedefs.cc: Adjust
        expected value of __cpp_lib_scoped_lock.

Removed:
    branches/gcc-7-branch/libstdc++-v3/include/bits/c++17_warning.h
Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
    branches/gcc-7-branch/libstdc++-v3/include/Makefile.am
    branches/gcc-7-branch/libstdc++-v3/include/Makefile.in
    branches/gcc-7-branch/libstdc++-v3/include/bits/string_view.tcc
    branches/gcc-7-branch/libstdc++-v3/include/std/any
    branches/gcc-7-branch/libstdc++-v3/include/std/mutex
    branches/gcc-7-branch/libstdc++-v3/include/std/numeric
    branches/gcc-7-branch/libstdc++-v3/include/std/optional
    branches/gcc-7-branch/libstdc++-v3/include/std/shared_mutex
    branches/gcc-7-branch/libstdc++-v3/include/std/string_view
    branches/gcc-7-branch/libstdc++-v3/include/std/variant
   
branches/gcc-7-branch/libstdc++-v3/testsuite/20_util/optional/cons/value_neg.cc
    branches/gcc-7-branch/libstdc++-v3/testsuite/26_numerics/gcd/1.cc
    branches/gcc-7-branch/libstdc++-v3/testsuite/26_numerics/gcd/gcd_neg.cc
    branches/gcc-7-branch/libstdc++-v3/testsuite/26_numerics/lcm/1.cc
    branches/gcc-7-branch/libstdc++-v3/testsuite/26_numerics/lcm/lcm_neg.cc
   
branches/gcc-7-branch/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/typedefs.cc
>From gcc-bugs-return-579269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:15:33 2017
Return-Path: <gcc-bugs-return-579269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100747 invoked by alias); 20 Oct 2017 15:15: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 88408 invoked by uid 55); 20 Oct 2017 15:15:05 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82481] dangling reference in mutex:693
Date: Fri, 20 Oct 2017 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: 7.0.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82481-4-JfdFFH7MkK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02329.txt.bz2
Content-length: 631

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82481

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Oct 20 15:14:33 2017
New Revision: 253944

URL: https://gcc.gnu.org/viewcvs?rev=253944&root=gcc&view=rev
Log:
PR libstdc++/82481 Suppress clang-tidy warnings

Backport from mainline
2017-10-13  Jonathan Wakely  <jwakely@redhat.com>

        PR libstdc++/82481
        * include/std/mutex (call_once): Suppress clang-tidy warnings about
        dangling references.

Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/include/std/mutex
>From gcc-bugs-return-579270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:24:46 2017
Return-Path: <gcc-bugs-return-579270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85705 invoked by alias); 20 Oct 2017 15:24: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 85161 invoked by uid 48); 20 Oct 2017 15:24:41 -0000
From: "keith.marshall at mailinator dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 15: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keith.marshall at mailinator 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-82626-4-FMce7F0skf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02330.txt.bz2
Content-length: 1961

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #6 from Keith Marshall <keith.marshall at mailinator dot com> ---
(In reply to Jakub Jelinek from comment #5)
> __FLT_EVAL_METHOD__ 0 can't be correct in that case, "all operations and
> constants evaluate in the range and precision of the type used." does not
> hold,

__FLT_EVAL_METHOD__ -1 cannot be correct either: "the precision of floating
point operations is indeterminable", so you force me to compromise on the
typedefs for float_t and double_t, (and the only sane choice I can make is long
double for both), yet you use methods of determinable precision for your
implementation, (in terms of generated code, and in the case of which the
double_t compromise is likely correct, but the float_t isn't).

> but "all operations and constants evaluate in the range and precision of
> long double." which is the requirement for 2 doesn't hold either - float
> operations evaluate in the range and precision of that type (float), double
> evaluates in the range and precision of long double.

Exactly so, (and there is no standardised FLT_EVAL_METHOD to represent that
case), but it is very much a determinate case, ergo __FLT_EVAL_METHOD__ -1 is
just plain wrong!  Correct would have been to exercise the licence granted by
POSIX.1-2008, and to define an implementation specific value less than -1,
whence I could then infer the proper (albeit non-standard combination of) type
definitions for float_t and double_t.

> float_t/double_t definitions aren't provided by GCC, but by the C library.
> So, if they aren't defined properly in that case, it is up to glibc or mingw
> or whatever else projects owns them.

And therein lies your bug: if you've specified that float_t and double_t are of
indeterminate precision, (and therefore -- by definition -- they themselves are
undefinable), you have no right to gratuitously require their definitions in
the C++ <cmath> header.
>From gcc-bugs-return-579271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:25:22 2017
Return-Path: <gcc-bugs-return-579271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93857 invoked by alias); 20 Oct 2017 15:25: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 92497 invoked by uid 48); 20 Oct 2017 15:25:17 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 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.0
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:
Message-ID: <bug-82635-4-QJAdXaCMFj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02331.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Hannes Hauswedell from comment #4)
> The crash happens when calling .joinable(). If we skip the joinable check it
> crashes on .join().

That's not very precise. Calling it where? From the destructor? It doesn't make
sense anyway, since joinable() just compares two pthread_t values for equality.
No pointers are dereferenced.

Could we get a stack trace please?
>From gcc-bugs-return-579273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:26:56 2017
Return-Path: <gcc-bugs-return-579273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25164 invoked by alias); 20 Oct 2017 15: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 20382 invoked by uid 48); 20 Oct 2017 15:26:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 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.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82628-4-9o59EOqG39@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02333.txt.bz2
Content-length: 934

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

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> ---
Adjusted testcase that just aborts if miscompiled rather than hangs (and
doesn't print anything):
__attribute__((noipa)) void
foo (const char *x)
{
  asm volatile ("" : "+g" (x) : : "memory");
  if (x)
    __builtin_abort ();
}

int a, b = 1;

int
main ()
{
  while (1) 
    {
      unsigned long long d = 18446744073709551615UL; 
      while (1)
        {
          int e = b;
          while (d < 2) 
            foo ("0"); 
          if (a)
            d++;
          if (b)
            break;
        }
      break;
    }
  return 0; 
}
>From gcc-bugs-return-579272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:26:07 2017
Return-Path: <gcc-bugs-return-579272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115699 invoked by alias); 20 Oct 2017 15: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 113629 invoked by uid 48); 20 Oct 2017 15:26:03 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82481] dangling reference in mutex:693
Date: Fri, 20 Oct 2017 15: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: 7.0.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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82481-4-zUkcToRT7E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82481-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02332.txt.bz2
Content-length: 382

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82481

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.0                         |7.3

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 7.3 as well.
>From gcc-bugs-return-579274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:40:57 2017
Return-Path: <gcc-bugs-return-579274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88209 invoked by alias); 20 Oct 2017 15: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 88110 invoked by uid 48); 20 Oct 2017 15:40:52 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/78808] target_clones not applying to openmp functions
Date: Fri, 20 Oct 2017 15:40: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs 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: attachments.isobsolete attachments.created
Message-ID: <bug-78808-4-SQe0ENn2Da@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02334.txt.bz2
Content-length: 1024

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808

Steven Noonan <steven at uplinklabs dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40333|0                           |1
        is obsolete|                            |
  Attachment #40334|0                           |1
        is obsolete|                            |
  Attachment #40335|0                           |1
        is obsolete|                            |

--- Comment #11 from Steven Noonan <steven at uplinklabs dot net> ---
Created attachment 42417
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42417&action=edit
testcase.c - full saxpy test program for target_clones

new testcase.c for undefined symbols with target_clones + opemp

The preprocessed source for this is basically not different from the .c at all.
I'll provide preprocessed source for the compile error case though, which will
be a different testcase.
>From gcc-bugs-return-579275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:45:55 2017
Return-Path: <gcc-bugs-return-579275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95377 invoked by alias); 20 Oct 2017 15:45: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 95334 invoked by uid 48); 20 Oct 2017 15:45:51 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 15: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: 6.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: 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-82626-4-wlF2Q04qPK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02335.txt.bz2
Content-length: 615

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I don't see any leeway in the C standard for an implementation to not define
those types at all, but we can certainly make this change, if that's the right
thing to do:

--- a/libstdc++-v3/include/c_global/cmath
+++ b/libstdc++-v3/include/c_global/cmath
@@ -1061,9 +1061,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #undef truncf
 #undef truncl

+#if 0 < __FLT_EVAL_METHOD__ && __FLT_EVAL_METHOD__ < 3
   // types
   using ::double_t;
   using ::float_t;
+#endif

   // functions
   using ::acosh;
>From gcc-bugs-return-579276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:47:14 2017
Return-Path: <gcc-bugs-return-579276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98221 invoked by alias); 20 Oct 2017 15:47: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 97878 invoked by uid 48); 20 Oct 2017 15:47:10 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/78808] target_clones not applying to openmp functions
Date: Fri, 20 Oct 2017 15: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs 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: attachments.created
Message-ID: <bug-78808-4-C9azVWrNIQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02336.txt.bz2
Content-length: 861

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808

--- Comment #12 from Steven Noonan <steven at uplinklabs dot net> ---
Created attachment 42418
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42418&action=edit
nbody_CPU_AOS compile error testcase preprocessed source

Compile error case, preprocessed source.

Compile with:

$ gcc -O3 -march=native -ffast-math -std=gnu11 -fno-strict-aliasing
-D_GNU_SOURCE -DLIBTIME_STATIC -DUSE_OPENMP -DHAVE_SIMD -DNO_CUDA -DUSE_LIBC11
-I../libc11/include -I../libtime/include -Wall -Wdeclaration-after-statement
-Werror=implicit -Werror=undef -Wmissing-declarations -Wmissing-prototypes
-Wno-declaration-after-statement -Wno-long-long -Wno-overlength-strings
-Wno-unknown-pragmas -Wold-style-definition -Wstrict-prototypes -pthread
-fopenmp -MMD -c -o nbody_CPU_AOS.o nbody_CPU_AOS-compile-error.i
>From gcc-bugs-return-579277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:50:17 2017
Return-Path: <gcc-bugs-return-579277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25850 invoked by alias); 20 Oct 2017 15:50:17 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 25297 invoked by uid 48); 20 Oct 2017 15:50:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 15: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: 6.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82626-4-nWfOUWBDxK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02337.txt.bz2
Content-length: 311

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Indeed, this really is a mingw bug.
"and for other values of FLT_EVAL_METHOD, they are
otherwise implementation-defined."
Being implementation-defined doesn't mean they aren't defined at all.
>From gcc-bugs-return-579278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:51:23 2017
Return-Path: <gcc-bugs-return-579278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37245 invoked by alias); 20 Oct 2017 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 35645 invoked by uid 48); 20 Oct 2017 15:51:19 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/78808] target_clones not applying to openmp functions
Date: Fri, 20 Oct 2017 15: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs 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: attachments.isobsolete attachments.created
Message-ID: <bug-78808-4-yBWppb4d6W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02338.txt.bz2
Content-length: 752

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808

Steven Noonan <steven at uplinklabs dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42417|0                           |1
        is obsolete|                            |

--- Comment #13 from Steven Noonan <steven at uplinklabs dot net> ---
Created attachment 42419
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42419&action=edit
testcase.i - full saxpy test preprocessed

attempt #2 for the link issue. preprocessed with stdlib.h included.

Flags are as simple as:

$ gcc -o test testcase.i
$ gcc -fopenmp -o test testcase.i

The former links fine, the latter doesn't
>From gcc-bugs-return-579279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:56:52 2017
Return-Path: <gcc-bugs-return-579279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46996 invoked by alias); 20 Oct 2017 15: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 46964 invoked by uid 48); 20 Oct 2017 15:56:48 -0000
From: "rafael.espindola at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82630] Bogus DW_AT_GNU_call_site_value
Date: Fri, 20 Oct 2017 15:56: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: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael.espindola 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-82630-4-LwBs34C1Jc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02339.txt.bz2
Content-length: 964

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82630

--- Comment #6 from Rafael Avila de Espindola <rafael.espindola at gmail dot com> ---
(In reply to H.J. Lu from comment #3)
> (In reply to Jakub Jelinek from comment #2)
> > The problem is the assembler's special treatment of _GLOBAL_OFFSET_TABLE_,
> > that
> > .long _GLOBAL_OFFSET_TABLE_ or .quad _GLOBAL_OFFSET_TABLE_ on x86 doesn't
> > actually assemble as normal relocation against that symbol, but as a special
> > relocation.
> 
> Should I change assembler to generate R_386_32 for
> 
> .long _GLOBAL_OFFSET_TABLE_

I would love for the _GLOBAL_OFFSET_TABLE_ special case to go away, but for
doing that gcc would first have to change from printing

        call    __x86.get_pc_thunk.bx
        addl    $_GLOBAL_OFFSET_TABLE_, %ebx

to printing

        call    __x86.get_pc_thunk.bx
        addl    $_GLOBAL_OFFSET_TABLE_ - ., %ebx

which already produces the exactly same binary with gas.
>From gcc-bugs-return-579280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:57:31 2017
Return-Path: <gcc-bugs-return-579280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49359 invoked by alias); 20 Oct 2017 15: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 48849 invoked by uid 48); 20 Oct 2017 15:57:25 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82595] bootstrap fails in libsanitizer on powerpc64-unknown-linux-gnu
Date: Fri, 20 Oct 2017 15: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: 8.0
X-Bugzilla-Keywords: build
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82595-4-G50dV9rcN4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82595-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02340.txt.bz2
Content-length: 315

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82595

--- Comment #11 from Eric Gallager <egallager at gcc dot gnu.org> ---
My testresults are here:
https://gcc.gnu.org/ml/gcc-testresults/2017-10/msg01751.html
Lots of sanitizer-related FAILs, but they're probably my fault due to the bogus
--without-pic I added.
>From gcc-bugs-return-579281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:58:59 2017
Return-Path: <gcc-bugs-return-579281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52778 invoked by alias); 20 Oct 2017 15:58: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 52362 invoked by uid 48); 20 Oct 2017 15:58:54 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 15: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: 6.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: 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-82626-4-N2rUUmfDRS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02341.txt.bz2
Content-length: 958

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I doubt many people use those types at all in C++, so not defining them
probably won't upset anybody. On the other hand, what we do today results in an
unavoidable error.

This is probably a better way to do it:

--- a/libstdc++-v3/config/os/mingw32/os_defines.h
+++ b/libstdc++-v3/config/os/mingw32/os_defines.h
@@ -78,4 +78,9 @@
 // See libstdc++/59807
 #define _GTHREAD_USE_MUTEX_INIT_FUNC 1

+// See target/82626
+#if __FLT_EVAL_METHOD__ < 0 || __FLT_EVAL_METHOD__ > 2
+#define _GLIBCXX_NO_FLOAT_T_DOUBLE_T 1
+#endif
+
 #endif
--- a/libstdc++-v3/include/c_global/cmath
+++ b/libstdc++-v3/include/c_global/cmath
@@ -1061,9 +1061,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #undef truncf
 #undef truncl

+#ifndef _GLIBCXX_NO_FLOAT_T_DOUBLE_T
   // types
   using ::double_t;
   using ::float_t;
+#endif

   // functions
   using ::acosh;
>From gcc-bugs-return-579283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:59:59 2017
Return-Path: <gcc-bugs-return-579283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56527 invoked by alias); 20 Oct 2017 15: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 54422 invoked by uid 48); 20 Oct 2017 15:59:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 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: 6.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82626-4-GrzFC27Rgq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02343.txt.bz2
Content-length: 752

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The footnote says:
The types float_t and double_t are intended to be the implementation’s most
efficient types at least as wide as float and double, respectively. For
FLT_EVAL_METHOD equal 0, 1, or 2, the type float_t is the narrowest type used
by the implementation to evaluate floating expressions.
While defining float_t to float and double_t to long double for -msse
-mfpmath=sse is a reasoanble choice, you need to have some choice also for
other reasons why __FLT_EVAL_METHOD__ is -1 (e.g. mixed sse+387).
glibc just provides both float_t and double_t being long double for all the
__FLT_EVAL_METHOD__ -1 cases.
>From gcc-bugs-return-579282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 15:59:28 2017
Return-Path: <gcc-bugs-return-579282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53608 invoked by alias); 20 Oct 2017 15: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 53584 invoked by uid 48); 20 Oct 2017 15:59:24 -0000
From: "thorstenkurth at me dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81896] omp target enter data not recognized
Date: Fri, 20 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords: openmp, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thorstenkurth at me 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-81896-4-4bdFgcZ9Wx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81896-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81896-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02342.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81896

--- Comment #1 from Thorsten Kurth <thorstenkurth at me dot com> ---
Hello,

is this report actually being worked on? It is in unconfirmed state for quite a
while now.

Best Regards
Thorsten Kurth
>From gcc-bugs-return-579284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 16:00:47 2017
Return-Path: <gcc-bugs-return-579284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63702 invoked by alias); 20 Oct 2017 16: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 107117 invoked by uid 48); 20 Oct 2017 16:00:19 -0000
From: "thorstenkurth at me dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/80859] Performance Problems with OpenMP 4.5 support
Date: Fri, 20 Oct 2017 16:00: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: 6.3.0
X-Bugzilla-Keywords: missed-optimization, openmp
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thorstenkurth at me dot com
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:
Message-ID: <bug-80859-4-bPvGqiIu6C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80859-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80859-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02344.txt.bz2
Content-length: 211

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859

--- Comment #28 from Thorsten Kurth <thorstenkurth at me dot com> ---
Hello,

can someone please give me an update on this bug?

Best Regards
Thorsten Kurth
>From gcc-bugs-return-579285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 16:12:19 2017
Return-Path: <gcc-bugs-return-579285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66439 invoked by alias); 20 Oct 2017 16:12: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 66385 invoked by uid 48); 20 Oct 2017 16:12:14 -0000
From: "h2+bugs at fsfe dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 16: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: h2+bugs at fsfe dot 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-82635-4-JC728VTjZV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02345.txt.bz2
Content-length: 1063

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

--- Comment #6 from Hannes Hauswedell <h2+bugs at fsfe dot org> ---
Sorry, I forgot the stack trace. It wasn't helpful to me:
(gdb) bt
#0  uw_frame_state_for (context=context@entry=0x801c00e20,
fs=fs@entry=0x801c00b70) at
/wrkdirs/usr/ports/lang/gcc7-devel/work/gcc-7-20171012/libgcc/unwind-dw2.c:1257
#1  0x0000000800df4f87 in _Unwind_ForcedUnwind_Phase2
(exc=exc@entry=0x801816730, context=context@entry=0x801c00e20) at
/wrkdirs/usr/ports/lang/gcc7-devel/work/gcc-7-20171012/libgcc/unwind.inc:155
#2  0x0000000800df5525 in _Unwind_ForcedUnwind (exc=0x801816730,
stop=0x8010127b0, stop_argument=<optimized out>) at
/wrkdirs/usr/ports/lang/gcc7-devel/work/gcc-7-20171012/libgcc/unwind.inc:207
#3  0x0000000801012613 in ?? () from /lib/libthr.so.3
#4  0x000000080101242b in pthread_exit () from /lib/libthr.so.3
#5  0x0000000801004bcd in ?? () from /lib/libthr.so.3
#6  0x0000000801a01000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x801c01000

Anything else I can do?
>From gcc-bugs-return-579286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 16:14:53 2017
Return-Path: <gcc-bugs-return-579286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36075 invoked by alias); 20 Oct 2017 16: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 29034 invoked by uid 48); 20 Oct 2017 16:14:48 -0000
From: "thorstenkurth at me dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81896] omp target enter data not recognized
Date: Fri, 20 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords: openmp, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thorstenkurth at me 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-81896-4-zZP5swxdo2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81896-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81896-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02346.txt.bz2
Content-length: 389

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81896

--- Comment #2 from Thorsten Kurth <thorstenkurth at me dot com> ---
Hello,

another data point:
when I create a dummy variable, it works: for example alias data to tmp and
then use tmp. I think this is not working for the same reason one cannot
arbitrarily put class member variables into openmp clauses.

Best Regards
Thorsten Kurth
>From gcc-bugs-return-579287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 16:19:02 2017
Return-Path: <gcc-bugs-return-579287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62868 invoked by alias); 20 Oct 2017 16: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 62814 invoked by uid 48); 20 Oct 2017 16:18:56 -0000
From: "thorstenkurth at me dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82629] OpenMP 4.5 Target Region mangling problem
Date: Fri, 20 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thorstenkurth at me 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-82629-4-wcAtVuvTx4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82629-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82629-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02347.txt.bz2
Content-length: 2219

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82629

--- Comment #2 from Thorsten Kurth <thorstenkurth at me dot com> ---
Created attachment 42420
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42420&action=edit
This is the test case demonstrating the problem.

Linking this code will produce:

-bash-4.2$ make main.x
g++ -O2 -std=c++11 -fopenmp -foffload=nvptx-none -c aclass.cpp -o aclass.o
g++ -O2 -std=c++11 -fopenmp -foffload=nvptx-none -c bclass.cpp -o bclass.o
g++  aclass.o bclass.o -o main.x 
lto1: fatal error: aclass.o: section _ZN6master4copyERKS_$_omp_fn$1 is missing
compilation terminated.
mkoffload: fatal error: powerpc64le-unknown-linux-gnu-accel-nvptx-none-gcc
returned 1 exit status
compilation terminated.
lto-wrapper: fatal error:
/autofs/nccs-svm1_sw/summitdev/gcc/7.1.1-20170802/bin/../libexec/gcc/powerpc64le-unknown-linux-gnu/7.1.1//accel/nvptx-none/mkoffload
returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
/usr/bin/sha1sum: main.x: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [main.x] Error 1

But looking at the object in question shows:

-bash-4.2$ nm aclass.o
                 U .TOC.
0000000000000000 d .offload_func_table
0000000000000000 d .offload_var_table
                 U GOMP_parallel
                 U GOMP_target_enter_exit_data
                 U GOMP_target_ext
                 U GOMP_teams
0000000000000350 T _ZN6aclass4copyERKS_
0000000000000250 T _ZN6aclass8allocateERKj
0000000000000130 t _ZN6master4copyERKS_._omp_fn.0
0000000000000000 t _ZN6master4copyERKS_._omp_fn.1
0000000000000000 d _ZZN6master10deallocateEvE18.omp_data_kinds.20
0000000000000000 b _ZZN6master10deallocateEvE18.omp_data_sizes.19
0000000000000002 d _ZZN6master4copyERKS_E18.omp_data_kinds.11
0000000000000008 d _ZZN6master4copyERKS_E18.omp_data_sizes.10
                 U _ZdaPv
                 U _Znam
                 U __cxa_throw_bad_array_new_length
0000000000000001 C __gnu_lto_v1
                 U omp_get_num_teams
                 U omp_get_num_threads
                 U omp_get_team_num
                 U omp_get_thread_num

The function is actually there.

Best Regards
Thorsten Kurth
>From gcc-bugs-return-579288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 16:23:43 2017
Return-Path: <gcc-bugs-return-579288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68729 invoked by alias); 20 Oct 2017 16:23: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 68699 invoked by uid 48); 20 Oct 2017 16:23:38 -0000
From: "thorstenkurth at me dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82629] OpenMP 4.5 Target Region mangling problem
Date: Fri, 20 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thorstenkurth at me 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-82629-4-3yhCvXO9e2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82629-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82629-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02348.txt.bz2
Content-length: 483

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82629

--- Comment #3 from Thorsten Kurth <thorstenkurth at me dot com> ---
One more thing,

In the test case I send, please change the $(XPPFLAGS) in the main.x target
compilation to $(CXXFLAGS), so that -fopenmp is used at link time also.
However, that does not solve the problem but it makes the Makefile more correct
(the XPPFLAGS was a remnant from something I tried out earlier). Sorry for
that. 

Best Regards
Thorsten Kurth
>From gcc-bugs-return-579289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 16:27:41 2017
Return-Path: <gcc-bugs-return-579289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58971 invoked by alias); 20 Oct 2017 16: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 58876 invoked by uid 48); 20 Oct 2017 16:27:36 -0000
From: "keith.marshall at mailinator dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 16: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keith.marshall at mailinator 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-82626-4-UDmfa2Mwlk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02349.txt.bz2
Content-length: 1290

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #11 from Keith Marshall <keith.marshall at mailinator dot com> ---
(In reply to Jakub Jelinek from comment #8)
> Indeed, this really is a mingw bug.

Wrong!  It is *both* a MinGW bug, *and* a GCC bug.  The difference is that I am
fully committed to fixing the MinGW bug, whereas you seem to want to sweep the
GCC bug under the carpet.

> "and for other values of FLT_EVAL_METHOD, they are
> otherwise implementation-defined."
> Being implementation-defined doesn't mean they aren't defined at all.

That's correct; (and it's also why simply suppressing references to float_t and
double_t in <cmath> isn't the right thing to do).  However, neither is defining
__FLT_EVAL_METHOD__ as "indeterminate" the right thing -- the case in question
most definitely isn't indeterminate.

The right thing, in this case, is to exercise the licence granted by POSIX.1,
(and by inference, by ISO-C), to specify an implementation-defined
FLT_EVAL_METHOD, (POSIX.1-2008 stipulates that it should be less than -1), for
which I can check in MinGW's <math.h>, and typedef float_t and double_t
accordingly:

    :
  # elif __FLT_EVAL_METHOD__ == -2 /* say */
    typedef float float_t;
    typedef long double double_t;
    :
>From gcc-bugs-return-579290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 16:45:37 2017
Return-Path: <gcc-bugs-return-579290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48134 invoked by alias); 20 Oct 2017 16:45: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 47638 invoked by uid 48); 20 Oct 2017 16:45:04 -0000
From: "keith.marshall at mailinator dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 16: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keith.marshall at mailinator 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-82626-4-w47AMcarwE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02350.txt.bz2
Content-length: 1113

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #12 from Keith Marshall <keith.marshall at mailinator dot com> ---
(In reply to Jakub Jelinek from comment #10)
> While defining float_t to float and double_t to long double for -msse
> -mfpmath=sse is a reasoanble choice,

Actually, it is the correct choice, but...

> you need to have some choice also for other reasons why __FLT_EVAL_METHOD__ is 
> -1 (e.g. mixed sse+387).

...it would be a poor fit here, which is why FLT_EVAL_METHOD = -1 is completely
the wrong configuration, in this case.  The correct solution is to introduce an
implementation-defined FLT_EVAL_METHOD, (say -2), to accommodate this case,
(since it cannot be represented by the standard 0..2 range of values, but
neither is it, by any stretch of the imagination, an indeterminate case).

> glibc just provides both float_t and double_t being long double for all the
> __FLT_EVAL_METHOD__ -1 cases.

That's exactly what I propose to do, in MinGW; it is surely the most
appropriate compromise for, e.g. sse+387.  However, -1 is just plain *wrong*
for -msse.
>From gcc-bugs-return-579291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 16:53:59 2017
Return-Path: <gcc-bugs-return-579291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117547 invoked by alias); 20 Oct 2017 16:53: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 117505 invoked by uid 55); 20 Oct 2017 16:53:56 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82626] -msse and -mfpmath=sse Causes __FLT_EVAL_METHOD__ to be -1
Date: Fri, 20 Oct 2017 16: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-82626-4-BrhHzI4WDv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82626-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02351.txt.bz2
Content-length: 1016

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82626

--- Comment #13 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Strictly, all x86 excess precision cases are indeterminable (semantics of 
-1) except for the case where -fexcess-precision=standard is used 
(requires front-end support, present for C only), because of the 
possibility of intermediate values getting narrowed when spilt to the 
stack; in the absence of -fexcess-precision=standard, the choice of 
FLT_EVAL_METHOD is a heuristic one based on what code is likely to expect 
values of that macro to mean (including based on 
-fpermitted-flt-eval-methods= to control whether TS 18661-3 values can be 
used).  Given the obscurity of the -msse -mno-sse2 -mfpmath=sse case I 
don't really think it makes sense to add a new enum flt_eval_method value 
and associated code that would be required to make that case of excess 
precision supported and predictable with -fexcess-precision=standard.
>From gcc-bugs-return-579292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 17:07:53 2017
Return-Path: <gcc-bugs-return-579292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33627 invoked by alias); 20 Oct 2017 17: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 33554 invoked by uid 48); 20 Oct 2017 17:07:49 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Fri, 20 Oct 2017 17:07: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-xt4aZyeLbx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02352.txt.bz2
Content-length: 758

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #20 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #19)
> (In reply to Christophe Lyon from comment #17)
> > Thanks for your effort; I'm still seeing noise though.
> > 
> > Sorry, I'm not fluent in fortran: is there a way to call wait() from fortran?
> > I could try adding it at the end of the testcase, to see if it reliably
> > fixes the problem I observed.
> 
> You can use ISO_C_Binding and call a C function.  See
> https://gcc.gnu.org/onlinedocs/gfortran/Interoperable-Subroutines-and-
> Functions.html

It might be possible to call wait() from Fortran using ISO C binding,
but I don't know how to get the type of pid_t from Fortran.
>From gcc-bugs-return-579293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 17:12:19 2017
Return-Path: <gcc-bugs-return-579293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37079 invoked by alias); 20 Oct 2017 17:12: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 37008 invoked by uid 48); 20 Oct 2017 17:12:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 17: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-v4DRYimAGe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02353.txt.bz2
Content-length: 405

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The problem seems to be in if_then_else_cond, which is called on
(plus:SI (ltu:SI (reg:SI 93)
        (subreg:SI (reg/v:DI 89 [ d ]) 0))
    (subreg:SI (reg/v:DI 89 [ d ]) 4))
and returns a bogus thing - return value (reg/v:DI 89 [ d ]) and
both false and true rtxes (const_int 0 [0]).
>From gcc-bugs-return-579294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 17:35:44 2017
Return-Path: <gcc-bugs-return-579294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22512 invoked by alias); 20 Oct 2017 17:35: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 22443 invoked by uid 48); 20 Oct 2017 17:35:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-QLWozq97mV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02354.txt.bz2
Content-length: 491

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
There is another important detail, num_sign_bit_copies ((reg/v:DI 89 [ d ]),
DImode) == 64.
So, in the end, if the whole DI 89 pseudo is non-zero, then
(plus:SI (ltu:SI (reg:SI 93)
        (subreg:SI (reg/v:DI 89 [ d ]) 0))
    (subreg:SI (reg/v:DI 89 [ d ]) 4))
is (plus:SI (ltu:SI (reg:SI 93) (const_int -1)) (const_int -1)) and
if d is 0, then it is (const_int 0).
>From gcc-bugs-return-579295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 17:44:15 2017
Return-Path: <gcc-bugs-return-579295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94850 invoked by alias); 20 Oct 2017 17: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 94798 invoked by uid 48); 20 Oct 2017 17:44:10 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 17:44: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: 8.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: component
Message-ID: <bug-82635-4-2hOl0R7Mdw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02355.txt.bz2
Content-length: 462

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |libgcc

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks like the crash is inside libgcc.  Maybe the new libgcc is not fully
compatible with freebsd.
>From gcc-bugs-return-579296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 17:47:33 2017
Return-Path: <gcc-bugs-return-579296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109650 invoked by alias); 20 Oct 2017 17: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 109627 invoked by uid 48); 20 Oct 2017 17:47:29 -0000
From: "porton at narod dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82639] New: Legal program rejected
Date: Fri, 20 Oct 2017 17:47: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: porton at narod 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-82639-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02356.txt.bz2
Content-length: 759

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82639

            Bug ID: 82639
           Summary: Legal program rejected
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: porton at narod dot ru
  Target Milestone: ---

Created attachment 42421
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42421&action=edit
Compiler input triggering bug

We get the following nonsense error message with GNAT 7.2.0 on Debian Linux.

The program is attached, apply gnatchop to it.

$ gcc -c term.adb
system.ads:1:01: declaration must appear after completion of type
"Term_Literal_Value"
>From gcc-bugs-return-579297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 17:54:15 2017
Return-Path: <gcc-bugs-return-579297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98151 invoked by alias); 20 Oct 2017 17:54: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 91963 invoked by uid 48); 20 Oct 2017 17:54:10 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82640] New: gcc doesn't show errors on anonymous local variables
Date: Fri, 20 Oct 2017 17: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82640-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02357.txt.bz2
Content-length: 601

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82640

            Bug ID: 82640
           Summary: gcc doesn't show errors on anonymous local variables
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vanyacpp at gmail dot com
  Target Milestone: ---

GCC compiles the following code:

int main()
{
    int (*);
    int (&)[-1];
    auto const (&)[3];
}

I believe the code is incorrect as the local variables are unnamed.
>From gcc-bugs-return-579298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 17:55:49 2017
Return-Path: <gcc-bugs-return-579298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45220 invoked by alias); 20 Oct 2017 17: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 42474 invoked by uid 48); 20 Oct 2017 17:55:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 17: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-wLtLRfO89v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02358.txt.bz2
Content-length: 1560

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ah, and nonzero_bits ((reg:SI 93), SImode) == 1.  So (plus:SI (ltu:SI (reg:SI
93) (const_int -1)) (const_int -1)) is also (const_int 0).

reg:SI 93 is even constant 1.  So in:
(insn 19 18 20 4 (set (reg:CC 17 flags)
        (compare:CC (reg:SI 93)
            (subreg:SI (reg/v:DI 89 [ d ]) 0))) "pr82628.c":20 7 {*cmpsi_1}
     (expr_list:REG_DEAD (reg:SI 93)
        (expr_list:REG_EQUAL (compare:CC (const_int 1 [0x1])
                (subreg:SI (reg/v:DI 89 [ d ]) 0))
            (nil))))
(insn 20 19 21 4 (parallel [
            (set (reg:CCGZ 17 flags)
                (compare:CCGZ (reg:SI 94)
                    (plus:SI (ltu:SI (reg:CC 17 flags)
                            (const_int 0 [0]))
                        (subreg:SI (reg/v:DI 89 [ d ]) 4))))
            (clobber (scratch:SI))
        ]) "pr82628.c":20 307 {subsi3_carry_ccgz}
     (expr_list:REG_DEAD (reg:SI 94)
        (expr_list:REG_EQUAL (compare:CCGZ (const_int 0 [0])
                (plus:SI (ltu:SI (reg:CC 17 flags)
                        (const_int 0 [0]))
                    (subreg:SI (reg/v:DI 89 [ d ]) 4)))
            (nil))))
the (plus:SI ...) must always evaluate to (const_int 0).
And (reg:SI 94) is also (const_int 0), so the GEU comparison in jump_insn 21 is
always true.

On the other side, the original comparison in *.optimized dump this is emitted
for is if (d <= 1), which for d being either -1ULL or 0ULL isn't always true.
>From gcc-bugs-return-579299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 17:59:28 2017
Return-Path: <gcc-bugs-return-579299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59025 invoked by alias); 20 Oct 2017 17:59: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 58970 invoked by uid 48); 20 Oct 2017 17:59:23 -0000
From: "yyc1992 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82641] New: Unable to enable crc32 for a certain function with target attribute on ARM
Date: Fri, 20 Oct 2017 17:59: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.2.0
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-82641-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02359.txt.bz2
Content-length: 1575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82641

            Bug ID: 82641
           Summary: Unable to enable crc32 for a certain function with
                    target attribute on ARM
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yyc1992 at gmail dot com
  Target Milestone: ---

The assembler complains about the target not supporting CRC32 instructions for
certain (generic) targets on ARM and AArch64. On AArch64, this can be lifted
with the `target("+crc")` attribute (or pragma though I've only tested the
function attribute) when writing inline assembly code that uses non-default
processor features and cpu-feature dispatch. However, none of these approaches
works on ARM.

There are multiple issues when trying to do this,

1. "+crc" is not accepted as a feature on ARM (32bit), not even when `march` is
set to `armv8-a`. OTOH, "armv8-a+crc" works though that makes supporting
different arch profile harder...

2. No `.arch` or `.arch_feature` directives are generated in the assembly which
cause the assembler to complain. This is the case for either function attribute
or pragma.

    I've tried to manually added a `.arch armv8-a` and a `.arch_extension crc`
before the function that uses the `crc32` instruction and then reset it back
with `.arch armv7-a` in the assembly code and it behaves correctly so I believe
this should be fixable on the GCC side.
>From gcc-bugs-return-579300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 18:02:13 2017
Return-Path: <gcc-bugs-return-579300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66533 invoked by alias); 20 Oct 2017 18: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 66456 invoked by uid 55); 20 Oct 2017 18:02:09 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79795] [6/7/8 Regression] Fortran ICE in resolve_symbol starting with r163221
Date: Fri, 20 Oct 2017 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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-79795-4-Q2twjWvgd7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02360.txt.bz2
Content-length: 849

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79795

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Fri Oct 20 18:01:36 2017
New Revision: 253951

URL: https://gcc.gnu.org/viewcvs?rev=253951&root=gcc&view=rev
Log:
2017-10-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR fortran/79795
        * resolve.c (resovle_symbol): Change gcc_assert to
        sensible error message.

2017-10-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR fortran/79795
        * gfortran.dg/assumed_size_2.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/assumed_size_2.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-579301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 18:06:59 2017
Return-Path: <gcc-bugs-return-579301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113654 invoked by alias); 20 Oct 2017 18:06: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 113611 invoked by uid 48); 20 Oct 2017 18:06:55 -0000
From: "porton at narod dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82639] Legal program rejected
Date: Fri, 20 Oct 2017 18: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.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: porton at narod 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-82639-4-DmnyVqqGws@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82639-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82639-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02361.txt.bz2
Content-length: 238

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82639

--- Comment #1 from Victor Porton <porton at narod dot ru> ---
This was an example of a legal Ada program which does not compile with GNAT.

Workaround: Don't use a private type here.
>From gcc-bugs-return-579302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 18:09:22 2017
Return-Path: <gcc-bugs-return-579302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116847 invoked by alias); 20 Oct 2017 18: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 116811 invoked by uid 48); 20 Oct 2017 18:09:18 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82637] Compiler crash
Date: Fri, 20 Oct 2017 18: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: 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: 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-82637-4-zD3KB4oLkD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82637-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82637-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02362.txt.bz2
Content-length: 1087

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82637

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-20
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
It's an assertion failure on the mainline:

eric@polaris:~/build/gcc/native> gcc/xgcc -Bgcc -S uri.adb
+===========================GNAT BUG DETECTED==============================+
| 8.0.0 20171020 (experimental) [trunk revision 253921] (x86_64-suse-linux) |
| Assert_Failure atree.adb:979                                             |
| Error detected at uri.ads:4:1                                            |
>From gcc-bugs-return-579303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 18:11:39 2017
Return-Path: <gcc-bugs-return-579303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118888 invoked by alias); 20 Oct 2017 18:11: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 118691 invoked by uid 48); 20 Oct 2017 18:11:35 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82638] Legal program rejected with a weird error message
Date: Fri, 20 Oct 2017 18:11: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: 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-82638-4-W50BLbky70@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82638-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82638-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02363.txt.bz2
Content-length: 1039

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82638

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-20
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Same assertion failure on the mainline:

eric@polaris:~/build/gcc/native> gcc/xgcc -Bgcc -S uri.adb
+===========================GNAT BUG DETECTED==============================+
| 8.0.0 20171020 (experimental) [trunk revision 253921] (x86_64-suse-linux) |
| Assert_Failure atree.adb:979                                             |
| Error detected at uri.ads:3:1
>From gcc-bugs-return-579304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 18:13:07 2017
Return-Path: <gcc-bugs-return-579304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124717 invoked by alias); 20 Oct 2017 18: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 124609 invoked by uid 48); 20 Oct 2017 18:13:00 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82639] Legal program rejected
Date: Fri, 20 Oct 2017 18:13: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: 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-82639-4-izdYCjW2UK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82639-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82639-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02364.txt.bz2
Content-length: 562

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82639

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-20
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Weird.
>From gcc-bugs-return-579305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 18:46:06 2017
Return-Path: <gcc-bugs-return-579305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36347 invoked by alias); 20 Oct 2017 18: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 36124 invoked by uid 48); 20 Oct 2017 18:46:01 -0000
From: "yyc1992 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82641] Unable to enable crc32 for a certain function with target attribute on ARM
Date: Fri, 20 Oct 2017 18: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: 7.2.0
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-82641-4-2Wcq8gGoNI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82641-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82641-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02365.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82641

--- Comment #1 from Yichao Yu <yyc1992 at gmail dot com> ---
I've found a workaround in
https://sourceware.org/ml/binutils/2017-04/msg00171.html but it's extremely
ugly (albeit also very clever...).
>From gcc-bugs-return-579306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 18:58:20 2017
Return-Path: <gcc-bugs-return-579306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42998 invoked by alias); 20 Oct 2017 18:58: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 42959 invoked by uid 48); 20 Oct 2017 18:58:17 -0000
From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82636] powerpc: Unnecessary copy of __ieee128 parameter
Date: Fri, 20 Oct 2017 18: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: 7.2.1
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: meissner at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82636-4-wgdIJlSrkU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02366.txt.bz2
Content-length: 1290

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82636

--- Comment #1 from Michael Meissner <meissner at gcc dot gnu.org> ---
This looks like a reload bug.  I see the same thing with automatically
generated fmas:

--> cat foo06c.c
__ieee128
__fmaf128_power9 (__ieee128 x, __ieee128 y, __ieee128 z)
{
  return (x * y) + z;
}

After the LRA pass, the rtl dump is:

(insn 13 8 14 2 (set (reg/i:KF 79 2)
        (fma:KF (reg:KF 79 2 [ x ])
            (reg:KF 80 3 [ y ])
            (reg:KF 81 4 [ z ]))) "foo06c.c":5 873 {fmakf4_hw}
     (expr_list:REG_DEAD (reg:KF 81 4 [ z ])
        (expr_list:REG_DEAD (reg:KF 80 3 [ y ])
            (nil))))
(insn 14 13 16 2 (use (reg/i:KF 79 2)) "foo06c.c":5 -1
     (nil))


However, reload inserts moves:

(insn 18 8 13 2 (set (reg:KF 77 0 [orig:126 z ] [126])
        (reg:KF 81 4 [ z ])) "foo06c.c":5 1009 {*vsx_movkf_64bit}
     (nil))
(insn 13 18 19 2 (set (reg:KF 77 0 [orig:126 z ] [126])
        (fma:KF (reg:KF 79 2 [ x ])
            (reg:KF 80 3 [ y ])
            (reg:KF 77 0 [orig:126 z ] [126]))) "foo06c.c":5 873 {fmakf4_hw}
     (nil))
(insn 19 13 14 2 (set (reg/i:KF 79 2)
        (reg:KF 77 0 [orig:126 z ] [126])) "foo06c.c":5 1009 {*vsx_movkf_64bit}
     (nil))
(insn 14 19 16 2 (use (reg/i:KF 79 2)) "foo06c.c":5 -1
     (nil))
>From gcc-bugs-return-579307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 18:59:20 2017
Return-Path: <gcc-bugs-return-579307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44147 invoked by alias); 20 Oct 2017 18:59: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 44066 invoked by uid 48); 20 Oct 2017 18:59:17 -0000
From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82636] powerpc: Unnecessary copy of __ieee128 parameter
Date: Fri, 20 Oct 2017 18: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: 7.2.1
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: meissner at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-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-82636-4-3WSFIa256j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02367.txt.bz2
Content-length: 265

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82636

--- Comment #2 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 42422
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42422&action=edit
Simpler test case that does not use asm
>From gcc-bugs-return-579308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 19:00:38 2017
Return-Path: <gcc-bugs-return-579308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45770 invoked by alias); 20 Oct 2017 19:00: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 45654 invoked by uid 48); 20 Oct 2017 19:00:32 -0000
From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82636] powerpc: Unnecessary copy of __ieee128 parameter
Date: Fri, 20 Oct 2017 19:00: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.1
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: meissner at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-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-82636-4-A2tW43a6FA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02368.txt.bz2
Content-length: 239

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82636

--- Comment #3 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 42423
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42423&action=edit
LRA dump file
>From gcc-bugs-return-579309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 19:01:33 2017
Return-Path: <gcc-bugs-return-579309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47366 invoked by alias); 20 Oct 2017 19: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 47318 invoked by uid 48); 20 Oct 2017 19:01:30 -0000
From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82636] powerpc: Unnecessary copy of __ieee128 parameter
Date: Fri, 20 Oct 2017 19: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: 7.2.1
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: meissner at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-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-82636-4-LGxwfpk2PO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02369.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82636

--- Comment #4 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 42424
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42424&action=edit
Reload dump file
>From gcc-bugs-return-579310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 19:02:18 2017
Return-Path: <gcc-bugs-return-579310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48561 invoked by alias); 20 Oct 2017 19:02: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 48517 invoked by uid 48); 20 Oct 2017 19:02:13 -0000
From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82636] powerpc: Unnecessary copy of __ieee128 parameter
Date: Fri, 20 Oct 2017 19: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: 7.2.1
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: meissner at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-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-82636-4-Ji6dEC01r4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82636-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02370.txt.bz2
Content-length: 247

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82636

--- Comment #5 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 42425
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42425&action=edit
Post reload dump file
>From gcc-bugs-return-579311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 19:03:44 2017
Return-Path: <gcc-bugs-return-579311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54783 invoked by alias); 20 Oct 2017 19: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 52835 invoked by uid 48); 20 Oct 2017 19:03:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 19: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-XJGCB5sMxc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02371.txt.bz2
Content-length: 1078

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, for the -1UL <= 1UL comparison, the cmpl instruction sets the CF, and then
sbbl subtracts -1U (2nd operand) + 1U (CF) from 0U (1st operand/destination)
and sets CF flag, but the RTL representation of this, i.e. comparison of (2nd
operand + CF) and (1st operand), i.e. 0 and 0, doesn't set the CF.

From the description of SBBL, it is unclear if it sets CF according to
op1 - (SImode) (op2 + CF) or (DImode) op1 - ((DImode) op2 + CF), but from the
above it looks like in order to do this we rely on the latter, i.e. it is
actually 0 - (0xffffffffULL + 1) == 0 - 0x100000000ULL = 0 with CF.

So, do we need to represent it differently in the instruction, as comparison in
twice as wide mode?  I think we'd then need different patterns for signed and
unsigned comparisons, one would sign-extend, the other zero-extend, and then
perhaps just use CCOmode or CCZmode.

Do we need to fix also subborrow<mode>?  What about the addcarry<mode>?
>From gcc-bugs-return-579312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 19:29:06 2017
Return-Path: <gcc-bugs-return-579312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65995 invoked by alias); 20 Oct 2017 19: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 65724 invoked by uid 55); 20 Oct 2017 19:27:53 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79795] [6/7/8 Regression] Fortran ICE in resolve_symbol starting with r163221
Date: Fri, 20 Oct 2017 19: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.0
X-Bugzilla-Keywords: 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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-79795-4-esFkSqevV5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02372.txt.bz2
Content-length: 848

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79795

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Fri Oct 20 19:26:35 2017
New Revision: 253956

URL: https://gcc.gnu.org/viewcvs?rev=253956&root=gcc&view=rev
Log:
2017-10-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR fortran/79795
        * resolve.c (resovle_symbol): Change gcc_assert to
        sensible error message.

2017-10-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR fortran/79795
        * gfortran.dg/assumed_size_2.f90: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/assumed_size_2.f90
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/resolve.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 19:29:18 2017
Return-Path: <gcc-bugs-return-579313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67486 invoked by alias); 20 Oct 2017 19:29: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 66522 invoked by uid 48); 20 Oct 2017 19:29:07 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79795] [6/7/8 Regression] Fortran ICE in resolve_symbol starting with r163221
Date: Fri, 20 Oct 2017 19: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: 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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-79795-4-VtQlAhlIVs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79795-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02373.txt.bz2
Content-length: 461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79795

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 on all affected branches, closing.
>From gcc-bugs-return-579314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 19:59:40 2017
Return-Path: <gcc-bugs-return-579314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30052 invoked by alias); 20 Oct 2017 19: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 30010 invoked by uid 48); 20 Oct 2017 19:59:36 -0000
From: "porton at narod dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82642] New: Dynamic predicate for a record should give a warning
Date: Fri, 20 Oct 2017 19:59: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: porton at narod 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-82642-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02374.txt.bz2
Content-length: 782

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82642

            Bug ID: 82642
           Summary: Dynamic predicate for a record should give a warning
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: porton at narod dot ru
  Target Milestone: ---

Dynamic predicate for a non-private record should give a warning, because Ada
RM does not warrant consistency when a field is assigned (or changed in other
way).

So the following program should produce a warning:

procedure Main is
  type T is
    record
      A, B: Integer;
    end record
  with Dynamic_Predicate => A+B=0;
begin
   null;
end;
>From gcc-bugs-return-579315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 20:48:44 2017
Return-Path: <gcc-bugs-return-579315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9596 invoked by alias); 20 Oct 2017 20: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 9525 invoked by uid 48); 20 Oct 2017 20:48:39 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Fri, 20 Oct 2017 20: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: 5.4.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81924-4-VOgpASW1qm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02375.txt.bz2
Content-length: 901

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

--- Comment #6 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
The patch applies cleanly to gcc-6-branch, and I can certainly commit that
(although I can't show a case where it can happen with present behavior, it
should be cleaned up).

For gcc-5-branch, the patch doesn't apply cleanly, and there would be a lot of
work to establish prerequisites for it to do so.  I was hoping to be able to
offer Matthias a small patch despite GCC 5 being closed, but that doesn't look
feasible.  The problem is that the patch relies on TImode being hostable in VSX
registers, which was not introduced until GCC 6; prior to that it only resides
in a pair of GPRs.

But that means that the problem in GCC 5 is probably different from the V1TI
splitting that Jakub referenced; that code just isn't there.  I'll see if I can
understand this better.
>From gcc-bugs-return-579316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:09:41 2017
Return-Path: <gcc-bugs-return-579316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5215 invoked by alias); 20 Oct 2017 21:09: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 5125 invoked by uid 48); 20 Oct 2017 21:09:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Fri, 20 Oct 2017 21:09: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:
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-4K2bc5DRo8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02376.txt.bz2
Content-length: 4841

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Testcase for determining the sbbb and adcb behavior for all operands:

int
main (void)
{
  int cf, x, y;
  for (cf = 0; cf < 2; cf++)
    for (x = 0; x <= 255; x++)
      for (y = 0; y <= 255; y++)
        {
          unsigned char cfout, xout;
          asm volatile ("cmpb %2, %3; sbbb %4, %1; setc %0"
                        : "=a" (cfout), "=q" (xout)
                        : "q" ((unsigned char) cf), "q" ((unsigned char) 0),
"q" ((unsigned char) y), "1" ((unsigned char) x));
          if (cfout != ((unsigned char) (y + cf) > (unsigned char) x))
            __builtin_printf ("cf %d x %x y %x cf %d %d\n", cf, x, y, cfout,
((unsigned char) (y + cf) > (unsigned char) x));
          if (cfout != ((y + cf) > (unsigned char) x))
            __builtin_abort ();
        }
  __builtin_printf ("=======\n");
  for (cf = 0; cf < 2; cf++)
    for (x = -128; x <= 127; x++)
      for (y = -128; y <= 127; y++)
        {
          unsigned char ovout, xout;
          asm volatile ("cmpb %2, %3; sbbb %4, %1; seto %0"
                        : "=a" (ovout), "=q" (xout)
                        : "q" ((unsigned char) cf), "q" ((unsigned char) 0),
"q" ((unsigned char) y), "1" ((unsigned char) x));
          if ((ovout != ((signed char) xout < 0)) != ((signed char) (y + cf) >
(signed char) x))
            __builtin_printf ("cf %d x %x y %x ov %d %d %d\n", cf, x, y, ovout,
(ovout != ((signed char) xout < 0)),
                              ((signed char) (y + cf) > (signed char) x));
          if ((ovout != ((signed char) xout < 0)) != ((y + cf) > (signed char)
x))
            __builtin_abort ();
        }
  __builtin_printf ("=======\n");
  for (cf = 0; cf < 2; cf++)
    for (x = 0; x <= 255; x++)
      for (y = 0; y <= 255; y++)
        {
          unsigned char cfout, xout;
          asm volatile ("cmpb %2, %3; adcb %4, %1; setc %0"
                        : "=a" (cfout), "=q" (xout)
                        : "q" ((unsigned char) cf), "q" ((unsigned char) 0),
"q" ((unsigned char) y), "1" ((unsigned char) x));
          if (cfout != ((unsigned char) (x + y + cf) < (unsigned char) x))
            __builtin_printf ("cf %d x %x y %x cf %d %d\n", cf, x, y, cfout,
((unsigned char) (x + y + cf) < (unsigned char) x));
          if (cfout != ((unsigned char) (x + y + cf) < (y + cf)))
            __builtin_abort ();
        }
  return 0;
}

This shows that the current
(define_insn "sub<mode>3_carry_ccgz"
  [(set (reg:CCGZ FLAGS_REG)
        (compare:CCGZ
          (match_operand:DWIH 1 "register_operand" "0")
          (plus:DWIH
            (ltu:DWIH (reg:CC FLAGS_REG) (const_int 0))
            (match_operand:DWIH 2 "x86_64_general_operand" "rme"))))
   (clobber (match_scratch:DWIH 0 "=r"))]
  ""
  "sbb{<imodesuffix>}\t{%2, %0|%0, %2}"
  [(set_attr "type" "alu")
   (set_attr "mode" "<MODE>")])
pattern when we want a comparison that checks the CF flag (i.e. GEU, LTU
comparisons) is wrong for the case
when operands[2] is the unsigned integer maximum and CF is set from earlier; so
it should really be something like:
(define_insn "sub<mode>3_carry_ccc"
  [(set (reg:CCC FLAGS_REG)
        (compare:CCC
          (zero_extend:<DWI> (match_operand:DWIH 1 "register_operand" "0"))
          (plus:<DWI>
            (ltu:<DWI> (reg:CC FLAGS_REG) (const_int 0))
            (zero_extend:<DWI> (match_operand:DWIH 2 "x86_64_general_operand"
"rme")))))
   (clobber (match_scratch:DWIH 0 "=r"))]
  ""
  "sbb{<imodesuffix>}\t{%2, %0|%0, %2}"
  [(set_attr "type" "alu")
   (set_attr "mode" "<MODE>")])
(see first loop in the testcase above).
For pattern when we want a comparison that checks the SF and OF flags (i.e. GE,
LT comparisons), we probably need a different
mode instead of CCGZmode that says that just SF and OF are valid (or is any
mode we have usable for this), and then do something like:
(define_insn "sub<mode>3_carry_ccx"
  [(set (reg:CCX FLAGS_REG)
        (compare:CCX
          (sign_extend:<DWI> (match_operand:DWIH 1 "register_operand" "0"))
          (plus:<DWI>
            (ltu:<DWI> (reg:CC FLAGS_REG) (const_int 0))
            (sign_extend:<DWI> (match_operand:DWIH 2 "x86_64_general_operand"
"rme")))))
   (clobber (match_scratch:DWIH 0 "=r"))]
  ""
  "sbb{<imodesuffix>}\t{%2, %0|%0, %2}"
  [(set_attr "type" "alu")
   (set_attr "mode" "<MODE>")])
as what we have for the signed comparisons using SF cmp OF fails if operands[2]
is signed maximum and CF is set.
Though, not really sure about this, because in the testcase above I'm using SF
bit from the 8-bit result rather than 16-bit/32-bit result.
And subborrow<mode> and addcarry<mode> would need changes too.
>From gcc-bugs-return-579317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:16:49 2017
Return-Path: <gcc-bugs-return-579317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24185 invoked by alias); 20 Oct 2017 21: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 24123 invoked by uid 48); 20 Oct 2017 21:16:44 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82640] gcc doesn't show errors on anonymous local variables
Date: Fri, 20 Oct 2017 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: 7.2.1
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-82640-4-wAlgErlqgl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82640-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82640-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02377.txt.bz2
Content-length: 467

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82640

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-20
     Ever confirmed|0                           |1
>From gcc-bugs-return-579318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:18:46 2017
Return-Path: <gcc-bugs-return-579318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27021 invoked by alias); 20 Oct 2017 21:18: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 26973 invoked by uid 48); 20 Oct 2017 21:18:42 -0000
From: "barry.revzin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80985] -Wnoexcept-type should not produce a warning for inlined template functions
Date: Fri, 20 Oct 2017 21: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.1.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: barry.revzin 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-80985-4-SQGSVsyVvC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80985-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80985-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02378.txt.bz2
Content-length: 747

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80985

Barry Revzin <barry.revzin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barry.revzin at gmail dot com

--- Comment #3 from Barry Revzin <barry.revzin at gmail dot com> ---
Question: what am I supposed to do about this warning? Using John's example
as-is... what does John do to "satisfy" the warning? I just ran into this
writing a test suite for a library when I added gcc7 compiling in c++14 mode
and I'm not sure that there's anything for me to do besides -Wno-noexcept-type
(https://stackoverflow.com/q/46798456/2069064)
>From gcc-bugs-return-579319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:20:17 2017
Return-Path: <gcc-bugs-return-579319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29861 invoked by alias); 20 Oct 2017 21: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 29806 invoked by uid 48); 20 Oct 2017 21:20:13 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 21:20: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: 8.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 cc
Message-ID: <bug-82635-4-BWIlXnISDW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02379.txt.bz2
Content-length: 524

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |andreast at gcc dot gnu.org

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks for the info, I'll try to reproduce this on freebsd but I'll confirm it
anyway.
>From gcc-bugs-return-579320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:28:10 2017
Return-Path: <gcc-bugs-return-579320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37560 invoked by alias); 20 Oct 2017 21: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 37510 invoked by uid 48); 20 Oct 2017 21:28:05 -0000
From: "daniel.santos at pobox dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82268] [8 regression] i386/pr82196-1.c fail
Date: Fri, 20 Oct 2017 21: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel.santos at pobox 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82268-4-PgoKe0drB9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82268-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02380.txt.bz2
Content-length: 1102

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82268

Daniel Santos <daniel.santos at pobox dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.santos at pobox dot com

--- Comment #2 from Daniel Santos <daniel.santos at pobox dot com> ---
Well crap.  I wasn't aware of --with-arch and --with-cpu configure options. 
Could you modify gcc/testsuite/gcc.target/i386/pr82196-1.c and see if this
works?

--- a/gcc/testsuite/gcc.target/i386/pr82196-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr82196-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-msse -mcall-ms2sysv-xlogues -O2" } */
+/* { dg-options "-mno-avx -msse -mcall-ms2sysv-xlogues -O2" } */
 /* { dg-final { scan-assembler "call.*__sse_savms64f?_12" } } */
 /* { dg-final { scan-assembler "jmp.*__sse_resms64f?x_12" } } */

Also, it would be helpful if you can show me what the command line for the test
was in the log file (prior to the FAILs).  Thanks
>From gcc-bugs-return-579321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:32:22 2017
Return-Path: <gcc-bugs-return-579321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42813 invoked by alias); 20 Oct 2017 21: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 42785 invoked by uid 48); 20 Oct 2017 21:32:19 -0000
From: "andreast at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Fri, 20 Oct 2017 21:32: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andreast at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82635-4-qDGuoAqYkN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02381.txt.bz2
Content-length: 199

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

--- Comment #9 from Andreas Tobler <andreast at gcc dot gnu.org> ---
Could you please tell us the FreeBSD version and arch you run on?
uname -ra
>From gcc-bugs-return-579322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:42:15 2017
Return-Path: <gcc-bugs-return-579322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45167 invoked by alias); 20 Oct 2017 21: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 45142 invoked by uid 48); 20 Oct 2017 21:42:09 -0000
From: "bastien.penavayre at epitech dot eu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82643] New: lambda capture breaks constexpr-ness of non-static const constexpr member call on non-constexpr value/variable
Date: Fri, 20 Oct 2017 21: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bastien.penavayre at epitech 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 attachments.created
Message-ID: <bug-82643-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02382.txt.bz2
Content-length: 2214

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82643

            Bug ID: 82643
           Summary: lambda capture breaks constexpr-ness of non-static
                    const constexpr member call on non-constexpr
                    value/variable
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bastien.penavayre at epitech dot eu
  Target Milestone: ---

Created attachment 42426
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42426&action=edit
source code

weird "'__closure' is not a constant expression" error message.
Clang seems to work fine with it.

Tested with:
Using built-in specs.
COLLECT_GCC=g++
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-20170407-0ubuntu2' --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.0.1 20170407 (experimental) [trunk revision 246759] (Ubuntu
7-20170407-0ubuntu2)

Also tested with compiler-explorer with Gcc-8.0 & 7.2.
>From gcc-bugs-return-579323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:43:37 2017
Return-Path: <gcc-bugs-return-579323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46456 invoked by alias); 20 Oct 2017 21: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 46411 invoked by uid 48); 20 Oct 2017 21:43:33 -0000
From: "bastien.penavayre at epitech dot eu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82643] lambda capture breaks constexpr-ness of non-static const constexpr member call on non-constexpr value/variable
Date: Fri, 20 Oct 2017 21: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bastien.penavayre at epitech 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:
Message-ID: <bug-82643-4-1PK17AoCRu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82643-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82643-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02383.txt.bz2
Content-length: 808

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82643

--- Comment #1 from bastien penavayre <bastien.penavayre at epitech dot eu> ---
Comment on attachment 42426
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42426
source code

int main()
{
    struct A
    {
        constexpr int operator()() const { return 42; }
    };

    auto f = A();
    constexpr auto x = f(); //ok, call constexpr const non-static method        

    [](auto const &f) { constexpr auto x = f(); /*ok*/ }(f);
    [&]()
    {
        constexpr auto x = f(); //ko, __closure is not a constant expression    
    };

    [=]()
    {
        constexpr auto x = f(); //same ko, __closure is not a constant
expression                    
    };

}
>From gcc-bugs-return-579324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:44:46 2017
Return-Path: <gcc-bugs-return-579324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47884 invoked by alias); 20 Oct 2017 21: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 47848 invoked by uid 48); 20 Oct 2017 21:44:38 -0000
From: "bastien.penavayre at epitech dot eu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82643] lambda capture breaks constexpr-ness of non-static const constexpr member call on non-constexpr value/variable
Date: Fri, 20 Oct 2017 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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bastien.penavayre at epitech 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:
Message-ID: <bug-82643-4-v3qguKyAC9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82643-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82643-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02384.txt.bz2
Content-length: 177

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82643

--- Comment #2 from bastien penavayre <bastien.penavayre at epitech dot eu> ---
wrong file attached, see second comment.
>From gcc-bugs-return-579325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:48:38 2017
Return-Path: <gcc-bugs-return-579325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52720 invoked by alias); 20 Oct 2017 21:48: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 52629 invoked by uid 48); 20 Oct 2017 21:48:33 -0000
From: "bastien.penavayre at epitech dot eu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82643] lambda capture breaks constexpr-ness of non-static const constexpr member call on non-constexpr value/variable
Date: Fri, 20 Oct 2017 21: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bastien.penavayre at epitech 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: attachments.created
Message-ID: <bug-82643-4-n7hTlCKMxV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82643-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82643-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02385.txt.bz2
Content-length: 248

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82643

--- Comment #3 from bastien penavayre <bastien.penavayre at epitech dot eu> ---
Created attachment 42427
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42427&action=edit
source code
>From gcc-bugs-return-579326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 21:49:43 2017
Return-Path: <gcc-bugs-return-579326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54117 invoked by alias); 20 Oct 2017 21:49: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 53709 invoked by uid 48); 20 Oct 2017 21:49:37 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Fri, 20 Oct 2017 21: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: 5.4.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-81924-4-fB7P1fRFht@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02386.txt.bz2
Content-length: 4225

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-20
     Ever confirmed|0                           |1

--- Comment #7 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Patch backported to 6 here: 
https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01388.html

Confirmed the GCC 5 issue.  The problem is something happening during
var-tracking:

pr81924.c: In function 'fn1':
pr81924.c:19:1: internal compiler error: in simplify_binary_operation_1, at
simplify-rtx.c:3634
 }
 ^
0x1065892f simplify_binary_operation_1
        /home/wschmidt/gcc/gcc-5-base/gcc/simplify-rtx.c:3634
0x102af647 cselib_expand_value_rtx_1
        /home/wschmidt/gcc/gcc-5-base/gcc/cselib.c:1853
0x102b056f cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
        /home/wschmidt/gcc/gcc-5-base/gcc/cselib.c:1561
0x108fd06b vt_expand_var_loc_chain
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:8311
0x108fd06b vt_expand_loc_callback
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:8473
0x102af4f3 cselib_expand_value_rtx_1
        /home/wschmidt/gcc/gcc-5-base/gcc/cselib.c:1714
0x102af1c7 cselib_expand_value_rtx_1
        /home/wschmidt/gcc/gcc-5-base/gcc/cselib.c:1752
0x102b056f cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
        /home/wschmidt/gcc/gcc-5-base/gcc/cselib.c:1561
0x108fd06b vt_expand_var_loc_chain
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:8311
0x108fd06b vt_expand_loc_callback
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:8473
0x102af4f3 cselib_expand_value_rtx_1
        /home/wschmidt/gcc/gcc-5-base/gcc/cselib.c:1714
0x102b056f cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
        /home/wschmidt/gcc/gcc-5-base/gcc/cselib.c:1561
0x108fbcbb vt_expand_var_loc_chain
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:8311
0x108fbcbb vt_expand_1pvar
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:8586
0x108fbcbb emit_note_insn_var_location(variable_def**, emit_note_data_def*)
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:8641
0x108fdd73 void hash_table<variable_hasher, xcallocator,
false>::traverse_noresize<emit_note_data_def*,
&(emit_note_insn_var_location(variable_def**,
emit_note_data_def*))>(emit_note_data_def*)
        /home/wschmidt/gcc/gcc-5-base/gcc/hash-table.h:1057
0x108fdd73 void hash_table<variable_hasher, xcallocator,
false>::traverse<emit_note_data_def*,
&(emit_note_insn_var_location(variable_def**,
emit_note_data_def*))>(emit_note_data_def*)
        /home/wschmidt/gcc/gcc-5-base/gcc/hash-table.h:1079
0x108fdd73 emit_notes_for_changes
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:9001
0x10902bf7 emit_notes_in_bb
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:9151
0x10902bf7 vt_emit_notes
        /home/wschmidt/gcc/gcc-5-base/gcc/var-tracking.c:9496
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

...and hm, we do still seem to misuse V1TImode in the same way Jakub reported.

#1  0x0000000020b89e68 in simplify_binary_operation_1 (code=VEC_SELECT, 
    mode=V1TImode, op0=0x3fffb5da87d8, op1=0x3fffb5b66dd0, 
    trueop0=0x3fffb5da87d8, trueop1=0x3fffb5b66dd0)
    at /home/wschmidt/gcc/gcc-5-base/gcc/simplify-rtx.c:3634
3634              gcc_assert (XVECLEN (trueop1, 0) == GET_MODE_NUNITS (mode));
(gdb) p mode
$1 = V1TImode
(gdb) pr trueop1
(parallel [
        (const_int 1 [0x1])
        (const_int 0 [0])
    ])

Ah, yes, V1TImode is included in VSX_LE, which doesn't work, but all of the
patterns for using rotates instead of vec_select (parallel (...)) aren't
present yet, so we can't easily patch this as was done for 6 and 7.
>From gcc-bugs-return-579327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 22:01:42 2017
Return-Path: <gcc-bugs-return-579327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66088 invoked by alias); 20 Oct 2017 22: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 65992 invoked by uid 48); 20 Oct 2017 22:01:38 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Fri, 20 Oct 2017 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: 5.4.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81924-4-6U9uOjUxLA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02387.txt.bz2
Content-length: 1165

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

--- Comment #8 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Matthias, the following appears to fix this problem for gcc-5-branch. 
Obviously the branch is closed to further development, but if you want to
consider carrying this patch, let me know and I will give it a full regstrap
test.

With the patch, we subreg the V1TImode as a V2DImode so that the RTL is
legitimate:

(insn 19 18 4 2 (set (subreg:V2DI (reg:V1TI 161 [ D.2389 ]) 0)
        (vec_select:V2DI (reg:V2DI 174 [ D.2389 ])
            (parallel [
                    (const_int 1 [0x1])
                    (const_int 0 [0])
                ]))) 956 {*vsx_xxpermdi2_le_v2di}
     (nil))

Here's the simple patch:

(insn 19 18 4 2 (set (subreg:V2DI (reg:V1TI 161 [ D.2389 ]) 0)
        (vec_select:V2DI (reg:V2DI 174 [ D.2389 ])
            (parallel [
                    (const_int 1 [0x1])
                    (const_int 0 [0])
                ]))) 956 {*vsx_xxpermdi2_le_v2di}
     (nil))

Again, this needs full testing before I would recommend using it.

Suggest we close this bug as there will be no upstream resolution for GCC 5.
>From gcc-bugs-return-579328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 22:04:50 2017
Return-Path: <gcc-bugs-return-579328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75834 invoked by alias); 20 Oct 2017 22: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 75732 invoked by uid 48); 20 Oct 2017 22:04:46 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Fri, 20 Oct 2017 22: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: 5.4.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81924-4-uGPA4wo7Y2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02388.txt.bz2
Content-length: 949

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

--- Comment #9 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Er, HERE is the simple patch:

Index: gcc/config/rs6000/vsx.md
===================================================================
--- gcc/config/rs6000/vsx.md    (revision 253957)
+++ gcc/config/rs6000/vsx.md    (working copy)
@@ -27,9 +27,7 @@
 ;; Iterator for the 2 64-bit vector types + 128-bit types that are loaded with
 ;; lxvd2x to properly handle swapping words on little endian
 (define_mode_iterator VSX_LE [V2DF
-                             V2DI
-                             V1TI
-                             (TI       "VECTOR_MEM_VSX_P (TImode)")])
+                             V2DI])

 ;; Iterator for the 2 32-bit vector types
 (define_mode_iterator VSX_W [V4SF V4SI])
>From gcc-bugs-return-579329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 22:26:17 2017
Return-Path: <gcc-bugs-return-579329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54281 invoked by alias); 20 Oct 2017 22: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 54228 invoked by uid 48); 20 Oct 2017 22:26:11 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82622] [PDT] ICE in structure_alloc_comps, at fortran/trans-array.c:8963
Date: Fri, 20 Oct 2017 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: 8.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-82622-4-42kHAjVFKP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02389.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82622

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-20
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
>From gcc-bugs-return-579330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 20 23:27:58 2017
Return-Path: <gcc-bugs-return-579330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62936 invoked by alias); 20 Oct 2017 23:27: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 62895 invoked by uid 48); 20 Oct 2017 23:27:52 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/53478] gfortran segfaults when module name clashes with C binding name of procedure
Date: Fri, 20 Oct 2017 23: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: 4.6.2
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-53478-4-LIgDsA7l9a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53478-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53478-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02390.txt.bz2
Content-length: 1533

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53478

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The test case in comment 0 and comment 3 are invalid in Fortran 2003;
> I think they are valid in Fortran 2008 (cf. PR 48858 comment 9). However,
> I need a quiet moment to disentangle the standard speak and to create a patch.

From pr56440 comment 3

> In the code, one has a C binding label "test_bug" and the module has
> the same name.
>
> That's invalid per Fortran 2008's
>
> "1.3.116  program unit
> main program, external subprogram, module, submodule, or block data program
> unit (2.2.1)"
>
> "16.2 Global identifiers"
> "Program units, [...] are global entities of a program. [...]
> "The global identifier of an entity shall not be the same as the global
> identifier of any other entity. Furthermore, a binding label shall not be
> the same as the global identifier of any other global entity, ignoring
> differences in case."

The code is now rejected since at least 4.9.3 with

pr53478.f90:7:26:

pr53478.f90:1:14:

 module exports
              2            
pr53478.f90:7:26:

       subroutine f_exports() bind(C, name='exports')
                          1
Error: Procedure f_exports with binding label exports at (1) uses the same
global identifier as entity at (2)

> Note that the current check is case sensitive, i.e. using
> 'bind(C,name="TEST_BUG")' should (also) produce an error.

This is not done yet, also the names should probably use %qs.
>From gcc-bugs-return-579331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 00:09:36 2017
Return-Path: <gcc-bugs-return-579331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77519 invoked by alias); 21 Oct 2017 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 77424 invoked by uid 48); 21 Oct 2017 00:09:31 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Sat, 21 Oct 2017 00: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.7.2
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:
Message-ID: <bug-57096-4-zohhyuHGsc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02391.txt.bz2
Content-length: 310

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I get

 gA%next():           2
 gA%next():           4
 gA%next():           6

 gAp%next():           2
 gAp%next():           4
 gAp%next():           6

for 4.8 up to trunk (8.0).
>From gcc-bugs-return-579332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 00:11:02 2017
Return-Path: <gcc-bugs-return-579332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78972 invoked by alias); 21 Oct 2017 00:11: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 78909 invoked by uid 48); 21 Oct 2017 00:10:57 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] gcov does not handle removed functions
Date: Sat, 21 Oct 2017 00:11: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: unknown
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82633-4-vernkjJ52U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02392.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #6)
> And yes LLVM does it as one would expect:

Then use -fkeep-inline-functions if you want that behavior.
>From gcc-bugs-return-579333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 00:12:42 2017
Return-Path: <gcc-bugs-return-579333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82432 invoked by alias); 21 Oct 2017 00: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 82112 invoked by uid 48); 21 Oct 2017 00:12:39 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] gcov does not handle removed functions
Date: Sat, 21 Oct 2017 00:12: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: unknown
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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82633-4-9Nwv0cD7QA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02393.txt.bz2
Content-length: 166

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You might need -fkeep-static-functions also.
>From gcc-bugs-return-579334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 00:23:28 2017
Return-Path: <gcc-bugs-return-579334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91352 invoked by alias); 21 Oct 2017 00: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 91321 invoked by uid 48); 21 Oct 2017 00:23:24 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/59276] Incorrect error message with modules of different gfortran versions
Date: Sat, 21 Oct 2017 00: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.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-59276-4-zhN68uZLHT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59276-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59276-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02394.txt.bz2
Content-length: 681

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59276

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
GCC 4.8, 4.9, and 5 are no longer supported. Using GCC 6, 7, or trunk (8.0)
gives the error

   use moda
      1
Fatal Error: Cannot read module file 'moda.mod' opened at (1), because it was
created by a different version of GNU Fortran

Closing.
>From gcc-bugs-return-579335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 00:39:53 2017
Return-Path: <gcc-bugs-return-579335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61492 invoked by alias); 21 Oct 2017 00: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 61445 invoked by uid 48); 21 Oct 2017 00:39:47 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Sat, 21 Oct 2017 00: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: 4.7.2
X-Bugzilla-Keywords: wrong-code
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: cc
Message-ID: <bug-57096-4-SMy9XTQcwB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02395.txt.bz2
Content-length: 413

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Let's close this one.
>From gcc-bugs-return-579337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 00:45:42 2017
Return-Path: <gcc-bugs-return-579337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51474 invoked by alias); 21 Oct 2017 00:45: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 51447 invoked by uid 48); 21 Oct 2017 00:45:38 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82644] Non-standard hypergeometric special functions defined in strict modes
Date: Sat, 21 Oct 2017 00:45: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: 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: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-82644-4-sJbYPLe3Um@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82644-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82644-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02397.txt.bz2
Content-length: 489

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82644

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-21
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-579336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 00:45:32 2017
Return-Path: <gcc-bugs-return-579336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50747 invoked by alias); 21 Oct 2017 00:45: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 50700 invoked by uid 48); 21 Oct 2017 00:45:27 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82644] New: Non-standard hypergeometric special functions defined in strict modes
Date: Sat, 21 Oct 2017 00:45: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: 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82644-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02396.txt.bz2
Content-length: 999

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82644

            Bug ID: 82644
           Summary: Non-standard hypergeometric special functions defined
                    in strict modes
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

#define hyperg 1                                                                
#include <cmath>      

In C++17 this fails to compile:

hyper.cc:1:16: error: expected unqualified-id before numeric constant
 #define hyperg 1
                ^


hyperg is not a reserved name, so we shouldn't be defining it for -std=c++17,
only -std=gnu++17
>From gcc-bugs-return-579338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 00:48:35 2017
Return-Path: <gcc-bugs-return-579338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53908 invoked by alias); 21 Oct 2017 00:48: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 53865 invoked by uid 48); 21 Oct 2017 00:48:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82644] Non-standard hypergeometric special functions defined in strict modes
Date: Sat, 21 Oct 2017 00:48: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: 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-82644-4-5HA1ifhmcD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82644-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82644-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02398.txt.bz2
Content-length: 558

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82644

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
While I'm on the subject, we fail to import the special functions into the
global namespace in <math.h> (because the wrong macro is checked):

#include <math.h>
namespace test {
  using std::beta; // OK
  using ::beta;    // ERROR
}

specfun.cc:4:11: error: ‘::beta’ has not been declared
   using ::beta;    // ERROR
           ^~~~

And we don't properly document IS 29124 support, and implementation-defined
behaviour.
>From gcc-bugs-return-579339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 01:35:23 2017
Return-Path: <gcc-bugs-return-579339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82877 invoked by alias); 21 Oct 2017 01:35: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 82848 invoked by uid 48); 21 Oct 2017 01:35:18 -0000
From: "h2+bugs at fsfe dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Sat, 21 Oct 2017 01:35: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: h2+bugs at fsfe 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-82635-4-FqVgqJNhAo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02399.txt.bz2
Content-length: 876

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

--- Comment #10 from Hannes Hauswedell <h2+bugs at fsfe dot org> ---
> Could you please tell us the FreeBSD version and arch you run on?
uname -ra

FreeBSD celegans.imp.fu-berlin.de 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309:
Fri Jul 21 02:08:28 UTC 2017    
root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

For completeness, these are the GCC versions installed:
% pkg info | grep gcc
gcc-ecj-4.5                    Eclipse Java Compiler used to build GCC Java
gcc49-4.9.4_5                  GNU Compiler Collection 4.9
gcc5-5.4.0_4                   GNU Compiler Collection 5
gcc6-6.4.0_2                   GNU Compiler Collection 6
gcc7-devel-7.2.1.s20171012     GNU Compiler Collection 7
gcc8-devel-8.0.0.s20171008     GNU Compiler Collection 8

gcc49-4.9.4_5 works, the later ones don't.
>From gcc-bugs-return-579340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 01:51:08 2017
Return-Path: <gcc-bugs-return-579340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55826 invoked by alias); 21 Oct 2017 01: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 43606 invoked by uid 48); 21 Oct 2017 01:51:00 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/48839] #error should terminate compilation - similar to missing #include
Date: Sat, 21 Oct 2017 01:51: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.6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-48839-4-WnEChPffxc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48839-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48839-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02400.txt.bz2
Content-length: 250

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48839

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Paolo Carlini from comment #6)
> Maybe time to actually send something to gcc-patches for discussion?

Please do!
>From gcc-bugs-return-579341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 01:52:36 2017
Return-Path: <gcc-bugs-return-579341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130117 invoked by alias); 21 Oct 2017 01:52: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 126606 invoked by uid 48); 21 Oct 2017 01:52:32 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82645] New: missing -Wstringop-overflow on strcpy overflowing a member array
Date: Sat, 21 Oct 2017 01:52: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.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-82645-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02401.txt.bz2
Content-length: 2202

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82645

            Bug ID: 82645
           Summary: missing -Wstringop-overflow on strcpy overflowing a
                    member array
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

GCC fails to issue -Wstringop-overflow for the buffer overflow in the following
test case unless it's compiled with -D_FORTIFY_SOURCE=2.  The root cause is
that compute_builtin_object_size() fails.  Ironically, removing the call to
sink (p->a) causes the warning to appear even without -D_FORTIFY_SOURCE=2.

As an aside, the byte count in the warning issued by GCC 8 (but not 7) with
-D_FORTIFY_SOURCE=2 is off by 1.  The correct range (between 7 and INT_MAX) is
shown in the warning without the sink() call:

    writing between 7 and 2147483647 bytes into a region of size 5 overflows
the destination 

$ (set -x && cat y.c && gcc -O2 -Wall y.c && gcc -D_FORTIFY_SOURCE=2 -O2 -Wall
y.c)
+ cat y.c
#include <string.h>

struct S { char a[5]; void (*pf)(void); };

void __attribute__ ((weak))
sink (const char *s)
{
  __builtin_printf ("%.7s\n", s);
}

void __attribute__ ((weak))
g (struct S *p, int n)
{
  if (n < 7) n = 7;

  strncpy (p->a, "123456", n);   // missing -Wstringop-overflow without
-D_FORTIFY_SOURCE
  sink (p->a);                   // removing this call triggers the warning
}

int main (void)
{
  struct S s = { };
  g (&s, 7);
}
+ gcc -O2 -Wall y.c
+ gcc -D_FORTIFY_SOURCE=2 -O2 -Wall y.c
In file included from /usr/include/string.h:635:0,
                 from y.c:1:
In function ‘strncpy’,
    inlined from ‘g’ at y.c:16:3:
/usr/include/bits/string3.h:126:10: warning: ‘__builtin___strncpy_chk’ writing
6 bytes into a region of size 5 overflows the destination
[-Wstringop-overflow=]
   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>From gcc-bugs-return-579342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 01:55:53 2017
Return-Path: <gcc-bugs-return-579342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69958 invoked by alias); 21 Oct 2017 01: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 66023 invoked by uid 48); 21 Oct 2017 01:55:45 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61593] Support '#pragma mark - foo' on non-Darwin targets (by simply ignoring it without warning)
Date: Sat, 21 Oct 2017 01: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: 4.9.0
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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-61593-4-Hw5EwkLX8y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61593-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61593-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02402.txt.bz2
Content-length: 1157

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61593

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-21
     Ever confirmed|0                           |1

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #3)
> (In reply to Sean from comment #2)
> > Eric, thanks for your reply.
> > 
> > Those docs read to me like the pragma is only supported *on* Darwin.
> > 
> > I guess I was not clear when creating this ticket: I'm interested in the
> > pragma being accepted on any platform.
> > 
> > In our situation, we have portable code that runs on Darwin and Linux and
> > would like to use those pragma marks in that code.
> 
> Changing component to target and re-titling, then... I'd confirm it, too,
> but I only have Darwin to test on (not Linux)

Now that I have access to the compile farm, I've tested this on Linux and can
confirm.
>From gcc-bugs-return-579343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 02:05:21 2017
Return-Path: <gcc-bugs-return-579343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54112 invoked by alias); 21 Oct 2017 02: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 53978 invoked by uid 48); 21 Oct 2017 02:05:12 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82646] New: bogus -Wstringop-overflow with -D_FORTIFY_SOURCE=2 on strncpy with range to a member array
Date: Sat, 21 Oct 2017 02:05: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.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-82646-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02403.txt.bz2
Content-length: 1716

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82646

            Bug ID: 82646
           Summary: bogus -Wstringop-overflow with -D_FORTIFY_SOURCE=2 on
                    strncpy with range to a member array
           Product: gcc
           Version: 8.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: ---

In contrast to bug 82645, when compiling with -D_FORTIFY_SOURCE=2 GCC issues a
bogus -Wstringop-overflow on the following test case that then runs
successfully to completion (i.e., no abort):

$ (set -x && cat y.c && gcc -O2 -Wall y.c && gcc -D_FORTIFY_SOURCE=2 -O2 -Wall
y.c && ./a.out)
+ cat y.c
#include <string.h>

struct S { char a[5]; void (*pf)(void); };

void __attribute__ ((weak))
sink (const char *s)
{
  __builtin_printf ("%.7s\n", s);
}

void __attribute__ ((weak))
g (struct S *p, int n)
{
  if (n < 5) n = 5;

  strncpy (p->a, "1234567", n);
  sink (p->a);
}

int main (void)
{
  struct S s = { };
  g (&s, 1);
}
+ gcc -O2 -Wall y.c
+ gcc -D_FORTIFY_SOURCE=2 -O2 -Wall y.c
In file included from /usr/include/string.h:635:0,
                 from y.c:1:
In function ‘strncpy’,
    inlined from ‘g’ at y.c:16:3:
/usr/include/bits/string3.h:126:10: warning: ‘__builtin___strncpy_chk’ writing
7 bytes into a region of size 5 overflows the destination
[-Wstringop-overflow=]
   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ./a.out
12345
>From gcc-bugs-return-579344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 07:00:35 2017
Return-Path: <gcc-bugs-return-579344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2277 invoked by alias); 21 Oct 2017 07:00: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 130441 invoked by uid 48); 21 Oct 2017 07:00:30 -0000
From: "bitbug1985 at icloud dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82647] New: std::tuple_size_v is missing from <array> and <utility>
Date: Sat, 21 Oct 2017 07: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bitbug1985 at icloud 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-82647-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02404.txt.bz2
Content-length: 1368

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82647

            Bug ID: 82647
           Summary: std::tuple_size_v is missing from <array> and
                    <utility>
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bitbug1985 at icloud dot com
  Target Milestone: ---

x.cpp:
#include <array>

int
main()
{
    std::array<int, 3> arr;
    auto size = std::tuple_size_v<decltype(arr)>;
}

% g++ --version
g++ (MacPorts gcc7 7.2.0_0) 7.2.0
% g++ -std=c++17 -o x x.cpp
x.cpp: In function 'int main()':
x.cpp:7:22: error: 'tuple_size_v' is not a member of 'std'
     auto size = std::tuple_size_v<decltype(arr)>;
                      ^~~~~~~~~~~~
x.cpp:7:22: note: suggested alternative: 'tuple_size'
     auto size = std::tuple_size_v<decltype(arr)>;
                      ^~~~~~~~~~~~
                      tuple_size
x.cpp:7:35: error: expected primary-expression before 'decltype'
     auto size = std::tuple_size_v<decltype(arr)>;
                                   ^~~~~~~~

I get the same error if I replace std::array with std::pair. If I additionally
include <tuple>, which should be unnecessary, this compiles. For what it's
worth, it compiles as-is in clang++.
>From gcc-bugs-return-579345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 07:07:52 2017
Return-Path: <gcc-bugs-return-579345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57496 invoked by alias); 21 Oct 2017 07: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 55210 invoked by uid 48); 21 Oct 2017 07:07:48 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82647] std::tuple_size_v is missing from <array> and <utility>
Date: Sat, 21 Oct 2017 07:07: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.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-82647-4-dNYro4L86y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82647-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82647-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02405.txt.bz2
Content-length: 350

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82647

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>If I additionally include <tuple>, which should be unnecessary, this compiles.

I don't have the final C++17 spec but the draft (dated March 21, 2017, doc
N4659) says tuple_size_v is defined in tuple and no other header file.
>From gcc-bugs-return-579346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 07:19:50 2017
Return-Path: <gcc-bugs-return-579346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 527 invoked by alias); 21 Oct 2017 07:19: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 125099 invoked by uid 48); 21 Oct 2017 07:19:46 -0000
From: "ensadc at mailnesia dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82611] Incorrect warning for redundant capture in lambda
Date: Sat, 21 Oct 2017 07: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: 6.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ensadc at mailnesia 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-82611-4-YwTaUoIJ4v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82611-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82611-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02406.txt.bz2
Content-length: 700

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82611

ensadc at mailnesia dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensadc at mailnesia dot com

--- Comment #1 from ensadc at mailnesia dot com ---
The diagnostic is required by the standard.

[expr.prim.lambda.capture]/2
(http://wg21.link/expr.prim.lambda.capture#2.sentence-2):

If a lambda-capture includes a capture-default that is =, each simple-capture
of that lambda-capture shall be of the form “& identifier”, “this”, or “*
this”.
>From gcc-bugs-return-579347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 07:21:52 2017
Return-Path: <gcc-bugs-return-579347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106960 invoked by alias); 21 Oct 2017 07:21: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 98091 invoked by uid 48); 21 Oct 2017 07:21:46 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Sat, 21 Oct 2017 07: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.7.2
X-Bugzilla-Keywords: wrong-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57096-4-ud45JVDc8I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02407.txt.bz2
Content-length: 329

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

--- Comment #8 from janus at gcc dot gnu.org ---
(In reply to Jerry DeLisle from comment #7)
> Let's close this one.

Please don't. I still see the wrong output with gfortran 7.2.

Dominique, did you consider the fact that two separate files are required to
trigger the bug?
>From gcc-bugs-return-579348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 07:41:52 2017
Return-Path: <gcc-bugs-return-579348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37269 invoked by alias); 21 Oct 2017 07: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 35261 invoked by uid 48); 21 Oct 2017 07:41:48 -0000
From: "ensadc at mailnesia dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79994] Concepts technical specification
Date: Sat, 21 Oct 2017 07: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ensadc at mailnesia 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-79994-4-lzBICDDP9y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79994-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79994-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02408.txt.bz2
Content-length: 799

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79994

ensadc at mailnesia dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensadc at mailnesia dot com

--- Comment #1 from ensadc at mailnesia dot com ---
Simplified:
----
template <typename G>
concept bool Graph = requires (G& g) {
    add(g);
};

template <Graph T>
void add(T& g) {
};

class Directed_Graph_impl {};

int main() {
    Directed_Graph_impl t;
    add(t);
}
----
The problem seems to be that the instantiation of `add` requires the
instantiation of `Graph` concept, but the latter, in turn, requires the former.
This leads to an infinite recursion and eventually causes segfault.
>From gcc-bugs-return-579349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 07:47:24 2017
Return-Path: <gcc-bugs-return-579349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75033 invoked by alias); 21 Oct 2017 07: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 68483 invoked by uid 48); 21 Oct 2017 07:47:19 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Sat, 21 Oct 2017 07: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: 4.7.2
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:
Message-ID: <bug-57096-4-z9OCj3s6RX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02409.txt.bz2
Content-length: 657

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Dominique, did you consider the fact that two separate files are required
> to trigger the bug?

With the original code

% gfortran-fsf-4.8 -c -std=f2003 ModA.f03
% gfortran-fsf-4.8 -c -std=f2003 ModA1.f03
% gfortran-fsf-4.8 -c -std=f2003 ModA2.f03
% gfortran-fsf-4.8 -c -std=f2003 test.f03 
% gfortran-fsf-4.8 ModA.f03 ModA1.f03 ModA2.f03 test.f03 Main.cc 
% ./a.out
 gA%next():           2
 gA%next():           4
 gA%next():           6

 gAp%next():           2
 gAp%next():           4
 gAp%next():           6
>From gcc-bugs-return-579350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 08:30:36 2017
Return-Path: <gcc-bugs-return-579350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32453 invoked by alias); 21 Oct 2017 08:30: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 9623 invoked by uid 48); 21 Oct 2017 08:30:23 -0000
From: "jetanner at usc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82611] Incorrect warning for redundant capture in lambda
Date: Sat, 21 Oct 2017 08: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: 6.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jetanner at usc 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-82611-4-aWpLx3WT1u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82611-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82611-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02410.txt.bz2
Content-length: 266

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82611

--- Comment #2 from James Tanner <jetanner at usc dot edu> ---
In that case it seems as though the standard has overlooked this scenario, as
there is no way to achieve this without incurring a warning message.
>From gcc-bugs-return-579351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 09:02:54 2017
Return-Path: <gcc-bugs-return-579351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93305 invoked by alias); 21 Oct 2017 09:02: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 93195 invoked by uid 55); 21 Oct 2017 09:02:49 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82586] [PDT] ICE: write_symbol(): bad module symbol
Date: Sat, 21 Oct 2017 09: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:
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-82586-4-ydh3yYAGRL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02411.txt.bz2
Content-length: 2017

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82586

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Oct 21 09:02:17 2017
New Revision: 253970

URL: https://gcc.gnu.org/viewcvs?rev=253970&root=gcc&view=rev
Log:
2017-10-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82586
        * decl.c (gfc_get_pdt_instance): Remove the error message that
        the parameter does not have a corresponding component since
        this is now taken care of when the derived type is resolved. Go
        straight to error return instead.
        (gfc_match_formal_arglist): Make the PDT relevant errors
        immediate so that parsing of the derived type can continue.
        (gfc_match_derived_decl): Do not check the match status on
        return from gfc_match_formal_arglist for the same reason.
        * resolve.c (resolve_fl_derived0): Check that each type
        parameter has a corresponding component.

        PR fortran/82587
        * resolve.c (resolve_generic_f): Check that the derived type
        can be used before resolving the struture constructor.

        PR fortran/82589
        * symbol.c (check_conflict): Add the conflicts involving PDT
        KIND and LEN attributes.

2017-10-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82586
        * gfortran.dg/pdt_16.f03 : New test.
        * gfortran.dg/pdt_4.f03 : Catch the changed messages.
        * gfortran.dg/pdt_8.f03 : Ditto.

        PR fortran/82587
        * gfortran.dg/pdt_17.f03 : New test.

        PR fortran/82589
        * gfortran.dg/pdt_18.f03 : New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pdt_16.f03
    trunk/gcc/testsuite/gfortran.dg/pdt_17.f03
    trunk/gcc/testsuite/gfortran.dg/pdt_18.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/symbol.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/pdt_4.f03
    trunk/gcc/testsuite/gfortran.dg/pdt_8.f03
>From gcc-bugs-return-579352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 09:02:55 2017
Return-Path: <gcc-bugs-return-579352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93313 invoked by alias); 21 Oct 2017 09:02: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 93208 invoked by uid 55); 21 Oct 2017 09:02:50 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82587] [PDT] ICE in get_pdt_constructor, at fortran/resolve.c:1185
Date: Sat, 21 Oct 2017 09: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:
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:
Message-ID: <bug-82587-4-sJYTGOgZvs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82587-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82587-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02412.txt.bz2
Content-length: 2017

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82587

--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Oct 21 09:02:17 2017
New Revision: 253970

URL: https://gcc.gnu.org/viewcvs?rev=253970&root=gcc&view=rev
Log:
2017-10-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82586
        * decl.c (gfc_get_pdt_instance): Remove the error message that
        the parameter does not have a corresponding component since
        this is now taken care of when the derived type is resolved. Go
        straight to error return instead.
        (gfc_match_formal_arglist): Make the PDT relevant errors
        immediate so that parsing of the derived type can continue.
        (gfc_match_derived_decl): Do not check the match status on
        return from gfc_match_formal_arglist for the same reason.
        * resolve.c (resolve_fl_derived0): Check that each type
        parameter has a corresponding component.

        PR fortran/82587
        * resolve.c (resolve_generic_f): Check that the derived type
        can be used before resolving the struture constructor.

        PR fortran/82589
        * symbol.c (check_conflict): Add the conflicts involving PDT
        KIND and LEN attributes.

2017-10-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82586
        * gfortran.dg/pdt_16.f03 : New test.
        * gfortran.dg/pdt_4.f03 : Catch the changed messages.
        * gfortran.dg/pdt_8.f03 : Ditto.

        PR fortran/82587
        * gfortran.dg/pdt_17.f03 : New test.

        PR fortran/82589
        * gfortran.dg/pdt_18.f03 : New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pdt_16.f03
    trunk/gcc/testsuite/gfortran.dg/pdt_17.f03
    trunk/gcc/testsuite/gfortran.dg/pdt_18.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/symbol.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/pdt_4.f03
    trunk/gcc/testsuite/gfortran.dg/pdt_8.f03
>From gcc-bugs-return-579353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 09:02:55 2017
Return-Path: <gcc-bugs-return-579353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93426 invoked by alias); 21 Oct 2017 09:02: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 93205 invoked by uid 55); 21 Oct 2017 09:02:50 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82589] [PDT] ICE in gfc_get_pdt_instance, at fortran/decl.c:3278
Date: Sat, 21 Oct 2017 09: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:
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:
Message-ID: <bug-82589-4-OwmgJOBF1e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02413.txt.bz2
Content-length: 2017

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82589

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Oct 21 09:02:17 2017
New Revision: 253970

URL: https://gcc.gnu.org/viewcvs?rev=253970&root=gcc&view=rev
Log:
2017-10-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82586
        * decl.c (gfc_get_pdt_instance): Remove the error message that
        the parameter does not have a corresponding component since
        this is now taken care of when the derived type is resolved. Go
        straight to error return instead.
        (gfc_match_formal_arglist): Make the PDT relevant errors
        immediate so that parsing of the derived type can continue.
        (gfc_match_derived_decl): Do not check the match status on
        return from gfc_match_formal_arglist for the same reason.
        * resolve.c (resolve_fl_derived0): Check that each type
        parameter has a corresponding component.

        PR fortran/82587
        * resolve.c (resolve_generic_f): Check that the derived type
        can be used before resolving the struture constructor.

        PR fortran/82589
        * symbol.c (check_conflict): Add the conflicts involving PDT
        KIND and LEN attributes.

2017-10-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82586
        * gfortran.dg/pdt_16.f03 : New test.
        * gfortran.dg/pdt_4.f03 : Catch the changed messages.
        * gfortran.dg/pdt_8.f03 : Ditto.

        PR fortran/82587
        * gfortran.dg/pdt_17.f03 : New test.

        PR fortran/82589
        * gfortran.dg/pdt_18.f03 : New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pdt_16.f03
    trunk/gcc/testsuite/gfortran.dg/pdt_17.f03
    trunk/gcc/testsuite/gfortran.dg/pdt_18.f03
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/symbol.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/pdt_4.f03
    trunk/gcc/testsuite/gfortran.dg/pdt_8.f03
>From gcc-bugs-return-579354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 09:05:08 2017
Return-Path: <gcc-bugs-return-579354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96277 invoked by alias); 21 Oct 2017 09:05: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 96190 invoked by uid 48); 21 Oct 2017 09:05:04 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/48839] #error should terminate compilation - similar to missing #include
Date: Sat, 21 Oct 2017 09: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.6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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:
Message-ID: <bug-48839-4-m9qOCp9B0y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48839-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48839-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02414.txt.bz2
Content-length: 936

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48839

--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Hi. As you can see, the patch itself seems simple, but a while ago I noticed
that quite a few testcases would need adjusting and that made me a little
nervous. In particular those testcases (both C and C++) which are doing more
than one check and would have to be split, because the compilation ends after
the first #error. Anyway, probably that's just boring work to do, what about
the other compilers? For sure some are following the current gcc behaviour, for
compatibility, I suspect ICC for example. Should we also have a command line
switch? Probably missing #includes just unconditionally end the compilation on
most compilers, though. Well, it's also true that the so called workaround
which I mentioned in Comment #1 works pretty well and we do have *very* few
fatal errors in the front ends...
>From gcc-bugs-return-579356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 09:05:53 2017
Return-Path: <gcc-bugs-return-579356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97337 invoked by alias); 21 Oct 2017 09: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 97205 invoked by uid 48); 21 Oct 2017 09:05:49 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82173] [meta-bug] Parameterized derived type errors
Date: Sat, 21 Oct 2017 09:05: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: 8.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 resolution
Message-ID: <bug-82173-4-JFlnxD2z6r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02416.txt.bz2
Content-length: 470

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
Bug 82173 depends on bug 82586, which changed state.

Bug 82586 Summary: [PDT] ICE: write_symbol(): bad module symbol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82586

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-579355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 09:05:53 2017
Return-Path: <gcc-bugs-return-579355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97257 invoked by alias); 21 Oct 2017 09: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 97185 invoked by uid 48); 21 Oct 2017 09:05:49 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82586] [PDT] ICE: write_symbol(): bad module symbol
Date: Sat, 21 Oct 2017 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: 8.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-82586-4-lGvPJw0WkF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82586-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02415.txt.bz2
Content-length: 599

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82586

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> ---
Fixed on 8-branch.

Thanks for the report and for the effort that you put in to develop these
broken bits of code. This really improved the quality of implementation.

Best regards

Paul
>From gcc-bugs-return-579357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 09:31:55 2017
Return-Path: <gcc-bugs-return-579357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127204 invoked by alias); 21 Oct 2017 09:31: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 124596 invoked by uid 48); 21 Oct 2017 09:31:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Sat, 21 Oct 2017 09: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.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82628-4-ANLHeOoe2h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02417.txt.bz2
Content-length: 765

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42428
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42428&action=edit
gcc8-pr82628.patch

Untested patch.  From the above hack, I'm afraid I have no idea how to express
the SF+OF setting sbb, so I'm using UNSPEC, for the others I hope I've done
those right, but would welcome verification.  If you have ideas what to do for
SF+OF, I'd appreciate it.  And the patch doesn't deal with possible needs to
rename CCGZmode to something else and describe that it only defines SF and OF
flags.  Or can we just use normal CCmode, when the setter is UNSPEC anyway and
thus the generic code can't argue much about it?
>From gcc-bugs-return-579358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 09:36:42 2017
Return-Path: <gcc-bugs-return-579358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40239 invoked by alias); 21 Oct 2017 09: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 40207 invoked by uid 48); 21 Oct 2017 09:36:39 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82633] Document GCOV and function removal (-fkeep-inline-functions, -fkeep-static-functions)
Date: Sat, 21 Oct 2017 09:36: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on resolution target_milestone short_desc everconfirmed
Message-ID: <bug-82633-4-1Y82fQZx3X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82633-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02418.txt.bz2
Content-length: 1591

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82633

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |ASSIGNED
   Last reconfirmed|                            |2017-10-21
         Resolution|WONTFIX                     |---
   Target Milestone|---                         |8.0
            Summary|gcov does not handle        |Document GCOV and function
                   |removed functions           |removal
                   |                            |(-fkeep-inline-functions,
                   |                            |-fkeep-static-functions)
     Ever confirmed|0                           |1

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks Andrew, works for me:

$ g++ -fkeep-inline-functions -fkeep-static-functions --coverage removed.cpp

        -:    1:class MyClass2
        -:    2:{
        -:    3:  public:
    #####:    4:    void iterate() { a = 5; }
        -:    5:
        -:    6:    int a;
        -:    7:};
        -:    8:
    #####:    9:static int foo(int a)
        -:   10:{
    #####:   11:  return ++a;
        -:   12:}
        -:   13:
    #####:   14:int bar(int a)
        -:   15:{
    #####:   16:  return a + 2;
        -:   17:}
        -:   18:
        1:   19:int main()
        -:   20:{
        -:   21:  MyClass2 a;
        1:   22:  return 0;
        -:   23:}

Let me document that, maybe useful for GCOV users.
>From gcc-bugs-return-579359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 09:37:20 2017
Return-Path: <gcc-bugs-return-579359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41129 invoked by alias); 21 Oct 2017 09: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 41077 invoked by uid 48); 21 Oct 2017 09:37:15 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82648] New: libiberty/regex.c:2364]: pointless test ?
Date: Sat, 21 Oct 2017 09:37: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.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-82648-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02419.txt.bz2
Content-length: 689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82648

            Bug ID: 82648
           Summary: libiberty/regex.c:2364]: pointless test ?
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

trunk/libiberty/regex.c:2364]: (style) Checking if unsigned variable 'size' is
less than zero.

Source code is

  if (size < 0)

but

  size_t size;

Maybe the error return value from function convert_mbs_to_wcs is zero
and so the test should be

  if (size == 0)
>From gcc-bugs-return-579360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 10:59:37 2017
Return-Path: <gcc-bugs-return-579360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37900 invoked by alias); 21 Oct 2017 10: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 103496 invoked by uid 48); 21 Oct 2017 10:58:44 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82647] std::tuple_size_v is missing from <array> and <utility>
Date: Sat, 21 Oct 2017 10: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: 7.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-82647-4-zpNnrmNBT4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82647-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82647-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02420.txt.bz2
Content-length: 528

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82647

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> ---
Andrew is correct, it's only defined by <tuple>.

http://en.cppreference.com/w/cpp/utility/tuple/tuple_size
>From gcc-bugs-return-579361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 10:59:59 2017
Return-Path: <gcc-bugs-return-579361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38776 invoked by alias); 21 Oct 2017 10: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 38745 invoked by uid 48); 21 Oct 2017 10:59:54 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79994] Concepts technical specification
Date: Sat, 21 Oct 2017 10: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: 6.2.0
X-Bugzilla-Keywords: ice-on-invalid-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-79994-4-qyIwH4lYuS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79994-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79994-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02421.txt.bz2
Content-length: 583

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79994

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-21
     Ever confirmed|0                           |1

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I *think* this is invalid, but I'm not sure.
>From gcc-bugs-return-579362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:09:45 2017
Return-Path: <gcc-bugs-return-579362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52980 invoked by alias); 21 Oct 2017 11:09: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 52575 invoked by uid 48); 21 Oct 2017 11:09:40 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82173] [meta-bug] Parameterized derived type errors
Date: Sat, 21 Oct 2017 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: fortran
X-Bugzilla-Version: 8.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 resolution
Message-ID: <bug-82173-4-AP5ZbM50Pt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02422.txt.bz2
Content-length: 487

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
Bug 82173 depends on bug 82587, which changed state.

Bug 82587 Summary: [PDT] ICE in get_pdt_constructor, at fortran/resolve.c:1185
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82587

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-579363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:09:45 2017
Return-Path: <gcc-bugs-return-579363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53024 invoked by alias); 21 Oct 2017 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 52297 invoked by uid 48); 21 Oct 2017 11:09:37 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82587] [PDT] ICE in get_pdt_constructor, at fortran/resolve.c:1185
Date: Sat, 21 Oct 2017 11: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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82587-4-FH65FgfNJe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82587-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82587-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02423.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82587

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on 8-branch.

Thank you for working on this and getting in these problem reports.

Paul
>From gcc-bugs-return-579365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:10:57 2017
Return-Path: <gcc-bugs-return-579365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59639 invoked by alias); 21 Oct 2017 11: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 59271 invoked by uid 48); 21 Oct 2017 11:10:52 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82589] [PDT] ICE in gfc_get_pdt_instance, at fortran/decl.c:3278
Date: Sat, 21 Oct 2017 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: 8.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82589-4-ZZDHocEFHy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02425.txt.bz2
Content-length: 444

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82589

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> ---
Duuuh! It helps to close the PR
>From gcc-bugs-return-579364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:10:26 2017
Return-Path: <gcc-bugs-return-579364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56779 invoked by alias); 21 Oct 2017 11: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 56321 invoked by uid 48); 21 Oct 2017 11:10:21 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82589] [PDT] ICE in gfc_get_pdt_instance, at fortran/decl.c:3278
Date: Sat, 21 Oct 2017 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: 8.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:
Message-ID: <bug-82589-4-sYJ7beNDbw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82589-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02424.txt.bz2
Content-length: 211

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82589

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on 8-branch.

Thank you for working on this and getting in these problem reports.

Paul
>From gcc-bugs-return-579366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:10:58 2017
Return-Path: <gcc-bugs-return-579366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59798 invoked by alias); 21 Oct 2017 11:10: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 59328 invoked by uid 48); 21 Oct 2017 11:10:53 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82173] [meta-bug] Parameterized derived type errors
Date: Sat, 21 Oct 2017 11:10: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: 8.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 resolution
Message-ID: <bug-82173-4-dxmKL7OZZI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82173-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02426.txt.bz2
Content-length: 483

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
Bug 82173 depends on bug 82589, which changed state.

Bug 82589 Summary: [PDT] ICE in gfc_get_pdt_instance, at fortran/decl.c:3278
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82589

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-579367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:11:53 2017
Return-Path: <gcc-bugs-return-579367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62038 invoked by alias); 21 Oct 2017 11: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 61999 invoked by uid 48); 21 Oct 2017 11:11:50 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/28758] `make` fails because of bad ORIGINAL_LD_FOR_TARGET
Date: Sat, 21 Oct 2017 11: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: 4.1.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: bug_status resolution
Message-ID: <bug-28758-4-In1xmKLhSS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-28758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-28758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02427.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28758

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
Closing due to no response after being left in WAITING for so long.
>From gcc-bugs-return-579368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:13:01 2017
Return-Path: <gcc-bugs-return-579368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64243 invoked by alias); 21 Oct 2017 11: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 63358 invoked by uid 48); 21 Oct 2017 11:12:57 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/32840] bootstrap broken on ix86-linux-gnu targets with --enable-targets=all
Date: Sat, 21 Oct 2017 11:13: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: 4.3.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-32840-4-3XYyS4Un36@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-32840-4@http.gcc.gnu.org/bugzilla/>
References: <bug-32840-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02428.txt.bz2
Content-length: 711

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32840

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> (In reply to H.J. Lu from comment #1)
> > Can you verify if it is the same as PR 31868? There is a a patch for PR
> > 31868.
> 
> ...which is now closed as FIXED. So is this fixed as well?

No response, so I'm assuming the answer was yes.
>From gcc-bugs-return-579369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:14:31 2017
Return-Path: <gcc-bugs-return-579369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91658 invoked by alias); 21 Oct 2017 11: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 89682 invoked by uid 48); 21 Oct 2017 11:14:27 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/31840] race condition in makefiles
Date: Sat, 21 Oct 2017 11: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: 4.3.0
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: bug_status resolution
Message-ID: <bug-31840-4-ZZTcXzbxXP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31840-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31840-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02429.txt.bz2
Content-length: 586

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31840

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #1)
> Could you be more specific about how exactly bootstrap fails? What is the
> error message?

No response; closing.
>From gcc-bugs-return-579370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:18:00 2017
Return-Path: <gcc-bugs-return-579370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74089 invoked by alias); 21 Oct 2017 11:18: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 74055 invoked by uid 48); 21 Oct 2017 11:17:57 -0000
From: "fabian.loeschner at live dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82613] Cannot access private definitions in base clause of friend class template
Date: Sat, 21 Oct 2017 11: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fabian.loeschner at live 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-82613-4-GxJ3iU2gdy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82613-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82613-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02430.txt.bz2
Content-length: 197

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82613

--- Comment #1 from fabian.loeschner at live dot de ---
By the way: it compiles fine with Clang trunk and in Visual Studio 2017 (MSVC
19.11)
>From gcc-bugs-return-579371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:49:04 2017
Return-Path: <gcc-bugs-return-579371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40923 invoked by alias); 21 Oct 2017 11:49: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 34365 invoked by uid 48); 21 Oct 2017 11:48:59 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Sat, 21 Oct 2017 11:49: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-TOtppLJcyc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02431.txt.bz2
Content-length: 2012

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #21 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
We could do something like

program boom
implicit none
  interface
     subroutine mywait() bind(c)
     end subroutine mywait
  end interface
integer                       :: i,j 
character(len=256)            :: msg
character(len=:), allocatable :: command
   command='notthere'
   msg='' ! seems to only be defined if exitstatus.ne.0
   ! ok -- these work
   call execute_command_line(command , wait=.false., exitstat=i, cmdstat=j,
cmdmsg=msg)
   if (j /= 0 .or. msg /= '') call abort
   call execute_command_line(command ,               exitstat=i, cmdstat=j,
cmdmsg=msg )
   if (j /= 3 .or. msg /= "Invalid command line" ) call abort
   msg = ''
   call execute_command_line(command , wait=.false., exitstat=i,           
cmdmsg=msg )
   print *,msg
   if (msg /= '') call abort
   call execute_command_line(command ,               exitstat=i, cmdstat=j     
       )
   if (j /= 3) call abort
   call execute_command_line(command , wait=.false., exitstat=i                
       )
   call mywait()
end program boom

and

#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
#include <stdio.h>


/* Wait in a busy loop for any processes that may still be around. */
void mywait()
{
  errno = 0;
  while (waitpid (-1, NULL, WNOHANG) >= 0)
    {
      n++;
      if (errno != ECHILD)
        break;
    }
}

but I am not sure that waitpid is available on all systems;
this is more likely to break things than fix things.

What you could to to reduce the amount of noise that you see is
sleep for a second; just insert

  CALL SLEEP(1)

before the END statement of the test case, locally in your tree.
This could help. I don't want to do this for everybody (test times
being long enough as they are), but for most cases, this should
be enough.
>From gcc-bugs-return-579372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:50:53 2017
Return-Path: <gcc-bugs-return-579372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24978 invoked by alias); 21 Oct 2017 11:50: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 24933 invoked by uid 48); 21 Oct 2017 11:50:49 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82649] New: (PDT) Invalid error for assumed parameters in ALLOCATE typespec
Date: Sat, 21 Oct 2017 11:50: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82649-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02432.txt.bz2
Content-length: 4736

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82649

            Bug ID: 82649
           Summary: (PDT) Invalid error for assumed parameters in ALLOCATE
                    typespec
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pault at gcc dot gnu.org
  Target Milestone: ---

From Reinhold Bader:

module matrix_mod_assumed_02

  implicit none

  type :: matrix(rk, n, m)
     integer, kind :: rk
     integer, len :: n, m
     real(rk) :: entry(n, m)
  end type matrix
  integer, parameter :: rk=kind(1.d0)
  integer, parameter :: mm=20, nn=15

contains
  subroutine factory(o_matrix)
    type(matrix(rk, *, *)), allocatable :: o_matrix
    allocate(matrix(rk, *, *) :: o_matrix)
  end subroutine
end module

program test

  use matrix_mod_assumed_02
  implicit none
  type(matrix(rk, nn, mm)), allocatable  :: o_matrix

  call factory(o_matrix)
  if (o_matrix%n == nn .and. o_matrix%m == mm) then
     write(*,*) 'OK'
  else
     write(*,*) o_matrix%n, o_matrix%m
     write(*,*) 'FAIL'
  end if

end program test

par_assumed_02_pos.f90:16:13:

     allocate(matrix(rk, *, *) :: o_matrix)
             1
Error: The type parameter spec list in the type-spec at (1) cannot contain
ASSUMED or DEFERRED parameters

This is easily fixed at match.c:4010 by eliminating the error for assumed
parameters:
Index: ../trunk/gcc/fortran/match.c
===================================================================
*** ../trunk/gcc/fortran/match.c        (revision 253969)
--- ../trunk/gcc/fortran/match.c        (working copy)
*************** gfc_match_allocate (void)
*** 4007,4016 ****

          /* TODO understand why this error does not appear but, instead,
             the derived type is caught as a variable in primary.c.  */
!         if (gfc_spec_list_type (type_param_spec_list, NULL) != SPEC_EXPLICIT)
            {
              gfc_error ("The type parameter spec list in the type-spec at "
!                        "%L cannot contain ASSUMED or DEFERRED parameters",
                         &old_locus);
              goto cleanup;
            }
--- 4007,4016 ----

          /* TODO understand why this error does not appear but, instead,
             the derived type is caught as a variable in primary.c.  */
!         if (gfc_spec_list_type (type_param_spec_list, NULL) == SPEC_DEFERRED)
            {
              gfc_error ("The type parameter spec list in the type-spec at "
!                        "%L cannot contain DEFERRED parameters",
                         &old_locus);
              goto cleanup;
            }


This, however, exposes the real problem and the reason why the error was
introduced in the first place.

[pault@pc30 reinhold]$ ~/irun/bin/gfortran -static-libgfortran
par_assumed_02_pos.f90 -fdump-tree-original
par_assumed_02_pos.f90:16:0:

     allocate(matrix(rk, *, *) :: o_matrix)

internal compiler error: Segmentation fault
0xcc160f crash_signal
        ../../trunk/gcc/toplev.c:326
0x70419d insert_parameter_exprs
        ../../trunk/gcc/fortran/decl.c:3154
0x7204ed gfc_traverse_expr(gfc_expr*, gfc_symbol*, bool (*)(gfc_expr*,
gfc_symbol*, int*), int)
        ../../trunk/gcc/fortran/expr.c:4636
0x7cf492 structure_alloc_comps
        ../../trunk/gcc/fortran/trans-array.c:9041
0x7d10f0 gfc_allocate_pdt_comp(gfc_symbol*, tree_node*, int,
gfc_actual_arglist*)
        ../../trunk/gcc/fortran/trans-array.c:9300
0x84d2ad gfc_trans_allocate(gfc_code*)
        ../../trunk/gcc/fortran/trans-stmt.c:6407
0x7bacf7 trans_code
        ../../trunk/gcc/fortran/trans.c:1976
0x7ee087 gfc_generate_function_code(gfc_namespace*)
        ../../trunk/gcc/fortran/trans-decl.c:6422
0x7bfc91 gfc_generate_module_code(gfc_namespace*)
        ../../trunk/gcc/fortran/trans.c:2202
0x7725cb translate_all_program_units
        ../../trunk/gcc/fortran/parse.c:6075
0x7725cb gfc_parse_file()
        ../../trunk/gcc/fortran/parse.c:6291
0x7b70ff gfc_be_parse_file
        ../../trunk/gcc/fortran/f95-lang.c:204
Please submit a full bug report,

As far as I can see at the moment, this can only be fixed by the introduction
of a PDT descriptor for allocatable and pointer objects.

I have been walking around this problem trying to come up with an alternative
but have been unable to do so. I have a week away in a cottage in Cornwall
soon. If I haven't come up with anything by then, I will bite the bullet and
will implement the descriptor.

Cheers

Paul
>From gcc-bugs-return-579373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:54:43 2017
Return-Path: <gcc-bugs-return-579373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129210 invoked by alias); 21 Oct 2017 11: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 129169 invoked by uid 48); 21 Oct 2017 11:54:39 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82649] (PDT) Invalid error for assumed parameters in ALLOCATE typespec
Date: Sat, 21 Oct 2017 11: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: 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 cf_reconfirmed_on blocked assigned_to everconfirmed
Message-ID: <bug-82649-4-JE9VadSVch@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82649-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82649-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02433.txt.bz2
Content-length: 748

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82649

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-21
             Blocks|                            |82173
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Paul Thomas <pault at gcc dot gnu.org> ---
I'll take it :-)


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors
>From gcc-bugs-return-579374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 11:59:00 2017
Return-Path: <gcc-bugs-return-579374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4114 invoked by alias); 21 Oct 2017 11: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 4067 invoked by uid 48); 21 Oct 2017 11:58:56 -0000
From: "avshash at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82650] New: -fdump-go-spec Segmentation fault on enums
Date: Sat, 21 Oct 2017 11: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: 6.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avshash 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-82650-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02434.txt.bz2
Content-length: 1933

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82650

            Bug ID: 82650
           Summary: -fdump-go-spec Segmentation fault on enums
           Product: gcc
           Version: 6.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: avshash at hotmail dot com
  Target Milestone: ---

Using the '-fdump-go-spec' flag causes Segmentation fault when program has any
enum definition on c++ files.
Example:
---------------------------------------------------
enum dummy_t
{
  DUMMY_ENUM
};

int main ()
{
  return 0
}
----------------------------------------------------
command line - g++ main.cc -fdump-go-spec=dummy.go
----------------------------------------------------
reason is the difference in enum tree between C and C++

Patch in 'godump.c', function 'go_output_typedef'
(correct fix should be a proper function)
-----------------------------------------------------
ADD:
tree integer_cst = TREE_VALUE (element);
if (TREE_CODE (integer_cst) == CONST_DECL) {
  integer_cst = DECL_INITIAL (integer_cst);
}
if (TREE_CODE (integer_cst) != INTEGER_CST) {
  internal_error ("...");
}

CHANGE:
if (tree_fits_shwi_p (integer_cst)) {
            // CHANGE ^^^^^^^^^^^
  snprintf (buf, sizeof (buf), HOST_WIDE_INT_PRINT_DEC,
            tree_to_shwi (integer_cst));
            // CHANGE     ^^^^^^^^^^^
}
else if (tree_fits_uhwi_p (integer_cst)) {
            // CHANGE      ^^^^^^^^^^^
  snprintf (buf, sizeof (buf), HOST_WIDE_INT_PRINT_UNSIGNED,
            tree_to_uhwi (integer_cst));
            // CHANGE     ^^^^^^^^^^^
}
else {
  print_hex (wi::to_wide (integer_cst, buf));
            // CHANGE     ^^^^^^^^^^^
            // the last one is also a bug in the C branch,
            // where there is a 'TREE_VALUE' missing
            // but unreachable code on my machine.
}
>From gcc-bugs-return-579375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 12:10:23 2017
Return-Path: <gcc-bugs-return-579375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47664 invoked by alias); 21 Oct 2017 12: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 47626 invoked by uid 48); 21 Oct 2017 12:10:19 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Sat, 21 Oct 2017 12: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.7.2
X-Bugzilla-Keywords: wrong-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57096-4-hfp2BaHicU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02435.txt.bz2
Content-length: 341

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

--- Comment #10 from janus at gcc dot gnu.org ---
If I take the tarball from comment 0, unpack it, run "make" and then "./test",
I get:

 gA%next():           0
 gA%next():           0
 gA%next():           0

 gAp%next():           2
 gAp%next():           4
 gAp%next():           6
>From gcc-bugs-return-579376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 12:19:25 2017
Return-Path: <gcc-bugs-return-579376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95325 invoked by alias); 21 Oct 2017 12:19: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 95250 invoked by uid 48); 21 Oct 2017 12:19:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Sat, 21 Oct 2017 12: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:
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-uZ4dkwsQ0x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02436.txt.bz2
Content-length: 1614

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #11)
> Created attachment 42428 [details]
> gcc8-pr82628.patch
> 
> Untested patch.  From the above hack, I'm afraid I have no idea how to
> express the SF+OF setting sbb, so I'm using UNSPEC, for the others I hope
> I've done those right, but would welcome verification.  If you have ideas
> what to do for SF+OF, I'd appreciate it.  And the patch doesn't deal with
> possible needs to rename CCGZmode to something else and describe that it
> only defines SF and OF flags.  Or can we just use normal CCmode, when the
> setter is UNSPEC anyway and thus the generic code can't argue much about it?

Unfortunately it doesn't bootstrap.  The problem is sub<mode>3_carry_ccc
pattern which allows CONST_INT operands[2], but has zero_extend around it,
which is invalid RTL.  I think we'd need two patterns then, one with
nonimmediate_operandand "rm" constraint (or even what it is in the patch, just
have GET_MODE (operands[2]) != VOIDmode in the condition), and another pattern
that would accept the valid const_int_operand (!TARGET_64BIT) or
const_scalar_int_operand (TARGET_64BIT).  The rule for -m32 is that it is
CONST_INT with UINTVAL (operands[2]) <= 0xffffffffUL, for -m64 it is that
either
it is a CONST_INT with UINTVAL (operands[2]) <= 0x7fffffffUL, or it is a
CONST_WIDE_INT >= 0xffffffff80000000ULL and <= 0xffffffffffffffffULL
(i.e. constant integer x86_64_immediate_operand (op, DImode) zero extended from
DImode to TImode).
>From gcc-bugs-return-579377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 13:30:46 2017
Return-Path: <gcc-bugs-return-579377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119326 invoked by alias); 21 Oct 2017 13: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 119240 invoked by uid 48); 21 Oct 2017 13:30:42 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Sat, 21 Oct 2017 13: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.1.1
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81758-4-JXpheE5RT8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02437.txt.bz2
Content-length: 642

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #12)
> And with r241439, the test fails.
> 
> Andre, any ideas?

This is sufficiently similar to PR82312 that I applied the patch for it to
7-branch (which I had to do anyway) and tried this code. Unfortunately, it
doesn't fix this problem.

The fix for PR82312 reverted some of the code in revision 241439 and so this is
certainly the right path to follow.

I have to leave this for a while. It is a pity that the failing code is indeed
very difficult to reduce.

Cheers

Paul
>From gcc-bugs-return-579378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 13:31:02 2017
Return-Path: <gcc-bugs-return-579378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120111 invoked by alias); 21 Oct 2017 13: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 120029 invoked by uid 48); 21 Oct 2017 13:30:57 -0000
From: "ensadc at mailnesia dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/52202] [C++11][DR 1376] Should not extend lifetime of temporary wrapped in static_cast to reference type
Date: Sat, 21 Oct 2017 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: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ensadc at mailnesia 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-52202-4-ipOs2FXPEy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52202-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52202-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02438.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202

ensadc at mailnesia dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensadc at mailnesia dot com

--- Comment #2 from ensadc at mailnesia dot com ---
Superseded by issue 1299? See http://wg21.link/p0727.
>From gcc-bugs-return-579379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 13:37:48 2017
Return-Path: <gcc-bugs-return-579379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1802 invoked by alias); 21 Oct 2017 13: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 1753 invoked by uid 48); 21 Oct 2017 13:37:43 -0000
From: "hunter at openrobotics dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/81360] [8 Regression] ice in estimate_edge_growth, at ipa-inline.h:86
Date: Sat, 21 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hunter at openrobotics 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-81360-4-XqQTA9e7iN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81360-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81360-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02439.txt.bz2
Content-length: 420

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81360

Hunter L. Allen <hunter at openrobotics dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hunter at openrobotics dot org

--- Comment #5 from Hunter L. Allen <hunter at openrobotics dot org> ---
I'm also affected.
>From gcc-bugs-return-579380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 14:23:38 2017
Return-Path: <gcc-bugs-return-579380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124191 invoked by alias); 21 Oct 2017 14:23: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 124080 invoked by uid 48); 21 Oct 2017 14:23:32 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Sat, 21 Oct 2017 14: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.1.1
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81758-4-Ry3LJjIjlP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02440.txt.bz2
Content-length: 2387

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #14 from Paul Thomas <pault at gcc dot gnu.org> ---
The chunk of offending code:
         val_p=>NULL(); cep=>NULL()
         cep=>this%element(offset,errc)
         if(errc.eq.GFC_SUCCESS.and.associated(cep)) then
          val_p=>cep%get_value(errc)

is translated to:

  val_p._vptr = (struct __vtype__STAR * {ref-all}) &__vtab__STAR;
  val_p._len = 0;
  val_p._data = 0B;
  cep._vptr = (struct __vtype_gfc_base_Gfc_cont_elem_t * {ref-all})
&__vtab_gfc_base_Gfc_cont_elem_t;
  cep._data = 0B;
  {
    struct __class_gfc_base_Gfc_cont_elem_t_p rhs.69;

    rhs.69 = this->_vptr->element ((struct __class_gfc_vector_Vector_iter_t_t
*) this, (integer(kind=8) *) offset, &errc);
    cep._vptr = rhs.69._vptr;
    cep._data = rhs.69._data;
  }
  if ((logical(kind=4)) (errc == 0 && cep._data != 0B))
    {
      {
        struct __class_gfc_base_Gfc_cont_elem_t_t this.70;
        struct __class__STAR_p rhs.71;

        this.70 = VIEW_CONVERT_EXPR<struct
__class_gfc_base_Gfc_cont_elem_t_t>(cep);
        rhs.71 = cep._vptr->get_value (&this.70, &errc);
        val_p._vptr = rhs.71._vptr;
        val_p._len = 0;
        val_p._data = rhs.71._data;
      }
    }

Now if I change          class(gfc_cont_elem_t), pointer:: cep
to                       type(gfc_cont_elem_t), pointer:: cep

The code runs correctly - well, all the tests pass and there is no segfault :-)

From the NULLing of cep, the code becomes:

  cep = 0B;
  {
    struct __class_gfc_base_Gfc_cont_elem_t_p D.4458;

    D.4458 = this->_vptr->element ((struct __class_gfc_vector_Vector_iter_t_t
*) this, (integer(kind=8) *) offset, &errc);
    cep = D.4458._data;
  }
  if ((logical(kind=4)) (errc == 0 && cep != 0B))
    {
      {
        struct __class_gfc_base_Gfc_cont_elem_t_t class.69;
        struct __class__STAR_p rhs.70;

        class.69._vptr = (struct __vtype_gfc_base_Gfc_cont_elem_t * {ref-all})
&__vtab_gfc_base_Gfc_cont_elem_t;
        class.69._data = cep;
        rhs.70 = contelemgetvalue (&class.69, &errc);
        val_p._vptr = rhs.70._vptr;
        val_p._len = 0;
        val_p._data = rhs.70._data;
      }

This corresponds to trans_class_vptr_len_assignment NOT being called. I am
rather sure that there is some failure of logic in it.

Paul
>From gcc-bugs-return-579381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 14:31:40 2017
Return-Path: <gcc-bugs-return-579381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2154 invoked by alias); 21 Oct 2017 14: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 2137 invoked by uid 48); 21 Oct 2017 14:31:36 -0000
From: "mateuszb at poczta dot onet.pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82651] New: After -r 253879 GCC 8.0 can't build cross compiler for mingw32
Date: Sat, 21 Oct 2017 14:31: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mateuszb at poczta dot onet.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-82651-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02441.txt.bz2
Content-length: 4385

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82651

            Bug ID: 82651
           Summary: After -r 253879 GCC 8.0 can't build cross compiler for
                    mingw32
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mateuszb at poczta dot onet.pl
  Target Milestone: ---

-r 253878 works OK (for mingw32), -r 253879 breaks build cross compiler with
error:

g++ -fno-PIE -c   -pipe -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  
-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
-fno-common  -DHAVE_CONFIG_H -I. -I. -I/home/ma/m/source/gcc-8/gcc
-I/home/ma/m/source/gcc-8/gcc/. -I/home/ma/m/source/gcc-8/gcc/../include
-I/home/ma/m/source/gcc-8/gcc/../libcpp/include
-I/home/ma/m/build/for_cross/include -I/home/ma/m/build/for_cross/include
-I/home/ma/m/build/for_cross/include 
-I/home/ma/m/source/gcc-8/gcc/../libdecnumber
-I/home/ma/m/source/gcc-8/gcc/../libdecnumber/bid -I../libdecnumber
-I/home/ma/m/source/gcc-8/gcc/../libbacktrace
-I/home/ma/m/build/for_cross/include  -o gimplify.o -MT gimplify.o -MMD -MP -MF
./.deps/gimplify.TPo /home/ma/m/source/gcc-8/gcc/gimplify.c
In file included from ./tm.h:20:0,
                 from /home/ma/m/source/gcc-8/gcc/backend.h:28,
                 from /home/ma/m/source/gcc-8/gcc/gimplify.c:26:
/home/ma/m/source/gcc-8/gcc/gimplify.c: In function ‘gimplify_status
gimplify_decl_expr(tree_node**, gimple**)’:
/home/ma/m/source/gcc-8/gcc/config/i386/i386.h:609:61: error: ‘ix86_cfun_abi’
was not declared in this scope
 #define TARGET_64BIT_MS_ABI (TARGET_64BIT && ix86_cfun_abi () == MS_ABI)
                                                             ^
/home/ma/m/source/gcc-8/gcc/config/i386/cygming.h:35:22: note: in expansion of
macro ‘TARGET_64BIT_MS_ABI’
 #define TARGET_SEH  (TARGET_64BIT_MS_ABI && flag_unwind_tables)
                      ^
/home/ma/m/source/gcc-8/gcc/config/i386/cygming.h:40:31: note: in expansion of
macro ‘TARGET_SEH’
 #define MAX_STACK_ALIGNMENT  (TARGET_SEH ? 128 : MAX_OFILE_ALIGNMENT)
                               ^
/home/ma/m/source/gcc-8/gcc/defaults.h:1142:39: note: in expansion of macro
‘MAX_STACK_ALIGNMENT’
 #define MAX_SUPPORTED_STACK_ALIGNMENT MAX_STACK_ALIGNMENT
                                       ^
/home/ma/m/source/gcc-8/gcc/gimplify.c:1659:28: note: in expansion of macro
‘MAX_SUPPORTED_STACK_ALIGNMENT’
    && DECL_ALIGN (decl) <= MAX_SUPPORTED_STACK_ALIGNMENT
                            ^
/home/ma/m/source/gcc-8/gcc/gimplify.c: In function ‘gimplify_status
gimplify_target_expr(tree_node**, gimple**, gimple**)’:
/home/ma/m/source/gcc-8/gcc/config/i386/i386.h:609:61: error: ‘ix86_cfun_abi’
was not declared in this scope
 #define TARGET_64BIT_MS_ABI (TARGET_64BIT && ix86_cfun_abi () == MS_ABI)
                                                             ^
/home/ma/m/source/gcc-8/gcc/config/i386/cygming.h:35:22: note: in expansion of
macro ‘TARGET_64BIT_MS_ABI’
 #define TARGET_SEH  (TARGET_64BIT_MS_ABI && flag_unwind_tables)
                      ^
/home/ma/m/source/gcc-8/gcc/config/i386/cygming.h:40:31: note: in expansion of
macro ‘TARGET_SEH’
 #define MAX_STACK_ALIGNMENT  (TARGET_SEH ? 128 : MAX_OFILE_ALIGNMENT)
                               ^
/home/ma/m/source/gcc-8/gcc/defaults.h:1142:39: note: in expansion of macro
‘MAX_STACK_ALIGNMENT’
 #define MAX_SUPPORTED_STACK_ALIGNMENT MAX_STACK_ALIGNMENT
                                       ^
/home/ma/m/source/gcc-8/gcc/gimplify.c:6510:32: note: in expansion of macro
‘MAX_SUPPORTED_STACK_ALIGNMENT’
        && DECL_ALIGN (temp) <= MAX_SUPPORTED_STACK_ALIGNMENT
                                ^
Makefile:1104: recipe for target 'gimplify.o' failed
make[1]: *** [gimplify.o] Error 1
make[1]: Leaving directory '/home/ma/m/build/bc_gcc/gcc'
Makefile:4285: recipe for target 'all-gcc' failed
make: *** [all-gcc] Error 2
>From gcc-bugs-return-579382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 15:01:44 2017
Return-Path: <gcc-bugs-return-579382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52705 invoked by alias); 21 Oct 2017 15: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 52667 invoked by uid 48); 21 Oct 2017 15:01:39 -0000
From: "steven at uplinklabs dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/78808] target_clones not applying to openmp functions
Date: Sat, 21 Oct 2017 15: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at uplinklabs 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:
Message-ID: <bug-78808-4-0oyNkbmNZ2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78808-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02442.txt.bz2
Content-length: 407

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78808

--- Comment #14 from Steven Noonan <steven at uplinklabs dot net> ---
"testcase.i" can be reduced a lot (thanks creduce!). Literally just this:

---

__attribute__((target_clones("arch=sandybridge", "default"))) static _saxpy() {
#pragma omp parallel
  ;
}
saxpy() {}

---

is sufficient to demonstrate the link issue (compile with/without -fopemp)
>From gcc-bugs-return-579383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 15:24:55 2017
Return-Path: <gcc-bugs-return-579383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9731 invoked by alias); 21 Oct 2017 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 1891 invoked by uid 48); 21 Oct 2017 15:24:51 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/29600] [F03] MINLOC and MAXLOC take an optional KIND argument
Date: Sat, 21 Oct 2017 15:24:00 -0000
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: rejects-valid
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: cc
Message-ID: <bug-29600-4-vpZNAqNzxu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-29600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-29600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02443.txt.bz2
Content-length: 498

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29600

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
The best thing to do would be to only have the version with
index_type, and then convert the result if necessary.
>From gcc-bugs-return-579384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 16:14:53 2017
Return-Path: <gcc-bugs-return-579384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6683 invoked by alias); 21 Oct 2017 16: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 6634 invoked by uid 48); 21 Oct 2017 16:14:50 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/29600] [F03] MINLOC and MAXLOC take an optional KIND argument
Date: Sat, 21 Oct 2017 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: 4.3.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: enhancement
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 attachments.created
Message-ID: <bug-29600-4-mGgEJgUzeE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-29600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-29600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02444.txt.bz2
Content-length: 802

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29600

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 #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Created attachment 42429
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42429&action=edit
Patch which works for maxloc except for some cases

This patch works, sort of, but it fails with a segfault for

program main
  real, dimension(3) :: a
  call random_number(a)

  print *, maxloc(a)
end program main

Let's try some more things here...
>From gcc-bugs-return-579385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 17:10:21 2017
Return-Path: <gcc-bugs-return-579385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47173 invoked by alias); 21 Oct 2017 17: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 44478 invoked by uid 55); 21 Oct 2017 17:10:16 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82312] [7/8 Regression] [OOP] Pointer assignment to component of class variable results wrong vptr for the variable.
Date: Sat, 21 Oct 2017 17: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: 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82312-4-RGoYrKmtoK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82312-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82312-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02445.txt.bz2
Content-length: 1171

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82312

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Oct 21 17:09:43 2017
New Revision: 253976

URL: https://gcc.gnu.org/viewcvs?rev=253976&root=gcc&view=rev
Log:
2017-10-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82312
        * resolve.c (gfc_resolve_code): Simplify condition for class
        pointer assignments becoming regular assignments by asserting
        that only class valued targets are permitted.
        * trans-expr.c (trans_class_pointer_fcn): New function using a
        block of code from gfc_trans_pointer_assignment.
        (gfc_trans_pointer_assignment): Call the new function. Tidy up
        a minor whitespace issue.

2017-10-21  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/82312
        * gfortran.dg/typebound_proc_36.f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/typebound_proc_36.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/fortran/trans-expr.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 17:11:24 2017
Return-Path: <gcc-bugs-return-579386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97346 invoked by alias); 21 Oct 2017 17: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 87376 invoked by uid 48); 21 Oct 2017 17:11:20 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82312] [7/8 Regression] [OOP] Pointer assignment to component of class variable results wrong vptr for the variable.
Date: Sat, 21 Oct 2017 17: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.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82312-4-NcO9i47Lnz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82312-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82312-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02446.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82312

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> ---
Fixed on 7- and 8-branches.

Paul
>From gcc-bugs-return-579387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 17:13:06 2017
Return-Path: <gcc-bugs-return-579387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67503 invoked by alias); 21 Oct 2017 17:13: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 65364 invoked by uid 48); 21 Oct 2017 17:13:02 -0000
From: "gnu at pureftpd dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/69976] Zero the local stack on function exit
Date: Sat, 21 Oct 2017 17: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: gnu at pureftpd dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: andres.tiraboschi at tallertechnologies dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-69976-4-KSFtj3X9U2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69976-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69976-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02447.txt.bz2
Content-length: 391

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69976

Frank Denis <gnu at pureftpd dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnu at pureftpd dot org

--- Comment #12 from Frank Denis <gnu at pureftpd dot org> ---
Any update on this?
>From gcc-bugs-return-579388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 17:16:17 2017
Return-Path: <gcc-bugs-return-579388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106238 invoked by alias); 21 Oct 2017 17: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 100595 invoked by uid 48); 21 Oct 2017 17:16:13 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Sat, 21 Oct 2017 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: 4.7.2
X-Bugzilla-Keywords: wrong-code
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-57096-4-PvP1VhZ3ju@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02448.txt.bz2
Content-length: 453

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to janus from comment #8)
> (In reply to Jerry DeLisle from comment #7)
> > Let's close this one.
> 
> Please don't. I still see the wrong output with gfortran 7.2.
> 
> Dominique, did you consider the fact that two separate files are required to
> trigger the bug?

Sure, what is the status of your draft patch?
>From gcc-bugs-return-579390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 17:18:22 2017
Return-Path: <gcc-bugs-return-579390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101570 invoked by alias); 21 Oct 2017 17:18: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 97018 invoked by uid 48); 21 Oct 2017 17:18:19 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82312] [7/8 Regression] [OOP] Pointer assignment to component of class variable results wrong vptr for the variable.
Date: Sat, 21 Oct 2017 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: 8.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82312-4-RfDvbi1JkH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82312-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82312-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02450.txt.bz2
Content-length: 435

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82312

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jdhughes at usgs dot gov

--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
*** Bug 81898 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 17:18:22 2017
Return-Path: <gcc-bugs-return-579389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101214 invoked by alias); 21 Oct 2017 17:18: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 94851 invoked by uid 48); 21 Oct 2017 17:18:17 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81898] [7/8 Regression] [OOP] Issue with polymorphic container class
Date: Sat, 21 Oct 2017 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: 7.1.1
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: DUPLICATE
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-81898-4-mwmYe6m5Sr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81898-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81898-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02449.txt.bz2
Content-length: 783

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81898

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pault at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Hi Joe,

Many thanks for your report. As it happens, this is a duplicate and so you
won't get to achieve fame and fortune as the contributor of a testcase - sorry
about that.

Please keep on supporting us with bug reports.

Paul

*** This bug has been marked as a duplicate of bug 82312 ***
>From gcc-bugs-return-579391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 17:19:46 2017
Return-Path: <gcc-bugs-return-579391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34070 invoked by alias); 21 Oct 2017 17: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 31563 invoked by uid 48); 21 Oct 2017 17:19:41 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82652] New: missing -Wstringop-overflow on strncpy with -fcheck-pointer-bounds
Date: Sat, 21 Oct 2017 17:19: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.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-82652-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02451.txt.bz2
Content-length: 2424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82652

            Bug ID: 82652
           Summary: missing -Wstringop-overflow on strncpy with
                    -fcheck-pointer-bounds
           Product: gcc
           Version: 8.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: ---

When compiling without -fcheck-pointer-bounds the buffer overflow in all of the
calls below are diagnosed.  But when using -fcheck-pointer-bounds -mmpx none of
them is.

$ cat a.c && gcc -O2 -S -Wall -fcheck-pointer-bounds -mmpx a.c
extern char* stpncpy (char*, const char*, __SIZE_TYPE__);
extern char* strncpy (char*, const char*, __SIZE_TYPE__);

#define S "01234567"

char a[4];

char* f0 (void)
{
  return strncpy (a, S, sizeof S);   // missing -Wstringop-overflow
}

char* f1 (void)
{
  char b[sizeof S];
  __builtin_strcpy (b, S);

  return strncpy (a, b, sizeof b);   // missing -Wstringop-overflow
}

char* g0 (void)
{
  return stpncpy (a, S, sizeof S);   // missing -Wstringop-overflow
}

char* g1 (void)
{
  char b[sizeof S];
  __builtin_strcpy (b, S);

  return stpncpy (a, b, sizeof b);   // missing -Wstringop-overflow
}


The expected output is something like this (from the trunk of GCC 8.0; GCC 7.2
only diagnoses f0 and f1):

a.c: In function ‘f0’:
a.c:10:10: warning: ‘__builtin_memcpy’ writing 9 bytes into a region of size 4
overflows the destination [-Wstringop-overflow=]
   return strncpy (a, S, sizeof S);
          ^~~~~~~~~~~~~~~~~~~~~~~~
a.c: In function ‘f1’:
a.c:18:10: warning: ‘strncpy’ writing 9 bytes into a region of size 4 overflows
the destination [-Wstringop-overflow=]
   return strncpy (a, b, sizeof b);
          ^~~~~~~~~~~~~~~~~~~~~~~~
a.c: In function ‘g0’:
a.c:23:10: warning: ‘stpncpy’ writing 9 bytes into a region of size 4 overflows
the destination [-Wstringop-overflow=]
   return stpncpy (a, S, sizeof S);
          ^~~~~~~~~~~~~~~~~~~~~~~~
a.c: In function ‘g1’:
a.c:31:10: warning: ‘stpncpy’ writing 9 bytes into a region of size 4 overflows
the destination [-Wstringop-overflow=]
   return stpncpy (a, b, sizeof b);
          ^~~~~~~~~~~~~~~~~~~~~~~~
>From gcc-bugs-return-579392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 18:10:26 2017
Return-Path: <gcc-bugs-return-579392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109314 invoked by alias); 21 Oct 2017 18: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 109121 invoked by uid 48); 21 Oct 2017 18: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/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Sat, 21 Oct 2017 18: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-82628-4-fCHmcg8hvY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02452.txt.bz2
Content-length: 717

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42428|0                           |1
        is obsolete|                            |

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42430
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42430&action=edit
gcc8-pr82628.patch

Updated patch.  While this passes bootstrap, it still ICEs on a couple of
tests, e.g. -std=c11 -pedantic-errors -O1 c11-atomic-exec-2.c.  LRA doesn't
like the new constraint or something.
>From gcc-bugs-return-579393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 19:07:15 2017
Return-Path: <gcc-bugs-return-579393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29076 invoked by alias); 21 Oct 2017 19:07: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 29054 invoked by uid 48); 21 Oct 2017 19:07:10 -0000
From: "gebeele at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82653] New: Parameters assigned with functions (instead of literals) cannot be used in other modules
Date: Sat, 21 Oct 2017 19:07: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gebeele 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-82653-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02453.txt.bz2
Content-length: 1752

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82653

            Bug ID: 82653
           Summary: Parameters assigned with functions (instead of
                    literals) cannot be used in other modules
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gebeele at hotmail dot com
  Target Milestone: ---

Error message:

f951.exe: internal compiler error: in unquote_string, at fortran/module.c:1802
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
f951.exe: internal compiler error: Aborted

I think I was able to isolate the bug in a few lines in two files. The used
module (parameters.f90) is compiled. It contains parameters that have been
assigned not with literals, but with intrinsic functions. However, the module
that uses the parameters.f90 module is not compiled.

for this one it works >  gfortran -c parameters.f90
this does not work >    gfortran -c check_use_parameters.f90

parameters.f90

module parameters

    ! parameters defined using a function
    ! this module is compiled by GNU-Fortran
    character(len=1), parameter ::  NL=CHAR(10)          ! Unix end of line
    character(len=1), parameter ::  CR=CHAR(13)          ! DOS carriage-return

end module


check_use_parameters.f90

module check_use_parameters

    use parameters
    ! if inside the used module parameters where defined with a function
    ! GNU-Fortran CANNOT compile this module

    real :: x     ! this is just to write some other source code

end module
>From gcc-bugs-return-579394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 19:13:02 2017
Return-Path: <gcc-bugs-return-579394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95362 invoked by alias); 21 Oct 2017 19: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 86684 invoked by uid 48); 21 Oct 2017 19:12:56 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82652] missing -Wstringop-overflow on strncpy with -fcheck-pointer-bounds
Date: Sat, 21 Oct 2017 19: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.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-82652-4-FmfFWw0DYP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82652-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82652-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02454.txt.bz2
Content-length: 1909

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82652

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The problem is that there are no BUILT_IN_{STPNCPY,STRNCAT,STRNCPY}_CHKP macros
so these built-ins, even though their built-in function codes exist, are
handled just like ordinary functions.  To get the benefit of the compile-time
overflow checking the corresponding BUILT_IN_XXX_CHKP macros need to be added
along with handlers for them.

The following is the set of the built-ins for which the corresponding _CHKP
macros are defined.

$ find gcc -name "*.def" ! -path "*/testsuite/*" | xargs grep _CHKP | sed -n
"s/.*(\(BUILT_IN_[^, ]*\), *.*/\1/p"  | sort -u
BUILT_IN_CHKP_BNDCL
BUILT_IN_CHKP_BNDCU
BUILT_IN_CHKP_BNDLDX
BUILT_IN_CHKP_BNDMK
BUILT_IN_CHKP_BNDRET
BUILT_IN_CHKP_BNDSTX
BUILT_IN_CHKP_CHECK_PTR_BOUNDS
BUILT_IN_CHKP_CHECK_PTR_LBOUNDS
BUILT_IN_CHKP_CHECK_PTR_UBOUNDS
BUILT_IN_CHKP_COPY_PTR_BOUNDS
BUILT_IN_CHKP_EXTRACT_LOWER
BUILT_IN_CHKP_EXTRACT_UPPER
BUILT_IN_CHKP_GET_PTR_LBOUND
BUILT_IN_CHKP_GET_PTR_UBOUND
BUILT_IN_CHKP_INIT_PTR_BOUNDS
BUILT_IN_CHKP_INTERSECT
BUILT_IN_CHKP_MEMCPY_NOBND
BUILT_IN_CHKP_MEMCPY_NOBND_NOCHK
BUILT_IN_CHKP_MEMCPY_NOCHK
BUILT_IN_CHKP_MEMMOVE_NOBND
BUILT_IN_CHKP_MEMMOVE_NOBND_NOCHK
BUILT_IN_CHKP_MEMMOVE_NOCHK
BUILT_IN_CHKP_MEMPCPY_NOBND
BUILT_IN_CHKP_MEMPCPY_NOBND_NOCHK
BUILT_IN_CHKP_MEMPCPY_NOCHK
BUILT_IN_CHKP_MEMSET_NOBND
BUILT_IN_CHKP_MEMSET_NOBND_NOCHK
BUILT_IN_CHKP_MEMSET_NOCHK
BUILT_IN_CHKP_NARROW
BUILT_IN_CHKP_NARROW_PTR_BOUNDS
BUILT_IN_CHKP_NULL_PTR_BOUNDS
BUILT_IN_CHKP_SET_PTR_BOUNDS
BUILT_IN_CHKP_SIZEOF
BUILT_IN_CHKP_STORE_PTR_BOUNDS
BUILT_IN_MEMCPY
BUILT_IN_MEMCPY_CHK
BUILT_IN_MEMMOVE
BUILT_IN_MEMMOVE_CHK
BUILT_IN_MEMPCPY
BUILT_IN_MEMPCPY_CHK
BUILT_IN_MEMSET
BUILT_IN_MEMSET_CHK
BUILT_IN_STPCPY
BUILT_IN_STPCPY_CHK
BUILT_IN_STRCAT
BUILT_IN_STRCAT_CHK
BUILT_IN_STRCHR
BUILT_IN_STRCPY
BUILT_IN_STRCPY_CHK
BUILT_IN_STRLEN
>From gcc-bugs-return-579395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 20:25:32 2017
Return-Path: <gcc-bugs-return-579395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111385 invoked by alias); 21 Oct 2017 20: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 111368 invoked by uid 48); 21 Oct 2017 20:25:29 -0000
From: "tprince at intelretiree dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82654] New: i386_cfun_abi() not defined at point of use
Date: Sat, 21 Oct 2017 20: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tprince at intelretiree 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-82654-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02455.txt.bz2
Content-length: 523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82654

            Bug ID: 82654
           Summary: i386_cfun_abi() not defined at point of use
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tprince at intelretiree dot com
  Target Milestone: ---

trunk build fails, apparently this function is not visible at point of use,
target
x86_64-pc-cygwin
>From gcc-bugs-return-579396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 20:28:06 2017
Return-Path: <gcc-bugs-return-579396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112901 invoked by alias); 21 Oct 2017 20: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 112844 invoked by uid 48); 21 Oct 2017 20:28:02 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82654] i386_cfun_abi() not defined at point of use
Date: Sat, 21 Oct 2017 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.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-82654-4-9Xi6KAlepP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82654-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82654-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02456.txt.bz2
Content-length: 491

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82654

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> ---
Dup.

*** This bug has been marked as a duplicate of bug 82651 ***
>From gcc-bugs-return-579397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 20:28:06 2017
Return-Path: <gcc-bugs-return-579397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112911 invoked by alias); 21 Oct 2017 20: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 112865 invoked by uid 48); 21 Oct 2017 20:28:03 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82651] After r253879 GCC 8.0 can't build cross compiler for mingw32
Date: Sat, 21 Oct 2017 20:28: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: 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-82651-4-eVEhFYo37r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82651-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82651-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02457.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82651

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tprince at intelretiree dot com

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 82654 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 20:33:11 2017
Return-Path: <gcc-bugs-return-579398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116550 invoked by alias); 21 Oct 2017 20:33: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 116530 invoked by uid 48); 21 Oct 2017 20:33:07 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82655] New: missing -Walloc-size-larget-than with -fcheck-pointer-bounds
Date: Sat, 21 Oct 2017 20:33: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.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-82655-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02458.txt.bz2
Content-length: 2041

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82655

            Bug ID: 82655
           Summary: missing -Walloc-size-larget-than with
                    -fcheck-pointer-bounds
           Product: gcc
           Version: 8.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: ---

Without the -fcheck-pointer-bounds and -mmpx options, GCC issues a
-Walloc-size-larger-than warning for the following test case as expected.   But
with the two options it fails to do the same.

$ cat y.c && gcc -O2 -S -Wall -Walloc-size-larger-than=1023 
-fcheck-pointer-bounds -mmpx y.c
void* f (void *p, unsigned n)
{
  if (n < 1024)
    n = 1024;

  return __builtin_realloc (p, n);
}

The expected output is:

y.c:6:10: warning: argument 2 range [1024, 4294967295] exceeds maximum object
size 1023 [-Walloc-size-larger-than=]
   return __builtin_realloc (p, n);
          ^~~~~~~~~~~~~~~~~~~~~~~~
y.c:6:10: note: in a call to built-in allocation function ‘__builtin_realloc’


The problem is that that the maybe_warn_alloc_args_overflow() function in
calls.c fails to take into the account the difference between __builtin_realloc
signature when compiled with the option and without.  When
-fcheck-pointer-bounds is used, __builtin_realloc is declared like so:

  __builtin_realloc (void *ptr, bitsizetype ptrbounds, size_t n)

with bitsizetype being a 128 bit type.  Ptrbounds is then (mistakenly) used in
get_size_range() called from   maybe_warn_alloc_args_overflow() to try to
determine the range of the size of the allocation, which fails.

It seems to me that having -fcheck-pointer-bounds change the signature of
standard builtins wasn't the best idea, especially not changing the types of
existing arguments.  If the new arguments had instead been added after the
existing arguments this kind of mixup would not have been possible.
>From gcc-bugs-return-579399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 20:48:51 2017
Return-Path: <gcc-bugs-return-579399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107651 invoked by alias); 21 Oct 2017 20:48: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 107578 invoked by uid 48); 21 Oct 2017 20:48:46 -0000
From: "andreast at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/82635] std::thread's join broken on FreeBSD with all GCCs >= 5
Date: Sat, 21 Oct 2017 20:48: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andreast at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: andreast at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82635-4-BISEezJn70@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82635-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02459.txt.bz2
Content-length: 604

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635

Andreas Tobler <andreast at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |andreast at gcc dot gnu.org

--- Comment #11 from Andreas Tobler <andreast at gcc dot gnu.org> ---
For the record, in gcc5 this one went in:
md_unwind_header=i386/freebsd-unwind.h
Before we had no MD_FALLBACK_FRAME_STATE_FOR.

Will investigate.
>From gcc-bugs-return-579400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 20:56:33 2017
Return-Path: <gcc-bugs-return-579400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115315 invoked by alias); 21 Oct 2017 20: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 115272 invoked by uid 48); 21 Oct 2017 20:56:29 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82656] New: memset buffer overflow not detected after realloc with -fcheck-pointer-bounds
Date: Sat, 21 Oct 2017 20:56: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
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-82656-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02460.txt.bz2
Content-length: 2495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82656

            Bug ID: 82656
           Summary: memset buffer overflow not detected after realloc with
                    -fcheck-pointer-bounds
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

When the buggy program below is compiled without -fcheck-pointer-bounds it
triggers a -Wstringop-overflow warning due to the buffer overflow.  Running the
program then aborts as the buffer overflow is detected.

But when the same program is compiled with -fcheck-pointer-bounds -mmpx there
is no warning at compile time and the program then runs with the buffer
overflow undetected.  Since the entire purpose of the -fcheck-pointer-bounds
option is to detect invalid pointer accesses this seems like a severe bug
(hence the severity of major).

I suspect the root cause is the same as that of bug 82655: the signature of
__builtin_realloc is different with -fcheck-pointer-bounds than without (the
second argument is the pointer bounds in the former case and the allocation
size in the latter), but the function attributes are the same between both
built-ins.  That includes the alloc_size attribute which specifies the argument
number of the allocation size.

Output without -fcheck-pointer-bounds:

$ cat y.c && gcc -O2 -Wall -D_FORTIFY_SOURCE=2 y.c && ./a.out 
#include <string.h>

void* __attribute__ ((noclone, noinline))
f (void *p)
{
  void *q = __builtin_realloc (p, 32);
  if (!q)
    return 0;

  memset (q, 0, 123);
  return q;
}

int main (void)
{
  f (__builtin_malloc (1));
}
In file included from /usr/include/string.h:635:0,
                 from y.c:1:
In function ‘memset’,
    inlined from ‘f’ at y.c:10:3:
/usr/include/bits/string3.h:90:10: warning: ‘__builtin___memset_chk’ writing
123 bytes into a region of size 32 overflows the destination
[-Wstringop-overflow=]
   return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** buffer overflow detected ***: ./a.out terminated


Contrast that to compiling and running with -fcheck-pointer-bounds:

$ gcc -O2 -Wall -D_FORTIFY_SOURCE=2 -fcheck-pointer-bounds -mmpx y.c && ./a.out 
$
>From gcc-bugs-return-579401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 21:42:26 2017
Return-Path: <gcc-bugs-return-579401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55112 invoked by alias); 21 Oct 2017 21:42: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 55033 invoked by uid 48); 21 Oct 2017 21:42:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Sat, 21 Oct 2017 21: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-82628-4-dvZJfuIpdl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02461.txt.bz2
Content-length: 1051

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42430|0                           |1
        is obsolete|                            |

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42431
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42431&action=edit
gcc8-pr82628.patch

Oh, when it is a constraint, it is called with VOIDmode, so the predicate has
to check !TARGET_64BIT rather than mode == DImode.
With this, the results are better, still have to look at x86_64
+FAIL: gcc.target/i386/pr67317-2.c scan-assembler-not addb
+FAIL: gcc.target/i386/pr67317-4.c scan-assembler-not addb
and i686:
+FAIL: gcc.target/i386/pr50038.c scan-assembler-times movzbl 2 (found 3 times)
+FAIL: gcc.target/i386/pr67317-1.c scan-assembler-not addb
+FAIL: gcc.target/i386/pr67317-3.c scan-assembler-not addb
>From gcc-bugs-return-579402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 22:55:14 2017
Return-Path: <gcc-bugs-return-579402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125619 invoked by alias); 21 Oct 2017 22:55: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 125545 invoked by uid 48); 21 Oct 2017 22:55:09 -0000
From: "info at learnthreejs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/54027] [4.8 Regression] possible mis-optimization of signed left shift in c89 mode
Date: Sat, 21 Oct 2017 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: 4.8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: info at learnthreejs dot com
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: 4.8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-54027-4-H3E3WMMzEZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02462.txt.bz2
Content-length: 620

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54027

Tristan <info at learnthreejs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |info at learnthreejs dot com

--- Comment #7 from Tristan <info at learnthreejs dot com> ---
Still having an issue with the VRP shift.

New here, where can I check out this patch? Might need a refresh!

https://www.learnthreejs.com/beginners-tutorial/

Above is a resource I tested it on (my site). Still experiencing difficulties.
>From gcc-bugs-return-579403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 22:57:04 2017
Return-Path: <gcc-bugs-return-579403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74907 invoked by alias); 21 Oct 2017 22: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 68411 invoked by uid 48); 21 Oct 2017 22:56:59 -0000
From: "romain.geissler at amadeus dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/69725] LTO/PGO bootstrap fails with in-tree gmp
Date: Sat, 21 Oct 2017 22:57: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: romain.geissler at amadeus 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-69725-4-fHnMsKOWLE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69725-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69725-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02463.txt.bz2
Content-length: 1157

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69725

Romain Geissler <romain.geissler at amadeus dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |romain.geissler at amadeus dot com

--- Comment #18 from Romain Geissler <romain.geissler at amadeus dot com> ---
Hi,

This looks like this is a know problem when trying to build GMP with LTO.
Applying the attachment 9 from here:
https://gmplib.org/list-archives/gmp-bugs/2015-June/003691.html will fix the
issue.

In acinclude.m4, gmp tries to detect the endianness of doubles, by analyzing a
raw .o file with awk directly. Obviously an object file with slim LTO won't
look like any normal object file with real assembly, so the test fails during
the second stage ---> the configure script disable the double support.

This seems it was already reported several times on the GMP mailing list, for
example here as well:
https://gmplib.org/list-archives/gmp-bugs/2013-August/003118.html but it seems
to still not be fixed upstream.

Cheers,
Romain
>From gcc-bugs-return-579404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 21 23:04:49 2017
Return-Path: <gcc-bugs-return-579404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98119 invoked by alias); 21 Oct 2017 23:04: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 95611 invoked by uid 48); 21 Oct 2017 23:04:44 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82653] Parameters assigned with functions (instead of literals) cannot be used in other modules
Date: Sat, 21 Oct 2017 23: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: 5.3.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-82653-4-kPNP5F9rSM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82653-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82653-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02464.txt.bz2
Content-length: 965

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82653

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-21
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
WORKSFORME from 4.8 up to trunk (8.0), with the following test

module check_use_parameters

    use parameters
    ! if inside the used module parameters where defined with a function
    ! GNU-Fortran CANNOT compile this module

    real :: x     ! this is just to write some other source code

end module

use check_use_parameters

print *, ichar(NL), ichar(CR)

end

I get the expected answer

          10          13

at run time.

Note that gcc-5 is no longer supported.
>From gcc-bugs-return-579405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 07:24:51 2017
Return-Path: <gcc-bugs-return-579405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73205 invoked by alias); 22 Oct 2017 07: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 68505 invoked by uid 48); 22 Oct 2017 07:24:41 -0000
From: "gerald at pfeifer dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 and FreeBSD 11.1 because of abort redefinition
Date: Sun, 22 Oct 2017 07:24: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gerald at pfeifer 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc short_desc everconfirmed
Message-ID: <bug-82610-4-cpK9ZHqRuR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02465.txt.bz2
Content-length: 909

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610

Gerald Pfeifer <gerald at pfeifer dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-22
                 CC|                            |gerald at pfeifer dot com
            Summary|[8 Regression] Bootstrap    |[8 Regression] Bootstrap
                   |fails on macOS 10.13        |fails on macOS 10.13 and
                   |because of abort            |FreeBSD 11.1 because of
                   |redefinition                |abort redefinition
     Ever confirmed|0                           |1

--- Comment #3 from Gerald Pfeifer <gerald at pfeifer dot com> ---
Same on newer versions of FreeBSD  that use clang 4.0 as system compiler.
>From gcc-bugs-return-579406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 08:07:51 2017
Return-Path: <gcc-bugs-return-579406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9634 invoked by alias); 22 Oct 2017 08: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 3215 invoked by uid 48); 22 Oct 2017 08:07:47 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Sun, 22 Oct 2017 08: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: 5.4.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko 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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81924-4-iquiPTf7wF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02466.txt.bz2
Content-length: 249

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

--- Comment #10 from Matthias Klose <doko at gcc dot gnu.org> ---
hmm, can't remember anymore where the test case comes from ... :-/  Need to get
more consistent to add downstream bug numbers.
>From gcc-bugs-return-579407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 08:21:36 2017
Return-Path: <gcc-bugs-return-579407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91109 invoked by alias); 22 Oct 2017 08: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 88430 invoked by uid 48); 22 Oct 2017 08:21:30 -0000
From: "gebeele at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82653] Parameters assigned with functions (instead of literals) cannot be used in other modules
Date: Sun, 22 Oct 2017 08: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gebeele at hotmail 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-82653-4-xDQQhl3cJs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82653-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82653-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02467.txt.bz2
Content-length: 658

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82653

Gustavo Baños Lapuente <gebeele at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Gustavo Baños Lapuente <gebeele at hotmail dot com> ---
Dominique is right. I hadn't my gfortran compiler updated. Once upgraded to
gfortran 6.3 (the one available in MinGW), the feature works.
I change the status to resolved/invalid.
Sorry and thanks.
Gustavo.
>From gcc-bugs-return-579408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 08:31:37 2017
Return-Path: <gcc-bugs-return-579408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42522 invoked by alias); 22 Oct 2017 08: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 31275 invoked by uid 48); 22 Oct 2017 08:31:32 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Sun, 22 Oct 2017 08: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-muQWOpcTL4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02468.txt.bz2
Content-length: 2162

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #15 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #9)
> So, for the -1UL <= 1UL comparison, the cmpl instruction sets the CF, and
> then
> sbbl subtracts -1U (2nd operand) + 1U (CF) from 0U (1st operand/destination)
> and sets CF flag, but the RTL representation of this, i.e. comparison of
> (2nd operand + CF) and (1st operand), i.e. 0 and 0, doesn't set the CF.
> 
> From the description of SBBL, it is unclear if it sets CF according to
> op1 - (SImode) (op2 + CF) or (DImode) op1 - ((DImode) op2 + CF), but from
> the above it looks like in order to do this we rely on the latter, i.e. it
> is actually 0 - (0xffffffffULL + 1) == 0 - 0x100000000ULL = 0 with CF.
> 
> So, do we need to represent it differently in the instruction, as comparison
> in twice as wide mode?  I think we'd then need different patterns for signed
> and unsigned comparisons, one would sign-extend, the other zero-extend, and
> then perhaps just use CCOmode or CCZmode.

I was thinking to introduce cmp_doubleword and split it after reload. This is
the approach all other _doubleword patterns take, and hides from combine the
fact that these instructions are not 100% correctly described. IMO, this would
be the safest approach, and would also keep the true functionality of the
instruction up until the reload.

I though that since all registers die in the insn, it would be OK to split it
at the expand time. Apparently, it was not ;)

> Do we need to fix also subborrow<mode>?  What about the addcarry<mode>?

This is different, but related issue. IMO, we can make current patterns [the
ones with (plus (ltu (reg:CC 17 flags)(const_int 0 [0]))] available only after
reload (with a comment that they are not 100% correct) - thus hide them from
combine, and implement subborrow and addcarry with an unspec. These two are
generated from bultins anyway, so they are not expected to be combined.

If you agree, I'd propose to fix this PR with the introduction of
cmp_doubleword and open new PR to deal with subborrow and addcarry unspecs.
>From gcc-bugs-return-579409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 09:13:42 2017
Return-Path: <gcc-bugs-return-579409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1151 invoked by alias); 22 Oct 2017 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 125266 invoked by uid 48); 22 Oct 2017 09:13:37 -0000
From: "niqiuha at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82657] New: when using a template function pointer as a non-type template parameters, the template function will not be defined in some situation
Date: Sun, 22 Oct 2017 09:13: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: new-ra
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: niqiuha 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-82657-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02469.txt.bz2
Content-length: 1829

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82657

            Bug ID: 82657
           Summary: when using a template function pointer as a non-type
                    template parameters, the template function will not be
                    defined in some situation
           Product: gcc
           Version: new-ra
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: niqiuha at gmail dot com
  Target Milestone: ---

typedef bool(*func)(int);

//template<typename T = int>
//class TC1{
//  public:
//      static  bool test_func(T t){
//          return true;
//      }
//};

template<typename T=int>
bool test_func(T){
    return true;
}

template< func f = &test_func>
class TC2{
    public:
        TC2(){
            //uncomment the line below ,compile will pass
            //test_func(3);
            f(3);
        }
};

template<typename T = char>
class TC3{
    public:
        TC2<> mc;
        TC3() = default;
};

int main(){
    TC3<> tc3;
    //uncomment the line below ,compile will pass
    //TC2<> mc;
}

This piece of code compile ok  on clang 7.3.0 , But  fail to compile (
https://www.ideone.com/Dd092k )  on gcc 4.8.2, 5.2.0, 6.3 . 

Gcc error information : 
/tmp/ccW3jgBm.o: In function `TC2<&(bool test_func<int>(int))>::TC2()':
tempdef.cpp:(.text._ZN3TC2IXadL_Z9test_funcIiEbT_EEEC2Ev[_ZN3TC2IXadL_Z9test_funcIiEbT_EEEC5Ev]+0x12):
undefined reference to `bool test_func<int>(int)'
collect2: error: ld returned 1 exit status

I did some test , and found:
1. uncomment either line in code with special introduction will make this code
pass compile on gcc
2. change test_func from template function to static function of template
class, the error is same .
>From gcc-bugs-return-579410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 09:16:23 2017
Return-Path: <gcc-bugs-return-579410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80314 invoked by alias); 22 Oct 2017 09: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 71200 invoked by uid 48); 22 Oct 2017 09:16:19 -0000
From: "niqiuha at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82657] when using a template function pointer as a non-type template parameters, the template function will not be defined in some situation
Date: Sun, 22 Oct 2017 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: new-ra
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: niqiuha 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-82657-4-kSb77dZR9M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82657-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82657-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02470.txt.bz2
Content-length: 238

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82657

--- Comment #1 from la wanz <niqiuha at gmail dot com> ---
Created attachment 42432
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42432&action=edit
the code fail to compile
>From gcc-bugs-return-579411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 09:56:46 2017
Return-Path: <gcc-bugs-return-579411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122932 invoked by alias); 22 Oct 2017 09: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 122873 invoked by uid 48); 22 Oct 2017 09:56:42 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Sun, 22 Oct 2017 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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82569-4-lZTtvPpdS2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02471.txt.bz2
Content-length: 468

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
store_expr_with_bounds also has a special handling for promoted SUBREGs and it
would probably need to be changed too.  In the end, I think that the current
approach of not setting SUBREG_PROMOTED_VAR_P for problematic SSA_NAME
partitions isn't robust and even viable; we would need to stop promoting the
RTX altogether for it to really work.
>From gcc-bugs-return-579412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 09:57:26 2017
Return-Path: <gcc-bugs-return-579412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124050 invoked by alias); 22 Oct 2017 09: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 124003 invoked by uid 48); 22 Oct 2017 09:57:21 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Sun, 22 Oct 2017 09: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: 4.7.2
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-57096-4-EjQ2Uh9sF7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02472.txt.bz2
Content-length: 857

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |janus at gcc dot gnu.org

--- Comment #12 from janus at gcc dot gnu.org ---
Created attachment 42433
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42433&action=edit
patch

(In reply to Jerry DeLisle from comment #11)
> > Dominique, did you consider the fact that two separate files are required to
> > trigger the bug?
> 
> Sure, what is the status of your draft patch?

Did not properly apply to trunk any more. I'm attaching an update, which (as
before) fixes the problem for me (and regtests cleanly).
>From gcc-bugs-return-579413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 10:00:45 2017
Return-Path: <gcc-bugs-return-579413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126469 invoked by alias); 22 Oct 2017 10:00: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 126428 invoked by uid 48); 22 Oct 2017 10:00:41 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Sun, 22 Oct 2017 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: 4.7.2
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57096-4-KYVRtIT96I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02473.txt.bz2
Content-length: 230

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

--- Comment #13 from janus at gcc dot gnu.org ---
Jerry, are you actually able to reproduce the original problem from comment 0?

Or at least the one described in comment 3?
>From gcc-bugs-return-579414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 10:15:36 2017
Return-Path: <gcc-bugs-return-579414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86438 invoked by alias); 22 Oct 2017 10: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 77984 invoked by uid 48); 22 Oct 2017 10:15:31 -0000
From: "mike.k at digitalcarbide dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82658] New: Suboptimal codegen on AVR when right-shifting 8-bit unsigned integers.
Date: Sun, 22 Oct 2017 10: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mike.k at digitalcarbide 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-82658-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02474.txt.bz2
Content-length: 2092

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82658

            Bug ID: 82658
           Summary: Suboptimal codegen on AVR when right-shifting 8-bit
                    unsigned integers.
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mike.k at digitalcarbide dot com
  Target Milestone: ---

This issue has been validated to occur back as far as at least 5.4.0, and still
occurs in trunk.

When shifting an unsigned char/uint8_t right by less than 4 bits, suboptimal
code is generated. This behavior only occurs when compiling source files as
C++, not as C, even when the source file is equivalent otherwise. The issue
does not manifest with left shifts or with larger composite types (such as
uint16_t).

Trivial test:

void test ()
{
    volatile unsigned char val;
    unsigned char local = val;
    local >>= 1;
    val = local;
}

Compiling as C++ (avr-g++ [-O3|-O2] -mmcu=atmega2560 test.cpp -S -c -o test.s)
results in the following assembly sequence handling the load, shift, and store:

ldd r24,Y+1
ldi r25,0
asr r25
ror r24
std Y+1,r24

The next operation performed on r25 is a clr. Thus, ldi/asr/ror are entirely
equivalent to lsr in this situation, which is what the C frontend does:

Compiling as C (avr-gcc [-O3|-O2] -mmcu=atmega2560 test.c -S -c -o test.s)
results in the following assembly sequence handling the load, shift, and store:

ldd r24,Y+1
lsr r24
std Y+1,r24

This is optimal code. This is also the defined behavior in avr.c.

The issue becomes more problematic with larger shifts (up until 4, where the
defined behavior takes over again), as it generates the same instruction
sequence repeatedly, whereas gcc simply generates 'lsr; lsr; lsr', as expected.

Interestingly, the issue does _not_ manifest if one chooses to use an integer
division instead of a shift - if one divides the unsigned char by 2 instead of
shifting right 1, it emits 'lsr' as expected.
>From gcc-bugs-return-579415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 11:19:01 2017
Return-Path: <gcc-bugs-return-579415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103753 invoked by alias); 22 Oct 2017 11: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 103678 invoked by uid 48); 22 Oct 2017 11:18:57 -0000
From: "romain.geissler at amadeus dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/69725] LTO/PGO bootstrap fails with in-tree gmp
Date: Sun, 22 Oct 2017 11:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: romain.geissler at amadeus 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-69725-4-hlXFNTFOGz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69725-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69725-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02475.txt.bz2
Content-length: 249

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69725

--- Comment #19 from Romain Geissler <romain.geissler at amadeus dot com> ---
Note: don't forget to apply the gmp patch to the "configure" file too (wasted
some time myself because I did...)
>From gcc-bugs-return-579416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 12:11:30 2017
Return-Path: <gcc-bugs-return-579416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84161 invoked by alias); 22 Oct 2017 12:11: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 84121 invoked by uid 48); 22 Oct 2017 12:11:22 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82659] New: Unnecessary ENDBR in static/local functions
Date: Sun, 22 Oct 2017 12:11: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.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 blocked target_milestone
Message-ID: <bug-82659-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02476.txt.bz2
Content-length: 1986

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82659

            Bug ID: 82659
           Summary: Unnecessary ENDBR in static/local functions
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: igor.v.tsimbalist at intel dot com
            Blocks: 81652
  Target Milestone: ---

Since the address of the static function, test, is never taken, there
is no need for ENDBR:

[hjl@gnu-tools-1 cet-4]$ cat x.i
extern int x;

static void
__attribute__ ((noinline, noclone))
test (int i)
{
  x = i;
}

void
bar (int i)
{
  test (i);
}
[hjl@gnu-tools-1 cet-4]$ make
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -fcf-protection=full -mcet -O2
-S x.i
[hjl@gnu-tools-1 cet-4]$ cat x.s
        .file   "x.i"
        .text
        .p2align 4,,15
        .type   test, @function
test:
.LFB0:
        .cfi_startproc
        endbr64
        ^^^^^^^^^^^^^^^^^^ Not needed.
        movl    %edi, x(%rip)
        ret
        .cfi_endproc
.LFE0:
        .size   test, .-test
        .p2align 4,,15
        .globl  bar
        .type   bar, @function
bar:
.LFB1:
        .cfi_startproc
        endbr64
        jmp     test
        .cfi_endproc
.LFE1:
        .size   bar, .-bar
        .ident  "GCC: (GNU) 8.0.0 20171022 (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-tools-1 cet-4]$


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652
[Bug 81652] [meta-bug] -fcf-protection=full -mcet bugs
>From gcc-bugs-return-579417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 13:04:29 2017
Return-Path: <gcc-bugs-return-579417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42958 invoked by alias); 22 Oct 2017 13: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 42921 invoked by uid 48); 22 Oct 2017 13:04:25 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug boehm-gc/50877] link.h not found when I add --enable-objc-gc
Date: Sun, 22 Oct 2017 13:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: boehm-gc
X-Bugzilla-Version: 4.6.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: bug_status resolution
Message-ID: <bug-50877-4-7ectuoiPGN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-50877-4@http.gcc.gnu.org/bugzilla/>
References: <bug-50877-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02477.txt.bz2
Content-length: 613

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50877

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> Does --enable-objc-gc still cause build failures for you now that it
> requires an external installation of boehm-gc?

No response; closing.
>From gcc-bugs-return-579418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 13:26:45 2017
Return-Path: <gcc-bugs-return-579418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115978 invoked by alias); 22 Oct 2017 13: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 115962 invoked by uid 48); 22 Oct 2017 13:26:41 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82660] New: Bounds checking in conversions of intrinsic functions
Date: Sun, 22 Oct 2017 13:26: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: 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-82660-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02478.txt.bz2
Content-length: 1149

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82660

            Bug ID: 82660
           Summary: Bounds checking in conversions of intrinsic functions
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

This variant of maxloc_bounds_4.f90

module tst
contains
  subroutine foo(res)
    integer(kind=4), allocatable :: f(:,:)
    integer(kind=8) , dimension(:) :: res
    allocate (f(2,5))
    f = 3
    res = maxloc(f)
  end subroutine foo

end module tst
program main
  use tst
  implicit none
  integer(kind=8) :: res(3)
  call foo(res)
end program main

does not trigger a bounds check with -fcheck=all.

It is translated to

    ASSIGN foo:res(FULL)
__convert_i4_i8[[((_gfortran_maxloc0_4_i4[[((foo:f(FULL)) ((arg not-present))
((arg not-present)))]]))]]

and the __convert_i4_i8 call hides the conversion from the
library code for bounds checking, and does not do any bounds
checking by itself.
>From gcc-bugs-return-579419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 13:28:52 2017
Return-Path: <gcc-bugs-return-579419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130135 invoked by alias); 22 Oct 2017 13: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 130069 invoked by uid 48); 22 Oct 2017 13:28:48 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/29600] [F03] MINLOC and MAXLOC take an optional KIND argument
Date: Sun, 22 Oct 2017 13: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.3.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: enhancement
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.isobsolete attachments.created
Message-ID: <bug-29600-4-L7nIL5aUA3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-29600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-29600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02479.txt.bz2
Content-length: 695

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29600

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42429|0                           |1
        is obsolete|                            |

--- Comment #14 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Created attachment 42434
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42434&action=edit
Patch that works mostly

This patch mostly works except that

- it does not yet remove unneeded library functions
- The conversion makes some bounds checking cases fail
  (see PR82660).
>From gcc-bugs-return-579420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 13:40:48 2017
Return-Path: <gcc-bugs-return-579420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113287 invoked by alias); 22 Oct 2017 13:40: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 111247 invoked by uid 48); 22 Oct 2017 13:40:44 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/29600] [F03] MINLOC and MAXLOC take an optional KIND argument
Date: Sun, 22 Oct 2017 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: 4.3.0
X-Bugzilla-Keywords: rejects-valid
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 assigned_to
Message-ID: <bug-29600-4-WkZQh1XU3D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-29600-4@http.gcc.gnu.org/bugzilla/>
References: <bug-29600-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02480.txt.bz2
Content-length: 497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29600

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|tkoenig at gcc dot gnu.org         |unassigned at gcc dot gnu.org

--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Out of ideas at the moment, unassigning myself.
>From gcc-bugs-return-579421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 13:42:05 2017
Return-Path: <gcc-bugs-return-579421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74140 invoked by alias); 22 Oct 2017 13:42: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 68215 invoked by uid 48); 22 Oct 2017 13:42:01 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82660] Bounds checking in conversions of intrinsic functions
Date: Sun, 22 Oct 2017 13: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: 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 cf_reconfirmed_on everconfirmed
Message-ID: <bug-82660-4-6OZLqug57e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82660-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82660-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02481.txt.bz2
Content-length: 549

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82660

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-22
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 4.8 up to trunk (8.0). Many be related to pr82243.
>From gcc-bugs-return-579423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 14:01:13 2017
Return-Path: <gcc-bugs-return-579423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107160 invoked by alias); 22 Oct 2017 14:01: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 107122 invoked by uid 48); 22 Oct 2017 14:01:09 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/48997] Don't use allocatable arrays for function elimination
Date: Sun, 22 Oct 2017 14:01: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.7.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 resolution
Message-ID: <bug-48997-4-LvskREYRXa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48997-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48997-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02483.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48997
Bug 48997 depends on bug 48025, which changed state.

Bug 48025 Summary: Unnecessary function evaluations in arguments to size and ubound
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48025

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX
>From gcc-bugs-return-579422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 14:01:13 2017
Return-Path: <gcc-bugs-return-579422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107152 invoked by alias); 22 Oct 2017 14: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 107104 invoked by uid 48); 22 Oct 2017 14:01:08 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/48025] Unnecessary function evaluations in arguments to size and ubound
Date: Sun, 22 Oct 2017 14: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: 4.6.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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: bug_status resolution
Message-ID: <bug-48025-4-BdC3vjcWdJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48025-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48025-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02482.txt.bz2
Content-length: 518

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48025

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Since the need of using this for matmul has gone away,
I think I'll just close this as WONTFIX.
>From gcc-bugs-return-579424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 14:19:00 2017
Return-Path: <gcc-bugs-return-579424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34263 invoked by alias); 22 Oct 2017 14: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 26938 invoked by uid 48); 22 Oct 2017 14:18:55 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/35276] Doc should described how to compile mixed-language programs
Date: Sun, 22 Oct 2017 14: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.4.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: enhancement
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: bug_status cc
Message-ID: <bug-35276-4-2Y6c3lddW4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-35276-4@http.gcc.gnu.org/bugzilla/>
References: <bug-35276-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02484.txt.bz2
Content-length: 536

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I think we can close this. The preferred way is to
use C interop. Anybody mind if I close this?
>From gcc-bugs-return-579425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 14:21:53 2017
Return-Path: <gcc-bugs-return-579425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18631 invoked by alias); 22 Oct 2017 14:21: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 11077 invoked by uid 55); 22 Oct 2017 14:21:48 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Sun, 22 Oct 2017 14: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82233-4-RZ6gXXPsw9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02485.txt.bz2
Content-length: 931

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #22 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Oct 22 14:21:16 2017
New Revision: 253983

URL: https://gcc.gnu.org/viewcvs?rev=253983&root=gcc&view=rev
Log:
2017-10-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR libfortran/82233
        * intrinsics/execute_command_line.c (execute_command_line):
        No call to runtime_error if cmdstat is present.

2017-10-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR libfortran/82233
        * gfortran.dg/execute_command_line_3.f90: New test.


Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/execute_command_line_3.f90
Modified:
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/libgfortran/ChangeLog
    branches/gcc-6-branch/libgfortran/intrinsics/execute_command_line.c
>From gcc-bugs-return-579426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 14:23:49 2017
Return-Path: <gcc-bugs-return-579426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76659 invoked by alias); 22 Oct 2017 14:23: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 76601 invoked by uid 48); 22 Oct 2017 14:23:46 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)
Date: Sun, 22 Oct 2017 14:23: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: 6.4.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: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82233-4-HQ5U923NMU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02486.txt.bz2
Content-length: 614

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #23 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on all open branches, closing.

Abut the failing test case - this is really a problem with
the test system, this would work on real hardware. If anybody has
a solution, please implement.
>From gcc-bugs-return-579427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 14:29:59 2017
Return-Path: <gcc-bugs-return-579427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118267 invoked by alias); 22 Oct 2017 14:29: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 118223 invoked by uid 48); 22 Oct 2017 14:29:54 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/35276] Doc should described how to compile mixed-language programs
Date: Sun, 22 Oct 2017 14: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.4.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: enhancement
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-35276-4-SjE9QFJrMn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-35276-4@http.gcc.gnu.org/bugzilla/>
References: <bug-35276-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02487.txt.bz2
Content-length: 300

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35276

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I think we can close this. The preferred way is to
> use C interop. Anybody mind if I close this?

Or "is there important things to add to 7 Mixed-Language Programming?".
>From gcc-bugs-return-579428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 16:10:02 2017
Return-Path: <gcc-bugs-return-579428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23178 invoked by alias); 22 Oct 2017 16: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 16106 invoked by uid 48); 22 Oct 2017 16:09:57 -0000
From: "i at jsteward dot moe" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82661] New: internal compiler error: verify_gimple failed for gccgo on sparc64
Date: Sun, 22 Oct 2017 16:10: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: i at jsteward dot moe
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 attachments.created
Message-ID: <bug-82661-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02488.txt.bz2
Content-length: 2726

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82661

            Bug ID: 82661
           Summary: internal compiler error: verify_gimple failed for
                    gccgo on sparc64
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: i at jsteward dot moe
                CC: cmang at google dot com
  Target Milestone: ---

Created attachment 42435
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42435&action=edit
dialer.go which caused the problem

# v2ray.com/core/transport/internet
transport/internet/dialer.go: In function ‘internet.DialSystem’:
transport/internet/dialer.go:54:1: error: non-trivial conversion at assignment
 func DialSystem(ctx context.Context, src net.Address, dest net.Destination)
(net.Conn, error) {
 ^
struct Conn
struct Conn
RESULT.262.UNNAMED = $ret45;
transport/internet/dialer.go:54:1: internal compiler error: verify_gimple
failed
0x908143 verify_gimple_in_seq(gimple*)
        ../../gcc/gcc/tree-cfg.c:5063
0x611d67 gimplify_body(tree_node*, bool)
        ../../gcc/gcc/gimplify.c:12599
0x6121b7 gimplify_function_tree(tree_node*)
        ../../gcc/gcc/gimplify.c:12689
0x33fce7 Gcc_backend::write_global_definitions(std::vector<Btype*,
std::allocator<Btype*> > const&, std::vector<Bexpression*,
std::allocator<Bexpression*> > const&, std::vector<Bfunction*,
std::allocator<Bfunction*> > const&, std::vector<Bvariable*,
std::allocator<Bvariable*> > const&)
        ../../gcc/gcc/go/go-gcc.cc:3214
0x365f77 Gogo::write_globals()
        ../../gcc/gcc/go/gofrontend/gogo.cc:1504
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.

-----------------------------------------------------

$ gcc -v
Using built-in specs.
COLLECT_GCC=gccgo
COLLECT_LTO_WRAPPER=/opt/gccgo/libexec/gcc/sparc64-unknown-linux-gnu/8.0.0/lto-wrapper
Target: sparc64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/opt/gccgo
--enable-languages=c,c++,go --disable-multilib --with-ld=/usr/bin/ld.gold
Thread model: posix
gcc version 8.0.0 20171022 (experimental) (GCC)

The source was cloned from https://github.com/gcc-mirror/gcc .

-----------------------------------------------------

The source file that caused the problem (transport/internet/dialer.go) is
attached (don't know how to attach the preprocessed source with gccgo; directly
with gccgo -E throws tons of errors).

The project home page if you're interested: https://github.com/v2ray/v2ray-core
>From gcc-bugs-return-579429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 17:11:26 2017
Return-Path: <gcc-bugs-return-579429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60815 invoked by alias); 22 Oct 2017 17: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 60756 invoked by uid 48); 22 Oct 2017 17:11:22 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/56342] MATMUL with PARAMETER: Simplification usually doesn't work
Date: Sun, 22 Oct 2017 17:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords: missed-optimization
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-56342-4-gqvaaToyOU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56342-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56342-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02489.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56342

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 #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Yes, simplification is the key.
>From gcc-bugs-return-579430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 18:05:56 2017
Return-Path: <gcc-bugs-return-579430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70200 invoked by alias); 22 Oct 2017 18:05: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 70125 invoked by uid 55); 22 Oct 2017 18:05:51 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Sun, 22 Oct 2017 18: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: 8.0
X-Bugzilla-Keywords:
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-unBHZgHKdi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02490.txt.bz2
Content-length: 703

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #16 from uros at gcc dot gnu.org ---
Author: uros
Date: Sun Oct 22 18:05:17 2017
New Revision: 253985

URL: https://gcc.gnu.org/viewcvs?rev=253985&root=gcc&view=rev
Log:
        PR target/82628
        * config/i386/i386.md (cmp<dwi>_doubleword): New pattern.
        * config/i386/i386.c (ix86_expand_branch) <case E_TImode>:
        Expand with cmp<dwi>_doubleword.

testsuite/ChangeLog:

        PR target/82628
        * gcc.dg/torture/pr82628.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82628.c
Modified:
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 18:35:52 2017
Return-Path: <gcc-bugs-return-579431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66383 invoked by alias); 22 Oct 2017 18: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 64457 invoked by uid 48); 22 Oct 2017 18:35:48 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82662] New: ifcvt is not performed on double-word compare
Date: Sun, 22 Oct 2017 18:35: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: 8.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: ---
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-82662-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02491.txt.bz2
Content-length: 1368

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82662

            Bug ID: 82662
           Summary: ifcvt is not performed on double-word compare
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com
  Target Milestone: ---

Following testcase:

int foo (__int128 a, __int128 b)
{
  return a < b;
}

compiles to:

        movq    %rsi, %r10
        cmpq    %rdx, %rdi
        movl    $1, %eax
        sbbq    %rcx, %r10
        jl      .L2
        xorl    %eax, %eax
.L2:
        rep ret

For some reason ifcvt is not performed, although the candidate is detected in
ce1 pass:

    8: NOTE_INSN_FUNCTION_BEG
   11: r95:SI=0x1
   12: {flags:CCGZ=cmp(r89:TI,r93:TI);clobber scratch;}
      REG_DEAD r93:TI
      REG_DEAD r89:TI
   13: pc={(flags:CCGZ<0)?L15:pc}
      REG_DEAD flags:CCGZ
      REG_BR_PROB 536870912

   23: NOTE_INSN_BASIC_BLOCK 3
   14: r95:SI=0

   15: L15:
   24: NOTE_INSN_BASIC_BLOCK 4
   20: ax:SI=r95:SI
      REG_DEAD r95:SI
   21: use ax:SI

IF-THEN-JOIN block found, pass 1, test 2, then 3, join 4


========== no more changes

1 possible IF blocks searched.
0 IF blocks converted.
0 true changes made.
>From gcc-bugs-return-579432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 18:43:45 2017
Return-Path: <gcc-bugs-return-579432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94777 invoked by alias); 22 Oct 2017 18:43: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 89456 invoked by uid 48); 22 Oct 2017 18:43:41 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/78278] ICE in gfc_wide_memset, at fortran/scanner.c:153
Date: Sun, 22 Oct 2017 18: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: 7.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-78278-4-IwvVq2GWtF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78278-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02492.txt.bz2
Content-length: 258

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78278

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Note that compiling the code in comment 0 with -std=f95 does not trigger
> the error ...

Is it enough to keep this PR opened?
>From gcc-bugs-return-579433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 18:52:31 2017
Return-Path: <gcc-bugs-return-579433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82159 invoked by alias); 22 Oct 2017 18:52: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 82128 invoked by uid 48); 22 Oct 2017 18:52:26 -0000
From: "lappisstudent at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82663] New: optimizer duplicates assembly jump label (when -std=c++11 and -O3)
Date: Sun, 22 Oct 2017 18: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: lappisstudent 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 attachments.created
Message-ID: <bug-82663-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02493.txt.bz2
Content-length: 2930

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82663

            Bug ID: 82663
           Summary: optimizer duplicates assembly jump label (when
                    -std=c++11 and -O3)
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lappisstudent at hotmail dot com
  Target Milestone: ---

Created attachment 42436
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42436&action=edit
Preprocessed source

Assembly blocks such as the one below are duplicated by the optimizer in
certain situations (loop unrolling?), which makes it impossible for the
assembler to compile the program (duplicated jump labels at multiple
positions). If I don't use the -std=c++11 flag, there are no problem regardless
of the optimization settings I've tried.

__asm__
__volatile__("i_want_to_let_a_macro_add_a_few_things_here_including_this_label:\n\t");
__asm__ __volatile__("cpuid\n\t" : "=a" (a), "=b" (b), "=c" (c), "=d" (d) : "0"
(0));


g++ version:
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
5.4.0-6ubuntu1~16.04.5' --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-vtable-verify --enable-libmpx --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-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --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 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 


the complete command line that triggers the bug:
g++ main.cpp -std=c++11 -O3 -save-temps -c -o delme


the compiler output (error messages, warnings, etc.):
main.cpp: Assembler messages:
main.cpp:58: Error: symbol
`i_want_to_let_a_macro_add_a_few_things_here_including_this_label' is already
defined
>From gcc-bugs-return-579434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 19:05:14 2017
Return-Path: <gcc-bugs-return-579434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35581 invoked by alias); 22 Oct 2017 19:05: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 35544 invoked by uid 55); 22 Oct 2017 19:05:08 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons
Date: Sun, 22 Oct 2017 19: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uros 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-52451-4-IgtSf16f2r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52451-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02494.txt.bz2
Content-length: 655

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451

--- Comment #5 from uros at gcc dot gnu.org ---
Author: uros
Date: Sun Oct 22 19:04:36 2017
New Revision: 253986

URL: https://gcc.gnu.org/viewcvs?rev=253986&root=gcc&view=rev
Log:
        PR target/52451
        * config/i386/i386.c (ix86_fp_compare_mode): Return CCFPmode
        for ordered inequality comparisons even with TARGET_IEEE_FP.

testsuite/ChangeLog:

        PR target/52451
        * gcc.dg/torture/pr52451.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr52451.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 19:07:11 2017
Return-Path: <gcc-bugs-return-579435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36960 invoked by alias); 22 Oct 2017 19:07:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 36913 invoked by uid 48); 22 Oct 2017 19:07:07 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons
Date: Sun, 22 Oct 2017 19: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: unknown
X-Bugzilla-Keywords:
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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget bug_status resolution assigned_to target_milestone
Message-ID: <bug-52451-4-4iVqubdogS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52451-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02495.txt.bz2
Content-length: 707

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |ubizjak at gmail dot com
   Target Milestone|---                         |8.0

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed on x86.

For reference, the testcase will fail on powerpc (PR 58684) and s390 (PR
77918).
>From gcc-bugs-return-579436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 19:44:15 2017
Return-Path: <gcc-bugs-return-579436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106782 invoked by alias); 22 Oct 2017 19: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 106743 invoked by uid 48); 22 Oct 2017 19:44:10 -0000
From: "furkanusta17 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82664] New: Internal Compiler Error when using Match7 library
Date: Sun, 22 Oct 2017 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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: furkanusta17 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-82664-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02496.txt.bz2
Content-length: 1014

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82664

            Bug ID: 82664
           Summary: Internal Compiler Error when using Match7 library
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: furkanusta17 at gmail dot com
  Target Milestone: ---

Hi, I was testing Match7 library and got internal compiler error in one of the
tests. I am not sure what is the exact reason that is why title is a bit vague.
I can provide more information if necessary.

Link for the library: https://github.com/solodon4/Mach7
It happens at tests/unit/example03.cpp

I am using gcc 7.2.1 on Fedora 26, I've passed only -I flag to the compiler. 

I was planning to attach a reduced test case but submission guideline suggests
me to avoid submitting zip files and just send .ii file. If it is necessary I
can attach the test case as well.
>From gcc-bugs-return-579437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 20:32:18 2017
Return-Path: <gcc-bugs-return-579437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36238 invoked by alias); 22 Oct 2017 20:32: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 36216 invoked by uid 48); 22 Oct 2017 20:32:13 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82665] New: missing value range optimization for memchr
Date: Sun, 22 Oct 2017 20:32: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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-82665-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02497.txt.bz2
Content-length: 2464

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82665

            Bug ID: 82665
           Summary: missing value range optimization for memchr
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

VRP optimizes the first three out of the four equivalent functions below into
no-ops.  In f3() it's possible to make the same assumption about the argument
of memchr() (and thus the result) as for that of all the other calls: that it
contains a zero byte in the first PTRDIFF_MAX - 1 bytes, and thus that the
difference between a pointer to the zero byte and the beginning of the array is
less than PTRDIFF_MAX.

$ cat y.c && gcc -O2 -S -Wall -fdump-tree-vrp=/dev/stdout y.c

void f0 (char *p)
{
  unsigned long n = 0;

  while (*p)
    ++n;

  if (n >= __PTRDIFF_MAX__)
    __builtin_abort ();
}

void f1 (char *p)
{
  unsigned long n = __builtin_strlen (p);

  if (n >= __PTRDIFF_MAX__)
    __builtin_abort ();
}

void f2 (char *p)
{
  char *q = __builtin_strchr (p, 0);
  unsigned long n = q - p;

  if (n >= __PTRDIFF_MAX__)
    __builtin_abort ();
}

void f3 (char *p)
{
  char *q = __builtin_memchr (p, 0, __SIZE_MAX__);
  unsigned long n = q - p;

  if (n >= __PTRDIFF_MAX__)
    __builtin_abort ();
}
...
Value ranges after VRP:

q.2_1: VARYING
p.3_2: ~[0, 0]
_3: VARYING
p_5(D): VARYING
q_6: VARYING
n_7: [0, +INF]
p_9: ~[0B, 0B]  EQUIVALENCES: { p_5(D) } (1 elements)


f3 (char * p)
{
  long unsigned int n;
  char * q;
  long int q.2_1;
  long int p.3_2;
  long int _3;

  <bb 2> [100.00%] [count: INV]:
  q_6 = __builtin_memchr (p_5(D), 0, 18446744073709551615);
  q.2_1 = (long int) q_6;
  p.3_2 = (long int) p_5(D);
  _3 = q.2_1 - p.3_2;
  n_7 = (long unsigned int) _3;
  if (n_7 > 9223372036854775806)
    goto <bb 3>; [0.04%]
  else
    goto <bb 4>; [99.96%]

  <bb 3> [0.04%] [count: 0]:
  __builtin_abort ();

  <bb 4> [99.96%] [count: INV]:
  return;

}


y.c: In function ‘f3’:
y.c:31:13: warning: ‘__builtin_memchr’ specified size 18446744073709551615
exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   char *q = __builtin_memchr (p, 0, __SIZE_MAX__);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>From gcc-bugs-return-579438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 20:33:26 2017
Return-Path: <gcc-bugs-return-579438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50684 invoked by alias); 22 Oct 2017 20: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 47954 invoked by uid 48); 22 Oct 2017 20:33:22 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82665] missing value range optimization for memchr
Date: Sun, 22 Oct 2017 20: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: missed-optimization
X-Bugzilla-Severity: enhancement
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: keywords see_also
Message-ID: <bug-82665-4-aN3dMoUICo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82665-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82665-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02498.txt.bz2
Content-length: 607

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82665

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=82571

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
See also bug 82571 for another memchr optimization, this one in
tree-ssa-strlen.c.
>From gcc-bugs-return-579439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 22:56:54 2017
Return-Path: <gcc-bugs-return-579439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21841 invoked by alias); 22 Oct 2017 22: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 21759 invoked by uid 48); 22 Oct 2017 22:56:50 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82666] New: [7/8 regression]: sum += (x>128 ? x : 0) puts the cmov on the critical path (at -O2)
Date: Sun, 22 Oct 2017 22:56: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.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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget
Message-ID: <bug-82666-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02499.txt.bz2
Content-length: 3062

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82666

            Bug ID: 82666
           Summary: [7/8 regression]: sum += (x>128 ? x : 0) puts the cmov
                    on the critical path (at -O2)
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peter at cordes dot ca
  Target Milestone: ---
            Target: x86_64-*-*, i?86-*-*

long long sumarray(const int *data)
{
    data = (const int*)__builtin_assume_aligned(data, 64);
    long long sum = 0;
    for (int c=0 ; c<32768 ; c++)
        sum += (data[c] >= 128 ? data[c] : 0);

    return sum;
}

The loop body is written to encourage gcc to make the loop-carried dep chain
just an ADD, with independent branchless zeroing of each input.  But
unfortunately, gcc7 and gcc8 -O2 de-optimize it back to what we get with older
gcc -O3 from

        if (data[c] >= 128)  // doesn't auto-vectorize with gcc4, unlike the
above
            sum += data[c];

See also
https://stackoverflow.com/questions/28875325/gcc-optimization-flag-o3-makes-code-slower-then-o2.


https://godbolt.org/g/GgVp7E
gcc8.0 8.0.0 20171022  -O2 -mtune=haswell  (slow)

        leaq    131072(%rdi), %rsi
        xorl    %eax, %eax
.L3:
        movslq  (%rdi), %rdx
        movq    %rdx, %rcx
        addq    %rax, %rdx      # mov+add could have been LEA
        cmpl    $127, %ecx
        cmovg   %rdx, %rax      # sum = (x>=128 : sum+x : sum)
        addq    $4, %rdi
        cmpq    %rsi, %rdi
        jne     .L3
        ret

This version has a 3 cycle latency loop-carried dep chain, (addq %rax, %rdx 
and cmov).  It's also 8 fused-domain uops (1 more than older gcc) but using LEA
would fix that.


gcc6.3 -O2 -mtune=haswell (last good version of gcc on Godbolt, for this test)

        leaq    131072(%rdi), %rsi
        xorl    %eax, %eax
        xorl    %ecx, %ecx          # extra zero constant for a cmov source
.L3:
        movslq  (%rdi), %rdx
        cmpl    $127, %edx
        cmovle  %rcx, %rdx          # rdx = 0 when rdx<=128
        addq    $4, %rdi
        addq    %rdx, %rax          # sum += ... critical path 1c latency
        cmpq    %rsi, %rdi
        jne     .L3
        ret

7 fused-domain uops in the loop (cmov is 2 with 2c latency before Broadwell). 
Should run at 1.75 cycles per iter on Haswell (or slightly slower due to an odd
number of uops in the loop buffer), bottlenecked on the front-end.  The latency
bottleneck is only 1 cycle.  (Which Ryzen might come closer to.)

Anyway, on Haswell (with -mtune=haswell), the function should be more than 1.5x
slower with gcc7/8 than with gcc6 and earlier.

Moreover, gcc should try to optimize something like this:

        if (data[c] >= 128)
            sum += data[c];

into conditionally zeroing a register instead of using a loop-carried cmov dep
chain.
>From gcc-bugs-return-579440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 22 23:05:03 2017
Return-Path: <gcc-bugs-return-579440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28507 invoked by alias); 22 Oct 2017 23: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 28435 invoked by uid 48); 22 Oct 2017 23:04:59 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82663] optimizer duplicates assembly jump label (when -std=c++11 and -O3)
Date: Sun, 22 Oct 2017 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: 5.4.0
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 cc resolution
Message-ID: <bug-82663-4-OsYSM2gMNw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82663-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82663-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02500.txt.bz2
Content-length: 940

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82663

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |segher at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
That's not valid code.  See the last paragraph of
https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Extended-Asm.html#Volatile :

Under certain circumstances, GCC may duplicate (or remove duplicates of)
your assembly code when optimizing. This can lead to unexpected duplicate
symbol errors during compilation if your asm code defines symbols or labels.
Using ‘%=’ (see AssemblerTemplate) may help resolve this problem.
>From gcc-bugs-return-579441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 01:30:05 2017
Return-Path: <gcc-bugs-return-579441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117068 invoked by alias); 23 Oct 2017 01:30: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 116914 invoked by uid 48); 23 Oct 2017 01:29:59 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82667] New: SSE2 redundant pcmpgtd for sign-extension of values known to be >= 0
Date: Mon, 23 Oct 2017 01:30: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.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82667-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02501.txt.bz2
Content-length: 3054

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82667

            Bug ID: 82667
           Summary: SSE2 redundant pcmpgtd for sign-extension of values
                    known to be >= 0
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: missed-optimization, ssemmx
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peter at cordes dot ca
  Target Milestone: ---

long long sumarray(const int *data)
{
    data = (const int*)__builtin_assume_aligned(data, 64);
    long long sum = 0;
    for (int c=0 ; c<32768 ; c++)
        sum += (data[c] >= 128 ? data[c] : 0);

    return sum;
}

// Same function as pr 82666, see that for scalar cmov choices.

Same result with

        if (data[c] >= 128)
            sum += data[c];

https://godbolt.org/g/NwcPmh

gcc 8.0.0 20171022 -O3

        movdqa  .LC0(%rip), %xmm5          # set1(127)
        leaq    131072(%rdi), %rax
        pxor    %xmm2, %xmm2         # accumulator
        pxor    %xmm4, %xmm4         # for Intel CPUs we should re-materialize
with pxor inside the loop instead instead of movdqa.  But not AMD
.L2:
        movdqa  (%rdi), %xmm0
        addq    $16, %rdi
        movdqa  %xmm0, %xmm1
        pcmpgtd %xmm5, %xmm1
        pand    %xmm1, %xmm0
        # so far so good: we have conditionally zeroed xmm0

        movdqa  %xmm4, %xmm1
        pcmpgtd %xmm0, %xmm1    # 0 > x to generate high-half for
sign-extension
        movdqa  %xmm0, %xmm3

        punpckldq       %xmm1, %xmm3   # unpack with compare result
        punpckhdq       %xmm1, %xmm0   # (instead of just zero)
        paddq   %xmm3, %xmm2
        paddq   %xmm0, %xmm2
        cmpq    %rdi, %rax
        jne     .L2
        movdqa  %xmm2, %xmm0
        psrldq  $8, %xmm0       # requires a wasted movdqa vs. pshufd or
movhlps
        paddq   %xmm2, %xmm0
        movq    %xmm0, %rax
        ret

There are multiple inefficiencies that I pointed out in comments, but this bug
report is about doing sign extension when we can prove that simple zero
extension is sufficient.  Negative numbers are impossible from (x>=128 ? x :
0).

Changing the source to do zero-extension but still a signed compare stops it
from auto-vectorizing.

        int to_add = (data[c] >= 128 ? data[c] : 0);
        unsigned tmp = to_add;
        sum += (unsigned long long)tmp;  // zero-extension

Making everything unsigned does zero-extension as expected, but if the
comparison is signed, it either fails to auto-vectorize or it still uses
sign-extension.

e.g. this auto-vectorizes with sign-extension, but if you change the constant
to -128, it won't auto-vectorize at all (because then sign and zero extension
are no longer equivalent).

        int to_add = (data[c] >= 128 ? data[c] : 0);
        unsigned tmp = to_add;
        unsigned long long tmp_ull = tmp;  // zero-extension
        long long tmp_ll = tmp_ull;
        sum += tmp_ll;
>From gcc-bugs-return-579442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 02:06:48 2017
Return-Path: <gcc-bugs-return-579442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86543 invoked by alias); 23 Oct 2017 02:06: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 85927 invoked by uid 48); 23 Oct 2017 02:06:44 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Mon, 23 Oct 2017 02: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: 4.7.2
X-Bugzilla-Keywords: wrong-code
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: janus at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57096-4-3qkE0zhZHd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02502.txt.bz2
Content-length: 630

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

--- Comment #14 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
The reduced test case with gfortran 7.2.1 O get:

$ ./test
           1           1

           0           1

and the original:

$ ./test
 gA%next():           0
 gA%next():           0
 gA%next():           0

 gAp%next():           2
 gAp%next():           4
 gAp%next():           6

and with latest trunk:

$ ./test 
 gA%next():           0
 gA%next():           0
 gA%next():           0

 gAp%next():           2
 gAp%next():           4
 gAp%next():           6

hmm, now something is not right.
>From gcc-bugs-return-579443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 02:30:45 2017
Return-Path: <gcc-bugs-return-579443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59334 invoked by alias); 23 Oct 2017 02: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 58914 invoked by uid 48); 23 Oct 2017 02:30:06 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57096] Allocatable variable is not behaved as expected
Date: Mon, 23 Oct 2017 02: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.7.2
X-Bugzilla-Keywords: wrong-code
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: janus at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57096-4-Lyl1tBE2I4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57096-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02503.txt.bz2
Content-length: 413

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57096

--- Comment #15 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #6)
> I get
> 
>  gA%next():           2
>  gA%next():           4
>  gA%next():           6
> 
>  gAp%next():           2
>  gAp%next():           4
>  gAp%next():           6
> 
> for 4.8 up to trunk (8.0).

Not sure how this worked.
>From gcc-bugs-return-579444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 03:05:04 2017
Return-Path: <gcc-bugs-return-579444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118879 invoked by alias); 23 Oct 2017 03:05: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 118799 invoked by uid 48); 23 Oct 2017 03:04:59 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82668] New: could use BMI2 rorx for unpacking struct { int a,b }; from a register (SysV ABI)
Date: Mon, 23 Oct 2017 03: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: 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget
Message-ID: <bug-82668-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02504.txt.bz2
Content-length: 3078

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82668

            Bug ID: 82668
           Summary: could use BMI2 rorx for unpacking struct { int a,b };
                    from a register (SysV ABI)
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peter at cordes dot ca
  Target Milestone: ---
            Target: x86_64-*-*

struct twoint {
        int a, b;
};

int bar(struct twoint s) {
        return s.a + s.b;
}

https://godbolt.org/g/4ygAMm

        movq    %rdi, %rax
        sarq    $32, %rax
        addl    %edi, %eax
        ret

But we could have used

    rorx   $32, %rdi, %rax       # 1 uop 1c latency
    add    $edi, %eax
    ret

rorxq is only 1 uop, vs. 2 for mov + sar.  It also saves a byte a 3 byte MOV +
a 4 byte SAR with a 6 byte rorx.

Without BMI2, we can shorten critical path if mov isn't zero latency, from 3 to
2 cycles (and save a byte on the REX prefix for the mov):

        movl    %edi, %eax
        sarq    $32, %rdi
        addl    %edi, %eax
        ret

This would be a better choice in general, especially for tune=generic.



Also related (let me know if I should report separately, or if gcc knowing how
to use rotate to swap struct members would fix this too):

// only needs one call-preserved reg and a rotate.
long foo(int a /* edi */, int b /* esi */)
{
    struct_arg ( (struct twoint){a,b});
    struct_arg ( (struct twoint){b,a});
    return 0;
}

gcc saves two call-preserved registers so it can save a and b separately, and
shift+OR them together each time.

        pushq   %rbp
        movl    %edi, %ebp
        pushq   %rbx
        movl    %esi, %ebx
        movq    %rbx, %rdi
        salq    $32, %rdi
        subq    $8, %rsp
        orq     %rbp, %rdi
        call    struct_arg
        movq    %rbp, %rdi
        salq    $32, %rdi
        orq     %rbx, %rdi
        call    struct_arg
        addq    $8, %rsp
        xorl    %eax, %eax
        popq    %rbx
        popq    %rbp
        ret


This is sub-optimal in two ways: first, on Intel SnB-family (but not silvermont
or any AMD), SHRD is efficient (1 uop, 1c latency, runs on port1 only instead
of p06 for other shifts/rotates).  SHL + SHRD may be better than mov + shl +
or.

Second, because instead of redoing the creation of the struct, we can rotate
the first one.  Even writing it as a swap of the members of a struct (instead
of creation of a new struct) doesn't help.

Anyway, I think this would be better

        pushq   %rbx
        shl     $32, %rdi
        shrd    $32, %rsi, %rdi   # SnB-family alternative to mov+shl+or

        rorx    $32, %rdi, %rbx   # arg for 2nd call
        call    struct_arg
        movq    %rbx, %rdi
        call    struct_arg

        xorl    %eax, %eax
        popq    %rbx
        ret

I didn't check whether I got the correct arg as the high half, but that's not
the point.
>From gcc-bugs-return-579445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 03:27:33 2017
Return-Path: <gcc-bugs-return-579445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121790 invoked by alias); 23 Oct 2017 03: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 121737 invoked by uid 48); 23 Oct 2017 03:27:29 -0000
From: "helloqirun at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82669] New: ICE at -Os on valid code on x86_64-linux-gnu: in bitmap_check_index, at sbitmap.h:105
Date: Mon, 23 Oct 2017 03:27: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: helloqirun 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-82669-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02505.txt.bz2
Content-length: 2148

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82669

            Bug ID: 82669
           Summary: ICE at -Os on valid code on x86_64-linux-gnu: in
                    bitmap_check_index, at sbitmap.h:105
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: helloqirun at gmail dot com
  Target Milestone: ---

It happens at -Os and in 32-bit mode only.

$ 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/8.0.0/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 8.0.0 20171022 (experimental) [trunk revision 253982] (GCC)






$ gcc-trunk -m32 -Os abc.c
during RTL pass: reload
abc.c: In function ‘fn1’:
abc.c:16:1: internal compiler error: in bitmap_check_index, at sbitmap.h:105
 }
 ^
0xb4a77b bitmap_check_index
        ../../gcc/gcc/sbitmap.h:105
0xb4a77b bitmap_set_bit
        ../../gcc/gcc/sbitmap.h:132
0xb4a77b remove_some_program_points_and_update_live_ranges
        ../../gcc/gcc/lra-lives.c:1082
0xb4a77b compress_live_ranges
        ../../gcc/gcc/lra-lives.c:1209
0xb4a77b lra_create_live_ranges_1
        ../../gcc/gcc/lra-lives.c:1357
0xb4a95f lra_create_live_ranges(bool, bool)
        ../../gcc/gcc/lra-lives.c:1369
0xb2d963 lra(_IO_FILE*)
        ../../gcc/gcc/lra.c:2428
0xae5781 do_reload
        ../../gcc/gcc/ira.c:5446
0xae5781 execute
        ../../gcc/gcc/ira.c:5630
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.



$ cat abc.c
int a, b;
void fn1() {
  for (;;) {
    int i, j;
    for (; i < 4; b++)
      for (; j < 8; a++)
        ;
    {
      for (; b;) {
        a = 0;
        for (;;)
          ;
      }
    }
  }
}
>From gcc-bugs-return-579446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 07:15:38 2017
Return-Path: <gcc-bugs-return-579446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85528 invoked by alias); 23 Oct 2017 07: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 85450 invoked by uid 48); 23 Oct 2017 07:15:33 -0000
From: "nisavid at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61407] Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3
Date: Mon, 23 Oct 2017 07: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nisavid 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: cc
Message-ID: <bug-61407-4-6oSRHBvgUv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61407-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61407-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02506.txt.bz2
Content-length: 970

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407

Ivan D Vasin <nisavid at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nisavid at gmail dot com

--- Comment #57 from Ivan D Vasin <nisavid at gmail dot com> ---
This issue appears to have resurfaced on macOS 10.13 using GCC 4.9.4:
https://github.com/rvm/rvm/issues/4200#issuecomment-338546674

I'm uncertain whether the reappearance of this issue is something to be handled
in GCC, nor whether commenting on this old report is an appropriate way to
(re)open the issue.  If nothing else, I'm hoping that this comment finds
someone who might provide some helpful insight into the nature of the issue or
the fix, so that its reappearance can be fixed as well.  If it would be better
to open a new report, I'd gladly do so.  In any case, please advise.
>From gcc-bugs-return-579447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 07:21:46 2017
Return-Path: <gcc-bugs-return-579447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21702 invoked by alias); 23 Oct 2017 07: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 21632 invoked by uid 48); 23 Oct 2017 07:21:40 -0000
From: "ch3root at openwall dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82224] Strict-aliasing not noticing valid aliasing of two unions with active members
Date: Mon, 23 Oct 2017 07: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: 7.2.0
X-Bugzilla-Keywords: alias, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ch3root at openwall dot com
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: cc
Message-ID: <bug-82224-4-knv9uDhxgi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82224-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82224-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02507.txt.bz2
Content-length: 2317

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82224

Alexander Cherepanov <ch3root at openwall dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ch3root at openwall dot com

--- Comment #6 from Alexander Cherepanov <ch3root at openwall dot com> ---
Here are simplified testcases. With a union (C and C++):

----------------------------------------------------------------------
#include <stdio.h>

union u {
  long x;
  long long y;
};

static long test(long *px, long long *py, union u *pu)
{
  pu->x = 0;            // make .x active member (for C++)
  *px = 0;              // access .x via pointer

  pu->y = pu->x;        // switch active member to .y (for C++)
  *py = 1;              // access .y via pointer

  pu->x = pu->y;        // switch active member back to .x
  return *px;           // access .x via pointer
}

int main(void)
{
  union u u;

  printf("%ld\n", test(&u.x, &u.y, &u));
}
----------------------------------------------------------------------

Results:

----------------------------------------------------------------------
$ gcc -std=c11 -pedantic -Wall -Wextra test.c && ./a.out
1
$ gcc -std=c11 -pedantic -Wall -Wextra -O3 test.c && ./a.out
0
----------------------------------------------------------------------

And with allocated memory (C; add placement new's for C++):

----------------------------------------------------------------------
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

static long test(long *px, long long *py, void *pu)
{
  *px = 0;
  *py = 1;

  // change effective type from long long to long
  long tmp;
  memcpy(&tmp, pu, sizeof(tmp));
  memcpy(pu, &tmp, sizeof(tmp));

  return *px;
}

int main(void)
{
  void *p = malloc(10);

  printf("%ld\n", test(p, p, p));
}
----------------------------------------------------------------------

Results:

----------------------------------------------------------------------
$ gcc -std=c11 -pedantic -Wall -Wextra test.c && ./a.out
1
$ gcc -std=c11 -pedantic -Wall -Wextra -O3 test.c && ./a.out
0
----------------------------------------------------------------------

gcc version: gcc (GCC) 8.0.0 20171023 (experimental)
>From gcc-bugs-return-579448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 07:22:55 2017
Return-Path: <gcc-bugs-return-579448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25897 invoked by alias); 23 Oct 2017 07: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 25657 invoked by uid 48); 23 Oct 2017 07:22:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82670] New: UBSAN bootstrap broken after recent libsanitizer merge
Date: Mon, 23 Oct 2017 07:22: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: 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
Message-ID: <bug-82670-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02508.txt.bz2
Content-length: 2904

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82670

            Bug ID: 82670
           Summary: UBSAN bootstrap broken after recent libsanitizer merge
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Looks they recently added wrappers for signal-related functions:

/home/marxin/BIG/buildbot/slave/gcc-master-bootstrap-ubsan/build/builddir/./gcc/xgcc
-B/home/marxin/BIG/buildbot/slave/gcc-master-bootstrap-ubsan/build/builddir/./gcc/
-dumpspecs > tmp-specs
/bin/sh: line 1:  7075 Segmentation fault      (core dumped)
/home/marxin/BIG/buildbot/slave/gcc-master-bootstrap-ubsan/build/builddir/./gcc/xgcc
-B/home/marxin/BIG/buildbot/slave/gcc-master-bootstrap-ubsan/build/builddir/./gcc/
-dumpspecs > tmp-specs
make[3]: *** [Makefile:2037: specs] Error 139

It fails here:

   │0x60335b <__interceptor_signal(int, void*)+11>                             
    callq  0x605010 <__sanitizer::GetHandleSignalMode(int)>
   │0x603360 <__interceptor_signal(int, void*)+16>                             
    cmp    $0x2,%eax
   │0x603363 <__interceptor_signal(int, void*)+19>                             
    je     0x603376 <__interceptor_signal(int, void*)+38>
   │0x603365 <__interceptor_signal(int, void*)+21>                             
    add    $0x8,%rsp
   │0x603369 <__interceptor_signal(int, void*)+25>                             
    mov    %rbp,%rsi
   │0x60336c <__interceptor_signal(int, void*)+28>                             
    mov    %ebx,%edi
   │0x60336e <__interceptor_signal(int, void*)+30>                             
    pop    %rbx
   │0x60336f <__interceptor_signal(int, void*)+31>                             
    pop    %rbp
  >│0x603370 <__interceptor_signal(int, void*)+32>                             
    jmpq   *0x3e9f22(%rip)        # 0x9ed298
<_ZN14__interception11real_signalE>

It's strange because it should basically jump to
_ZN14__interception11real_signalE, but it's somehow zeroed:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
>From gcc-bugs-return-579449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 07:23:37 2017
Return-Path: <gcc-bugs-return-579449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27083 invoked by alias); 23 Oct 2017 07:23: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 27038 invoked by uid 48); 23 Oct 2017 07:23:33 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82669] ICE at -Os on valid code on x86_64-linux-gnu: in bitmap_check_index, at sbitmap.h:105
Date: Mon, 23 Oct 2017 07: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: 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 cc assigned_to everconfirmed
Message-ID: <bug-82669-4-cMZuaVfW1g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82669-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82669-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02509.txt.bz2
Content-length: 709

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82669

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-23
                 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> ---
Confirmed, it fails with newly added sanity checks. Let me take it.
>From gcc-bugs-return-579450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 07:54:06 2017
Return-Path: <gcc-bugs-return-579450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22733 invoked by alias); 23 Oct 2017 07:54: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 21527 invoked by uid 48); 23 Oct 2017 07:54:02 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82666] [7/8 regression]: sum += (x>128 ? x : 0) puts the cmov on the critical path (at -O2)
Date: Mon, 23 Oct 2017 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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc attachments.created
Message-ID: <bug-82666-4-IYWiCre1X8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82666-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82666-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02510.txt.bz2
Content-length: 779

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82666

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 42437
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42437&action=edit
Reproducer (micro benchmark)

Confirmed, I'm attaching micro-benchmark that I run on my Haswell machine.
In time between GCC 6.x and current trunk we first improved performance in
r239414 from 1.392704s -> 1.228814s. Then we significantly regressed in r242832
from 1.209454s -> 1.929302s.
>From gcc-bugs-return-579451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 07:54:45 2017
Return-Path: <gcc-bugs-return-579451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33629 invoked by alias); 23 Oct 2017 07: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 33542 invoked by uid 48); 23 Oct 2017 07:54:42 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82666] [7/8 regression]: sum += (x>128 ? x : 0) puts the cmov on the critical path (at -O2)
Date: Mon, 23 Oct 2017 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: 8.0
X-Bugzilla-Keywords: missed-optimization
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-82666-4-TtsMrjVfjp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82666-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82666-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02511.txt.bz2
Content-length: 534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82666

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-23
                 CC|                            |bernds at gcc dot gnu.org
   Target Milestone|---                         |7.3
     Ever confirmed|0                           |1
>From gcc-bugs-return-579452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 07:56:11 2017
Return-Path: <gcc-bugs-return-579452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45104 invoked by alias); 23 Oct 2017 07:56: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 45073 invoked by uid 48); 23 Oct 2017 07:56:06 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82664] Internal Compiler Error when using Match7 library
Date: Mon, 23 Oct 2017 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: 7.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 cc everconfirmed
Message-ID: <bug-82664-4-0gm8YAFFNC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82664-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82664-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02512.txt.bz2
Content-length: 613

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82664

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-23
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Yes, please attach *.ii file. I can help with reduction.
>From gcc-bugs-return-579453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 08:03:15 2017
Return-Path: <gcc-bugs-return-579453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51409 invoked by alias); 23 Oct 2017 08:03: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 51363 invoked by uid 48); 23 Oct 2017 08:03:11 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82671] New: [8 Regression] ICE in cfg_layout_redirect_edge_and_branch, at cfgrtl.c:4412
Date: Mon, 23 Oct 2017 08: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: 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: ---
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-82671-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02513.txt.bz2
Content-length: 2163

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82671

            Bug ID: 82671
           Summary: [8 Regression] ICE in
                    cfg_layout_redirect_edge_and_branch, at cfgrtl.c:4412
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: hubicka at ucw dot cz
  Target Milestone: ---

Starting from r253910 we ICE on:

$ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr57676.c 
-freorder-blocks-and-partition -fmodulo-sched -O1
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr57676.c: In
function ‘f’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr57676.c:8:6:
warning: type of ‘p1’ defaults to ‘int’ [-Wimplicit-int]
 void f(p1)
      ^
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr57676.c:12:22:
warning: division by zero [-Wdiv-by-zero]
         if(p1 ? : (c /= 0))
                      ^~
during RTL pass: sms
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr57676.c:28:1:
internal compiler error: in cfg_layout_redirect_edge_and_branch, at
cfgrtl.c:4412
 }
 ^
0x7667ce cfg_layout_redirect_edge_and_branch
        ../../gcc/cfgrtl.c:4412
0x7667f8 cfg_layout_redirect_edge_and_branch_force
        ../../gcc/cfgrtl.c:4422
0x750673 redirect_edge_and_branch_force(edge_def*, basic_block_def*)
        ../../gcc/cfghooks.c:477
0x751385 make_forwarder_block(basic_block_def*, bool (*)(edge_def*), void
(*)(basic_block_def*))
        ../../gcc/cfghooks.c:892
0x75f9d3 create_preheader(loop*, int)
        ../../gcc/cfgloopmanip.c:1524
0x75fc1e create_preheaders(int)
        ../../gcc/cfgloopmanip.c:1575
0xa0198e apply_loop_flags
        ../../gcc/loop-init.c:64
0xa0246c loop_optimizer_init(unsigned int)
        ../../gcc/loop-init.c:123
0x13c7346 sms_schedule
        ../../gcc/modulo-sched.c:1351
0x13c9bff execute
        ../../gcc/modulo-sched.c:3342
>From gcc-bugs-return-579454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 08:09:21 2017
Return-Path: <gcc-bugs-return-579454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57397 invoked by alias); 23 Oct 2017 08: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 57305 invoked by uid 48); 23 Oct 2017 08:09:11 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82672] New: [8 Regression][GRAPHITE] ICE in verify_gimple_in_cfg
Date: Mon, 23 Oct 2017 08:09: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-82672-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02514.txt.bz2
Content-length: 2086

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82672

            Bug ID: 82672
           Summary: [8 Regression][GRAPHITE] ICE in verify_gimple_in_cfg
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

Starting from r253705 we ICE on:

$ gfortran
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/widechar_1.f90   -O2
-floop-nest-optimize
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/widechar_1.f90:33:0:

 end

Error: invalid address operand in MEM_REF
MEM[(character(kind=4) *)&MEM[(void *)&s4 + 28B]];

/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/widechar_1.f90:33:0:
Error: invalid first operand of MEM_REF
&MEM[(void *)&s4 + 28B]
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/widechar_1.f90:24:0:

   s4 = 4_"foo bar"

note: in statement
# .MEM_122 = VDEF <.MEM_71>
MEM[(character(kind=4) *)&MEM[(void *)&s4 + 28B]] = 32;
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/widechar_1.f90:33:0:

 end

Error: invalid address operand in MEM_REF
MEM[(character(kind=4) *)&MEM[(void *)&s4 + 32B]];

/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/widechar_1.f90:33:0:
Error: invalid first operand of MEM_REF
&MEM[(void *)&s4 + 32B]
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/widechar_1.f90:26:0:

   s4 = 4_"\x00\x96"

note: in statement
# .MEM_131 = VDEF <.MEM_75>
MEM[(character(kind=4) *)&MEM[(void *)&s4 + 32B]] = 32;
during GIMPLE pass: graphite
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/widechar_1.f90:33:0:

 end

internal compiler error: verify_gimple failed
0xc5db4d verify_gimple_in_cfg(function*, bool)
        ../../gcc/tree-cfg.c:5395
0xb30036 execute_function_todo
        ../../gcc/passes.c:1994
0xb310b2 execute_todo
        ../../gcc/passes.c:2048
>From gcc-bugs-return-579455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 08:09:53 2017
Return-Path: <gcc-bugs-return-579455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59759 invoked by alias); 23 Oct 2017 08: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 59713 invoked by uid 48); 23 Oct 2017 08:09:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82672] [8 Regression][GRAPHITE] ICE in verify_gimple_in_cfg
Date: Mon, 23 Oct 2017 08: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82672-4-ASUSHHAfAl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82672-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82672-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02515.txt.bz2
Content-length: 295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82672

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 08:33:31 2017
Return-Path: <gcc-bugs-return-579456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76872 invoked by alias); 23 Oct 2017 08:33: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 74209 invoked by uid 48); 23 Oct 2017 08:33:27 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82673] New: [8 Regression] ICE in ix86_finalize_stack_frame_flags at gcc/config/i386/i386.c:12695
Date: Mon, 23 Oct 2017 08:33: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: 8.0
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-82673-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02516.txt.bz2
Content-length: 2025

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82673

            Bug ID: 82673
           Summary: [8 Regression] ICE in ix86_finalize_stack_frame_flags
                    at gcc/config/i386/i386.c:12695
           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
                CC: uros at gcc dot gnu.org
  Target Milestone: 8.0
  Target Milestone: 8.0

Starting from r251075 we ICE one:

$ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr9771-1.c 
-fvar-tracking-assignments-toggle
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr9771-1.c: In
function ‘bar’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr9771-1.c:17:1:
error: bp cannot be used in asm here
 }
 ^
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr9771-1.c:14:6:
error: frame pointer required, but reserved
 void bar(void)
      ^~~
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr9771-1.c:9:16:
note: for ‘B’
 register long *B asm ("ebp");
                ^
during RTL pass: pro_and_epilogue
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr9771-1.c:17:1:
internal compiler error: Segmentation fault
 }
 ^
0xba5f2f crash_signal
        ../../gcc/toplev.c:326
0xf0e580 ix86_finalize_stack_frame_flags
        ../../gcc/config/i386/i386.c:12695
0xf17524 ix86_expand_prologue()
        ../../gcc/config/i386/i386.c:12845
0x114d78a gen_prologue()
        ../../gcc/config/i386/i386.md:13077
0xefca18 target_gen_prologue
        ../../gcc/config/i386/i386.md:19373
0x8c8da9 make_prologue_seq
        ../../gcc/function.c:5879
0x8c8f84 thread_prologue_and_epilogue_insns()
        ../../gcc/function.c:5996
0x8c9712 rest_of_handle_thread_prologue_and_epilogue
        ../../gcc/function.c:6487
0x8c9712 execute
        ../../gcc/function.c:6529
>From gcc-bugs-return-579458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 08:45:57 2017
Return-Path: <gcc-bugs-return-579458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128899 invoked by alias); 23 Oct 2017 08: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 128783 invoked by uid 48); 23 Oct 2017 08:45:51 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82674] New: ICE with -fstack-clash-protection
Date: Mon, 23 Oct 2017 08:45: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget
Message-ID: <bug-82674-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02518.txt.bz2
Content-length: 2119

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82674

            Bug ID: 82674
           Summary: ICE with -fstack-clash-protection
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: bergner at gcc dot gnu.org, segher at gcc dot gnu.org,
                    wschmidt at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: ppc64-linux-gnu

Following ICEs:

$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr23848-1.c --param
stack-clash-protection-probe-interval=16 -fstack-clash-protection
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr23848-1.c: In
function ‘foo1’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr23848-1.c:12:1:
error: unrecognizable insn:
 }
 ^
(insn 39 69 40 5 (parallel [
            (set (mem:DI (plus:DI (reg/f:DI 1 1)
                        (const_int -65536 [0xffffffffffff0000])) [0  S8 A8])
                (reg:DI 144))
            (set (reg/f:DI 1 1)
                (plus:DI (reg/f:DI 1 1)
                    (const_int -65536 [0xffffffffffff0000])))
        ])
"/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr23848-1.c":9 -1
     (nil))
during RTL pass: vregs
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr23848-1.c:12:1:
internal compiler error: in extract_insn, at recog.c:2305
0xe90dbd _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.c:108
0xe90dfe _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/rtl-error.c:116
0xe3a661 extract_insn(rtx_insn*)
        ../../gcc/recog.c:2305
0xb2fcac instantiate_virtual_regs_in_insn
        ../../gcc/function.c:1639
0xb31172 instantiate_virtual_regs
        ../../gcc/function.c:1959
0xb3123c execute
        ../../gcc/function.c:2008
>From gcc-bugs-return-579457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 08:45:57 2017
Return-Path: <gcc-bugs-return-579457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128890 invoked by alias); 23 Oct 2017 08:45: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 128573 invoked by uid 48); 23 Oct 2017 08:45:31 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82673] [8 Regression] ICE in ix86_finalize_stack_frame_flags at gcc/config/i386/i386.c:12695
Date: Mon, 23 Oct 2017 08: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82673-4-UKiMVQ9YoC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02517.txt.bz2
Content-length: 323

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82673

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Martin Liška from comment #0)
> Starting from r251075 we ICE one:

Are you sure you got the correct revision? The one you referred to deals with
thread pointers and address spaces.
>From gcc-bugs-return-579460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 08:51:31 2017
Return-Path: <gcc-bugs-return-579460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18624 invoked by alias); 23 Oct 2017 08:51: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 16783 invoked by uid 48); 23 Oct 2017 08:51:25 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82675] ICE in duplicate_loop_to_header_edge at gcc/cfgloopmanip.c:1207
Date: Mon, 23 Oct 2017 08: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82675-4-H1H6dK2YxM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82675-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82675-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02520.txt.bz2
Content-length: 295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82675

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 08:51:25 2017
Return-Path: <gcc-bugs-return-579459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16393 invoked by alias); 23 Oct 2017 08: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 75154 invoked by uid 48); 23 Oct 2017 08:50:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82675] New: ICE in duplicate_loop_to_header_edge at gcc/cfgloopmanip.c:1207
Date: Mon, 23 Oct 2017 08:51: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82675-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02519.txt.bz2
Content-length: 1635

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82675

            Bug ID: 82675
           Summary: ICE in duplicate_loop_to_header_edge at
                    gcc/cfgloopmanip.c:1207
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

After we've added sbitmap checking, we hit:

$ cat ice.i

char a[1];
int *b;

int e();

void c ()
{
  char *d = a;
  while (*b && d < a + 300)
    *d++ = e ();
}


$ ./xgcc -B. ~/Programming/testcases/ice.i  -fno-tree-loop-optimize -O1
-funroll-all-loops
during RTL pass: loop2_unroll
/home/marxin/Programming/testcases/ice.i: In function ‘c’:
/home/marxin/Programming/testcases/ice.i:11:1: internal compiler error: in
bitmap_check_index, at sbitmap.h:105
 }
 ^
0x75d239 bitmap_check_index
        ../../gcc/sbitmap.h:105
0x75d25c bitmap_bit_p
        ../../gcc/sbitmap.h:120
0x760500 duplicate_loop_to_header_edge(loop*, edge_def*, unsigned int,
simple_bitmap_def*, edge_def*, vec<edge_def*, va_heap, vl_ptr>*, int)
        ../../gcc/cfgloopmanip.c:1207
0xa1493e unroll_loop_constant_iterations
        ../../gcc/loop-unroll.c:554
0xa15610 unroll_loops(int)
        ../../gcc/loop-unroll.c:289
0xa0586f execute
        ../../gcc/loop-init.c:584

1207            scale_step[i - 1] = bitmap_bit_p (wont_exit, i)
(gdb) p *wont_exit
$1 = {n_bits = 5, size = 1, elms = {28}}
(gdb) p i
$2 = 5
>From gcc-bugs-return-579461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 08:54:24 2017
Return-Path: <gcc-bugs-return-579461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82327 invoked by alias); 23 Oct 2017 08: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 82285 invoked by uid 48); 23 Oct 2017 08:54:19 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82673] [8 Regression] ICE in ix86_finalize_stack_frame_flags at gcc/config/i386/i386.c:12695
Date: Mon, 23 Oct 2017 08: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82673-4-I9BF0N5Vjd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02521.txt.bz2
Content-length: 415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82673

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #1)
> (In reply to Martin Liška from comment #0)
> > Starting from r251075 we ICE one:
> 
> Are you sure you got the correct revision? The one you referred to deals
> with thread pointers and address spaces.

Sorry, it's revision r251076 :)
>From gcc-bugs-return-579462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 09:20:51 2017
Return-Path: <gcc-bugs-return-579462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121059 invoked by alias); 23 Oct 2017 09:20: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 110535 invoked by uid 55); 23 Oct 2017 09:20:47 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82129] [8 Regression] ICE in compute_antic, at tree-ssa-pre.c:2447
Date: Mon, 23 Oct 2017 09: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.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82129-4-SHy3SXHuSH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82129-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82129-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02522.txt.bz2
Content-length: 796

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82129

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Oct 23 09:20:14 2017
New Revision: 253998

URL: https://gcc.gnu.org/viewcvs?rev=253998&root=gcc&view=rev
Log:
2017-10-23  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82129
        * tree-ssa-pre.c (bitmap_set_and): Remove.
        (compute_antic_aux): Compute ANTIC_OUT intersection in a way
        canonicalizing expressions in the set to those with lowest
        ID rather than taking that from the first edge.

        * gcc.dg/torture/pr82129.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr82129.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-pre.c
>From gcc-bugs-return-579463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 09:22:02 2017
Return-Path: <gcc-bugs-return-579463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84640 invoked by alias); 23 Oct 2017 09: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 75676 invoked by uid 48); 23 Oct 2017 09:21:58 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82129] [8 Regression] ICE in compute_antic, at tree-ssa-pre.c:2447
Date: Mon, 23 Oct 2017 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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82129-4-BNPVp7NtLb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82129-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82129-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02523.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82129

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-579464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 09:39:54 2017
Return-Path: <gcc-bugs-return-579464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128088 invoked by alias); 23 Oct 2017 09:39: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 126418 invoked by uid 48); 23 Oct 2017 09:39:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82671] [8 Regression] ICE in cfg_layout_redirect_edge_and_branch, at cfgrtl.c:4412
Date: Mon, 23 Oct 2017 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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component version target_milestone
Message-ID: <bug-82671-4-aCxpB30YNW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82671-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82671-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02524.txt.bz2
Content-length: 412

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82671

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |rtl-optimization
            Version|unknown                     |8.0
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 09:40:23 2017
Return-Path: <gcc-bugs-return-579465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9092 invoked by alias); 23 Oct 2017 09:40: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 7427 invoked by uid 48); 23 Oct 2017 09:40:19 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82672] [8 Regression][GRAPHITE] ICE in verify_gimple_in_cfg
Date: Mon, 23 Oct 2017 09: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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on version assigned_to everconfirmed
Message-ID: <bug-82672-4-YMz9IVXCmu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82672-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82672-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02525.txt.bz2
Content-length: 622

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82672

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-23
            Version|unknown                     |8.0
           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-579466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 09:41:36 2017
Return-Path: <gcc-bugs-return-579466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88900 invoked by alias); 23 Oct 2017 09:41: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 83620 invoked by uid 48); 23 Oct 2017 09:41:32 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82675] ICE in duplicate_loop_to_header_edge at gcc/cfgloopmanip.c:1207
Date: Mon, 23 Oct 2017 09: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: 8.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component version target_milestone
Message-ID: <bug-82675-4-IaYPA1OpYY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82675-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82675-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02526.txt.bz2
Content-length: 412

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82675

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |rtl-optimization
            Version|unknown                     |8.0
   Target Milestone|8.0                         |---
>From gcc-bugs-return-579467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 09:47:09 2017
Return-Path: <gcc-bugs-return-579467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98896 invoked by alias); 23 Oct 2017 09:47: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 98865 invoked by uid 48); 23 Oct 2017 09:47:05 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82675] ICE in duplicate_loop_to_header_edge at gcc/cfgloopmanip.c:1207
Date: Mon, 23 Oct 2017 09:47: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: 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-82675-4-Eac6MghF3A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82675-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82675-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02527.txt.bz2
Content-length: 586

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82675

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-23
           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> ---
I'll try to fix it.
>From gcc-bugs-return-579468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 09:52:42 2017
Return-Path: <gcc-bugs-return-579468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118372 invoked by alias); 23 Oct 2017 09:52: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 118312 invoked by uid 48); 23 Oct 2017 09:52:31 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82627] [8 regression] r253809 breaks test cases gcc.dg/graphite/interchange-3.c -7.c, -9.c, and uns-interchange-9.c
Date: Mon, 23 Oct 2017 09: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82627-4-jvJi9Oyy31@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02528.txt.bz2
Content-length: 396

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82627

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
What ISL version are you using?  We have the same IL before ISL but the
transformed schedule is different and for some reason the AST generator
biases one IV by one.

Before the rev. ISL did even more weird stuff to this testcase for you.

Please make sure to use ISL 0.18.
>From gcc-bugs-return-579469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 10:11:25 2017
Return-Path: <gcc-bugs-return-579469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27879 invoked by alias); 23 Oct 2017 10: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 27797 invoked by uid 48); 23 Oct 2017 10:11:17 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/82415] FAIL: gcc.target/i386/naked-1.c scan-assembler-not ret
Date: Mon, 23 Oct 2017 10:11: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: trivial
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: attachments.created
Message-ID: <bug-82415-4-LEPoMs8jqX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82415-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82415-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02529.txt.bz2
Content-length: 297

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82415

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 42438
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42438&action=edit
patch that filters out comment lines in scan-assembler*

Alternative approach.
>From gcc-bugs-return-579470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 10:44:20 2017
Return-Path: <gcc-bugs-return-579470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19473 invoked by alias); 23 Oct 2017 10:44: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 19398 invoked by uid 48); 23 Oct 2017 10:44:10 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82676] New: GRAPHITE doesn't handle niter with may_be_zero
Date: Mon, 23 Oct 2017 10:44: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.0
X-Bugzilla-Keywords: missed-optimization
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 keywords bug_severity priority component assigned_to reporter blocked target_milestone
Message-ID: <bug-82676-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02530.txt.bz2
Content-length: 905

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82676

            Bug ID: 82676
           Summary: GRAPHITE doesn't handle niter with may_be_zero
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
            Blocks: 59859
  Target Milestone: ---

$summary.  It should use number_of_iterations_exit and only reject assumptions
(even that could go into a versioning condition).  may_be_zero can be added
as an additional constraint on the domain.

Needs some refactoring for handling of condition / constraint generation for
conditions.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59859
[Bug 59859] [meta-bug] GRAPHITE issues
>From gcc-bugs-return-579471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 10:44:24 2017
Return-Path: <gcc-bugs-return-579471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19884 invoked by alias); 23 Oct 2017 10:44: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 19549 invoked by uid 48); 23 Oct 2017 10:44:20 -0000
From: "sebastian.peryt at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82268] [8 regression] i386/pr82196-1.c fail
Date: Mon, 23 Oct 2017 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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sebastian.peryt 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82268-4-8rjOCDh9MN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82268-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02531.txt.bz2
Content-length: 171

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82268

--- Comment #3 from Sebastian Peryt <sebastian.peryt at intel dot com> ---
It passes with the provided modification.
>From gcc-bugs-return-579472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 10:51:06 2017
Return-Path: <gcc-bugs-return-579472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54995 invoked by alias); 23 Oct 2017 10:51: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 54922 invoked by uid 48); 23 Oct 2017 10:51:01 -0000
From: "andrey.y.guskov at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82268] [8 regression] i386/pr82196-1.c fail
Date: Mon, 23 Oct 2017 10: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.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andrey.y.guskov 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82268-4-qwL3YMRxqE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82268-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02532.txt.bz2
Content-length: 906

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82268

--- Comment #4 from Andrey Guskov <andrey.y.guskov at intel dot com> ---
The command line (broken into several lines for the sake of readability):

spawn -ignore SIGHUP /build/gcc/xgcc -B/build/gcc/
/source/gcc/testsuite/gcc.target/i386/pr82196-1.c
-B/build/x86_64-pc-linux-gnu/./libmpx/
-B/build/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/build/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/build/x86_64-pc-linux-gnu/./libmpx/
-B/build/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/build/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs
-fno-diagnostics-show-caret -fdiagnostics-color=never
-msse -mcall-ms2sysv-xlogues -O2 -ffat-lto-objects -S -o pr82196-1.s

PASS: gcc.target/i386/pr82196-1.c (test for excess errors)
FAIL: gcc.target/i386/pr82196-1.c scan-assembler call.*__sse_savms64f?_12
FAIL: gcc.target/i386/pr82196-1.c scan-assembler jmp.*__sse_resms64f?x_12
>From gcc-bugs-return-579473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 10:55:44 2017
Return-Path: <gcc-bugs-return-579473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75106 invoked by alias); 23 Oct 2017 10: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 75061 invoked by uid 48); 23 Oct 2017 10:55:40 -0000
From: "palves at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 and FreeBSD 11.1 because of abort redefinition
Date: Mon, 23 Oct 2017 10:55: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: palves 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82610-4-KjSwLwjMtY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02533.txt.bz2
Content-length: 825

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #4 from Pedro Alves <palves at redhat dot com> ---
I think it makes sense to keep including <memory> in unique-ptr.h, because the
header needs that, and projects other than GCC will want to use this file.
Including it in both system.h and leaving it in unique-ptr.h should work fine
for GCC, assuming <memory> has proper include guards?

(IMO, #pragma poison should ignore references in system headers and then these
weird contortions GCC goes through in system.h would no longer be necessary.)
>From gcc-bugs-return-579475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:11:23 2017
Return-Path: <gcc-bugs-return-579475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118596 invoked by alias); 23 Oct 2017 11: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 118381 invoked by uid 55); 23 Oct 2017 11:11:19 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/54027] [4.8 Regression] possible mis-optimization of signed left shift in c89 mode
Date: Mon, 23 Oct 2017 11: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.8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
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: 4.8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-54027-4-7Qd7bBpeWJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54027-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02535.txt.bz2
Content-length: 1038

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54027

--- Comment #8 from rguenther at suse dot de <rguenther at suse dot de> ---
On Sat, 21 Oct 2017, info at learnthreejs dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54027
> 
> Tristan <info at learnthreejs dot com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |info at learnthreejs dot com
> 
> --- Comment #7 from Tristan <info at learnthreejs dot com> ---
> Still having an issue with the VRP shift.
> 
> New here, where can I check out this patch? Might need a refresh!
> 
> https://www.learnthreejs.com/beginners-tutorial/
> 
> Above is a resource I tested it on (my site). Still experiencing 
> difficulties.

Sorry, but your problem is likely not related plus the description of
your issue is not complete.

See https://gcc.gnu.org/bugs.html

Please open a new bug if you have a testcase.
>From gcc-bugs-return-579474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:11:14 2017
Return-Path: <gcc-bugs-return-579474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117840 invoked by alias); 23 Oct 2017 11: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 117731 invoked by uid 55); 23 Oct 2017 11:11:00 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82644] Non-standard hypergeometric special functions defined in strict modes
Date: Mon, 23 Oct 2017 11: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: 8.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-82644-4-YDnq2svlfJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82644-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82644-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02534.txt.bz2
Content-length: 1498

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82644

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Oct 23 11:10:28 2017
New Revision: 254004

URL: https://gcc.gnu.org/viewcvs?rev=254004&root=gcc&view=rev
Log:
PR libstdc++/82644 document IS 29124 support

Also fix declarations of special functions in C++17, to import them into
the global namespace in <math.h>, and to prevent defining the
non-standard hypergeometric functions in strict mode.

        PR libstdc++/82644
        * doc/xml/manual/intro.xml: Include new section.
        * doc/xml/manual/status_cxxis29124.xml: New section on IS 29124
        status.
        * include/bits/specfun.h [__STRICT_ANSI__] (hyperg, hypergf, hypergl)
        (conf_hyperg, conf_hypergf, conf_hypergl): Don't declare.
        * include/c_compatibility/math.h: Import special functions into
        global namespace for C++17.
        * testsuite/26_numerics/headers/cmath/82644.cc: New test.
        * testsuite/26_numerics/headers/cmath/functions_global_c++17.cc: New
        test.

Added:
    trunk/libstdc++-v3/doc/xml/manual/status_cxxis29124.xml
    trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/82644.cc
   
trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/functions_global_c++17.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/doc/xml/manual/intro.xml
    trunk/libstdc++-v3/include/bits/specfun.h
    trunk/libstdc++-v3/include/c_compatibility/math.h
>From gcc-bugs-return-579477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:15:44 2017
Return-Path: <gcc-bugs-return-579477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129029 invoked by alias); 23 Oct 2017 11:15: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 128584 invoked by uid 55); 23 Oct 2017 11:15:31 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81181] [7 Regression] ICE in compute_antic, at tree-ssa-pre.c:2410
Date: Mon, 23 Oct 2017 11: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: compile-time-hog, 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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81181-4-LzQrWoR383@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81181-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81181-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02537.txt.bz2
Content-length: 638

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81181

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Oct 23 11:14:40 2017
New Revision: 254005

URL: https://gcc.gnu.org/viewcvs?rev=254005&root=gcc&view=rev
Log:
2017-10-23  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82129
        Revert
        2017-08-01  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/81181
        * tree-ssa-pre.c (compute_antic_aux): Defer clean() to ...
        (compute_antic): ... end of iteration here.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-pre.c
>From gcc-bugs-return-579476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:15:41 2017
Return-Path: <gcc-bugs-return-579476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128660 invoked by alias); 23 Oct 2017 11: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 128540 invoked by uid 55); 23 Oct 2017 11:15:24 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82129] [8 Regression] ICE in compute_antic, at tree-ssa-pre.c:2447
Date: Mon, 23 Oct 2017 11: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82129-4-AVSQ3S8GMv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82129-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82129-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02536.txt.bz2
Content-length: 638

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82129

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Oct 23 11:14:40 2017
New Revision: 254005

URL: https://gcc.gnu.org/viewcvs?rev=254005&root=gcc&view=rev
Log:
2017-10-23  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82129
        Revert
        2017-08-01  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/81181
        * tree-ssa-pre.c (compute_antic_aux): Defer clean() to ...
        (compute_antic): ... end of iteration here.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-pre.c
>From gcc-bugs-return-579478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:21:33 2017
Return-Path: <gcc-bugs-return-579478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51818 invoked by alias); 23 Oct 2017 11: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 51747 invoked by uid 48); 23 Oct 2017 11:21:28 -0000
From: "infinity0 at pwned dot gg" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/82677] New: Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Mon, 23 Oct 2017 11:21: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: infinity0 at pwned dot gg
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02538.txt.bz2
Content-length: 7257

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

            Bug ID: 82677
           Summary: Many projects (linux, coreutils, GMP, gcrypt, openSSL,
                    etc) are misusing asm(divq/divl) etc, potentially
                    resulting in faulty/unintended optimisations
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: infinity0 at pwned dot gg
  Target Milestone: ---

Created attachment 42439
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42439&action=edit
Basic optimisation example, C-reduced from flint test code

If I understood the issue correctly, this is strictly speaking not a GCC bug.
But I'm filing this here so there is a central place to have the discussion.
There is also the possibility of GCC developers discussing a central fix for
this issue in GCC itself, rather than patching 20+ FOSS projects.

Background
==========

When using asm() it is vital that the dependencies are expressed correctly,
otherwise GCC can optimise stuff in an unintended way. Those new to the topic
(e.g. me a few days ago) can read:

- https://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html for a nice
intro
- https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html for details

The Intel instruction manual [0] for the "div" and "idiv" instructions states
that:

- "The CF, OF, SF, ZF, AF, and PF flags are undefined."
- raises a #DE (Divide error) (#a) "If the source operand (divisor) is 0" and
(#b) "If the quotient is too large for the designated register."

Therefore, if you want to write a general-purpose "div" utility in GCC asm,
that assumes nothing about its inputs or outputs, the correct syntax would be
something along the lines of:

  __asm__ __volatile__("divq %4" : "=a"(q), "=d"(r) : "0"((ulong)n0),
"1"((ulong)n1), "rm"((ulong)d) : "cc");

- __volatile__ because raising an exception is a "side-effect", i.e. affects
something outside of the declared inputs and outputs, and
- "cc" because it might clobber the FLAGS register.

Note that __volatile__ is necessary even if the divisor "cannot be 0" in most
cases. (Therefore, it is necessary for a general-purpose "div" utility.) For
example, (##) if the code is unreachable for reasons unrelated to the division
operands, then the instruction will never raise a DE, but if __volatile__ is
not declared then GCC might optimise the code in a way such that the div
operation *is* reachable sometimes when the divisor is zero.

To demonstrate that example concretely, see udiv.c as a test case, where "if
(g)" should prevent the div from running, but GCC 7.2 -O2 lifts the asm() out
of the inner loop and the if(), causing a DE (SIGFPE) at run time. (udiv.c was
minimised from the real-world example at [1] using C-Reduce [2] - which I
couldn't have done this without.)

One way to make __volatile__ *actually* unnecessary, is to do an explicit
unconditional check (i.e. not based on a removeable macro) for divisor != 0
before the operation, and branch away if = 0. In this case, since divisor is an
input to the asm() instruction, GCC will then know not to reorder it with
respect to the branch.

Also, I am not sure if this sort of unexpected SIGFPE could potentially result
in a security problem. If so then perhaps the priority should be raised.

[0] https://software.intel.com/en-us/articles/intel-sdm
[1] https://github.com/fredrik-johansson/arb/issues/194
[2] https://embed.cs.utah.edu/creduce/

Problem
=======

Lots of people copied the same code (longlong.h), with the same definition of
udiv_qrnnd, into their own projects. [3] At the time of writing this includes:
linux, grub2, coreutils, GMP, gcrypt, mpfr, and even older versions of GCC
itself. The code seems to originate from GMP, but I didn't confirm this or
investigate in great detail.

Now technically it is possible to use this correctly, by doing an unconditional
explicit check for divisor != 0 as mentioned above. However, this complexity is
*not* documented in the description, e.g. [4], which even describes the *other*
condition (#b) above, for the instruction not to raise an exception -
"HIGH_NUMERATOR must be less than DENOMINATOR for correct operation.". Even if
it was documented naively ("divisor must be zero"), one can imagine someone
interpreting this as (##) above, which would still be incorrect and still cause
faulty optimisations.

Also, there is a fallback macro __udiv_qrnnd_c [5] defined which reimplements
the instruction in C for platforms that don't have it, and in this case GCC
knows that the C "/" operation can cause div-by-zero errors, and optimises
everything as intended, as one can see by compiling the udiv-alt.c attached
with -DNOOPT_UDIV. So this suggests that the original author of udiv_qrnnd was
not aware of these issues either - since the correctness requirements between
udiv_qrnnd and __udiv_qrnnd_c are different.

[3]
https://codesearch.debian.net/search?q=asm.*%5C%28.*%22i%3Fdiv%5Bql%5D%5C+*%25%5Cd+path%3Alonglong.h&perpkg=1
[4]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/lib/mpi/longlong.h?id=5ce3e312ec5c11abce13215be70700778bf601f0#n56
[5] https://gmplib.org/repo/gmp/file/tip/longlong.h#l2066

[6]
https://codesearch.debian.net/search?q=asm.*%5C%28.*%22i%3Fdiv%5Bql%5D%5C+*%25%5Cd&perpkg=1

Here [6] is a quick search through Debian packages, of all potential instances
of this issue. At the time of writing, a lot of these are affected by the issue
described above, their code sharing history with the GMP version, [3] being a
subset of [6].

Some projects correctly implement a generic div operation, using both
__volatile__ and "cc":

-
https://boringssl.googlesource.com/boringssl/+/d1425f69df16310bdca46a3d66144dcb4e3ad4fc%5E!/
-
https://github.com/ceph/ceph/commit/38e60deb5af10d5e2d8023a73a955080285b2760#diff-3501c244d08381cbfa48b804dfac9f09R412

Some projects were almost there:

-
https://github.com/GStreamer/gstreamer/commit/b0c1ebbd0883a9191d553a40b78facff8cb7c26e#diff-b162b68977c03c9a2029a6dd58860a50R267
// whoops, misses out "cc"
-
https://github.com/python/cpython/commit/a0346e56acc8c5371c7b6356e1862e6e01406dbb#diff-61d4a6a33e8afe74d982d4c887e55d41R226
// whoops, misses out "volatile"

Moving forward
==============

I pieced together the various parts of the puzzle over the last few days from
talking to various people. There was no one single person who could tell me
with certainty all of the details mentioned here, so I am not sure if I got
everything correct - therefore it would be good if a GCC developer could
confirm my analysis. Then I suppose we shall have to start filing bug reports
and patches to these projects to get things fixed.

Given that this is such a wide issue perhaps it might be good for GCC to emit a
warning, or else automatically treat asm(div) as volatile unless explicitly
marked as non-volatile and likewise for "cc". A topic for GCC developers - I'm
not in a position to know if this is feasible or not.
>From gcc-bugs-return-579479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:22:25 2017
Return-Path: <gcc-bugs-return-579479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54089 invoked by alias); 23 Oct 2017 11:22: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 54054 invoked by uid 48); 23 Oct 2017 11:22:21 -0000
From: "infinity0 at pwned dot gg" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Mon, 23 Oct 2017 11:22: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: infinity0 at pwned dot gg
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-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-82677-4-rWp65W58RM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02539.txt.bz2
Content-length: 252

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

--- Comment #1 from infinity0 at pwned dot gg ---
Created attachment 42440
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42440&action=edit
Similar test case using macros from GMP et. al.
>From gcc-bugs-return-579480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:26:40 2017
Return-Path: <gcc-bugs-return-579480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71004 invoked by alias); 23 Oct 2017 11:26: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 70954 invoked by uid 48); 23 Oct 2017 11:26:35 -0000
From: "infinity0 at pwned dot gg" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Mon, 23 Oct 2017 11: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: infinity0 at pwned dot gg
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82677-4-OG3PL2riC5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02540.txt.bz2
Content-length: 207

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

--- Comment #2 from infinity0 at pwned dot gg ---
More immutable version of [5]:

[5] https://gmplib.org/repo/gmp/annotate/046bc83644a3/longlong.h#l1574
>From gcc-bugs-return-579481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:39:56 2017
Return-Path: <gcc-bugs-return-579481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16030 invoked by alias); 23 Oct 2017 11: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 15957 invoked by uid 55); 23 Oct 2017 11:39:52 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77555] unused inline function in-function static variable accessed from outside leads to linker error
Date: Mon, 23 Oct 2017 11: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.1.1
X-Bugzilla-Keywords: ice-on-valid-code, lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-77555-4-pmRyZkOSsd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77555-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77555-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02541.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77555

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Oct 23 11:39:20 2017
New Revision: 254006

URL: https://gcc.gnu.org/viewcvs?rev=254006&root=gcc&view=rev
Log:
2017-10-23  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/77555
        * g++.dg/torture/pr77555.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr77555.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:40:48 2017
Return-Path: <gcc-bugs-return-579482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17711 invoked by alias); 23 Oct 2017 11:40: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 17651 invoked by uid 48); 23 Oct 2017 11:40:45 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77555] unused inline function in-function static variable accessed from outside leads to linker error
Date: Mon, 23 Oct 2017 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: 6.1.1
X-Bugzilla-Keywords: ice-on-valid-code, lto, wrong-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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-77555-4-USJJTrA0WF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77555-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77555-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02542.txt.bz2
Content-length: 556

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77555

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|marmoo1024 at gmail dot com        |
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.0

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in 7.1.0.
>From gcc-bugs-return-579483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:45:45 2017
Return-Path: <gcc-bugs-return-579483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22850 invoked by alias); 23 Oct 2017 11:45: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 22580 invoked by uid 48); 23 Oct 2017 11:45:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82668] could use BMI2 rorx for unpacking struct { int a,b }; from a register (SysV ABI)
Date: Mon, 23 Oct 2017 11: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82668-4-4v89T3gCs2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82668-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82668-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02543.txt.bz2
Content-length: 1965

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82668

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |uros at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Not sure where we would have the necessary infrastructure for this.
To be able to use rorx instead of the right shift, the requirement is that the
only use (or all uses) of the shift destination are ignoring the upper bits,
i.e. only use lowpart SImode of it.  But combine apparently can't help here,
I see only:
Failed to match this instruction:
(parallel [
        (set (reg:SI 91)
            (plus:SI (subreg:SI (zero_extract:DI (reg/v:DI 90 [ s ])
                        (const_int 32 [0x20])
                        (const_int 32 [0x20])) 0)
                (subreg:SI (reg/v:DI 90 [ s ]) 0)))
        (clobber (reg:CC 17 flags))
    ])
Failed to match this instruction:
(set (reg:SI 91)
    (plus:SI (subreg:SI (zero_extract:DI (reg/v:DI 90 [ s ])
                (const_int 32 [0x20])
                (const_int 32 [0x20])) 0)
        (subreg:SI (reg/v:DI 90 [ s ]) 0)))
Failed to match this instruction:
(set (reg:SI 91)
    (plus:SI (subreg:SI (lshiftrt:DI (reg/v:DI 90 [ s ])
                (const_int 32 [0x20])) 0)
        (subreg:SI (reg/v:DI 90 [ s ]) 0)))
Having a myriad of SImode arithmetics define_insn_and_split that would match
one of the operands to be a subreg of lshiftrt or zero_extract is not
maintainable.
Or very specialized peephole2 that would handle this.

Or handle it at expansion time, though the problem is that the extvdi/extzvdi
patterns are expected to extract DImode value from DImode source, not SImode
from DImode source, and rorx $32 obviously doesn't provide that.
>From gcc-bugs-return-579484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:46:58 2017
Return-Path: <gcc-bugs-return-579484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25291 invoked by alias); 23 Oct 2017 11:46: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 25258 invoked by uid 48); 23 Oct 2017 11:46:52 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Mon, 23 Oct 2017 11:46: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: 7.2.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-82677-4-BOJviZY4Yx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02544.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
On x86, by default, the compiler already assumes that flags are clobbered.
That's explained in a comment in GMP's longlong.h at least.
>From gcc-bugs-return-579485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:47:59 2017
Return-Path: <gcc-bugs-return-579485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26317 invoked by alias); 23 Oct 2017 11: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 26266 invoked by uid 48); 23 Oct 2017 11:47:55 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82673] [8 Regression] ICE in ix86_finalize_stack_frame_flags at gcc/config/i386/i386.c:12695
Date: Mon, 23 Oct 2017 11: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:
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-82673-4-QbKNeYdYpZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02545.txt.bz2
Content-length: 614

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82673

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-23
                 CC|                            |hjl.tools at gmail dot com
     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/2017-10/msg01475.html
>From gcc-bugs-return-579486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:48:41 2017
Return-Path: <gcc-bugs-return-579486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28929 invoked by alias); 23 Oct 2017 11: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 28898 invoked by uid 48); 23 Oct 2017 11:48:38 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82659] Unnecessary ENDBR in static/local functions
Date: Mon, 23 Oct 2017 11: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: 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-82659-4-31L3HlhJBA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82659-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82659-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02546.txt.bz2
Content-length: 591

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82659

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-23
   Target Milestone|---                         |8.0
     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/2017-10/msg01411.html
>From gcc-bugs-return-579487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:58:50 2017
Return-Path: <gcc-bugs-return-579487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46025 invoked by alias); 23 Oct 2017 11:58: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 45977 invoked by uid 48); 23 Oct 2017 11:58:44 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Mon, 23 Oct 2017 11: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: 7.2.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: 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-82677-4-No42toOVuA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02547.txt.bz2
Content-length: 1334

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-23
                 CC|                            |rguenth at gcc dot gnu.org
          Component|inline-asm                  |rtl-optimization
     Ever confirmed|0                           |1

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is RTL invariant motion hoisting the non-volatile asm out of the loop even
though it is _not_ unconditionally executed.

I think it is against the spirit of asm()s to be treated this way.  We're
handling possible NULL pointer dereferences correctly (just not in asm()s)
as well.

So I think LIM needs to be conservative with not always executed asm()s.

It's still safe to move the asm in

int main() {
  ulong d = 0;
  for (ulong i = 0; i < 3; i++)
    for (ulong j = 0; j < 3; j++)
        {
          ulong r;
          __asm__("" : "=r"(d) : "rm"((ulong)0));
          udiv_qrnnd(q, r, 0, 0, (i << d));
        }
}

thus without the if ().
>From gcc-bugs-return-579488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 11:59:12 2017
Return-Path: <gcc-bugs-return-579488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46913 invoked by alias); 23 Oct 2017 11:59: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 46869 invoked by uid 48); 23 Oct 2017 11:59:08 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77771] internal compiler error: in cxx_eval_bit_field_ref, at cp/constexpr.c:2090
Date: Mon, 23 Oct 2017 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: 5.4.1
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-77771-4-W07Jx2LoVc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77771-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77771-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02548.txt.bz2
Content-length: 153

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77771

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Likely related to PR57335.
>From gcc-bugs-return-579489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:00:46 2017
Return-Path: <gcc-bugs-return-579489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48394 invoked by alias); 23 Oct 2017 12:00: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 48359 invoked by uid 48); 23 Oct 2017 12:00:42 -0000
From: "stergios.zissakis at silixa dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82678] New: g++ crashes on wrong lamda
Date: Mon, 23 Oct 2017 12: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stergios.zissakis at silixa 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-82678-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02549.txt.bz2
Content-length: 2822

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82678

            Bug ID: 82678
           Summary: g++ crashes on wrong lamda
           Product: gcc
           Version: 4.8.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stergios.zissakis at silixa dot com
  Target Milestone: ---

Please see: https://bugzilla.redhat.com/show_bug.cgi?id=1504185

As CentOS7 suggested I reported the bug on RedHat's website...

Pasting the description in:
Sterge 2017-10-19 11:50:35 EDT
Created attachment 1340826 [details]
Preprocessed source code

Description of problem:
Compiler (g++) crash

Version-Release number of selected component (if applicable):
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)

How reproducible:
Preprocessed source attached

Steps to Reproduce:
1. Use the attached preprocessed code
2. If not good, please contact me for initial srouce code
3.

Actual results:
c++ -g -std=c++11 -I. -I/home/szis/dev/cppInfrastructure/src/
-I/home/szis/dev/cppInfrastructure/include/  -fpermissive -c
/home/szis/dev/cppInfrastructure/src/main.cpp -o
/home/szis/dev/cppInfrastructure/src/main.o
In file included from /usr/include/c++/4.8.2/thread:39:0,
                 from
/home/szis/dev/cppInfrastructure/include/utils/Logger.h:10,
                 from /home/szis/dev/cppInfrastructure/src/main.cpp:8:
/usr/include/c++/4.8.2/functional: In instantiation of ‘typename
std::result_of<_Functor(_ArgTypes ...)>::type std::_Bind_simple<_Callable(_Args
...)>::_M_invoke(std::_Index_tuple<_Indices ...>) [with long unsigned int
..._Indices = {}; _Callable = FileReader<T>::Go() const [with T =
double]::__lambda2; _Args = {}; typename std::result_of<_Functor(_ArgTypes
...)>::type = void]’:
/usr/include/c++/4.8.2/functional:1720:36:   required from
‘std::_Bind_simple<_Callable(_Args ...)>::result_type
std::_Bind_simple<_Callable(_Args ...)>::operator()() [with _Callable =
FileReader<T>::Go() const [with T = double]::__lambda2; _Args = {};
std::_Bind_simple<_Callable(_Args ...)>::result_type = void]’
/usr/include/c++/4.8.2/thread:115:13:   required from ‘void
std::thread::_Impl<_Callable>::_M_run() [with _Callable =
std::_Bind_simple<FileReader<T>::Go() const [with T = double]::__lambda2()>]’
/home/szis/dev/cppInfrastructure/src/main.cpp:79:1:   required from here
/usr/include/c++/4.8.2/functional:1731:63: internal compiler error: in
tsubst_copy, at cp/pt.c:12137
           return std::forward<_Callable>(std::get<0>(_M_bound))(
                                                               ^


Expected results:
An object file.



Please also find attached a  preprocessed code file from gcc.

Cheers,
Sterge
>From gcc-bugs-return-579490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:04:49 2017
Return-Path: <gcc-bugs-return-579490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54449 invoked by alias); 23 Oct 2017 12:04: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 54308 invoked by uid 48); 23 Oct 2017 12:04:44 -0000
From: "infinity0 at pwned dot gg" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Mon, 23 Oct 2017 12:04: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.2.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: infinity0 at pwned dot gg
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82677-4-FsXyUCs1AV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02550.txt.bz2
Content-length: 692

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

--- Comment #5 from infinity0 at pwned dot gg ---
(In reply to Richard Biener from comment #4)
> [..]
> It's still safe to move the asm in
> 
> int main() {
>   ulong d = 0;
>   for (ulong i = 0; i < 3; i++)
>     for (ulong j = 0; j < 3; j++)
>         {
>           ulong r;
>           __asm__("" : "=r"(d) : "rm"((ulong)0));
>           udiv_qrnnd(q, r, 0, 0, (i << d));
>         }
> }
> 
> thus without the if ().

For the specific case of asm(div) I suppose it's safe because raising a DE is
pretty much similar to raising it several times in a loop, but it is correct to
assume that for all types of side effects?
>From gcc-bugs-return-579491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:07:50 2017
Return-Path: <gcc-bugs-return-579491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56532 invoked by alias); 23 Oct 2017 12: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 56494 invoked by uid 48); 23 Oct 2017 12:07:42 -0000
From: "stergios.zissakis at silixa dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82678] g++ crashes on wrong lamda
Date: Mon, 23 Oct 2017 12: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stergios.zissakis at silixa 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-82678-4-hK52O4ehmp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02551.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82678

--- Comment #1 from Sterge <stergios.zissakis at silixa dot com> ---
Created attachment 42441
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42441&action=edit
preprocessed code
>From gcc-bugs-return-579492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:07:57 2017
Return-Path: <gcc-bugs-return-579492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57213 invoked by alias); 23 Oct 2017 12:07: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 56883 invoked by uid 48); 23 Oct 2017 12:07:53 -0000
From: "stergios.zissakis at silixa dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82678] g++ crashes on wrong lamda
Date: Mon, 23 Oct 2017 12: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stergios.zissakis at silixa 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-82678-4-jy7iFSIEn7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02552.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82678

--- Comment #2 from Sterge <stergios.zissakis at silixa dot com> ---
Created attachment 42442
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42442&action=edit
preprocessed code
>From gcc-bugs-return-579493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:08:27 2017
Return-Path: <gcc-bugs-return-579493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58296 invoked by alias); 23 Oct 2017 12:08: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 58256 invoked by uid 48); 23 Oct 2017 12:08:23 -0000
From: "stergios.zissakis at silixa dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82678] g++ crashes on wrong lamda
Date: Mon, 23 Oct 2017 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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stergios.zissakis at silixa 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-82678-4-igtqjVOyOj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02553.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82678

--- Comment #3 from Sterge <stergios.zissakis at silixa dot com> ---
Created attachment 42443
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42443&action=edit
preprocessed code
>From gcc-bugs-return-579495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:09:15 2017
Return-Path: <gcc-bugs-return-579495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62122 invoked by alias); 23 Oct 2017 12: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 61621 invoked by uid 48); 23 Oct 2017 12:09:08 -0000
From: "infinity0 at pwned dot gg" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Mon, 23 Oct 2017 12:09: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.2.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: infinity0 at pwned dot gg
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82677-4-3ezOzdW9tl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02555.txt.bz2
Content-length: 414

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

--- Comment #6 from infinity0 at pwned dot gg ---
What I mean is, even if you do change GCC to fix the unintended optimisation,
other projects' code are *still wrong* - it's only correct if you can assume
the C compiler is optimising your code in a very specific way, that happens to
safe for the specific sorts of "side effects" that div instructions do.
>From gcc-bugs-return-579494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:09:06 2017
Return-Path: <gcc-bugs-return-579494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61370 invoked by alias); 23 Oct 2017 12: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 61324 invoked by uid 48); 23 Oct 2017 12:09:02 -0000
From: "stergios.zissakis at silixa dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82678] g++ crashes on wrong lamda
Date: Mon, 23 Oct 2017 12: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stergios.zissakis at silixa 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-82678-4-PF17BJP4gN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02554.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82678

--- Comment #4 from Sterge <stergios.zissakis at silixa dot com> ---
Created attachment 42444
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42444&action=edit
preprocessed code
>From gcc-bugs-return-579496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:13:21 2017
Return-Path: <gcc-bugs-return-579496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76973 invoked by alias); 23 Oct 2017 12: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 76532 invoked by uid 48); 23 Oct 2017 12:13:15 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82678] g++ crashes on wrong lamda
Date: Mon, 23 Oct 2017 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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82678-4-LOtHHv2MMB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02556.txt.bz2
Content-length: 579

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82678

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-23
     Ever confirmed|0                           |1

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
4.8.x is no longer maintained: please check if you can reproduce the issue with
6.x or 7.x.
>From gcc-bugs-return-579497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:19:09 2017
Return-Path: <gcc-bugs-return-579497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12579 invoked by alias); 23 Oct 2017 12: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 12517 invoked by uid 48); 23 Oct 2017 12:19:05 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r
Date: Mon, 23 Oct 2017 12: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: 7.0.1
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: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-79937-4-xqB6ST0cbc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79937-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79937-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02557.txt.bz2
Content-length: 441

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot com

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Hi Marek, are you still working on this?
>From gcc-bugs-return-579498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:26:17 2017
Return-Path: <gcc-bugs-return-579498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34206 invoked by alias); 23 Oct 2017 12: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 34163 invoked by uid 48); 23 Oct 2017 12:26:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82667] SSE2 redundant pcmpgtd for sign-extension of values known to be >= 0
Date: Mon, 23 Oct 2017 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: 8.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
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-82667-4-GWrbZoM7cO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82667-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82667-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02558.txt.bz2
Content-length: 1521

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82667

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> ---
So, either the vectorizer needs to know that on this target signed vector
extension (vec_unpack_{lo,hi}_expr) is more expensive than unsigned one
(through costs, other means) and if there is a cost difference between them,
try to look at VRP info whether it is known to have zero MSB and thus both sign
and zero extension do the same thing and based on that choose the cheaper
extension.
Unfortunately we don't have that VRP info available right now, we have only
  _ifc__30 = _4 > 127 ? _24 : 0;
  # RANGE [0, 9223372036854775807] NONZERO 9223372036854775807
  prephitmp_27 = sum_19 + _ifc__30;
because ifc__30 is created during ifcvt pass and VRP info hasn't been computed
for that.
So, it would have to be smarts in the on-demand VRP if we ever get that.

Or, to optimize this later on, e.g. during expansion, we'd need value ranges
for integral vectors, either precise ones which would have a separate value
range for each element, or at least one conservative one that would cover all
elements (easier/smaller to preserve, but VRP would need to be changed to also
handle these conservative or full ranges for vector elements).
>From gcc-bugs-return-579499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:47:45 2017
Return-Path: <gcc-bugs-return-579499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129478 invoked by alias); 23 Oct 2017 12:47: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 129436 invoked by uid 48); 23 Oct 2017 12:47:40 -0000
From: "stergios.zissakis at silixa dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82678] g++ crashes on wrong lamda
Date: Mon, 23 Oct 2017 12: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stergios.zissakis at silixa 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-82678-4-ZVUH9AdRzO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02559.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82678

--- Comment #6 from Sterge <stergios.zissakis at silixa dot com> ---
Thanks mate and apologies for the spam!
Didn't know.... that's the version that comes with CentOS 7.

I am closing it.
>From gcc-bugs-return-579500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:48:31 2017
Return-Path: <gcc-bugs-return-579500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 873 invoked by alias); 23 Oct 2017 12:48: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 776 invoked by uid 48); 23 Oct 2017 12:48:23 -0000
From: "stergios.zissakis at silixa dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82678] g++ crashes on wrong lamda
Date: Mon, 23 Oct 2017 12: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stergios.zissakis at silixa 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: bug_status resolution
Message-ID: <bug-82678-4-pUFgzFtmpV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02560.txt.bz2
Content-length: 447

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82678

Sterge <stergios.zissakis at silixa dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Sterge <stergios.zissakis at silixa dot com> ---
Version not supported.
>From gcc-bugs-return-579501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:49:08 2017
Return-Path: <gcc-bugs-return-579501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1837 invoked by alias); 23 Oct 2017 12: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 1777 invoked by uid 48); 23 Oct 2017 12:48:57 -0000
From: "stergios.zissakis at silixa dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82678] g++ crashes on wrong lamda
Date: Mon, 23 Oct 2017 12: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stergios.zissakis at silixa 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: resolution
Message-ID: <bug-82678-4-99i8EZiCrF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82678-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02561.txt.bz2
Content-length: 298

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82678

Sterge <stergios.zissakis at silixa dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID
>From gcc-bugs-return-579502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:51:17 2017
Return-Path: <gcc-bugs-return-579502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6367 invoked by alias); 23 Oct 2017 12:51: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 6237 invoked by uid 48); 23 Oct 2017 12:51:14 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r
Date: Mon, 23 Oct 2017 12: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.0.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-79937-4-CB5UxAwrJC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79937-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79937-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02562.txt.bz2
Content-length: 507

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|mpolacek at gcc dot gnu.org        |unassigned at gcc dot gnu.org

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Hi, not right now, and I won't get to this soon.  Sorry.
>From gcc-bugs-return-579503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 12:59:45 2017
Return-Path: <gcc-bugs-return-579503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27299 invoked by alias); 23 Oct 2017 12: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 27227 invoked by uid 48); 23 Oct 2017 12:59:36 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r
Date: Mon, 23 Oct 2017 12: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.0.1
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-79937-4-BLmEEI0fca@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79937-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79937-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02563.txt.bz2
Content-length: 498

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|paolo.carlini at oracle dot com    |

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Thanks Marek, no problem. Just wanted to avoid somebody else (not me, at the
moment) to be prevented from working on a fix.
>From gcc-bugs-return-579504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 13:01:11 2017
Return-Path: <gcc-bugs-return-579504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29515 invoked by alias); 23 Oct 2017 13:01: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 29321 invoked by uid 48); 23 Oct 2017 13:00:57 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 and FreeBSD 11.1 because of abort redefinition
Date: Mon, 23 Oct 2017 13:01: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: 8.0
X-Bugzilla-Keywords:
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82610-4-tSsONFmWhh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02564.txt.bz2
Content-length: 240

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610

--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
I posted fxcoudert's patch from comment 0 for review here:
  https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01478.html
>From gcc-bugs-return-579505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 13:20:53 2017
Return-Path: <gcc-bugs-return-579505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38370 invoked by alias); 23 Oct 2017 13: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 25500 invoked by uid 55); 23 Oct 2017 13:20:47 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Mon, 23 Oct 2017 13: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: 7.2.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-82677-4-9KUUJhNMrL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02565.txt.bz2
Content-length: 741

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 23 Oct 2017, infinity0 at pwned dot gg wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677
> 
> --- Comment #6 from infinity0 at pwned dot gg ---
> What I mean is, even if you do change GCC to fix the unintended optimisation,
> other projects' code are *still wrong* - it's only correct if you can assume
> the C compiler is optimising your code in a very specific way, that happens to
> safe for the specific sorts of "side effects" that div instructions do.

You still have to mark stmts with side-effects as volatile.

Conditional side-effects are tricky to get correct of course.
>From gcc-bugs-return-579506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 13:45:54 2017
Return-Path: <gcc-bugs-return-579506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8939 invoked by alias); 23 Oct 2017 13: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 8910 invoked by uid 48); 23 Oct 2017 13:45:49 -0000
From: "olivier.delande.spam at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82679] New: Uses of typedefs of arrays of _Atomic-qualified types are rejected
Date: Mon, 23 Oct 2017 13: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: olivier.delande.spam 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-82679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02566.txt.bz2
Content-length: 4172

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679

            Bug ID: 82679
           Summary: Uses of typedefs of arrays of _Atomic-qualified types
                    are rejected
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: olivier.delande.spam at googlemail dot com
  Target Milestone: ---

Created attachment 42445
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42445&action=edit
minimal example reproducing the problem

Consider the following minimal program (also attached to this report):

  typedef _Atomic int my_array[42];
  my_array x;

  int main(void) {
    return 0;
  }

When compiling this program with

  gcc -std=c11 test.c 

I get the output:

  test.c:2:10: error: ‘_Atomic’-qualified array type
   my_array x;
          ^
GCC complains that x's array type is qualified with _Atomic, but I believe that
what is so qualified is the element type, not the array type (which would
indeed be illegal). The program should be compiled without generating any
error.

For completeness, here is the output of gcc -v -std=c11 test.c

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
5.4.0-6ubuntu1~16.04.5' --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-vtable-verify --enable-libmpx --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-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --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 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 
COLLECT_GCC_OPTIONS='-v' '-std=c11' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/5/cc1 -quiet -v -imultiarch x86_64-linux-gnu
test.c -quiet -dumpbase test.c -mtune=generic -march=x86-64 -auxbase test
-std=c11 -version -fstack-protector-strong -Wformat -Wformat-security -o
/tmp/ccnPUUlu.s
GNU C11 (Ubuntu 5.4.0-6ubuntu1~16.04.5) version 5.4.0 20160609
(x86_64-linux-gnu)
        compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR
version 3.1.4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-linux-gnu/5/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
GNU C11 (Ubuntu 5.4.0-6ubuntu1~16.04.5) version 5.4.0 20160609
(x86_64-linux-gnu)
        compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR
version 3.1.4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 20effb81769d6418d1599a71173c569c
test.c:2:10: error: ‘_Atomic’-qualified array type
 my_array x;
          ^
>From gcc-bugs-return-579507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 13:50:00 2017
Return-Path: <gcc-bugs-return-579507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27267 invoked by alias); 23 Oct 2017 13: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 27242 invoked by uid 55); 23 Oct 2017 13:49:56 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82672] [8 Regression][GRAPHITE] ICE in verify_gimple_in_cfg
Date: Mon, 23 Oct 2017 13: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: 8.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82672-4-sHJ3aurdeV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82672-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82672-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02567.txt.bz2
Content-length: 661

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82672

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Oct 23 13:49:24 2017
New Revision: 254009

URL: https://gcc.gnu.org/viewcvs?rev=254009&root=gcc&view=rev
Log:
2017-10-23  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82672
        * graphite-isl-ast-to-gimple.c (graphite_copy_stmts_from_block):
        Fold the stmt if we propagated into it.

        * gfortran.dg/graphite/pr82672.f90: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/graphite/pr82672.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 14:35:12 2017
Return-Path: <gcc-bugs-return-579508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50994 invoked by alias); 23 Oct 2017 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 50898 invoked by uid 48); 23 Oct 2017 14:35:02 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81924] [6 Regression] ICE: in simplify_binary_operation_1, at simplify-rtx.c:3678 on powerpc64le-linux-gnu
Date: Mon, 23 Oct 2017 14: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: 5.4.1
X-Bugzilla-Keywords: ice-on-valid-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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81924-4-OqcglG5Ejh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81924-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02568.txt.bz2
Content-length: 785

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81924

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
I've backported the fix for the latent bug here:  

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01388.html

I'm going to go ahead and close this since GCC 5 is no longer in service, and
all known related issues for later releases are resolved.  Matthias, feel free
to work with me offline if you want to investigate anything further for 5 out
of tree.
>From gcc-bugs-return-579509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 14:50:52 2017
Return-Path: <gcc-bugs-return-579509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109147 invoked by alias); 23 Oct 2017 14: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 109102 invoked by uid 48); 23 Oct 2017 14:50:47 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected
Date: Mon, 23 Oct 2017 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: 5.4.0
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-82679-4-S1IkFRpkjg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02569.txt.bz2
Content-length: 935

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
GCC is correct here, and this behavior is intentional:

  /* Applying the _Atomic qualifier to an array type (through the use
     of typedefs or typeof) must be detected here.  If the qualifier
     is introduced later, any appearance of applying it to an array is
     actually applying it to an element of that array.  */
  if (atomicp && TREE_CODE (type) == ARRAY_TYPE)
    error_at (loc, "%<_Atomic%>-qualified array type");
>From gcc-bugs-return-579510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 14:58:59 2017
Return-Path: <gcc-bugs-return-579510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16584 invoked by alias); 23 Oct 2017 14:58: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 16525 invoked by uid 55); 23 Oct 2017 14:58:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Mon, 23 Oct 2017 14: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-81QC9IcHpW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02570.txt.bz2
Content-length: 1049

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Oct 23 14:58:23 2017
New Revision: 254011

URL: https://gcc.gnu.org/viewcvs?rev=254011&root=gcc&view=rev
Log:
        PR target/82628
        * config/i386/predicates.md (x86_64_dwzext_immediate_operand): New.
        * config/i386/constraints.md (Wf): New constraint.
        * config/i386/i386.md (UNSPEC_SBB): New unspec.
        (cmp<dwi>_doubleword): Removed.
        (sub<mode>3_carry_ccc, *sub<mode>3_carry_ccc_1): New patterns.
        (sub<mode>3_carry_ccgz): Use unspec instead of compare.
        * config/i386/i386.c (ix86_expand_branch) <case E_TImode>: Don't
        expand with cmp<dwi>_doubleword.  For LTU and GEU use
        sub<mode>3_carry_ccc instead of sub<mode>3_carry_ccgz and use CCCmode.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/constraints.md
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
    trunk/gcc/config/i386/predicates.md
>From gcc-bugs-return-579511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 14:59:48 2017
Return-Path: <gcc-bugs-return-579511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18913 invoked by alias); 23 Oct 2017 14: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 18833 invoked by uid 48); 23 Oct 2017 14:59:42 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82674] ICE with -fstack-clash-protection
Date: Mon, 23 Oct 2017 14: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.0
X-Bugzilla-Keywords: 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: law at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-82674-4-SiYCSGPZbA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82674-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82674-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02571.txt.bz2
Content-length: 550

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82674

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-23
                 CC|                            |law at redhat dot com
           Assignee|unassigned at gcc dot gnu.org      |law at redhat dot com
     Ever confirmed|0                           |1
>From gcc-bugs-return-579512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 15:02:17 2017
Return-Path: <gcc-bugs-return-579512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51525 invoked by alias); 23 Oct 2017 15: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 48896 invoked by uid 48); 23 Oct 2017 15:02:13 -0000
From: "olivier.delande.spam at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected
Date: Mon, 23 Oct 2017 15: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: 5.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: olivier.delande.spam at googlemail 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-82679-4-Rw4AF3Q3eK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02572.txt.bz2
Content-length: 984

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679

--- Comment #2 from olivier.delande.spam at googlemail dot com ---
(In reply to Marek Polacek from comment #1)
> GCC is correct here, and this behavior is intentional:

I don't understand. The comment you are quoting mentions detecting
qualifications of the array type, whereas my example qualifies the element
type. This is made clearer in the following variant of my example, which
produces the same error:

  typedef _Atomic int my_atomic_int;
  typedef my_atomic_int my_array[42];
  my_array x;

  int main(void) {
    return 0;
  }

This additional typedef makes it clearer that int is qualified, not the array
type.

You write that GCC is correct, but my interpretation of the C standard is that
it is not. Could you elaborate and provide a reference to the part of the
standard supporting GCC's behavior?

(For comparison, clang 3.8.0 accepts both my examples, and does reject _Atomic
qualifications of array types.)
>From gcc-bugs-return-579513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 15:15:47 2017
Return-Path: <gcc-bugs-return-579513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2961 invoked by alias); 23 Oct 2017 15: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 128043 invoked by uid 48); 23 Oct 2017 15:15:39 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/39218] a surprising instance of -fstack-protector not protecting
Date: Mon, 23 Oct 2017 15: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: 4.3.3
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: cc
Message-ID: <bug-39218-4-6mIsomDIJx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-39218-4@http.gcc.gnu.org/bugzilla/>
References: <bug-39218-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02573.txt.bz2
Content-length: 504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39218

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> ---
Someone brought this up on the gcc-help mailing list here:
https://gcc.gnu.org/ml/gcc-help/2017-10/msg00134.html
>From gcc-bugs-return-579514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 15:39:22 2017
Return-Path: <gcc-bugs-return-579514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107959 invoked by alias); 23 Oct 2017 15: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 107899 invoked by uid 48); 23 Oct 2017 15:39:17 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected
Date: Mon, 23 Oct 2017 15: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: 5.4.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: bug_status resolution
Message-ID: <bug-82679-4-ocaptWMG0A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02574.txt.bz2
Content-length: 565

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Sorry, I probably shouldn't have closed this.  I guess what we want to reject
is 

typedef int T[10];
_Atomic T a;

but not your example.
>From gcc-bugs-return-579515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 15:49:56 2017
Return-Path: <gcc-bugs-return-579515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100421 invoked by alias); 23 Oct 2017 15: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 96969 invoked by uid 55); 23 Oct 2017 15:49:52 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82673] [8 Regression] ICE in ix86_finalize_stack_frame_flags at gcc/config/i386/i386.c:12695
Date: Mon, 23 Oct 2017 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:
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82673-4-pdTzMr5E3N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02575.txt.bz2
Content-length: 777

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82673

--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Mon Oct 23 15:49:19 2017
New Revision: 254013

URL: https://gcc.gnu.org/viewcvs?rev=254013&root=gcc&view=rev
Log:
i386: Skip DF_REF_INSN if DF_REF_INSN_INFO is false

We should check DF_REF_INSN_INFO before accessing DF_REF_INSN.

gcc/

        PR target/82673
        * config/i386/i386.c (ix86_finalize_stack_frame_flags): Skip
        DF_REF_INSN if DF_REF_INSN_INFO is false.

gcc/testsuite/

        PR target/82673
        * gcc.target/i386/pr82673.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82673.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 15:50:13 2017
Return-Path: <gcc-bugs-return-579516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114066 invoked by alias); 23 Oct 2017 15: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 110716 invoked by uid 48); 23 Oct 2017 15:50:10 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82680] New: Use cmpXXss and cmpXXsd for setcc boolean compare
Date: Mon, 23 Oct 2017 15: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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-82680-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02576.txt.bz2
Content-length: 948

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82680

            Bug ID: 82680
           Summary: Use cmpXXss and cmpXXsd for setcc boolean compare
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com
  Target Milestone: ---

Both, ICC and clang use cmpXXss and cmpXXsd instructions for setcc boolean
compare:

int g(double x, double y)
{
        return x == y;
}

ICC:
        cmpeqsd   %xmm1, %xmm0
        movd      %xmm0, %eax
        negl      %eax
        ret

clang:
        cmpeqsd %xmm1, %xmm0
        movq    %xmm0, %rax
        andl    $1, %eax
        retq

gcc w/ -ffast-math:

        xorl    %eax, %eax
        comisd  %xmm1, %xmm0
        sete    %al
        ret

Versions with direct moves avoid partial register stalls.
>From gcc-bugs-return-579517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 15:52:24 2017
Return-Path: <gcc-bugs-return-579517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101105 invoked by alias); 23 Oct 2017 15:52: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 87465 invoked by uid 48); 23 Oct 2017 15:52:16 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82680] Use cmpXXss and cmpXXsd for setcc boolean compare
Date: Mon, 23 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: cc
Message-ID: <bug-82680-4-HczdXXaUn8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82680-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82680-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02577.txt.bz2
Content-length: 426

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82680

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter at cordes dot ca

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Maybe Peter knows which version is the best.
>From gcc-bugs-return-579518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 15:52:30 2017
Return-Path: <gcc-bugs-return-579518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104177 invoked by alias); 23 Oct 2017 15:52: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 102033 invoked by uid 48); 23 Oct 2017 15:52:25 -0000
From: "olivier.delande.spam at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected
Date: Mon, 23 Oct 2017 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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: olivier.delande.spam 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:
Message-ID: <bug-82679-4-pvzMfchrQ8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02578.txt.bz2
Content-length: 654

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679

--- Comment #4 from olivier.delande.spam at googlemail dot com ---
(In reply to Marek Polacek from comment #3)
> Sorry, I probably shouldn't have closed this.  I guess what we want to
> reject is 
> 
> typedef int T[10];
> _Atomic T a;
> 
> but not your example.

Indeed, that is exactly what I would expect (from my understanding of the
standard), and, as far as I can tell, that is what clang does. I have not
tested other compilers.

To anyone else is affected by this: a workaround (besides not using typedef for
such array types) is to wrap the atomic element type in a struct.

Thanks!
>From gcc-bugs-return-579520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:07:28 2017
Return-Path: <gcc-bugs-return-579520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88986 invoked by alias); 23 Oct 2017 16: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 88955 invoked by uid 48); 23 Oct 2017 16:07:25 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82622] [PDT] ICE in structure_alloc_comps, at fortran/trans-array.c:8963
Date: Mon, 23 Oct 2017 16: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: gscfq@t-online.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-82622-4-87QjrHQbDq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02580.txt.bz2
Content-length: 1697

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82622

--- Comment #3 from G. Steinmetz <gscfq@t-online.de> ---
Backtrace for example z2 from comment 1 :
(with new snapshot, configured with --enable-checking=yes)


$ gfortran-8-20171022 -c z2.f90
z2.f90:1:0:

 program p

internal compiler error: tree check: expected array_type, have record_type in
gfc_conv_array_initializer, at fortran/trans-array.c:5881
0x60eaa1 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/tree.c:9098
0x76c493 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/tree.h:3094
0x76c493 gfc_conv_array_initializer(tree_node*, gfc_expr*)
        ../../gcc/fortran/trans-array.c:5881
0x7a4dd0 gfc_conv_initializer(gfc_expr*, gfc_typespec*, tree_node*, bool, bool,
bool)
        ../../gcc/fortran/trans-expr.c:6805
0x7a5621 gfc_conv_structure(gfc_se*, gfc_expr*, int)
        ../../gcc/fortran/trans-expr.c:7708
0x7a4fb1 gfc_conv_initializer(gfc_expr*, gfc_typespec*, tree_node*, bool, bool,
bool)
        ../../gcc/fortran/trans-expr.c:6840
0x78945c gfc_get_symbol_decl(gfc_symbol*)
        ../../gcc/fortran/trans-decl.c:1819
0x78d1d7 generate_local_decl
        ../../gcc/fortran/trans-decl.c:5493
0x744f4b do_traverse_symtree
        ../../gcc/fortran/symbol.c:4157
0x78dfa2 generate_local_vars
        ../../gcc/fortran/trans-decl.c:5693
0x78dfa2 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6357
0x712e40 translate_all_program_units
        ../../gcc/fortran/parse.c:6088
0x712e40 gfc_parse_file()
        ../../gcc/fortran/parse.c:6291
0x75819f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-579519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:07:06 2017
Return-Path: <gcc-bugs-return-579519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88147 invoked by alias); 23 Oct 2017 16:07: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 88083 invoked by uid 48); 23 Oct 2017 16:07:02 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82673] [8 Regression] ICE in ix86_finalize_stack_frame_flags at gcc/config/i386/i386.c:12695
Date: Mon, 23 Oct 2017 16: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82673-4-Ab6kh2WTEM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82673-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02579.txt.bz2
Content-length: 415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82673

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
>From gcc-bugs-return-579521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:13:35 2017
Return-Path: <gcc-bugs-return-579521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99565 invoked by alias); 23 Oct 2017 16:13: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 97945 invoked by uid 48); 23 Oct 2017 16:13:31 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82681] New: c-warn.c:1218: typo in warning message
Date: Mon, 23 Oct 2017 16:13: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: 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-82681-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02581.txt.bz2
Content-length: 805

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82681

            Bug ID: 82681
           Summary: c-warn.c:1218: typo in warning message
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

$ fgrep -n chages */*.c
c-family/c-warn.c:1218:             "chages value from %qE to %qE",
c-family/c-warn.c:1223:             "chages the value of %qE",
$ 

Should be "changes", shouldn't it ?

svn blame says:

$ svn blame c-family/c-warn.c | fgrep chages
248431     msebor                   "chages value from %qE to %qE",
248431     msebor                   "chages the value of %qE",
$
>From gcc-bugs-return-579522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:16:34 2017
Return-Path: <gcc-bugs-return-579522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74418 invoked by alias); 23 Oct 2017 16:16: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 73300 invoked by uid 48); 23 Oct 2017 16:16:30 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82681] c-warn.c:1218: typo in warning message
Date: Mon, 23 Oct 2017 16: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:
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 cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-82681-4-QHMnVfLD39@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02582.txt.bz2
Content-length: 662

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82681

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-23
                 CC|                            |mpolacek at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Of course, will fix.
>From gcc-bugs-return-579523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:27:49 2017
Return-Path: <gcc-bugs-return-579523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 469 invoked by alias); 23 Oct 2017 16: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 125095 invoked by uid 48); 23 Oct 2017 16:27:45 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Mon, 23 Oct 2017 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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82062-4-SxOH6ARypp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02583.txt.bz2
Content-length: 200

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Any progress on this?  We only need to partially revert the change it seems.
>From gcc-bugs-return-579524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:33:04 2017
Return-Path: <gcc-bugs-return-579524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78141 invoked by alias); 23 Oct 2017 16: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 77871 invoked by uid 48); 23 Oct 2017 16:32:59 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Mon, 23 Oct 2017 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.1
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81758-4-ko8gjbsqTq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02584.txt.bz2
Content-length: 1976

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #15 from Paul Thomas <pault at gcc dot gnu.org> ---
Hi DIL,

On reflection, this is OK and agrees with your diagnosis:

>   val_p._vptr = (struct __vtype__STAR * {ref-all}) &__vtab__STAR;
>   val_p._len = 0;
>   val_p._data = 0B;
>   cep._vptr = (struct __vtype_gfc_base_Gfc_cont_elem_t * {ref-all})
> &__vtab_gfc_base_Gfc_cont_elem_t;
>   cep._data = 0B;
>   {
>     struct __class_gfc_base_Gfc_cont_elem_t_p rhs.69;
> 
>     rhs.69 = this->_vptr->element ((struct
> __class_gfc_vector_Vector_iter_t_t *) this, (integer(kind=8) *) offset,
> &errc);
>     cep._vptr = rhs.69._vptr;
>     cep._data = rhs.69._data;
>   }
>   if ((logical(kind=4)) (errc == 0 && cep._data != 0B))
>     {
>       {
>         struct __class_gfc_base_Gfc_cont_elem_t_t this.70;
>         struct __class__STAR_p rhs.71;
> 
>         this.70 = VIEW_CONVERT_EXPR<struct
> __class_gfc_base_Gfc_cont_elem_t_t>(cep);
>         rhs.71 = cep._vptr->get_value (&this.70, &errc);
>         val_p._vptr = rhs.71._vptr;
>         val_p._len = 0;
>         val_p._data = rhs.71._data;
>       }
>     }

The vtable pointed to by rhs.69._vptr and so cep._vptr is clearly not the right
one.

I am on a business trip right now and so cannot work on this bug (back on
Thursday). However, it would help me get back up to speed if you could give me
a few pointers, if you will excuse the pun.

It should be possible to tell from your debug session which type's vtable is
being pointed to and MAYBE where the wrong assignment to the vpointer is being
made.

BTW is this the first visit to this bit of code? I didn't run a debug session
yet because the crash is so spectacular that I had to restart the terminal each
time! After three or four such, the system falls over :-)

I'll get back to this problem later on this week. I regard it as being a
serious bug and want to get on top of it asap.

Paul
>From gcc-bugs-return-579525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:33:36 2017
Return-Path: <gcc-bugs-return-579525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79259 invoked by alias); 23 Oct 2017 16:33: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 78990 invoked by uid 48); 23 Oct 2017 16:33:32 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82681] c-warn.c:1218: typo in warning message
Date: Mon, 23 Oct 2017 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.0
X-Bugzilla-Keywords:
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: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82681-4-CdA2Flseg3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02585.txt.bz2
Content-length: 763

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82681

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
I counted five uses of the word "chages" in the original patch.

Seemingly, the word is searched for in output from the testsuite.

$ pwd
/home/dcb/gcc/trunk/gcc/testsuite
$ fgrep chages `find . -name \*.c -print`
./gcc.dg/overflow-warn-8.c:  int i6 = (double)1.0 + INT_MAX; /* { dg-warning
"overflow in conversion from .double. to .int. chages value" } */
./gcc.dg/c90-const-expr-11.c:  struct t c = { DBL_MAX }; /* { dg-warning
"overflow in conversion from .double. to .int. chages value " } */
./gcc.dg/overflow-warn-5.c:    return p & 512; /* { dg-warning "overflow in
conversion from .int. to .unsigned char. chages value" } */
$
>From gcc-bugs-return-579526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:36:41 2017
Return-Path: <gcc-bugs-return-579526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85860 invoked by alias); 23 Oct 2017 16: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 85821 invoked by uid 48); 23 Oct 2017 16:36:37 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82681] c-warn.c:1218: typo in warning message
Date: Mon, 23 Oct 2017 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: 8.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: 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-82681-4-lK4TgTw5d1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02586.txt.bz2
Content-length: 150

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82681

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Yeah, I'm fixing those too.
>From gcc-bugs-return-579527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:49:53 2017
Return-Path: <gcc-bugs-return-579527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82326 invoked by alias); 23 Oct 2017 16:49: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 82297 invoked by uid 48); 23 Oct 2017 16:49:50 -0000
From: "furkanusta17 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82664] Internal Compiler Error when using Match7 library
Date: Mon, 23 Oct 2017 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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: furkanusta17 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: attachments.created
Message-ID: <bug-82664-4-eL68Df0tug@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82664-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82664-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02587.txt.bz2
Content-length: 300

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82664

--- Comment #2 from Furkan <furkanusta17 at gmail dot com> ---
Created attachment 42446
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42446&action=edit
.ii file for example03

Sorry, about the tar file but .ii file was bigger than 1MB
>From gcc-bugs-return-579528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:54:20 2017
Return-Path: <gcc-bugs-return-579528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84423 invoked by alias); 23 Oct 2017 16:54: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 84388 invoked by uid 48); 23 Oct 2017 16:54:16 -0000
From: "furkanusta17 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82664] Internal Compiler Error when using Match7 library
Date: Mon, 23 Oct 2017 16:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: furkanusta17 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: attachments.created
Message-ID: <bug-82664-4-izFi4eXYGk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82664-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82664-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02588.txt.bz2
Content-length: 561

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82664

--- Comment #3 from Furkan <furkanusta17 at gmail dot com> ---
Created attachment 42447
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42447&action=edit
Other two test cases that are failing as well

Again, sorry about the split submit but I remembered that I've found 2 more
test cases after submitting the previous one. They are rather lengthy test
cases, but I've added them as well. 

If you want to check the original code, they are:
test/unit/prolog.cpp 
test/unit/type_switchN-decl.cpp
>From gcc-bugs-return-579530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:58:47 2017
Return-Path: <gcc-bugs-return-579530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92922 invoked by alias); 23 Oct 2017 16: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 92885 invoked by uid 48); 23 Oct 2017 16:58:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82682] [8 Regression] FAIL: gcc.target/i386/pr50038.c scan-assembler-times movzbl 2 (found 3 times) since r253958
Date: Mon, 23 Oct 2017 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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-82682-4-uP78zq6LpF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82682-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82682-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02590.txt.bz2
Content-length: 573

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82682

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-23
                 CC|                            |hubicka at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Honza, this is yours r253958.
>From gcc-bugs-return-579529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:58:24 2017
Return-Path: <gcc-bugs-return-579529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91953 invoked by alias); 23 Oct 2017 16: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 91517 invoked by uid 48); 23 Oct 2017 16:58:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82682] New: [8 Regression] FAIL: gcc.target/i386/pr50038.c scan-assembler-times movzbl 2 (found 3 times) since r253958
Date: Mon, 23 Oct 2017 16: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.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-82682-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02589.txt.bz2
Content-length: 706

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82682

            Bug ID: 82682
           Summary: [8 Regression] FAIL: gcc.target/i386/pr50038.c
                    scan-assembler-times movzbl 2 (found 3 times) since
                    r253958
           Product: gcc
           Version: 8.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: ---

Starting with this revision, on i686-linux (or x86_64-linux with -m32) there
are 3 movzbls instead of 2.  Are the cost changes correct?  If they are, shall
we adjust the testcase?
>From gcc-bugs-return-579531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 16:59:04 2017
Return-Path: <gcc-bugs-return-579531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93690 invoked by alias); 23 Oct 2017 16:59: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 93636 invoked by uid 48); 23 Oct 2017 16:59:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82682] [8 Regression] FAIL: gcc.target/i386/pr50038.c scan-assembler-times movzbl 2 (found 3 times) since r253958
Date: Mon, 23 Oct 2017 16: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.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82682-4-AdsOJdjQC4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82682-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82682-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02591.txt.bz2
Content-length: 290

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82682

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 17:03:47 2017
Return-Path: <gcc-bugs-return-579532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108851 invoked by alias); 23 Oct 2017 17: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 108805 invoked by uid 55); 23 Oct 2017 17:03:44 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82681] c-warn.c:1218: typo in warning message
Date: Mon, 23 Oct 2017 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: 8.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: 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-82681-4-AkPQuLpw9X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02592.txt.bz2
Content-length: 763

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82681

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Oct 23 17:03:11 2017
New Revision: 254014

URL: https://gcc.gnu.org/viewcvs?rev=254014&root=gcc&view=rev
Log:
        PR c/82681
        * c-warn.c (warnings_for_convert_and_check): Fix typos.

        * gcc.dg/c90-const-expr-11.c: Fix typos in dg-warning.
        * gcc.dg/overflow-warn-5.c: Likewise.
        * gcc.dg/overflow-warn-8.c: Likewise.

Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-warn.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/c90-const-expr-11.c
    trunk/gcc/testsuite/gcc.dg/overflow-warn-5.c
    trunk/gcc/testsuite/gcc.dg/overflow-warn-8.c
>From gcc-bugs-return-579533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 17:07:57 2017
Return-Path: <gcc-bugs-return-579533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125590 invoked by alias); 23 Oct 2017 17:07: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 125307 invoked by uid 48); 23 Oct 2017 17:07:53 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82681] c-warn.c:1218: typo in warning message
Date: Mon, 23 Oct 2017 17: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.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: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82681-4-5BwcvJ9oxa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82681-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02593.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82681

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-579534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 17:17:15 2017
Return-Path: <gcc-bugs-return-579534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52402 invoked by alias); 23 Oct 2017 17: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 50862 invoked by uid 55); 23 Oct 2017 17:17:11 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81395] [6/7 Regression] basic_filebuf::overflow recurses and overflows stack
Date: Mon, 23 Oct 2017 17: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: 8.0
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: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81395-4-DHf4e7AJgs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81395-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02594.txt.bz2
Content-length: 839

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395

--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Oct 23 17:16:38 2017
New Revision: 254015

URL: https://gcc.gnu.org/viewcvs?rev=254015&root=gcc&view=rev
Log:
PR libstdc++/81395 fix crash when write follows large read

Backport from mainline
2017-07-18  Jonathan Wakely  <jwakely@redhat.com>

        PR libstdc++/81395
        * include/bits/fstream.tcc (basic_filebuf::xsgetn): Don't set buffer
        pointers for write mode after reading.
        * testsuite/27_io/basic_filebuf/sgetn/char/81395.cc: New.

Added:
   
branches/gcc-7-branch/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/81395.cc
Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/include/bits/fstream.tcc
>From gcc-bugs-return-579535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 17:28:45 2017
Return-Path: <gcc-bugs-return-579535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64979 invoked by alias); 23 Oct 2017 17: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 63469 invoked by uid 48); 23 Oct 2017 17:28:41 -0000
From: "liakhdi at ornl dot gov" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Mon, 23 Oct 2017 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: 7.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: liakhdi at ornl dot gov
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-81758-4-22hpCQM2wY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02595.txt.bz2
Content-length: 532

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #16 from DIL <liakhdi at ornl dot gov> ---
Hi Paul,

Thanks for looking into this issue. I ran the debugger again. The vtab
corruption occurs upon the first encounter in function VectorIterElement() in
line 720 of gfc_vector.F90. Just to make sure, that line begins with:
elem_p=>this%container%vec_tile(q(4))%...
Before that line, the elem_p (cep) vtab looks fine. After that line it gets
bad. Please let me know if you need more information from the debugger.
>From gcc-bugs-return-579536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 17:47:46 2017
Return-Path: <gcc-bugs-return-579536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40979 invoked by alias); 23 Oct 2017 17: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 40897 invoked by uid 55); 23 Oct 2017 17:47:42 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81395] [6/7 Regression] basic_filebuf::overflow recurses and overflows stack
Date: Mon, 23 Oct 2017 17: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: 8.0
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: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81395-4-YIKLMo2MsO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81395-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02596.txt.bz2
Content-length: 839

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395

--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Oct 23 17:47:10 2017
New Revision: 254018

URL: https://gcc.gnu.org/viewcvs?rev=254018&root=gcc&view=rev
Log:
PR libstdc++/81395 fix crash when write follows large read

Backport from mainline
2017-07-18  Jonathan Wakely  <jwakely@redhat.com>

        PR libstdc++/81395
        * include/bits/fstream.tcc (basic_filebuf::xsgetn): Don't set buffer
        pointers for write mode after reading.
        * testsuite/27_io/basic_filebuf/sgetn/char/81395.cc: New.

Added:
   
branches/gcc-6-branch/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/81395.cc
Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/include/bits/fstream.tcc
>From gcc-bugs-return-579537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 17:48:44 2017
Return-Path: <gcc-bugs-return-579537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43440 invoked by alias); 23 Oct 2017 17: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 42933 invoked by uid 48); 23 Oct 2017 17:48:32 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82627] [8 regression] r253809 breaks test cases gcc.dg/graphite/interchange-3.c -7.c, -9.c, and uns-interchange-9.c
Date: Mon, 23 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82627-4-XCur0z9F62@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82627-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02597.txt.bz2
Content-length: 628

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82627

seurer at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from seurer at gcc dot gnu.org ---
I checked and there were two copies of ISL in the source tree, .16 something
and .18.  I got rid of the earlier one and rebuilt and those failures went
away.  Oddly a new one popped up (same revision) but that is probably something
else.
>From gcc-bugs-return-579538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 17:52:57 2017
Return-Path: <gcc-bugs-return-579538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71292 invoked by alias); 23 Oct 2017 17: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 68817 invoked by uid 48); 23 Oct 2017 17:52:53 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81395] [6/7 Regression] basic_filebuf::overflow recurses and overflows stack
Date: Mon, 23 Oct 2017 17: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.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: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81395-4-fO3GmGkNo6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81395-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02598.txt.bz2
Content-length: 441

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81395

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 6.5 and 7.3
>From gcc-bugs-return-579539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 18:01:09 2017
Return-Path: <gcc-bugs-return-579539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91558 invoked by alias); 23 Oct 2017 18: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 91153 invoked by uid 55); 23 Oct 2017 18:01:04 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected
Date: Mon, 23 Oct 2017 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: 5.4.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-82679-4-ch4li0cAGn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02599.txt.bz2
Content-length: 351

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Probably in grokdeclarator the test for _Atomic-qualified array types 
should check declspecs->atomic_p rather than atomicp.  (The check in the 
parser in the case of _Atomic (type-name) is fine as-is.)
>From gcc-bugs-return-579540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 18:09:18 2017
Return-Path: <gcc-bugs-return-579540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130307 invoked by alias); 23 Oct 2017 18:09: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 130258 invoked by uid 48); 23 Oct 2017 18:09:13 -0000
From: "sje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82683] New: GCC generates bad code with -tune=thunderx2t99
Date: Mon, 23 Oct 2017 18: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: unknown
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sje at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned 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-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02600.txt.bz2
Content-length: 1685

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

            Bug ID: 82683
           Summary: GCC generates bad code with -tune=thunderx2t99
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sje at gcc dot gnu.org
  Target Milestone: ---

Created attachment 42448
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42448&action=edit
Test case

I am compiling the GCC spec 2017 benchmark on aarch64.  If I compile it with
-tune=thunderxt88 it works and if I compile with -tune=thunderx2t99 it fails.
The tune option should affect the speed of a program on different architectures
but it should never result in bad code.

I have attached a cutdown testcase (compilable but not runnable) to show the
problem.  In the good case you should see two sxtw sign extend instructions:

        sxtw    x20, w0 
        cbz     x1, .L2 
        ldr     w0, [x1, x20, lsl 2]
        sxtw    x20, w0 // 21   
.L2:

In the bad case we only get one:

        sxtw    x20, w0 
        cbz     x1, .L2 
        ldr     w0, [x1, x20, lsl 2]
.L2

If I insert the missing sxtw by hand everything works fine for me.  The sxtw
seems to go missing during combine but I do not know why.  Notice that in
addition to not doing the sxtw, we leave the loaded value in w0 and do not
put it in x20 like the good code does.

In addition to the -tune argument I am compiling with:
-std=c11 -O2 -fno-inline -fno-schedule-insns -fno-schedule-insns2
-fno-strict-aliasing
>From gcc-bugs-return-579541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 18:32:05 2017
Return-Path: <gcc-bugs-return-579541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29785 invoked by alias); 23 Oct 2017 18:32:05 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29693 invoked by uid 48); 23 Oct 2017 18:32:00 -0000
From: "web at cjhanks dot name" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82684] New: std::complex template specializations require C99 Complex
Date: Mon, 23 Oct 2017 18:32: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: web at cjhanks 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-82684-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02601.txt.bz2
Content-length: 2326

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82684

            Bug ID: 82684
           Summary: std::complex template specializations require C99
                    Complex
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: web at cjhanks dot name
  Target Milestone: ---

Tested on Ubuntu 16.04 using GLIBCXX_3.4.  The template specializations for
std::complex<double | float | long double> require the presence of the C99
complex type even though the primary class template is designed to work without
it.

Putting the specializations and forward declarations in an `#if
_GLIBCXX_USE_C99_COMPLEX` block appears to allow code to compile as expected.


$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
5.4.0-6ubuntu1~16.04.4' --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-vtable-verify --enable-libmpx --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-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --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 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
>From gcc-bugs-return-579542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 18:52:53 2017
Return-Path: <gcc-bugs-return-579542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77012 invoked by alias); 23 Oct 2017 18:52: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 76966 invoked by uid 48); 23 Oct 2017 18:52:48 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons
Date: Mon, 23 Oct 2017 18: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: unknown
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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-52451-4-Yu0gBNqUU0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52451-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02602.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451

seurer at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |seurer at gcc dot gnu.org

--- Comment #7 from seurer at gcc dot gnu.org ---
Shouldn't the new test case have been marked XFAIL for powerpc64 and s390?  It
fails on powerpc64 for sure.
>From gcc-bugs-return-579543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 18:57:05 2017
Return-Path: <gcc-bugs-return-579543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79581 invoked by alias); 23 Oct 2017 18:57: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 79509 invoked by uid 48); 23 Oct 2017 18:57:01 -0000
From: "pavel.kryukov at phystech dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] New: basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Mon, 23 Oct 2017 18: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: 7.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02603.txt.bz2
Content-length: 991

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

            Bug ID: 82685
           Summary: basic_string_view<char> operator""sv(const char*,
                    size_t) should be noexcept
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pavel.kryukov at phystech dot edu
  Target Milestone: ---

`string_view` literal operators should have 'noexcept' specifier according to
the C++17 standard:
https://github.com/cplusplus/draft/blob/4ba4e9c2c04b7680ac2a56b65c241ec10c427c3f/source/strings.tex#L4611

Currently GCC implements the literal operators via
`basic_string_view<_charT>(const _charT*, size_t)` ctor which may throw an
exception according to the same standard.
https://github.com/gcc-mirror/gcc/blob/0f6374027d3cd77f80f353eb1c2c61c5ad2b6dfd/libstdc%2B%2B-v3/include/std/string_view#L638
>From gcc-bugs-return-579544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 19:02:15 2017
Return-Path: <gcc-bugs-return-579544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88300 invoked by alias); 23 Oct 2017 19: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 88231 invoked by uid 55); 23 Oct 2017 19:02:11 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82662] ifcvt is not performed on double-word compare
Date: Mon, 23 Oct 2017 19: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uros at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82662-4-dLJgmOnFct@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82662-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82662-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02604.txt.bz2
Content-length: 415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82662

--- Comment #1 from uros at gcc dot gnu.org ---
Author: uros
Date: Mon Oct 23 19:01:38 2017
New Revision: 254020

URL: https://gcc.gnu.org/viewcvs?rev=254020&root=gcc&view=rev
Log:
        PR target/82662
        * gcc.target/i386/pr82662.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82662.c
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 19:05:15 2017
Return-Path: <gcc-bugs-return-579545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59441 invoked by alias); 23 Oct 2017 19: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 59389 invoked by uid 48); 23 Oct 2017 19:05:11 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82662] ifcvt is not performed on double-word compare
Date: Mon, 23 Oct 2017 19: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: 8.0
X-Bugzilla-Keywords: missed-optimization
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status component resolution target_milestone
Message-ID: <bug-82662-4-AkmKVALBJ5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82662-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82662-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02605.txt.bz2
Content-length: 549

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82662

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|rtl-optimization            |target
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed by r254011.
>From gcc-bugs-return-579546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 19:07:12 2017
Return-Path: <gcc-bugs-return-579546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63337 invoked by alias); 23 Oct 2017 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 63290 invoked by uid 55); 23 Oct 2017 19:07:08 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77369] incorrect noexcept specification deduction
Date: Mon, 23 Oct 2017 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: 6.1.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: 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-77369-4-4YjLBIADMT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77369-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77369-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02606.txt.bz2
Content-length: 572

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77369

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Oct 23 19:06:37 2017
New Revision: 254022

URL: https://gcc.gnu.org/viewcvs?rev=254022&root=gcc&view=rev
Log:
        PR c++/77369 - wrong noexcept handling in C++14 and below

        * tree.c (strip_typedefs): Canonicalize TYPE_RAISES_EXCEPTIONS.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/noexcept31.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/g++.dg/cpp1z/noexcept-type13.C
>From gcc-bugs-return-579547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 19:09:51 2017
Return-Path: <gcc-bugs-return-579547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74069 invoked by alias); 23 Oct 2017 19: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 73069 invoked by uid 48); 23 Oct 2017 19:09:42 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons
Date: Mon, 23 Oct 2017 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: unknown
X-Bugzilla-Keywords:
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: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-52451-4-YIwpF9La9Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52451-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02607.txt.bz2
Content-length: 581

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451

--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to seurer from comment #7)
> Shouldn't the new test case have been marked XFAIL for powerpc64 and s390? 
> It fails on powerpc64 for sure.

This is up to target maintainer. XFAIL will get the problem off the radar for
the next 10 years or so ...

OTOH, the fix should be the same as for x86 - relatively straightforward
introduction of CCFPU mode with a helper function that selects between CCFP and
CCFPU mode depending on comparison code.
>From gcc-bugs-return-579548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 19:44:52 2017
Return-Path: <gcc-bugs-return-579548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82106 invoked by alias); 23 Oct 2017 19:44: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 82033 invoked by uid 48); 23 Oct 2017 19:44:46 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82664] [7/8 Regression ] ICE when using Match7 library
Date: Mon, 23 Oct 2017 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: 7.2.1
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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cc target_milestone short_desc
Message-ID: <bug-82664-4-C97bYml3nr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82664-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82664-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02608.txt.bz2
Content-length: 3687

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82664

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|WAITING                     |NEW
                 CC|                            |jason at gcc dot gnu.org
   Target Milestone|---                         |7.3
            Summary|Internal Compiler Error     |[7/8 Regression ] ICE when
                   |when using Match7 library   |using Match7 library

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks, confirmed with following reduced test-case:

$ cat pr82664.ii
namespace std {
  template < typename _Tp > struct remove_const { typedef _Tp type; };
  template < typename > struct remove_reference { typedef int type; };
}
namespace mch {
template < typename T >
struct underlying
    : std::remove_const< typename std::remove_reference< T >::type > {};
template < typename T, typename > struct preallocated { static T value; };
template < typename T > T *addr(T ) ;
template < typename SubjectType > class unified_switch {
public:
  typedef int static_data_type;
  struct local_data_type {};
  static long choose;
};
template < typename > struct target_disambiguator;
template < typename R, typename A1 > struct target_disambiguator< R(A1 ) > {
  typedef A1 type;
  template < R (&)() > struct layout;
};
}
void eval(int e) {
  struct match_uid_type;
  auto subject_ptr = mch::addr(e);
  typedef mch::underlying< decltype(subject_ptr) >::type source_type;
  typedef mch::unified_switch< source_type > switch_traits;
  switch_traits::static_data_type static_data =
      mch::preallocated< switch_traits::static_data_type,
                         match_uid_type >::value;
  switch_traits::local_data_type local_data;
  ;
{
    void decl_helper(int );
    typedef mch::target_disambiguator< decltype(decl_helper) > ::type
target_type ;
  }

$ g++ pr82664.ii

causes a stack overflow with following back-trace:

(gdb) bt
#0  0x0000000000fc9b95 in round_up_loc(unsigned int, tree_node*, unsigned int)
()
#1  0x000000000111436d in layout_type(tree_node*) ()
#2  0x00000000012576d6 in build_function_type(tree_node*, tree_node*) ()
#3  0x0000000000e2003b in ?? ()
#4  0x0000000000e1052b in tsubst(tree_node*, tree_node*, int, tree_node*) ()
#5  0x0000000000e1047e in tsubst(tree_node*, tree_node*, int, tree_node*) ()
#6  0x0000000000e10988 in tsubst(tree_node*, tree_node*, int, tree_node*) ()
#7  0x0000000000e1d7d5 in ?? ()
#8  0x0000000000e1b8af in tsubst_copy_and_build(tree_node*, tree_node*, int,
tree_node*, bool, bool) ()
#9  0x0000000000e1bb50 in tsubst_copy_and_build(tree_node*, tree_node*, int,
tree_node*, bool, bool) ()
#10 0x0000000000e1e7a8 in tsubst_expr(tree_node*, tree_node*, int, tree_node*,
bool) ()
#11 0x0000000000e15289 in ?? ()
#12 0x0000000000e0c2d6 in lookup_template_class(tree_node*, tree_node*,
tree_node*, tree_node*, int, int) ()
#13 0x0000000000e16017 in ?? ()
#14 0x0000000000e19b58 in ?? ()
#15 0x0000000000e0c331 in lookup_template_class(tree_node*, tree_node*,
tree_node*, tree_node*, int, int) ()
#16 0x0000000000e16017 in ?? ()
#17 0x0000000000e19b58 in ?? ()
#18 0x0000000000e0c331 in lookup_template_class(tree_node*, tree_node*,
tree_node*, tree_node*, int, int) ()
#19 0x0000000000e16017 in ?? ()
#20 0x0000000000e19b58 in ?? ()
#21 0x0000000000e0c331 in lookup_template_class(tree_node*, tree_node*,
tree_node*, tree_node*, int, int) ()
#22 0x0000000000e16017 in ?? ()
#23 0x0000000000e19b58 in ?? ()

Started with r241425.
>From gcc-bugs-return-579549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 20:04:31 2017
Return-Path: <gcc-bugs-return-579549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116391 invoked by alias); 23 Oct 2017 20: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 116331 invoked by uid 48); 23 Oct 2017 20:04:26 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction
Date: Mon, 23 Oct 2017 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: 7.0.1
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: P2
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-80449-4-Rg5Y2vsFqd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80449-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02609.txt.bz2
Content-length: 841

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

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> ---
This is indeed mostly a duplicate of PR79790 which I already fixed. There is
only a minor nit remaining, a meaningless additional diagnostic:

80449.C:3:16: error: cannot deduce template arguments of ‘C<S>’, as it has no
viable deduction guides
80449.C:3:16: error: too many initializers for ‘<type error>’

Which seems also easy to avoid.
>From gcc-bugs-return-579550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 20:09:38 2017
Return-Path: <gcc-bugs-return-579550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96424 invoked by alias); 23 Oct 2017 20: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 96383 invoked by uid 48); 23 Oct 2017 20:09:33 -0000
From: "qing.zhao at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Mon, 23 Oct 2017 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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qing.zhao at oracle 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-78809-4-7wK7QOEhbj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02610.txt.bz2
Content-length: 493

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #5 from Qing Zhao <qing.zhao at oracle dot com> ---
Created attachment 42449
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42449&action=edit
Run time performance testing case on aarch64

this is for testing the run-time performance of inlined version of strcmp and
non-inlined version of strcmp on aarch64. 
to run the test:
   0. on an aarch64 machine;
   1. untar the tar file
   2. cd perf_78809
   3. sh t_p
>From gcc-bugs-return-579551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 20:13:24 2017
Return-Path: <gcc-bugs-return-579551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123352 invoked by alias); 23 Oct 2017 20: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 123219 invoked by uid 48); 23 Oct 2017 20:13:16 -0000
From: "qing.zhao at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Mon, 23 Oct 2017 20: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qing.zhao at oracle 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-78809-4-4UBx6OwehL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02611.txt.bz2
Content-length: 1182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #6 from Qing Zhao <qing.zhao at oracle dot com> ---
(A correction to comment 4:

when adding #include <string.h>, the call to strcmp(s, "a") was inlined by
glibc in the header

with the latest upstream GCC
)


with attached testing case, on GCC farm machine gcc116, I got the following
run-time performance data:

qinzhao@gcc116:~/Bugs/78809/const_cmp$ sh t_p
/home/qinzhao/Install/latest/bin/gcc -O2 t_p_1.c t_p.c -DINLINED
inlined version
41.67user 0.00system 0:41.67elapsed 99%CPU (0avgtext+0avgdata 360maxresident)k
0inputs+0outputs (0major+135minor)pagefaults 0swaps
/home/qinzhao/Install/latest/bin/gcc -O2 t_p_1.c t_p.c
non-inlined version
20.84user 0.00system 0:20.83elapsed 100%CPU (0avgtext+0avgdata 360maxresident)k
0inputs+0outputs (0major+135minor)pagefaults 0swaps

>From the data, we can see the inlined version of strcmp (by glibc) is much
slower than the direct call to strcmp.  (this is for size 2)
I am using GCC farm machine gcc116:

qinzhao@gcc116:~/Bugs/78809/const_cmp$ uname -a
Linux gcc116 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:45:34 UTC 2016
aarch64 aarch64 aarch64 GNU/Linux
>From gcc-bugs-return-579552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 20:21:57 2017
Return-Path: <gcc-bugs-return-579552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44100 invoked by alias); 23 Oct 2017 20: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 41775 invoked by uid 48); 23 Oct 2017 20:21:52 -0000
From: "qing.zhao at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Mon, 23 Oct 2017 20: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qing.zhao at oracle 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-78809-4-bCpv8jVQVj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02612.txt.bz2
Content-length: 4856

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #7 from Qing Zhao <qing.zhao at oracle dot com> ---
I have studied the inlining of memcmp and str(n)cmp in GCC, the following are a
summary of my study so far:

        1. memcmp is different from str(n)cmp as the following:

        • strcmp compares null-terminated C strings
        • strncmp compares at most N characters of null-terminated C strings
        • memcmp compares binary byte buffers of N bytes.

among these three, both strcmp and strncmp might early stop at NULL terminator
of the compared strings.  as a result, we have to compare the char one by one
for str(n)cmp.

on the other hand, memcmp will NOT early stop, it will compare exactly N bytes
of both buffers. As a result, the compiler can compare multiple bytes at one
time.  

So, memcpy should be much easier for the compiler to optimize than str(n)cmp. 

        2. when the memcpy’s result is only compared against zero, it's easier
to be optimized than its result compared with other values. 

        3. the implementation of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52171 have been in latest GCC, and
it optimizes the following
cases on ALL platforms:

memcmp (p, "fishi", 5) != 0
__builtin_memcmp (p, "fishiiii", 8) == 0

and the implementation is a target independent one. when the length of constant
string is multiple word size, it is optimized by “strlen” pass,
when it’s NOT multiple word size, it is optimized by “expand” pass. 

        4. However, this implementation to PR52171 does NOT optimize the
following cases:

A.   memcmp’s result is NOT compared to zero

memcmp (p, "fish", 4);                   
__builtin_memcmp (p, “fishi”, 5);   

B.  strncmp and strcmp, when the result is or is NOT compared to zero
strncmp (p, "fi", 2) != 0
__builtin_strncmp (p, "fi", 2) != 0

strcmp (p, "fish") != 0
__builtin_strcmp (p, "fish") != 0

strncmp (p, "fi", 2)                         
__builtin_strncmp (p, "fi", 2)        

strcmp (p, "fish”)                           
__builtin_strcmp (p, "fish”)           

Per the reason I mentioned in 1.  strncmp and strcmp can ONLY compare the char
one by one,  the implementation of PR52171 can NOT be extended 
for str(n)cmp.  


        5. currently,  glibc optimizes strcmp with constant string up to size 3
in the header as Wilco mentioned in the Description part of the PR. the
optimization is as following:

strcmp (p, “fis”)

will be transformed to:

D.2234 = __s2_len = 3;, __s2_len <= 3; ? TARGET_EXPR <D.2233, {
      const unsigned char * __s1 = (const unsigned char *) p;
      register int __result = (int) *__s1 - (int) *(const unsigned char *)
"fis";

            const unsigned char * __s1 = (const unsigned char *) p;
            register int __result = (int) *__s1 - (int) *(const unsigned char
*) "fis";
      {
        if (__s2_len != 0 && __result == 0)
          {
            __result = (int) *(__s1 + 1) - (int) *((const unsigned char *)
"fis" + 1);
            if (__s2_len > 1 && __result == 0)
              {
                __result = (int) *(__s1 + 2) - (int) *((const unsigned char *)
"fis" + 2);
                if (__s2_len > 2 && __result == 0)
                  {
                    __result = (int) *(__s1 + 3) - (int) *((const unsigned char
*) "fis" + 3);
                  }
              }
          }
      }
      D.2233 = __result;
    }> : __builtin_strcmp ((const char *) p, (const char *) "fis");

I.e, each character is compared one by one, and the result of the previous
comparison is used to control whether the next char should be compared or not,
as a result,  comparing of one char needs one load, one compare and one branch.
 not very cheap operations. therefore, we cannot apply the above optimization
on longer strings even though its constant string.

The Request of this PR is to move the above transformation from Glibc into GCC.

However, my run-time performance data showed in Comment 5 and 6, shows:

the glibc optimization is SLOWER than the direct call to strcmp on aarch64.

      6.  On the other hand, on a platform that has hardward strcmp insn,  for
example, X86 platform, expand the str(n)cmp to use the hardware strcmp insn
will be very fast.  GCC currently has done this for several platforms.  

          However, for a platform that does NOT have hardware strcmp insns, for
example, aarch64,  inline str(n)cmp might NOT be a good idea, I think.
>From gcc-bugs-return-579553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 20:26:33 2017
Return-Path: <gcc-bugs-return-579553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43459 invoked by alias); 23 Oct 2017 20: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 41707 invoked by uid 55); 23 Oct 2017 20:26:30 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 and FreeBSD 11.1 because of abort redefinition
Date: Mon, 23 Oct 2017 20: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: 8.0
X-Bugzilla-Keywords: patch
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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82610-4-wSYbDaTmFN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02613.txt.bz2
Content-length: 863

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610

--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Mon Oct 23 20:25:58 2017
New Revision: 254024

URL: https://gcc.gnu.org/viewcvs?rev=254024&root=gcc&view=rev
Log:
Add INCLUDE_UNIQUE_PTR and use it (PR bootstrap/82610)

gcc/ChangeLog:
        PR bootstrap/82610
        * system.h: Conditionally include "unique-ptr.h" if
        INCLUDE_UNIQUE_PTR is defined.
        * unique-ptr-tests.cc: Remove include of "unique-ptr.h" in favor
        of defining INCLUDE_UNIQUE_PTR before including "system.h".

include/ChangeLog:
        * unique-ptr.h: Make include of <memory> conditional on C++11 or
        later.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/system.h
    trunk/gcc/unique-ptr-tests.cc
    trunk/include/ChangeLog
    trunk/include/unique-ptr.h
>From gcc-bugs-return-579554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 20:29:00 2017
Return-Path: <gcc-bugs-return-579554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33975 invoked by alias); 23 Oct 2017 20: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 31532 invoked by uid 48); 23 Oct 2017 20:28:54 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82610] [8 Regression] Bootstrap fails on macOS 10.13 and FreeBSD 11.1 because of abort redefinition
Date: Mon, 23 Oct 2017 20:28: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: 8.0
X-Bugzilla-Keywords: patch
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82610-4-gwapn5ZSdR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82610-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02614.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82610

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Should be fixed by r254024; please reopen if that's not the case.
>From gcc-bugs-return-579555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 20:40:37 2017
Return-Path: <gcc-bugs-return-579555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98771 invoked by alias); 23 Oct 2017 20: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 98712 invoked by uid 55); 23 Oct 2017 20:40:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82630] Bogus DW_AT_GNU_call_site_value
Date: Mon, 23 Oct 2017 20:40: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: wrong-debug
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-82630-4-WOwP1pKvec@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82630-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02615.txt.bz2
Content-length: 1743

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82630

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Oct 23 20:39:59 2017
New Revision: 254025

URL: https://gcc.gnu.org/viewcvs?rev=254025&root=gcc&view=rev
Log:
        PR debug/82630
        * target.def (const_not_ok_for_debug_p): Default to
        default_const_not_ok_for_debug_p instead of hook_bool_rtx_false.
        * targhooks.h (default_const_not_ok_for_debug_p): New declaration.
        * targhooks.c (default_const_not_ok_for_debug_p): New function.
        * dwarf2out.c (const_ok_for_output_1): Only reject UNSPECs for
        which targetm.const_not_ok_for_debug_p returned true.
        * config/arm/arm.c (arm_const_not_ok_for_debug_p): Return true
        for UNSPECs.
        * config/powerpcspe/powerpcspe.c (rs6000_const_not_ok_for_debug_p):
        Likewise.
        * config/rs6000/rs6000.c (rs6000_const_not_ok_for_debug_p): Likewise.
        * config/i386/i386.c (ix86_delegitimize_address_1): Don't delegitimize
        UNSPEC_GOTOFF with addend into addend - _GLOBAL_OFFSET_TABLE_ + symbol
        if !base_term_p.
        (ix86_const_not_ok_for_debug_p): New function.
        (i386_asm_output_addr_const_extra): Handle UNSPEC_GOTOFF.
        (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Redefine.

        * g++.dg/guality/pr82630.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/guality/pr82630.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/powerpcspe/powerpcspe.c
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/dwarf2out.c
    trunk/gcc/target.def
    trunk/gcc/targhooks.c
    trunk/gcc/targhooks.h
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 20:49:48 2017
Return-Path: <gcc-bugs-return-579556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127790 invoked by alias); 23 Oct 2017 20: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 127458 invoked by uid 48); 23 Oct 2017 20:49:37 -0000
From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82686] New: Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc
Date: Mon, 23 Oct 2017 20:49: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dclarke at blastwave 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-82686-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02616.txt.bz2
Content-length: 31913

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

            Bug ID: 82686
           Summary: Debian sid powerpc64-unknown-linux-gnu
                    4.13.0-1-powerpc64 bootstrap breaks in stage3 with
                    unexpected requirement for bdw-gc
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dclarke at blastwave dot org
  Target Milestone: ---

Late in stage 3 of a perfect looking bootstrap I see : 

[after many hours]
libtool: link:
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include  -m32 -shared  -fPIC
-DPIC  .libs/bounds.o .libs/compile_options.o .libs/memory.o .libs/string.o
.libs/select.o .libs/backtrace.o .libs/convert_char.o .libs/environ.o
.libs/error.o .libs/fpu.o .libs/main.o .libs/pause.o .libs/stop.o
.libs/all_l1.o .libs/all_l2.o .libs/all_l4.o .libs/all_l8.o .libs/all_l16.o
.libs/any_l1.o .libs/any_l2.o .libs/any_l4.o .libs/any_l8.o .libs/any_l16.o
.libs/count_1_l.o .libs/count_2_l.o .libs/count_4_l.o .libs/count_8_l.o
.libs/count_16_l.o .libs/maxloc0_4_i1.o .libs/maxloc0_8_i1.o
.libs/maxloc0_16_i1.o .libs/maxloc0_4_i2.o .libs/maxloc0_8_i2.o
.libs/maxloc0_16_i2.o .libs/maxloc0_4_i4.o .libs/maxloc0_8_i4.o
.libs/maxloc0_16_i4.o .libs/maxloc0_4_i8.o .libs/maxloc0_8_i8.o
.libs/maxloc0_16_i8.o .libs/maxloc0_4_i16.o .libs/maxloc0_8_i16.o
.libs/maxloc0_16_i16.o .libs/maxloc0_4_r4.o .libs/maxloc0_8_r4.o
.libs/maxloc0_16_r4.o .libs/maxloc0_4_r8.o .libs/maxloc0_8_r8.o
.libs/maxloc0_16_r8.o .libs/maxloc0_4_r10.o .libs/maxloc0_8_r10.o
.libs/maxloc0_16_r10.o .libs/maxloc0_4_r16.o .libs/maxloc0_8_r16.o
.libs/maxloc0_16_r16.o .libs/maxloc1_4_i1.o .libs/maxloc1_8_i1.o
.libs/maxloc1_16_i1.o .libs/maxloc1_4_i2.o .libs/maxloc1_8_i2.o
.libs/maxloc1_16_i2.o .libs/maxloc1_4_i4.o .libs/maxloc1_8_i4.o
.libs/maxloc1_16_i4.o .libs/maxloc1_4_i8.o .libs/maxloc1_8_i8.o
.libs/maxloc1_16_i8.o .libs/maxloc1_4_i16.o .libs/maxloc1_8_i16.o
.libs/maxloc1_16_i16.o .libs/maxloc1_4_r4.o .libs/maxloc1_8_r4.o
.libs/maxloc1_16_r4.o .libs/maxloc1_4_r8.o .libs/maxloc1_8_r8.o
.libs/maxloc1_16_r8.o .libs/maxloc1_4_r10.o .libs/maxloc1_8_r10.o
.libs/maxloc1_16_r10.o .libs/maxloc1_4_r16.o .libs/maxloc1_8_r16.o
.libs/maxloc1_16_r16.o .libs/maxval_i1.o .libs/maxval_i2.o .libs/maxval_i4.o
.libs/maxval_i8.o .libs/maxval_i16.o .libs/maxval_r4.o .libs/maxval_r8.o
.libs/maxval_r10.o .libs/maxval_r16.o .libs/minloc0_4_i1.o .libs/minloc0_8_i1.o
.libs/minloc0_16_i1.o .libs/minloc0_4_i2.o .libs/minloc0_8_i2.o
.libs/minloc0_16_i2.o .libs/minloc0_4_i4.o .libs/minloc0_8_i4.o
.libs/minloc0_16_i4.o .libs/minloc0_4_i8.o .libs/minloc0_8_i8.o
.libs/minloc0_16_i8.o .libs/minloc0_4_i16.o .libs/minloc0_8_i16.o
.libs/minloc0_16_i16.o .libs/minloc0_4_r4.o .libs/minloc0_8_r4.o
.libs/minloc0_16_r4.o .libs/minloc0_4_r8.o .libs/minloc0_8_r8.o
.libs/minloc0_16_r8.o .libs/minloc0_4_r10.o .libs/minloc0_8_r10.o
.libs/minloc0_16_r10.o .libs/minloc0_4_r16.o .libs/minloc0_8_r16.o
.libs/minloc0_16_r16.o .libs/minloc1_4_i1.o .libs/minloc1_8_i1.o
.libs/minloc1_16_i1.o .libs/minloc1_4_i2.o .libs/minloc1_8_i2.o
.libs/minloc1_16_i2.o .libs/minloc1_4_i4.o .libs/minloc1_8_i4.o
.libs/minloc1_16_i4.o .libs/minloc1_4_i8.o .libs/minloc1_8_i8.o
.libs/minloc1_16_i8.o .libs/minloc1_4_i16.o .libs/minloc1_8_i16.o
.libs/minloc1_16_i16.o .libs/minloc1_4_r4.o .libs/minloc1_8_r4.o
.libs/minloc1_16_r4.o .libs/minloc1_4_r8.o .libs/minloc1_8_r8.o
.libs/minloc1_16_r8.o .libs/minloc1_4_r10.o .libs/minloc1_8_r10.o
.libs/minloc1_16_r10.o .libs/minloc1_4_r16.o .libs/minloc1_8_r16.o
.libs/minloc1_16_r16.o .libs/minval_i1.o .libs/minval_i2.o .libs/minval_i4.o
.libs/minval_i8.o .libs/minval_i16.o .libs/minval_r4.o .libs/minval_r8.o
.libs/minval_r10.o .libs/minval_r16.o .libs/product_i1.o .libs/product_i2.o
.libs/product_i4.o .libs/product_i8.o .libs/product_i16.o .libs/product_r4.o
.libs/product_r8.o .libs/product_r10.o .libs/product_r16.o .libs/product_c4.o
.libs/product_c8.o .libs/product_c10.o .libs/product_c16.o .libs/sum_i1.o
.libs/sum_i2.o .libs/sum_i4.o .libs/sum_i8.o .libs/sum_i16.o .libs/sum_r4.o
.libs/sum_r8.o .libs/sum_r10.o .libs/sum_r16.o .libs/sum_c4.o .libs/sum_c8.o
.libs/sum_c10.o .libs/sum_c16.o .libs/bessel_r4.o .libs/bessel_r8.o
.libs/bessel_r10.o .libs/bessel_r16.o .libs/iall_i1.o .libs/iall_i2.o
.libs/iall_i4.o .libs/iall_i8.o .libs/iall_i16.o .libs/iany_i1.o
.libs/iany_i2.o .libs/iany_i4.o .libs/iany_i8.o .libs/iany_i16.o
.libs/iparity_i1.o .libs/iparity_i2.o .libs/iparity_i4.o .libs/iparity_i8.o
.libs/iparity_i16.o .libs/norm2_r4.o .libs/norm2_r8.o .libs/norm2_r10.o
.libs/norm2_r16.o .libs/parity_l1.o .libs/parity_l2.o .libs/parity_l4.o
.libs/parity_l8.o .libs/parity_l16.o .libs/matmul_i1.o .libs/matmul_i2.o
.libs/matmul_i4.o .libs/matmul_i8.o .libs/matmul_i16.o .libs/matmul_r4.o
.libs/matmul_r8.o .libs/matmul_r10.o .libs/matmul_r16.o .libs/matmul_c4.o
.libs/matmul_c8.o .libs/matmul_c10.o .libs/matmul_c16.o .libs/matmul_l4.o
.libs/matmul_l8.o .libs/matmul_l16.o .libs/shape_i1.o .libs/shape_i2.o
.libs/shape_i4.o .libs/shape_i8.o .libs/shape_i16.o .libs/eoshift1_4.o
.libs/eoshift1_8.o .libs/eoshift1_16.o .libs/eoshift3_4.o .libs/eoshift3_8.o
.libs/eoshift3_16.o .libs/cshift1_4.o .libs/cshift1_8.o .libs/cshift1_16.o
.libs/reshape_i4.o .libs/reshape_i8.o .libs/reshape_i16.o .libs/reshape_r4.o
.libs/reshape_r8.o .libs/reshape_r10.o .libs/reshape_r16.o .libs/reshape_c4.o
.libs/reshape_c8.o .libs/reshape_c10.o .libs/reshape_c16.o .libs/in_pack_i1.o
.libs/in_pack_i2.o .libs/in_pack_i4.o .libs/in_pack_i8.o .libs/in_pack_i16.o
.libs/in_pack_r4.o .libs/in_pack_r8.o .libs/in_pack_r10.o .libs/in_pack_r16.o
.libs/in_pack_c4.o .libs/in_pack_c8.o .libs/in_pack_c10.o .libs/in_pack_c16.o
.libs/in_unpack_i1.o .libs/in_unpack_i2.o .libs/in_unpack_i4.o
.libs/in_unpack_i8.o .libs/in_unpack_i16.o .libs/in_unpack_r4.o
.libs/in_unpack_r8.o .libs/in_unpack_r10.o .libs/in_unpack_r16.o
.libs/in_unpack_c4.o .libs/in_unpack_c8.o .libs/in_unpack_c10.o
.libs/in_unpack_c16.o .libs/pow_i4_i4.o .libs/pow_i8_i4.o .libs/pow_i16_i4.o
.libs/pow_r16_i4.o .libs/pow_c4_i4.o .libs/pow_c8_i4.o .libs/pow_c10_i4.o
.libs/pow_c16_i4.o .libs/pow_i4_i8.o .libs/pow_i8_i8.o .libs/pow_i16_i8.o
.libs/pow_r4_i8.o .libs/pow_r8_i8.o .libs/pow_r10_i8.o .libs/pow_r16_i8.o
.libs/pow_c4_i8.o .libs/pow_c8_i8.o .libs/pow_c10_i8.o .libs/pow_c16_i8.o
.libs/pow_i4_i16.o .libs/pow_i8_i16.o .libs/pow_i16_i16.o .libs/pow_r4_i16.o
.libs/pow_r8_i16.o .libs/pow_r10_i16.o .libs/pow_r16_i16.o .libs/pow_c4_i16.o
.libs/pow_c8_i16.o .libs/pow_c10_i16.o .libs/pow_c16_i16.o .libs/pack_i1.o
.libs/pack_i2.o .libs/pack_i4.o .libs/pack_i8.o .libs/pack_i16.o
.libs/pack_r4.o .libs/pack_r8.o .libs/pack_r10.o .libs/pack_r16.o
.libs/pack_c4.o .libs/pack_c8.o .libs/pack_c10.o .libs/pack_c16.o
.libs/unpack_i1.o .libs/unpack_i2.o .libs/unpack_i4.o .libs/unpack_i8.o
.libs/unpack_i16.o .libs/unpack_r4.o .libs/unpack_r8.o .libs/unpack_r10.o
.libs/unpack_r16.o .libs/unpack_c4.o .libs/unpack_c8.o .libs/unpack_c10.o
.libs/unpack_c16.o .libs/spread_i1.o .libs/spread_i2.o .libs/spread_i4.o
.libs/spread_i8.o .libs/spread_i16.o .libs/spread_r4.o .libs/spread_r8.o
.libs/spread_r10.o .libs/spread_r16.o .libs/spread_c4.o .libs/spread_c8.o
.libs/spread_c10.o .libs/spread_c16.o .libs/cshift0_i1.o .libs/cshift0_i2.o
.libs/cshift0_i4.o .libs/cshift0_i8.o .libs/cshift0_i16.o .libs/cshift0_r4.o
.libs/cshift0_r8.o .libs/cshift0_r10.o .libs/cshift0_r16.o .libs/cshift0_c4.o
.libs/cshift0_c8.o .libs/cshift0_c10.o .libs/cshift0_c16.o
.libs/size_from_kind.o .libs/close.o .libs/file_pos.o .libs/format.o
.libs/inquire.o .libs/intrinsics.o .libs/list_read.o .libs/lock.o .libs/open.o
.libs/read.o .libs/transfer.o .libs/transfer128.o .libs/unit.o .libs/unix.o
.libs/write.o .libs/fbuf.o .libs/associated.o .libs/abort.o .libs/args.o
.libs/cshift0.o .libs/eoshift0.o .libs/eoshift2.o .libs/erfc_scaled.o
.libs/extends_type_of.o .libs/fnum.o .libs/ierrno.o .libs/ishftc.o
.libs/mvbits.o .libs/move_alloc.o .libs/pack_generic.o
.libs/selected_char_kind.o .libs/size.o .libs/spread_generic.o
.libs/string_intrinsics.o .libs/rand.o .libs/random.o .libs/reshape_generic.o
.libs/reshape_packed.o .libs/selected_int_kind.o .libs/selected_real_kind.o
.libs/unpack_generic.o .libs/in_pack_generic.o .libs/in_unpack_generic.o
.libs/access.o .libs/c99_functions.o .libs/chdir.o .libs/chmod.o .libs/clock.o
.libs/cpu_time.o .libs/ctime.o .libs/date_and_time.o .libs/dtime.o .libs/env.o
.libs/etime.o .libs/execute_command_line.o .libs/exit.o .libs/gerror.o
.libs/getcwd.o .libs/getlog.o .libs/getXid.o .libs/hostnm.o .libs/kill.o
.libs/link.o .libs/perror.o .libs/signal.o .libs/sleep.o .libs/system.o
.libs/rename.o .libs/stat.o .libs/symlnk.o .libs/system_clock.o .libs/time.o
.libs/umask.o .libs/unlink.o .libs/ieee_helper.o .libs/ieee_arithmetic.o
.libs/ieee_exceptions.o .libs/ieee_features.o .libs/_abs_c4.o .libs/_abs_c8.o
.libs/_abs_c10.o .libs/_abs_c16.o .libs/_abs_i4.o .libs/_abs_i8.o
.libs/_abs_i16.o .libs/_abs_r4.o .libs/_abs_r8.o .libs/_abs_r10.o
.libs/_abs_r16.o .libs/_aimag_c4.o .libs/_aimag_c8.o .libs/_aimag_c10.o
.libs/_aimag_c16.o .libs/_exp_r4.o .libs/_exp_r8.o .libs/_exp_r10.o
.libs/_exp_r16.o .libs/_exp_c4.o .libs/_exp_c8.o .libs/_exp_c10.o
.libs/_exp_c16.o .libs/_log_r4.o .libs/_log_r8.o .libs/_log_r10.o
.libs/_log_r16.o .libs/_log_c4.o .libs/_log_c8.o .libs/_log_c10.o
.libs/_log_c16.o .libs/_log10_r4.o .libs/_log10_r8.o .libs/_log10_r10.o
.libs/_log10_r16.o .libs/_sqrt_r4.o .libs/_sqrt_r8.o .libs/_sqrt_r10.o
.libs/_sqrt_r16.o .libs/_sqrt_c4.o .libs/_sqrt_c8.o .libs/_sqrt_c10.o
.libs/_sqrt_c16.o .libs/_asin_r4.o .libs/_asin_r8.o .libs/_asin_r10.o
.libs/_asin_r16.o .libs/_asinh_r4.o .libs/_asinh_r8.o .libs/_asinh_r10.o
.libs/_asinh_r16.o .libs/_acos_r4.o .libs/_acos_r8.o .libs/_acos_r10.o
.libs/_acos_r16.o .libs/_acosh_r4.o .libs/_acosh_r8.o .libs/_acosh_r10.o
.libs/_acosh_r16.o .libs/_atan_r4.o .libs/_atan_r8.o .libs/_atan_r10.o
.libs/_atan_r16.o .libs/_atanh_r4.o .libs/_atanh_r8.o .libs/_atanh_r10.o
.libs/_atanh_r16.o .libs/_sin_r4.o .libs/_sin_r8.o .libs/_sin_r10.o
.libs/_sin_r16.o .libs/_sin_c4.o .libs/_sin_c8.o .libs/_sin_c10.o
.libs/_sin_c16.o .libs/_cos_r4.o .libs/_cos_r8.o .libs/_cos_r10.o
.libs/_cos_r16.o .libs/_cos_c4.o .libs/_cos_c8.o .libs/_cos_c10.o
.libs/_cos_c16.o .libs/_tan_r4.o .libs/_tan_r8.o .libs/_tan_r10.o
.libs/_tan_r16.o .libs/_sinh_r4.o .libs/_sinh_r8.o .libs/_sinh_r10.o
.libs/_sinh_r16.o .libs/_cosh_r4.o .libs/_cosh_r8.o .libs/_cosh_r10.o
.libs/_cosh_r16.o .libs/_tanh_r4.o .libs/_tanh_r8.o .libs/_tanh_r10.o
.libs/_tanh_r16.o .libs/_conjg_c4.o .libs/_conjg_c8.o .libs/_conjg_c10.o
.libs/_conjg_c16.o .libs/_aint_r4.o .libs/_aint_r8.o .libs/_aint_r10.o
.libs/_aint_r16.o .libs/_anint_r4.o .libs/_anint_r8.o .libs/_anint_r10.o
.libs/_anint_r16.o .libs/_sign_i4.o .libs/_sign_i8.o .libs/_sign_i16.o
.libs/_sign_r4.o .libs/_sign_r8.o .libs/_sign_r10.o .libs/_sign_r16.o
.libs/_dim_i4.o .libs/_dim_i8.o .libs/_dim_i16.o .libs/_dim_r4.o
.libs/_dim_r8.o .libs/_dim_r10.o .libs/_dim_r16.o .libs/_atan2_r4.o
.libs/_atan2_r8.o .libs/_atan2_r10.o .libs/_atan2_r16.o .libs/_mod_i4.o
.libs/_mod_i8.o .libs/_mod_i16.o .libs/_mod_r4.o .libs/_mod_r8.o
.libs/_mod_r10.o .libs/_mod_r16.o .libs/misc_specifics.o .libs/dprod_r8.o
.libs/f2c_specifics.o  -Wl,--whole-archive ../libbacktrace/.libs/libbacktrace.a
-Wl,--no-whole-archive  -lm  -m32 -m32 -m32
-Wl,--version-script=../../../../gcc-7.2.0/libgfortran/gfortran.map
-shared-libgcc   -Wl,-soname -Wl,libgfortran.so.4 -o .libs/libgfortran.so.4.0.0
libtool: link: (cd ".libs" && rm -f "libgfortran.so.4" && ln -s
"libgfortran.so.4.0.0" "libgfortran.so.4")
libtool: link: (cd ".libs" && rm -f "libgfortran.so" && ln -s
"libgfortran.so.4.0.0" "libgfortran.so")
libtool: link: (cd .libs/libgfortran.lax/libbacktrace.a && /usr/local/bin/ar x
"/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/powerpc64-unknown-linux-gnu/32/libgfortran/../libbacktrace/.libs/libbacktrace.a")
copying selected object files to avoid basename conflicts...
libtool: link: ln .libs/libgfortran.lax/libbacktrace.a/backtrace.o
.libs/libgfortran.lax/lt1-backtrace.o || cp
.libs/libgfortran.lax/libbacktrace.a/backtrace.o
.libs/libgfortran.lax/lt1-backtrace.o
libtool: link: /usr/local/bin/ar rc .libs/libgfortran.a bounds.o
compile_options.o memory.o string.o select.o backtrace.o convert_char.o
environ.o error.o fpu.o main.o pause.o stop.o all_l1.o all_l2.o all_l4.o
all_l8.o all_l16.o any_l1.o any_l2.o any_l4.o any_l8.o any_l16.o count_1_l.o
count_2_l.o count_4_l.o count_8_l.o count_16_l.o maxloc0_4_i1.o maxloc0_8_i1.o
maxloc0_16_i1.o maxloc0_4_i2.o maxloc0_8_i2.o maxloc0_16_i2.o maxloc0_4_i4.o
maxloc0_8_i4.o maxloc0_16_i4.o maxloc0_4_i8.o maxloc0_8_i8.o maxloc0_16_i8.o
maxloc0_4_i16.o maxloc0_8_i16.o maxloc0_16_i16.o maxloc0_4_r4.o maxloc0_8_r4.o
maxloc0_16_r4.o maxloc0_4_r8.o maxloc0_8_r8.o maxloc0_16_r8.o maxloc0_4_r10.o
maxloc0_8_r10.o maxloc0_16_r10.o maxloc0_4_r16.o maxloc0_8_r16.o
maxloc0_16_r16.o maxloc1_4_i1.o maxloc1_8_i1.o maxloc1_16_i1.o maxloc1_4_i2.o
maxloc1_8_i2.o maxloc1_16_i2.o maxloc1_4_i4.o maxloc1_8_i4.o maxloc1_16_i4.o
maxloc1_4_i8.o maxloc1_8_i8.o maxloc1_16_i8.o maxloc1_4_i16.o maxloc1_8_i16.o
maxloc1_16_i16.o maxloc1_4_r4.o maxloc1_8_r4.o maxloc1_16_r4.o maxloc1_4_r8.o
maxloc1_8_r8.o maxloc1_16_r8.o maxloc1_4_r10.o maxloc1_8_r10.o maxloc1_16_r10.o
maxloc1_4_r16.o maxloc1_8_r16.o maxloc1_16_r16.o maxval_i1.o maxval_i2.o
maxval_i4.o maxval_i8.o maxval_i16.o maxval_r4.o maxval_r8.o maxval_r10.o
maxval_r16.o minloc0_4_i1.o minloc0_8_i1.o minloc0_16_i1.o minloc0_4_i2.o
minloc0_8_i2.o minloc0_16_i2.o minloc0_4_i4.o minloc0_8_i4.o minloc0_16_i4.o
minloc0_4_i8.o minloc0_8_i8.o minloc0_16_i8.o minloc0_4_i16.o minloc0_8_i16.o
minloc0_16_i16.o minloc0_4_r4.o minloc0_8_r4.o minloc0_16_r4.o minloc0_4_r8.o
minloc0_8_r8.o minloc0_16_r8.o minloc0_4_r10.o minloc0_8_r10.o minloc0_16_r10.o
minloc0_4_r16.o minloc0_8_r16.o minloc0_16_r16.o minloc1_4_i1.o minloc1_8_i1.o
minloc1_16_i1.o minloc1_4_i2.o minloc1_8_i2.o minloc1_16_i2.o minloc1_4_i4.o
minloc1_8_i4.o minloc1_16_i4.o minloc1_4_i8.o minloc1_8_i8.o minloc1_16_i8.o
minloc1_4_i16.o minloc1_8_i16.o minloc1_16_i16.o minloc1_4_r4.o minloc1_8_r4.o
minloc1_16_r4.o minloc1_4_r8.o minloc1_8_r8.o minloc1_16_r8.o minloc1_4_r10.o
minloc1_8_r10.o minloc1_16_r10.o minloc1_4_r16.o minloc1_8_r16.o
minloc1_16_r16.o minval_i1.o minval_i2.o minval_i4.o minval_i8.o minval_i16.o
minval_r4.o minval_r8.o minval_r10.o minval_r16.o product_i1.o product_i2.o
product_i4.o product_i8.o product_i16.o product_r4.o product_r8.o product_r10.o
product_r16.o product_c4.o product_c8.o product_c10.o product_c16.o sum_i1.o
sum_i2.o sum_i4.o sum_i8.o sum_i16.o sum_r4.o sum_r8.o sum_r10.o sum_r16.o
sum_c4.o sum_c8.o sum_c10.o sum_c16.o bessel_r4.o bessel_r8.o bessel_r10.o
bessel_r16.o iall_i1.o iall_i2.o iall_i4.o iall_i8.o iall_i16.o iany_i1.o
iany_i2.o iany_i4.o iany_i8.o iany_i16.o iparity_i1.o iparity_i2.o iparity_i4.o
iparity_i8.o iparity_i16.o norm2_r4.o norm2_r8.o norm2_r10.o norm2_r16.o
parity_l1.o parity_l2.o parity_l4.o parity_l8.o parity_l16.o matmul_i1.o
matmul_i2.o matmul_i4.o matmul_i8.o matmul_i16.o matmul_r4.o matmul_r8.o
matmul_r10.o matmul_r16.o matmul_c4.o matmul_c8.o matmul_c10.o matmul_c16.o
matmul_l4.o matmul_l8.o matmul_l16.o shape_i1.o shape_i2.o shape_i4.o
shape_i8.o shape_i16.o eoshift1_4.o eoshift1_8.o eoshift1_16.o eoshift3_4.o
eoshift3_8.o eoshift3_16.o cshift1_4.o cshift1_8.o cshift1_16.o reshape_i4.o
reshape_i8.o reshape_i16.o reshape_r4.o reshape_r8.o reshape_r10.o
reshape_r16.o reshape_c4.o reshape_c8.o reshape_c10.o reshape_c16.o
in_pack_i1.o in_pack_i2.o in_pack_i4.o in_pack_i8.o in_pack_i16.o in_pack_r4.o
in_pack_r8.o in_pack_r10.o in_pack_r16.o in_pack_c4.o in_pack_c8.o
in_pack_c10.o in_pack_c16.o in_unpack_i1.o in_unpack_i2.o in_unpack_i4.o
in_unpack_i8.o in_unpack_i16.o in_unpack_r4.o in_unpack_r8.o in_unpack_r10.o
in_unpack_r16.o in_unpack_c4.o in_unpack_c8.o in_unpack_c10.o in_unpack_c16.o
pow_i4_i4.o pow_i8_i4.o pow_i16_i4.o pow_r16_i4.o pow_c4_i4.o pow_c8_i4.o
pow_c10_i4.o pow_c16_i4.o pow_i4_i8.o pow_i8_i8.o pow_i16_i8.o pow_r4_i8.o
pow_r8_i8.o pow_r10_i8.o pow_r16_i8.o pow_c4_i8.o pow_c8_i8.o pow_c10_i8.o
pow_c16_i8.o pow_i4_i16.o pow_i8_i16.o pow_i16_i16.o pow_r4_i16.o pow_r8_i16.o
pow_r10_i16.o pow_r16_i16.o pow_c4_i16.o pow_c8_i16.o pow_c10_i16.o
pow_c16_i16.o pack_i1.o pack_i2.o pack_i4.o pack_i8.o pack_i16.o pack_r4.o
pack_r8.o pack_r10.o pack_r16.o pack_c4.o pack_c8.o pack_c10.o pack_c16.o
unpack_i1.o unpack_i2.o unpack_i4.o unpack_i8.o unpack_i16.o unpack_r4.o
unpack_r8.o unpack_r10.o unpack_r16.o unpack_c4.o unpack_c8.o unpack_c10.o
unpack_c16.o spread_i1.o spread_i2.o spread_i4.o spread_i8.o spread_i16.o
spread_r4.o spread_r8.o spread_r10.o spread_r16.o spread_c4.o spread_c8.o
spread_c10.o spread_c16.o cshift0_i1.o cshift0_i2.o cshift0_i4.o cshift0_i8.o
cshift0_i16.o cshift0_r4.o cshift0_r8.o cshift0_r10.o cshift0_r16.o
cshift0_c4.o cshift0_c8.o cshift0_c10.o cshift0_c16.o size_from_kind.o close.o
file_pos.o format.o inquire.o intrinsics.o list_read.o lock.o open.o read.o
transfer.o transfer128.o unit.o unix.o write.o fbuf.o associated.o abort.o
args.o cshift0.o eoshift0.o eoshift2.o erfc_scaled.o extends_type_of.o fnum.o
ierrno.o ishftc.o mvbits.o move_alloc.o pack_generic.o selected_char_kind.o
size.o spread_generic.o string_intrinsics.o rand.o random.o reshape_generic.o
reshape_packed.o selected_int_kind.o selected_real_kind.o unpack_generic.o
in_pack_generic.o in_unpack_generic.o access.o c99_functions.o chdir.o chmod.o
clock.o cpu_time.o ctime.o date_and_time.o dtime.o env.o etime.o
execute_command_line.o exit.o gerror.o getcwd.o getlog.o getXid.o hostnm.o
kill.o link.o perror.o signal.o sleep.o system.o rename.o stat.o symlnk.o
system_clock.o time.o umask.o unlink.o ieee_helper.o ieee_arithmetic.o
ieee_exceptions.o ieee_features.o _abs_c4.o _abs_c8.o _abs_c10.o _abs_c16.o
_abs_i4.o _abs_i8.o _abs_i16.o _abs_r4.o _abs_r8.o _abs_r10.o _abs_r16.o
_aimag_c4.o _aimag_c8.o _aimag_c10.o _aimag_c16.o _exp_r4.o _exp_r8.o
_exp_r10.o _exp_r16.o _exp_c4.o _exp_c8.o _exp_c10.o _exp_c16.o _log_r4.o
_log_r8.o _log_r10.o _log_r16.o _log_c4.o _log_c8.o _log_c10.o _log_c16.o
_log10_r4.o _log10_r8.o _log10_r10.o _log10_r16.o _sqrt_r4.o _sqrt_r8.o
_sqrt_r10.o _sqrt_r16.o _sqrt_c4.o _sqrt_c8.o _sqrt_c10.o _sqrt_c16.o
_asin_r4.o _asin_r8.o _asin_r10.o _asin_r16.o _asinh_r4.o _asinh_r8.o
_asinh_r10.o _asinh_r16.o _acos_r4.o _acos_r8.o _acos_r10.o _acos_r16.o
_acosh_r4.o _acosh_r8.o _acosh_r10.o _acosh_r16.o _atan_r4.o _atan_r8.o
_atan_r10.o _atan_r16.o _atanh_r4.o _atanh_r8.o _atanh_r10.o _atanh_r16.o
_sin_r4.o _sin_r8.o _sin_r10.o _sin_r16.o _sin_c4.o _sin_c8.o _sin_c10.o
_sin_c16.o _cos_r4.o _cos_r8.o _cos_r10.o _cos_r16.o _cos_c4.o _cos_c8.o
_cos_c10.o _cos_c16.o _tan_r4.o _tan_r8.o _tan_r10.o _tan_r16.o _sinh_r4.o
_sinh_r8.o _sinh_r10.o _sinh_r16.o _cosh_r4.o _cosh_r8.o _cosh_r10.o
_cosh_r16.o _tanh_r4.o _tanh_r8.o _tanh_r10.o _tanh_r16.o _conjg_c4.o
_conjg_c8.o _conjg_c10.o _conjg_c16.o _aint_r4.o _aint_r8.o _aint_r10.o
_aint_r16.o _anint_r4.o _anint_r8.o _anint_r10.o _anint_r16.o _sign_i4.o
_sign_i8.o _sign_i16.o _sign_r4.o _sign_r8.o _sign_r10.o _sign_r16.o _dim_i4.o
_dim_i8.o _dim_i16.o _dim_r4.o _dim_r8.o _dim_r10.o _dim_r16.o _atan2_r4.o
_atan2_r8.o _atan2_r10.o _atan2_r16.o _mod_i4.o _mod_i8.o _mod_i16.o _mod_r4.o
_mod_r8.o _mod_r10.o _mod_r16.o misc_specifics.o dprod_r8.o f2c_specifics.o
.libs/libgfortran.lax/libbacktrace.a/mmapio.o
.libs/libgfortran.lax/libbacktrace.a/print.o
.libs/libgfortran.lax/lt1-backtrace.o
.libs/libgfortran.lax/libbacktrace.a/sort.o
.libs/libgfortran.lax/libbacktrace.a/simple.o
.libs/libgfortran.lax/libbacktrace.a/mmap.o
.libs/libgfortran.lax/libbacktrace.a/posix.o
.libs/libgfortran.lax/libbacktrace.a/state.o
.libs/libgfortran.lax/libbacktrace.a/fileline.o
.libs/libgfortran.lax/libbacktrace.a/elf.o
.libs/libgfortran.lax/libbacktrace.a/atomic.o
.libs/libgfortran.lax/libbacktrace.a/dwarf.o
libtool: link: /usr/local/bin/ranlib .libs/libgfortran.a
libtool: link: rm -fr .libs/libgfortran.lax .libs/libgfortran.lax
libtool: link: ( cd ".libs" && rm -f "libgfortran.la" && ln -s
"../libgfortran.la" "libgfortran.la" )
true  DO=all multi-do # /usr/local/bin/gmake
:
:
:
gmake[6]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/powerpc64-unknown-linux-gnu/32/libgfortran'
gmake[5]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/powerpc64-unknown-linux-gnu/32/libgfortran'
gmake[4]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/powerpc64-unknown-linux-gnu/libgfortran'
:
:
:
gmake[3]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/powerpc64-unknown-linux-gnu/libgfortran'
gmake[2]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/powerpc64-unknown-linux-gnu/libgfortran'
Checking multilib configuration for libobjc...
mkdir -p -- powerpc64-unknown-linux-gnu/libobjc
Configuring in powerpc64-unknown-linux-gnu/libobjc
configure: creating cache ./config.cache
checking build system type... powerpc64-unknown-linux-gnu
checking for --enable-version-specific-runtime-libs... no
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
checking for powerpc64-unknown-linux-gnu-gcc...
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include   
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    accepts -g... yes
checking for /usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    option to accept ISO
C89... none needed
checking for powerpc64-unknown-linux-gnu-as...
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/as
checking for powerpc64-unknown-linux-gnu-ar... /usr/local/bin/ar
checking for powerpc64-unknown-linux-gnu-ranlib... /usr/local/bin/ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for fgrep... /usr/local/bin/grep -F
checking for ld used by
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include   ...
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/collect-ld
checking if the linker
(/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/collect-ld) is
GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/nm
checking the name lister
(/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/nm) interface...
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/collect-ld option
to reload object files... -r
checking for powerpc64-unknown-linux-gnu-objdump... /usr/local/bin/objdump
checking how to recognize dependent libraries... pass_all
checking for powerpc64-unknown-linux-gnu-ar... (cached) /usr/local/bin/ar
checking for powerpc64-unknown-linux-gnu-strip... /usr/local/bin/strip
checking for powerpc64-unknown-linux-gnu-ranlib... (cached)
/usr/local/bin/ranlib
checking for gawk... mawk
checking command to parse
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/nm output from
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    object... ok
checking how to run the C preprocessor...
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    supports -fno-rtti
-fno-exceptions... no
checking for /usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    option to produce
PIC... -fPIC -DPIC
checking if /usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    PIC flag -fPIC -DPIC
works... yes
checking if /usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    static flag -static
works... yes
checking if /usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    supports -c -o
file.o... yes
checking if /usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    supports -c -o
file.o... (cached) yes
checking whether the
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    linker
(/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/collect-ld)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    and cc understand -c
and -o together... yes
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for ANSI C header files... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking whether the target supports thread-local storage... yes
checking if the type of bitfields matters... yes
checking for bdw garbage collector... checking for system boehm-gc...
configure: error: system bdw-gc required but not found
gmake[1]: *** [Makefile:22695: configure-target-libobjc] Error 1
gmake[1]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002'
gmake: *** [Makefile:941: all] Error 2
Command exited with non-zero status 2
$


This is quite late in stage3 and very unexpected that a new requirement would
appear. 

Solution MAY be this : 

root@nix:~# apt-get install libgc-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libgc1c2
The following NEW packages will be installed:
  libgc-dev libgc1c2
... etc 

However a whole new configure stage and re-compile is needed to verify that
this is 
a hard dependency in the bootstrap process.  Should be documented ?
>From gcc-bugs-return-579557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 20:52:55 2017
Return-Path: <gcc-bugs-return-579557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42070 invoked by alias); 23 Oct 2017 20: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 39009 invoked by uid 48); 23 Oct 2017 20:52:49 -0000
From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc
Date: Mon, 23 Oct 2017 20:52: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.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dclarke at blastwave 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-82686-4-5CQfdJDR1s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02617.txt.bz2
Content-length: 1684

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

Dennis Clarke <dclarke at blastwave dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dclarke at blastwave dot org

--- Comment #1 from Dennis Clarke <dclarke at blastwave dot org> ---
As extra information that configure options were : 

nix_$ pwd
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.002
nix_$ date
Sun Oct 22 21:06:26 GMT 2017
nix_$ ../gcc-7.2.0/config.guess 
powerpc64-unknown-linux-gnu

nix_$ CC='gcc -m64' CXX='g++ -m64' \
> LD_RUN_PATH='/usr/local/lib:/usr/local/gcc7/lib' \
> ../gcc-7.2.0/configure --build=powerpc64-unknown-linux-gnu \
> --target=powerpc64-unknown-linux-gnu --host=powerpc64-unknown-linux-gnu \
> --enable-targets=powerpc64-linux --prefix=/usr/local/gcc7 \
> --disable-nls --enable-threads=posix --enable-shared \
> --with-cpu=default64 --enable-bootstrap \
> --enable-libstdcxx-debug --enable-libstdcxx-time=yes \
> --enable-__cxa_atexit --with-system-zlib --enable-objc-gc \
> --enable-multiarch --with-long-double-128 --enable-multilib \
> --enable-stage1-languages=c,c++ --enable-stage1-checking=misc \
> --enable-languages=ada,c,c++,fortran,go,lto,objc,obj-c++ \
> --with-pkgversion='genunix Sun Oct 22 21:06:26 GMT 2017'

That should result in a fully 64-bit gcc with the ability to do multi-lib
compiles ( both 64-bit and 32-bit ) however there isn't clear documentation
on the required libc package dependencies.  Regardless, seems to work fine 
until late late ( many hours ) into stage3.
>From gcc-bugs-return-579558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 21:00:44 2017
Return-Path: <gcc-bugs-return-579558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109728 invoked by alias); 23 Oct 2017 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 109691 invoked by uid 48); 23 Oct 2017 21:00:39 -0000
From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc
Date: Mon, 23 Oct 2017 21:00: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.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dclarke at blastwave 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-82686-4-enGmPzKD4R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02618.txt.bz2
Content-length: 295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

--- Comment #2 from Dennis Clarke <dclarke at blastwave dot org> ---
There may be a hard requirement for the "Boehm-Demers-Weiser conservative
garbage collector" from here : http://www.hboehm.info/gc/

I will have resuls in about ten hours.
>From gcc-bugs-return-579559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 21:26:16 2017
Return-Path: <gcc-bugs-return-579559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9233 invoked by alias); 23 Oct 2017 21:26: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 6747 invoked by uid 48); 23 Oct 2017 21:26:13 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82687] New: [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914
Date: Mon, 23 Oct 2017 21:26: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.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-82687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02619.txt.bz2
Content-length: 790

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82687

            Bug ID: 82687
           Summary: [8 regression] g++.dg/asan/default-options-1.C fails
                    starting with r253914
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This fails on both LE and BE.

make -k check-gcc RUNTESTFLAGS=asan.exp=g++.dg/asan/default-options-1.C
. . .

FAIL: g++.dg/asan/default-options-1.C   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  output pattern test
Output was:

Should match:
WARNING: found 1 unrecognized flag\(s\):(
|
|
).*foo(
|
|
)
>From gcc-bugs-return-579560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 21:38:00 2017
Return-Path: <gcc-bugs-return-579560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4025 invoked by alias); 23 Oct 2017 21:37: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 3980 invoked by uid 48); 23 Oct 2017 21:37:55 -0000
From: "bugzilla-gcc at thewrittenword dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/82688] New: Bootstrap comparison failure on Solaris 10/SPARC
Date: Mon, 23 Oct 2017 21:37: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugzilla-gcc at thewrittenword 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-82688-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02620.txt.bz2
Content-length: 2288

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82688

            Bug ID: 82688
           Summary: Bootstrap comparison failure on Solaris 10/SPARC
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: bugzilla-gcc at thewrittenword dot com
                CC: cmang at google dot com
  Target Milestone: ---

I tried building gcc-7.2.0 on Solaris 10/SPARC and get the following:
gmake[2]: Entering directory `/opt/build/china/gcc-7.2.0/.obj'
gmake[3]: Entering directory `/opt/build/china/gcc-7.2.0/.obj'
rm -f stage_current
gmake[3]: Leaving directory `/opt/build/china/gcc-7.2.0/.obj'
Comparing stages 2 and 3
Bootstrap comparison failure!
gcc/go/parse.o differs
gmake[2]: *** [compare] Error 1
gmake[2]: Leaving directory `/opt/build/china/gcc-7.2.0/.obj'
gmake[1]: *** [stage3-bubble] Error 2
gmake[1]: Leaving directory `/opt/build/china/gcc-7.2.0/.obj'
gmake: *** [all] Error 2

My steps to build:
  $ cd /opt/build/china
  $ gtar Jxf gcc-7.2.0.tar.xz
  $ cd gcc-7.2.0
  $ mkdir .obj
  $ cd .obj
  $
PATH=/opt/TWWfsw/gcc7/bin:/opt/TWWfsw/gcc47/bin:/opt/TWWfsw/bison27/bin:/opt/TWWfsw/findutils44/bin:/opt/TWWfsw/gawk40/bin:/opt/TWWfsw/m414/bin:$PATH
CONFIG_SHELL=/opt/fsw/bin/bash bash /opt/build/china/gcc-7.2.0/configure
--enable-nls --with-included-gettext --enable-shared
--with-local-prefix=/tmp/gcc7 --with-gmp=/opt/TWWfsw/libgmp51
--with-mpc=/opt/TWWfsw/libmpc10 --with-mpfr=/opt/TWWfsw/libmpfr31
--with-isl=/opt/TWWfsw/libisl016 --enable-languages="ada,c,c++,fortran,go,lto"
--datarootdir=/tmp/gcc7/share --datadir=/tmp/gcc7/share --enable-threads
--with-gxx-include-dir=/tmp/gcc7/include/c++ --prefix=/tmp/gcc7
  $
LD_LIBRARY_PATH=/opt/TWWfsw/gcc7/bin:/opt/TWWfsw/libgmp51/lib:/opt/TWWfsw/libmpc10/lib:/opt/TWWfsw/libmpfr31/lib:/opt/TWWfsw/libisl016/lib
PATH=/opt/TWWfsw/gcc47/bin:/opt/TWWfsw/bison27/bin:/opt/TWWfsw/findutils44/bin:/opt/TWWfsw/gawk40/bin:/opt/TWWfsw/m414/bin:$PATH
CONFIG_SHELL=/opt/fsw/bin/bash gmake

If I change --enable-languages to --enable-languages="ada,c,c++,fortran,lto",
excluding go, then it builds fine. Is Go supported on Solaris/SPARC?
>From gcc-bugs-return-579561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 21:38:35 2017
Return-Path: <gcc-bugs-return-579561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13664 invoked by alias); 23 Oct 2017 21: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 13584 invoked by uid 55); 23 Oct 2017 21:38:31 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction
Date: Mon, 23 Oct 2017 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: 7.0.1
X-Bugzilla-Keywords: 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: P2
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80449-4-sFaA4XaYM9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80449-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02621.txt.bz2
Content-length: 767

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Oct 23 21:37:59 2017
New Revision: 254026

URL: https://gcc.gnu.org/viewcvs?rev=254026&root=gcc&view=rev
Log:
/cp
2017-10-23  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/80449
        * semantics.c (finish_compound_literal): Check do_auto_deduction
        return value for error_mark_node.

/testsuite
2017-10-23  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/80449
        * g++.dg/cpp1z/class-deduction46.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction46.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 21:39:27 2017
Return-Path: <gcc-bugs-return-579562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14714 invoked by alias); 23 Oct 2017 21:39: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 14660 invoked by uid 48); 23 Oct 2017 21:39:23 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82689] New: merging writes of different types to the same location
Date: Mon, 23 Oct 2017 21:39: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82689-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02622.txt.bz2
Content-length: 1225

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82689

            Bug ID: 82689
           Summary: merging writes of different types to the same location
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vanyacpp at gmail dot com
  Target Milestone: ---

Consider the following code:

#include <cstdint>

union x
{
    std::int64_t a;
    std::uint64_t b;
};

void f(x& xx, bool flag, std::int64_t value)
{
    if (flag)
        xx.a = value;
    else
        xx.b = value;
}

The function f is written with standard compliance in mind so it tries to write
only that member that will be lately used/read.

The hope is that the compiler is able to optimize the redundant if.

And most compilers (clang, MSVC, icc) are able to optimize this function to a
single store instruction.

GCC optimized it to a single store (to some extend). Here what it generated:

f:
  test sil, sil
  mov QWORD PTR [rdi], rdx
  jne .L5
  rep ret
.L5:
  rep ret

The expected behavior is that the function is optimized to a single store by
GCC too.
>From gcc-bugs-return-579563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 21:39:39 2017
Return-Path: <gcc-bugs-return-579563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15493 invoked by alias); 23 Oct 2017 21: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 15448 invoked by uid 48); 23 Oct 2017 21:39:36 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction
Date: Mon, 23 Oct 2017 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: 7.0.1
X-Bugzilla-Keywords: 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: P2
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 assigned_to target_milestone
Message-ID: <bug-80449-4-RTtlCBNcO1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80449-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02623.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

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
   Target Milestone|7.3                         |8.0

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.
>From gcc-bugs-return-579564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 21:51:43 2017
Return-Path: <gcc-bugs-return-579564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9839 invoked by alias); 23 Oct 2017 21:51: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 7956 invoked by uid 48); 23 Oct 2017 21:51:39 -0000
From: "wdijkstr at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Mon, 23 Oct 2017 21: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: wdijkstr 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:
Message-ID: <bug-78809-4-oVh3NZggBr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02624.txt.bz2
Content-length: 706

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #8 from Wilco <wdijkstr at arm dot com> ---

> /home/qinzhao/Install/latest/bin/gcc -O2 t_p_1.c t_p.c
> non-inlined version
> 20.84user 0.00system 0:20.83elapsed 100%CPU (0avgtext+0avgdata
> 360maxresident)k
> 0inputs+0outputs (0major+135minor)pagefaults 0swaps
> 
> From the data, we can see the inlined version of strcmp (by glibc) is much
> slower than the direct call to strcmp.  (this is for size 2)
> I am using GCC farm machine gcc116:

This result doesn't make sense - it looks like GCC is moving the strcmp call in
the 2nd case as a loop invariant, so you're just measuring a loop with just a
subtract and orr instruction...
>From gcc-bugs-return-579565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 22:11:35 2017
Return-Path: <gcc-bugs-return-579565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106352 invoked by alias); 23 Oct 2017 22:11: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 106301 invoked by uid 48); 23 Oct 2017 22:11:30 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82688] Bootstrap comparison failure on Solaris 10/SPARC
Date: Mon, 23 Oct 2017 22: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: 7.2.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component assigned_to
Message-ID: <bug-82688-4-uGgnigktEF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82688-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82688-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02625.txt.bz2
Content-length: 686

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82688

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|go                          |bootstrap
           Assignee|ian at airs dot com                |unassigned at gcc dot gnu.org

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
Yes, Go works on Solaris/SPARC.  This is not a Go bug, as the file
gcc/go/parse.o is compiled from C++ code, not Go code.  At the point in the
build where this error occurs, no Go code has been compiled.  Resetting to be a
bootstrap bug.
>From gcc-bugs-return-579566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 22:14:18 2017
Return-Path: <gcc-bugs-return-579566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129996 invoked by alias); 23 Oct 2017 22:14: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 126897 invoked by uid 48); 23 Oct 2017 22:14:14 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82691] New: new test case gfortran.dg/graphite/pr82672.f90 fails with ICE starting with it's introduction in r254009
Date: Mon, 23 Oct 2017 22: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: 8.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-82691-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02626.txt.bz2
Content-length: 3168

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82691

            Bug ID: 82691
           Summary: new test case gfortran.dg/graphite/pr82672.f90 fails
                    with ICE starting with it's introduction in r254009
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

I am seeing this on both powerpc64 LE and BE:

Executing on host:
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/graphite/pr82672.f90   
-fno-diagnostics-show-caret -fdiagnostics-color=never    -O  -O2
-floop-nest-optimize -S -o pr82672.s    (timeout = 300)
spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/build/gcc-test2/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/build/gcc-test2/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/graphite/pr82672.f90
-fno-diagnostics-show-caret -fdiagnostics-color=never -O -O2
-floop-nest-optimize -S -o pr82672.s
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/graphite/pr82672.f90:33:0:
Error: invalid address operand in MEM_REF
MEM[(character(kind=4) *)&MEM[(void *)&s4 + 28B]];

/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/graphite/pr82672.f90:33:0:
Error: invalid first operand of MEM_REF
&MEM[(void *)&s4 + 28B]
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/graphite/pr82672.f90:24:0:
note: in statement
# .MEM_123 = VDEF <.MEM_72>
MEM[(character(kind=4) *)&MEM[(void *)&s4 + 28B]] = 32;
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/graphite/pr82672.f90:33:0:
Error: invalid address operand in MEM_REF
MEM[(character(kind=4) *)&MEM[(void *)&s4 + 32B]];

/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/graphite/pr82672.f90:33:0:
Error: invalid first operand of MEM_REF
&MEM[(void *)&s4 + 32B]
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/graphite/pr82672.f90:26:0:
note: in statement
# .MEM_132 = VDEF <.MEM_76>
MEM[(character(kind=4) *)&MEM[(void *)&s4 + 32B]] = 32;
during GIMPLE pass: graphite
/home/seurer/gcc/gcc-test2/gcc/testsuite/gfortran.dg/graphite/pr82672.f90:33:0:
internal compiler error: verify_gimple failed
0x10a969cb verify_gimple_in_cfg(function*, bool)
        /home/seurer/gcc/gcc-test2/gcc/tree-cfg.c:5395
0x10905063 execute_function_todo
        /home/seurer/gcc/gcc-test2/gcc/passes.c:1994
0x1090684b do_per_function
        /home/seurer/gcc/gcc-test2/gcc/passes.c:1659
0x10906a5b execute_todo
        /home/seurer/gcc/gcc-test2/gcc/passes.c:2048
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.
compiler exited with status 1
>From gcc-bugs-return-579567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 22:23:06 2017
Return-Path: <gcc-bugs-return-579567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63240 invoked by alias); 23 Oct 2017 22:23: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 61224 invoked by uid 48); 23 Oct 2017 22:23:02 -0000
From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82692] New: [8 Regression] Ordered comparisons used for unordered built-ins
Date: Mon, 23 Oct 2017 22:23: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.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 cf_gcctarget
Message-ID: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02627.txt.bz2
Content-length: 1343

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

            Bug ID: 82692
           Summary: [8 Regression] Ordered comparisons used for unordered
                    built-ins
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jsm28 at gcc dot gnu.org
                CC: ubizjak at gmail dot com
  Target Milestone: ---
            Target: x86_64-*-*

This was probably introduced by the fix for bug 52451.

With GCC mainline (tested with trunk r254025), some uses of unordered
__builtin_* wrongly use ordered comparison instructions on x86_64, so resulting
in spurious "invalid" exceptions for quiet NaN operands.  The following test
aborts when built with -O2 for x86_64-linux-gnu, but succeeds with GCC 7.  This
affects glibc's y0/y1/yn wrappers, so resulting in glibc test failures.

#include <fenv.h>

extern void abort (void);
extern void exit (int);

double __attribute__ ((noinline, noclone))
foo (double x)
{
  if (__builtin_islessequal (x, 0.0) || __builtin_isgreater (x, 1.0))
    return x + x;
  return x * x;
}

int
main (void)
{
  volatile double x = foo (__builtin_nan (""));
  if (fetestexcept (FE_INVALID))
    abort ();
  exit (0);
}
>From gcc-bugs-return-579568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 22:49:36 2017
Return-Path: <gcc-bugs-return-579568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80011 invoked by alias); 23 Oct 2017 22:49: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 79955 invoked by uid 48); 23 Oct 2017 22:49:32 -0000
From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers
Date: Mon, 23 Oct 2017 22:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 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-58687-4-vV6x71xqyl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02628.txt.bz2
Content-length: 692

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|---                         |INVALID

--- Comment #26 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
DR#464 <http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2148.htm#dr_464>
concluded the existing choice is valid (and noted that apparently no
implementations follow the other choice, although the resolution says that
choice is valid as well), so there is no bug here.
>From gcc-bugs-return-579569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:06:56 2017
Return-Path: <gcc-bugs-return-579569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108538 invoked by alias); 23 Oct 2017 23: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 108447 invoked by uid 48); 23 Oct 2017 23:06:53 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82688] Bootstrap comparison failure on Solaris 10/SPARC
Date: Mon, 23 Oct 2017 23:06: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.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: 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-82688-4-mDf1Rf7g9t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82688-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82688-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02629.txt.bz2
Content-length: 604

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82688

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ebotcazou at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
The search button is your friend.

*** This bug has been marked as a duplicate of bug 81926 ***
>From gcc-bugs-return-579570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:06:57 2017
Return-Path: <gcc-bugs-return-579570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108620 invoked by alias); 23 Oct 2017 23: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 108476 invoked by uid 48); 23 Oct 2017 23:06:53 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/81926] [7 regression] go/parse.o differs between stage2 and stage3
Date: Mon, 23 Oct 2017 23:06: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.2.0
X-Bugzilla-Keywords: build
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-81926-4-YezaOOTn4B@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81926-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81926-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02630.txt.bz2
Content-length: 505

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81926

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla-gcc@thewrittenword
                   |                            |.com

--- Comment #36 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
*** Bug 82688 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:07:11 2017
Return-Path: <gcc-bugs-return-579571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109972 invoked by alias); 23 Oct 2017 23:07:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 109897 invoked by uid 48); 23 Oct 2017 23:07:07 -0000
From: "wdijkstr at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Mon, 23 Oct 2017 23: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: wdijkstr 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:
Message-ID: <bug-78809-4-GnBGk60tcT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02631.txt.bz2
Content-length: 716

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #9 from Wilco <wdijkstr at arm dot com> ---
(In reply to Qing Zhao from comment #7)

str(n)cmp with a constant string can be changed into memcmp if the string has a
known alignment or is an array of known size. We should check the common cases
are implemented.

Given it takes just 3 instructions per character on almost all targets, it is
reasonable to inline strcmp with a small string if it cannot be changed into
memcmp. This will be faster than calling strcmp due to the overhead of the
call, the plt redirection and alignment checks. Note also that many strcmp
implementations will do a byte-by-byte check if the strings are not aligned.
>From gcc-bugs-return-579572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:09:17 2017
Return-Path: <gcc-bugs-return-579572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112810 invoked by alias); 23 Oct 2017 23:09: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 112768 invoked by uid 48); 23 Oct 2017 23:09:12 -0000
From: "bugzilla-gcc at thewrittenword dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/82688] Bootstrap comparison failure on Solaris 10/SPARC
Date: Mon, 23 Oct 2017 23:09: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.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugzilla-gcc at thewrittenword 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-82688-4-SE03LVs0KH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82688-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82688-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02632.txt.bz2
Content-length: 301

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82688

--- Comment #3 from The Written Word <bugzilla-gcc at thewrittenword dot com> ---
(In reply to Eric Botcazou from comment #2)
> The search button is your friend.
> 
> *** This bug has been marked as a duplicate of bug 81926 ***

Oops, thanks.
>From gcc-bugs-return-579573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:18:19 2017
Return-Path: <gcc-bugs-return-579573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19022 invoked by alias); 23 Oct 2017 23:18: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 18989 invoked by uid 48); 23 Oct 2017 23:18:14 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82693] New: gcc/clang calling convension mismatch
Date: Mon, 23 Oct 2017 23: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82693-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02633.txt.bz2
Content-length: 3026

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82693

            Bug ID: 82693
           Summary: gcc/clang calling convension mismatch
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vanyacpp at gmail dot com
  Target Milestone: ---

Recently I have discovered that empty arguments are passed differently by gcc
and by clang.

struct empty
{};

void f(empty, empty, empty);

int main()
{
    f(empty{}, empty{}, empty{});
}

GCC pushed 0 to stack for each empty struct while clang does nothing.

main(GCC):
  sub rsp, 16
  xor eax, eax
  push rax
  push rax
  push rax
  call f(empty, empty, empty)
  xor eax, eax
  add rsp, 40
  ret

main(clang):
  push rax
  call f(empty, empty, empty)
  xor eax, eax
  pop rcx
  ret

I would say that I like the code generated by clang more. As the struct is
empty no value needs to be passed. In a case the callee needs to take the
address of the argument it can allocate the argument in its own frame as the
argument is passed by value.

As the code generated differs I wondered if I can construct an example where
parameters get wrong values because of this. Turned out it wasn't very
difficult.

The following program

struct empty
{};

struct big
{
    int a;
    int b;
    int c;
    int d;
    int e;
};

void print_7th(empty, empty, empty, empty, empty, empty, big seventh)
{
    std::cout << seventh.a
       << ' ' << seventh.b
       << ' ' << seventh.c
       << ' ' << seventh.d
       << ' ' << seventh.e << std::endl;
}

int main()
{
    empty e;
    print_7th(e, e, e, e, e, e, big{1, 2, 3, 4, 5});
}

prints different output when print_7th and main are compiled with different
compilers:

./gcc-to-gcc
1 2 3 4 5
./clang-to-gcc
5 32767 0 0 635911936
./gcc-to-clang
192 0 -1204279016 32765 1
./clang-to-clang
1 2 3 4 5

Another easy way to see that compilers pass arguments differently is compiling
this code:

int sum(empty, empty, empty, empty, empty, empty, big seventh)
{
    return seventh.a + seventh.b + seventh.c + seventh.d + seventh.e;
}

GCC generates:

sum:
  mov eax, DWORD PTR [rsp+60]
  add eax, DWORD PTR [rsp+56]
  add eax, DWORD PTR [rsp+64]
  add eax, DWORD PTR [rsp+68]
  add eax, DWORD PTR [rsp+72]
  ret

while clang generates:

sum:
  mov eax, dword ptr [rsp + 12]
  add eax, dword ptr [rsp + 8]
  add eax, dword ptr [rsp + 16]
  add eax, dword ptr [rsp + 20]
  add eax, dword ptr [rsp + 24]
  ret

I don't know which compiler is right in this case and which conform to SysV ABI
better. I would prefer GCC to adopt clang behavior as it is more efficient.
Because if we have two popular major compilers that both are widely used and
are incompatible with each other and we have to break compatibility of one of
them it's better to choose the better alternative. Also using empty struct as
parameters is common in C++ code, and it's great to make them free.
>From gcc-bugs-return-579574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:18:51 2017
Return-Path: <gcc-bugs-return-579574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20749 invoked by alias); 23 Oct 2017 23: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 19922 invoked by uid 48); 23 Oct 2017 23:18:48 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82693] gcc/clang calling convension mismatch
Date: Mon, 23 Oct 2017 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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82693-4-UCsvNxDa2O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02634.txt.bz2
Content-length: 230

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82693

--- Comment #1 from Ivan Sorokin <vanyacpp at gmail dot com> ---
Created attachment 42450
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42450&action=edit
callee.cpp
>From gcc-bugs-return-579576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:19:34 2017
Return-Path: <gcc-bugs-return-579576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23097 invoked by alias); 23 Oct 2017 23: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 23060 invoked by uid 48); 23 Oct 2017 23:19:30 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82693] gcc/clang calling convension mismatch
Date: Mon, 23 Oct 2017 23: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82693-4-HZuJy8WzII@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02636.txt.bz2
Content-length: 227

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82693

--- Comment #3 from Ivan Sorokin <vanyacpp at gmail dot com> ---
Created attachment 42452
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42452&action=edit
empty.h
>From gcc-bugs-return-579575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:19:08 2017
Return-Path: <gcc-bugs-return-579575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21488 invoked by alias); 23 Oct 2017 23:19:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 21453 invoked by uid 48); 23 Oct 2017 23:19:04 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82693] gcc/clang calling convension mismatch
Date: Mon, 23 Oct 2017 23: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82693-4-g5lA0ggR9t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02635.txt.bz2
Content-length: 230

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82693

--- Comment #2 from Ivan Sorokin <vanyacpp at gmail dot com> ---
Created attachment 42451
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42451&action=edit
caller.cpp
>From gcc-bugs-return-579577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:20:00 2017
Return-Path: <gcc-bugs-return-579577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23880 invoked by alias); 23 Oct 2017 23: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 23848 invoked by uid 48); 23 Oct 2017 23:19:57 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82693] gcc/clang calling convension mismatch
Date: Mon, 23 Oct 2017 23: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82693-4-WSoX39dN3e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02637.txt.bz2
Content-length: 228

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82693

--- Comment #4 from Ivan Sorokin <vanyacpp at gmail dot com> ---
Created attachment 42453
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42453&action=edit
build.sh
>From gcc-bugs-return-579578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:21:08 2017
Return-Path: <gcc-bugs-return-579578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25165 invoked by alias); 23 Oct 2017 23:21:08 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 25124 invoked by uid 48); 23 Oct 2017 23:21:05 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82693] gcc/clang calling convension mismatch
Date: Mon, 23 Oct 2017 23: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82693-4-Pir4sGAxp2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02638.txt.bz2
Content-length: 515

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82693

Ivan Sorokin <vanyacpp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42451|0                           |1
        is obsolete|                            |

--- Comment #5 from Ivan Sorokin <vanyacpp at gmail dot com> ---
Created attachment 42454
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42454&action=edit
caller.cpp
>From gcc-bugs-return-579579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:24:33 2017
Return-Path: <gcc-bugs-return-579579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28860 invoked by alias); 23 Oct 2017 23:24: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 28597 invoked by uid 48); 23 Oct 2017 23:24:03 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82693] gcc/clang calling convension mismatch
Date: Mon, 23 Oct 2017 23: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82693-4-MdTMPMj1A2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02639.txt.bz2
Content-length: 372

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82693

--- Comment #6 from Ivan Sorokin <vanyacpp at gmail dot com> ---
I added files to reproduce the issue: caller.cpp and callee.cpp are the files
that need to be compiled with different compilers. empty.h is common header.
build.sh is a shell script that compiles and run all four combinations
caller/callee gcc/clang.
>From gcc-bugs-return-579580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:29:29 2017
Return-Path: <gcc-bugs-return-579580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45136 invoked by alias); 23 Oct 2017 23:29: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 43247 invoked by uid 48); 23 Oct 2017 23:29:22 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82693] gcc/clang calling convension mismatch
Date: Mon, 23 Oct 2017 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: 7.2.1
X-Bugzilla-Keywords: ABI
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
Message-ID: <bug-82693-4-6L3WyS7RP8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02640.txt.bz2
Content-length: 396

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82693

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ABI

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this is a dup of bug 60336.
>From gcc-bugs-return-579582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:42:41 2017
Return-Path: <gcc-bugs-return-579582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45258 invoked by alias); 23 Oct 2017 23: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 45102 invoked by uid 48); 23 Oct 2017 23:42:36 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60336] empty struct value is passed differently in C and C++
Date: Mon, 23 Oct 2017 23: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: ABI, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-60336-4-aSJ3KYdQd4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60336-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02642.txt.bz2
Content-length: 441

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336

Ivan Sorokin <vanyacpp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vanyacpp at gmail dot com

--- Comment #49 from Ivan Sorokin <vanyacpp at gmail dot com> ---
*** Bug 82693 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 23 23:42:41 2017
Return-Path: <gcc-bugs-return-579581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45171 invoked by alias); 23 Oct 2017 23: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 45071 invoked by uid 48); 23 Oct 2017 23:42:35 -0000
From: "vanyacpp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82693] gcc/clang calling convension mismatch
Date: Mon, 23 Oct 2017 23: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: 7.2.1
X-Bugzilla-Keywords: ABI
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vanyacpp 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-82693-4-B3GZh5guWc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82693-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02641.txt.bz2
Content-length: 592

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82693

Ivan Sorokin <vanyacpp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #8 from Ivan Sorokin <vanyacpp at gmail dot com> ---
Yep. It is. And the proposed resolution is exactly what I would like to see.
Closing as duplicate. Thank you.

*** This bug has been marked as a duplicate of bug 60336 ***
>From gcc-bugs-return-579583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 00:37:35 2017
Return-Path: <gcc-bugs-return-579583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32135 invoked by alias); 24 Oct 2017 00: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 32014 invoked by uid 55); 24 Oct 2017 00:37:30 -0000
From: "paul.richard.thomas at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81758] [7/8 Regression] [OOP] Broken vtab
Date: Tue, 24 Oct 2017 00: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: 7.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paul.richard.thomas 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:
Message-ID: <bug-81758-4-aT8TsVI0Sr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81758-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02643.txt.bz2
Content-length: 1097

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #17 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> ---
Hi Dmitry,

That's great. I'll let you know how I get on when I return. I knew
that it had to be a complicated pointer assignment or allocation with
source but couldn't deduce it by deep thought :-(

Cheers

Paul


On 23 October 2017 at 19:28, liakhdi at ornl dot gov
<gcc-bugzilla@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758
>
> --- Comment #16 from DIL <liakhdi at ornl dot gov> ---
> Hi Paul,
>
> Thanks for looking into this issue. I ran the debugger again. The vtab
> corruption occurs upon the first encounter in function VectorIterElement() in
> line 720 of gfc_vector.F90. Just to make sure, that line begins with:
> elem_p=>this%container%vec_tile(q(4))%...
> Before that line, the elem_p (cep) vtab looks fine. After that line it gets
> bad. Please let me know if you need more information from the debugger.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>From gcc-bugs-return-579584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 00:52:28 2017
Return-Path: <gcc-bugs-return-579584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66439 invoked by alias); 24 Oct 2017 00:52: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 66314 invoked by uid 48); 24 Oct 2017 00:52:22 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Tue, 24 Oct 2017 00: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.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-82685-4-hK0RmUwXx8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02644.txt.bz2
Content-length: 1378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-24
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
   Target Milestone|---                         |7.3
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Pavel I. Kryukov from comment #0)
> `string_view` literal operators should have 'noexcept' specifier according
> to the C++17 standard:
> https://github.com/cplusplus/draft/blob/
> 4ba4e9c2c04b7680ac2a56b65c241ec10c427c3f/source/strings.tex#L4611

Oops, I think we probably copied the code from the std::string literals, which
can throw.

> Currently GCC implements the literal operators via
> `basic_string_view<_charT>(const _charT*, size_t)` ctor which may throw an
> exception according to the same standard.
> https://github.com/gcc-mirror/gcc/blob/
> 0f6374027d3cd77f80f353eb1c2c61c5ad2b6dfd/libstdc%2B%2B-v3/include/std/
> string_view#L638

That's irrelevant, it doesn't throw when given correct arguments, and never
throws in our implementation.
>From gcc-bugs-return-579585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 01:16:59 2017
Return-Path: <gcc-bugs-return-579585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119781 invoked by alias); 24 Oct 2017 01: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 119740 invoked by uid 48); 24 Oct 2017 01:16:54 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Tue, 24 Oct 2017 01: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: 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: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82685-4-nDgEIsMAoq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02645.txt.bz2
Content-length: 352

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
N.B. the compiler already gives the right answer when asked:

#include <string_view>
using namespace std::literals::string_view_literals;
static_assert(noexcept(""sv"));

So the fact we don't say 'noexcept' doesn't actually matter.
>From gcc-bugs-return-579586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 01:18:57 2017
Return-Path: <gcc-bugs-return-579586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121513 invoked by alias); 24 Oct 2017 01:18: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 121471 invoked by uid 48); 24 Oct 2017 01:18:53 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82684] std::complex template specializations require C99 Complex
Date: Tue, 24 Oct 2017 01: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: 5.4.0
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 version everconfirmed
Message-ID: <bug-82684-4-8hmmiuZDkm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82684-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82684-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02646.txt.bz2
Content-length: 1083

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82684

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-24
            Version|unknown                     |5.4.0
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Christopher J. Hanks from comment #0)
> Tested on Ubuntu 16.04 using GLIBCXX_3.4.  The template specializations for
> std::complex<double | float | long double> require the presence of the C99
> complex type even though the primary class template is designed to work
> without it.

This is by design. What is the bug you're reporting?

> Putting the specializations and forward declarations in an `#if
> _GLIBCXX_USE_C99_COMPLEX` block appears to allow code to compile as expected.

What code? What doesn't compile without those changes?
>From gcc-bugs-return-579587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 03:54:31 2017
Return-Path: <gcc-bugs-return-579587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54635 invoked by alias); 24 Oct 2017 03: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 54541 invoked by uid 48); 24 Oct 2017 03:54:26 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82687] [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914
Date: Tue, 24 Oct 2017 03: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.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: 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-82687-4-GOhBs4PnLY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02647.txt.bz2
Content-length: 958

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82687

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-24
                 CC|                            |amodra at gmail dot com,
                   |                            |marxin at gcc dot gnu.org
          Component|other                       |lto
     Ever confirmed|0                           |1

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Confirmed.  default-options-1.exe is missing a dynamic __asan_default_options
symbol, presumably because the early debug object contained that symbol and it
needed to be discarded for some reason.  The problem with making discarded
symbols hidden is that the non-default visibility is sticky.
>From gcc-bugs-return-579588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 05:57:02 2017
Return-Path: <gcc-bugs-return-579588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49641 invoked by alias); 24 Oct 2017 05: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 7905 invoked by uid 48); 24 Oct 2017 05:52:31 -0000
From: "pavel.kryukov at phystech dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Tue, 24 Oct 2017 05: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pavel.kryukov at phystech dot edu
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82685-4-SSkVNONBU2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02648.txt.bz2
Content-length: 924

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

--- Comment #3 from Pavel I. Kryukov <pavel.kryukov at phystech dot edu> ---
I faced the problem because Clang-Tidy warns about possible uncaught exception
if I initialize a global static string_view variable.
It seems that Clang-Tidy simply checks whether `noexcept` is specified, is it a
Clang-Tidy problem then?

Command line output:

clang-tidy-5.0 -checks=cert-err58-cpp gcc_string_view.cpp -- --std=c++17

1 warning generated.
/mnt/d/Dev/gcc_string_view.cpp:5:18: warning: initialization of 'my_variable'
with static storage duration may throw an
exception that cannot be caught [cert-err58-cpp]
std::string_view my_variable = "my_string"sv;
                 ^
/usr/lib/gcc/x86_64-linux-gnu/7.1.0/../../../../include/c++/7.1.0/string_view:646:5:
note: possibly throwing function de
clared here
    operator""sv(const char* __str, size_t __len)
    ^
>From gcc-bugs-return-579589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 05:57:02 2017
Return-Path: <gcc-bugs-return-579589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61587 invoked by alias); 24 Oct 2017 05: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 49976 invoked by uid 48); 24 Oct 2017 05:53:52 -0000
From: "pavel.kryukov at phystech dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Tue, 24 Oct 2017 05: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pavel.kryukov at phystech dot edu
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82685-4-qriz4cOkjl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02649.txt.bz2
Content-length: 276

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

--- Comment #4 from Pavel I. Kryukov <pavel.kryukov at phystech dot edu> ---
Created attachment 42455
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42455&action=edit
A string_view literal initialization example
>From gcc-bugs-return-579590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 06:24:58 2017
Return-Path: <gcc-bugs-return-579590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51286 invoked by alias); 24 Oct 2017 06:24: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 44593 invoked by uid 48); 24 Oct 2017 06:24:53 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 06: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: 8.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-82692-4-5An3XFDCw2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02650.txt.bz2
Content-length: 1768

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-24
     Ever confirmed|0                           |1

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Happens in combine:

(insn 7 6 8 2 (set (reg:CCFPU 17 flags)
        (compare:CCFPU (reg:DF 95)
            (reg/v:DF 91 [ x ]))) "pr82692.c":9 52 {*cmpiudf}
     (expr_list:REG_DEAD (reg:DF 95)
        (expr_list:REG_EQUAL (compare:CCFPU (const_double:DF 0.0 [0x0.0p+0])
                (reg/v:DF 91 [ x ]))
            (nil))))
(insn 8 7 9 2 (set (reg:QI 94)
        (unlt:QI (reg:CCFPU 17 flags)
            (const_int 0 [0]))) "pr82692.c":9 664 {*setcc_qi}
     (expr_list:REG_DEAD (reg:CCFPU 17 flags)
        (nil)))
(insn 9 8 10 2 (set (reg:CCZ 17 flags)
        (compare:CCZ (reg:QI 94)
            (const_int 0 [0]))) "pr82692.c":9 1 {*cmpqi_ccno_1}
     (expr_list:REG_DEAD (reg:QI 94)
        (nil)))

combines to:

Trying 8 -> 9:
Failed to match this instruction:
(set (reg:CCFPU 17 flags)
    (reg:CCFPU 17 flags))
Successfully matched this instruction:
(set (pc)
    (if_then_else (ge (reg:CCFPU 17 flags)
            (const_int 0 [0]))
        (label_ref:DI 34)
        (pc)))

Trying 7 -> 9:
Successfully matched this instruction:
(set (reg:CCFP 17 flags)
    (compare:CCFP (reg:DF 95)
        (reg/v:DF 91 [ x ])))
Successfully matched this instruction:
(set (pc)
    (if_then_else (ge (reg:CCFP 17 flags)
            (const_int 0 [0]))
        (label_ref:DI 34)
        (pc)))
>From gcc-bugs-return-579591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 06:44:44 2017
Return-Path: <gcc-bugs-return-579591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65963 invoked by alias); 24 Oct 2017 06:44: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 65879 invoked by uid 48); 24 Oct 2017 06:44:37 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81318] [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189
Date: Tue, 24 Oct 2017 06: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81318-4-BK3H4pi1Fw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02651.txt.bz2
Content-length: 152

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318

--- Comment #32 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Seems to be fixed now.
>From gcc-bugs-return-579592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 06:56:10 2017
Return-Path: <gcc-bugs-return-579592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121030 invoked by alias); 24 Oct 2017 06:56: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 119039 invoked by uid 55); 24 Oct 2017 06:56:06 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Tue, 24 Oct 2017 06: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82062-4-tKqNTSgyrn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02652.txt.bz2
Content-length: 469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 23 Oct 2017, ebotcazou at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062
> 
> --- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Any 
> progress on this?  We only need to partially revert the change it seems.

Looks like you have sth in mind, care to post a candidate patch?
>From gcc-bugs-return-579593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:03:04 2017
Return-Path: <gcc-bugs-return-579593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23173 invoked by alias); 24 Oct 2017 07:03: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 23018 invoked by uid 48); 24 Oct 2017 07:02:58 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82658] Suboptimal codegen on AVR when right-shifting 8-bit unsigned integers.
Date: Tue, 24 Oct 2017 07: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.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 component everconfirmed
Message-ID: <bug-82658-4-0nxAsFS5sX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82658-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82658-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02653.txt.bz2
Content-length: 1128

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82658

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-24
          Component|target                      |middle-end
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ok.  So the issue is a FE one after all.  With the C FE we have

    volatile unsigned char val;
    unsigned char local = val;
  local = local >> 1;
  val = local;

while the C++ FE preserves the widening from the integer promotion rules:

  <<cleanup_point <<< Unknown tree: expr_stmt
  (void) (local = (unsigned char) val) >>>>>;
  <<cleanup_point <<< Unknown tree: expr_stmt
  (void) (local = (unsigned char) ((int) local >> 1)) >>>>>;
  <<cleanup_point <<< Unknown tree: expr_stmt
  (void) (val = local) >>>>>;

and nothing in the middle-end shortens the right-shift operation.
>From gcc-bugs-return-579594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:03:16 2017
Return-Path: <gcc-bugs-return-579594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24003 invoked by alias); 24 Oct 2017 07:03: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 23823 invoked by uid 48); 24 Oct 2017 07:03:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82691] new test case gfortran.dg/graphite/pr82672.f90 fails with ICE starting with its introduction in r254009
Date: Tue, 24 Oct 2017 07: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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82691-4-1oIgauiMke@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82691-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82691-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02654.txt.bz2
Content-length: 456

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82691

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Oops.  Forgot to apply the patch.
>From gcc-bugs-return-579595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:03:24 2017
Return-Path: <gcc-bugs-return-579595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24777 invoked by alias); 24 Oct 2017 07:03: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 24445 invoked by uid 55); 24 Oct 2017 07:03:20 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82672] [8 Regression][GRAPHITE] ICE in verify_gimple_in_cfg
Date: Tue, 24 Oct 2017 07: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.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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82672-4-3YLLWMsBX0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82672-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82672-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02655.txt.bz2
Content-length: 582

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82672

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Oct 24 07:02:48 2017
New Revision: 254036

URL: https://gcc.gnu.org/viewcvs?rev=254036&root=gcc&view=rev
Log:
2017-10-23  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82672
        * graphite-isl-ast-to-gimple.c (graphite_copy_stmts_from_block):
        Fold the stmt if we propagated into it.

        * gfortran.dg/graphite/pr82672.f90: New testcase.

Modified:
    trunk/gcc/graphite-isl-ast-to-gimple.c
>From gcc-bugs-return-579596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:27:31 2017
Return-Path: <gcc-bugs-return-579596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4205 invoked by alias); 24 Oct 2017 07:27: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 3712 invoked by uid 55); 24 Oct 2017 07:27:23 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Tue, 24 Oct 2017 07: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82569-4-FEldASFZKM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02656.txt.bz2
Content-length: 798

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Tue Oct 24 07:26:52 2017
New Revision: 254037

URL: https://gcc.gnu.org/viewcvs?rev=254037&root=gcc&view=rev
Log:
        PR middle-end/82569
        * tree-outof-ssa.h (always_initialized_rtx_for_ssa_name_p): Delete.
        * expr.c (expand_expr_real_1) <expand_decl_rtl>: Revert latest change.
        * loop-iv.c (iv_get_reaching_def): Likewise.
        * cfgexpand.c (expand_one_ssa_partition): Initialize the RTX if the 
        variable is promoted and the partition contains undefined values.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c
    trunk/gcc/expr.c
    trunk/gcc/loop-iv.c
    trunk/gcc/tree-outof-ssa.h
>From gcc-bugs-return-579597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:29:39 2017
Return-Path: <gcc-bugs-return-579597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8498 invoked by alias); 24 Oct 2017 07: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 8021 invoked by uid 48); 24 Oct 2017 07:29:34 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Tue, 24 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords: wrong-code
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82569-4-mnF8INyJN5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02657.txt.bz2
Content-length: 476

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Thanks for reporting the problem and analyzing it.
>From gcc-bugs-return-579598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:32:09 2017
Return-Path: <gcc-bugs-return-579598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12790 invoked by alias); 24 Oct 2017 07:32:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 12744 invoked by uid 48); 24 Oct 2017 07:32:05 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected
Date: Tue, 24 Oct 2017 07: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: 5.4.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: 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-82679-4-aU7LztGNV7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02658.txt.bz2
Content-length: 467

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-24
     Ever confirmed|0                           |1
>From gcc-bugs-return-579599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:38:33 2017
Return-Path: <gcc-bugs-return-579599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21486 invoked by alias); 24 Oct 2017 07: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 21405 invoked by uid 48); 24 Oct 2017 07:38:28 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc
Date: Tue, 24 Oct 2017 07:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords: documentation
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-82686-4-ooKuezvVwT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02659.txt.bz2
Content-length: 1402

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-24
                 CC|                            |doko at gcc dot gnu.org
          Component|bootstrap                   |web
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
--enable-objc-gc requires you to provide boehm-gc yourself now.  Quoting the
installation instructions:

@item --enable-objc-gc
Specify that an additional variant of the GNU Objective-C runtime library
is built, using an external build of the Boehm-Demers-Weiser garbage
collector (@uref{http://www.hboehm.info/gc/}).  This library needs to be
available for each multilib variant, unless configured with
@option{--enable-objc-gc=@samp{auto}} in which case the build of the
additional runtime library is skipped when not available and the build
continues.

This change should have been mentioned in gcc-7/changes.html but it doesn't
seem to be.

Otherwise it's behaving as expected (thus not a bug).

Matthias, can you amend changes.html?
>From gcc-bugs-return-579600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:38:51 2017
Return-Path: <gcc-bugs-return-579600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22299 invoked by alias); 24 Oct 2017 07: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 22224 invoked by uid 48); 24 Oct 2017 07:38:47 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82687] [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914
Date: Tue, 24 Oct 2017 07: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.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: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82687-4-HUIKuwqh47@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02660.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82687

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:44:29 2017
Return-Path: <gcc-bugs-return-579601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50110 invoked by alias); 24 Oct 2017 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 50064 invoked by uid 48); 24 Oct 2017 07:44:25 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 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: 8.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords target_milestone
Message-ID: <bug-82692-4-uFYIj67DES@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02661.txt.bz2
Content-length: 353

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:47:39 2017
Return-Path: <gcc-bugs-return-579602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52215 invoked by alias); 24 Oct 2017 07: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 52169 invoked by uid 48); 24 Oct 2017 07:47:35 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82694] New: [8 regression] Linux kernel miscompiled since r250765
Date: Tue, 24 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02662.txt.bz2
Content-length: 720

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

            Bug ID: 82694
           Summary: [8 regression] Linux kernel miscompiled since r250765
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: amker at gcc dot gnu.org
  Target Milestone: ---

Since r250765 the Linux kernel gets miscompiled when built with -O3.
It hangs very early during boot waiting for an interrupt that never occurs
(hlt in early_fixup_exception()).

I haven't looked deeper yet, so sorry no testcase.
>From gcc-bugs-return-579603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:50:33 2017
Return-Path: <gcc-bugs-return-579603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61955 invoked by alias); 24 Oct 2017 07: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 61875 invoked by uid 48); 24 Oct 2017 07:50:29 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82689] merging writes of different types to the same location
Date: Tue, 24 Oct 2017 07: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: 7.2.1
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 blocked everconfirmed
Message-ID: <bug-82689-4-osWII4bLAg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82689-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82689-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02663.txt.bz2
Content-length: 1060

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82689

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-24
                 CC|                            |rguenth at gcc dot gnu.org
             Blocks|                            |33315
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
We don't currently optimize this (RTL crossjumping does to the extent you are
seeing).  On GIMPLE there's no semantically equivalent code doing an
unconditional store (you'd lose at least some TBAA).

There's a related bug, PR33315, about sinking and commoning stores.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33315
[Bug 33315] stores not commoned by sinking
>From gcc-bugs-return-579604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 07:53:11 2017
Return-Path: <gcc-bugs-return-579604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69016 invoked by alias); 24 Oct 2017 07:53: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 64213 invoked by uid 48); 24 Oct 2017 07:53:07 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765
Date: Tue, 24 Oct 2017 07: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component target_milestone
Message-ID: <bug-82694-4-boU4xdpzny@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02664.txt.bz2
Content-length: 353

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |middle-end
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 08:26:08 2017
Return-Path: <gcc-bugs-return-579605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130105 invoked by alias); 24 Oct 2017 08: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 130025 invoked by uid 48); 24 Oct 2017 08:26:02 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 08: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.0
X-Bugzilla-Keywords: wrong-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc component
Message-ID: <bug-82692-4-dvSMSBoN0n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02665.txt.bz2
Content-length: 1308

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org
          Component|target                      |rtl-optimization

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
This is the problem in the combine pass. It is substituting non-trapping
compare with trapping via SELECT_CC_MODE. This particular problem happens in
line 6788:

--cut here--
      /* If this machine has CC modes other than CCmode, check to see if we
         need to use a different CC mode here.  */
      if (GET_MODE_CLASS (GET_MODE (op0)) == MODE_CC)
        compare_mode = GET_MODE (op0);
      else if (inner_compare
               && GET_MODE_CLASS (GET_MODE (inner_compare)) == MODE_CC
               && new_code == old_code
               && op0 == XEXP (inner_compare, 0)
               && op1 == XEXP (inner_compare, 1))
        compare_mode = GET_MODE (inner_compare);
      else
        compare_mode = SELECT_CC_MODE (new_code, op0, op1);
--cut here--

New compare mode should NOT change trapping of the compare insn.
>From gcc-bugs-return-579606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 08:31:00 2017
Return-Path: <gcc-bugs-return-579606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53329 invoked by alias); 24 Oct 2017 08: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 53050 invoked by uid 48); 24 Oct 2017 08:30:30 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765
Date: Tue, 24 Oct 2017 08: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82694-4-4tafOVYol5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02666.txt.bz2
Content-length: 1240

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

--- Comment #1 from amker at gcc dot gnu.org ---
Sorry for the breakage.
As I mentioned when committing the patch, it's kind of an experiment and we can
always revert it.  I can revert it now, but a test case for further
investigation would be highly appreciated.
As for the patch, it doesn't change behavior when !flag_wrapv.  I assume the
difference comes from explicitly specified -fwrapv option.  Described by fwrapv
document:

fwrapv
Common Report Var(flag_wrapv) Optimization
Assume signed arithmetic overflow wraps around.

It indicates wrap behavior for signed arithmetic overflow.  This is not
accurate before this patch, because apparently it also covers wrap behavior for
pointer/memory_object.  Unfortunately, it's not always the case because there
are lots of code ignoring possible pointer wrap when fwrapv is specified.  

I can see GCC has the inconsistency issue here, unfortunately no easy way out.

Last question is, does the code in kernel really depends on wrapping pointer
arithmetic overflow behavior.  The code itself can be fixed if not.  Anyway,
it's hard to tell without a test case.

Hi richi, any comment before I revert the patch?  Thanks.
>From gcc-bugs-return-579607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 08:31:49 2017
Return-Path: <gcc-bugs-return-579607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54343 invoked by alias); 24 Oct 2017 08: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 54210 invoked by uid 48); 24 Oct 2017 08:31:30 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82679] Uses of typedefs of arrays of _Atomic-qualified types are rejected
Date: Tue, 24 Oct 2017 08: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.4.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: 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-82679-4-GjHBYnQR1D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82679-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02667.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82679

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-579608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 08:32:03 2017
Return-Path: <gcc-bugs-return-579608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56263 invoked by alias); 24 Oct 2017 08:32: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 54362 invoked by uid 48); 24 Oct 2017 08:31:49 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60336] empty struct value is passed differently in C and C++
Date: Tue, 24 Oct 2017 08: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: 7.2.0
X-Bugzilla-Keywords: ABI, wrong-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-60336-4-W4NJhtnnml@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60336-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02668.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336

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-579609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 08:43:06 2017
Return-Path: <gcc-bugs-return-579609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119619 invoked by alias); 24 Oct 2017 08: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 114244 invoked by uid 48); 24 Oct 2017 08:42:14 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765
Date: Tue, 24 Oct 2017 08: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82694-4-W9kLGOabbl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02669.txt.bz2
Content-length: 190

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
I would not revert without a testcase. Give me a few hours...
>From gcc-bugs-return-579610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 08:47:06 2017
Return-Path: <gcc-bugs-return-579610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126487 invoked by alias); 24 Oct 2017 08: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 126204 invoked by uid 48); 24 Oct 2017 08:46:30 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765
Date: Tue, 24 Oct 2017 08: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82694-4-kNCNGManjB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02670.txt.bz2
Content-length: 248

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

--- Comment #3 from amker at gcc dot gnu.org ---
(In reply to Markus Trippelsdorf from comment #2)
> I would not revert without a testcase. Give me a few hours...

Thanks very much for helping!
>From gcc-bugs-return-579611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:01:35 2017
Return-Path: <gcc-bugs-return-579611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60275 invoked by alias); 24 Oct 2017 09: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 33702 invoked by uid 48); 24 Oct 2017 09:01:14 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765
Date: Tue, 24 Oct 2017 09: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82694-4-JJWAziIdye@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02671.txt.bz2
Content-length: 8414

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 42456
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42456&action=edit
unreduced testcase

The unreduced testcase is attached.

 % /home/trippels/gcc_bad/usr/local/bin/gcc -fno-strict-overflow -O3 -S
vsprintf.i
vs.
 % /home/trippels/gcc_good/usr/local/bin/gcc -fno-strict-overflow -O3 -S
vsprintf.i

 % diff -u vsprintf_good.s vsprintf_bad.s   

--- vsprintf_good.s     2017-10-24 10:57:50.797502298 +0200
+++ vsprintf_bad.s      2017-10-24 10:57:34.977480296 +0200
@@ -5711,7 +5711,6 @@                                                           
        pushq   %r14                                                            
        .cfi_def_cfa_offset 24                                                  
        .cfi_offset 14, -24                   
-       movq    %rsi, %r15                                      
        pushq   %r13                        
        .cfi_def_cfa_offset 32                        
        .cfi_offset 13, -32                                                     
@@ -5722,67 +5721,55 @@                                                         
        pushq   %rbp                                                            
        .cfi_def_cfa_offset 48                                                  
        .cfi_offset 6, -48                  
-       leaq    2147483647(%rdi), %rbp                                          
        pushq   %rbx                                                            
        .cfi_def_cfa_offset 56                                                  
        .cfi_offset 3, -56                                                      
-       movq    %rdx, %r12                   
-       movq    %rdi, %rbx                  
+       leaq    2147483647(%rdi), %r12      
        subq    $40, %rsp                                                       
        .cfi_def_cfa_offset 96                                                  
-       cmpq    %rbp, %rdi                                                      
-       movq    $0, 24(%rsp)                                                    
-       jbe     .L846                                           
        cmpb    $0, (%rsi)                                                      
-       movq    %rdi, %rax                                                      
-       movq    $-1, %rbp                                                       
-       notq    %rax                        
-       movq    %rax, (%rsp)                                                    
-       je      .L847                                                           
+       movq    $0, 24(%rsp)                                                    
+       je      .L925                                                           
+       movq    %rsi, %r14                                                      
+       movq    %rdx, %rbp                                                      
+       movq    %rdi, %rbx                                                      
        .p2align 4,,10                                                          
        .p2align 3                                                              
-.L925:                                                                         
+.L922:                                                                         
        leaq    24(%rsp), %rsi                                                  
-       movq    %r15, %rdi                                                      
+       movq    %r14, %rdi                                                      
        call    format_decode                                                   
        movzbl  24(%rsp), %edx
        movslq  %eax, %rcx
-       leaq    (%r15,%rcx), %r14
+       leaq    (%r14,%rcx), %r15
        cmpb    $7, %dl
-       ja      .L848
-       jmp     *.L850(,%rdx,8)
+       ja      .L847
+       jmp     *.L849(,%rdx,8)
        .section        .rodata
        .align 8
        .align 4
... etc.
>From gcc-bugs-return-579612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:04:55 2017
Return-Path: <gcc-bugs-return-579612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96937 invoked by alias); 24 Oct 2017 09: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 75726 invoked by uid 48); 24 Oct 2017 09:03:02 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765
Date: Tue, 24 Oct 2017 09: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82694-4-vrptnWXYOR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02672.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 42457
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42457&action=edit
assembly bad
>From gcc-bugs-return-579613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:06:24 2017
Return-Path: <gcc-bugs-return-579613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98909 invoked by alias); 24 Oct 2017 09: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 98557 invoked by uid 48); 24 Oct 2017 09:05:18 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765
Date: Tue, 24 Oct 2017 09: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82694-4-OwzSizZuOR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02673.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 42458
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42458&action=edit
assembly good
>From gcc-bugs-return-579615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:22:49 2017
Return-Path: <gcc-bugs-return-579615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130202 invoked by alias); 24 Oct 2017 09: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 125578 invoked by uid 48); 24 Oct 2017 09:22:45 -0000
From: "slohmann@uni-wuppertal.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82696] New: "File not found"-Message if source exists, but doesnt have .c extension
Date: Tue, 24 Oct 2017 09:22: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: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: slohmann@uni-wuppertal.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-82696-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02675.txt.bz2
Content-length: 1376

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82696

            Bug ID: 82696
           Summary: "File not found"-Message if source exists, but doesnt
                    have .c extension
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: slohmann@uni-wuppertal.de
  Target Milestone: ---

Created attachment 42459
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42459&action=edit
Hello World-Source with .c-Extension

A student tried to compile his sourcefile named "hello" (instead of the correct
"hello.c") and got the message that his file could not be found. I could
reproduce the issue:

Files without extension should be passed to the linker iirc, but GCC seems to
do some detection on it and throws a "file not found" if it contains c-code (or
isnt an object-file?)

I think the message is very irritating as the file does exist. Please change
this to a more appropriate message like "'hello' is not an object-file".

---
Steps to reproduce:
1. Take any working c-sourcecode (for example the provided "hello.c" and remove
the '.c'-extension.
2. compile it with "gcc hello"
 -> you get a error message that the file could not be found and a "fatal
error: no input files"
>From gcc-bugs-return-579614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:22:39 2017
Return-Path: <gcc-bugs-return-579614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123240 invoked by alias); 24 Oct 2017 09:22: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 116493 invoked by uid 48); 24 Oct 2017 09:22:34 -0000
From: "drikosev at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82695] New: gnu gcc  (4.8 - 7.1) cannot parse some system headers in macOS (10.12)
Date: Tue, 24 Oct 2017 09:22: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: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82695-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02674.txt.bz2
Content-length: 1825

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82695

            Bug ID: 82695
           Summary: gnu gcc  (4.8 - 7.1) cannot parse some system headers
                    in macOS (10.12)
           Product: gcc
           Version: 4.8.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: drikosev at gmail dot com
  Target Milestone: ---

Hi,

gnu gcc cannot parse some system headers in macOS (10.12)
. One bug is this:

$ cat framework-1.c
#include <Carbon/Carbon.h>
int main(){
 return 0;
}
$ gcc framework-1.c
In file included from
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:18:0,
                 from
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
                 from
/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
                 from
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35,
                 from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
                 from framework-1.c:1:
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h:53:1:
error:initializer element is not constant
 static const CGFontIndex kCGGlyphMax = kCGFontIndexMax;


The error is issued in gcc/c/c-typeck.c by the following fragment (7 lines):
      else if (require_constant
               && !initializer_constant_valid_p (inside_init,
                                                 TREE_TYPE (inside_init)))
        {
          error_init ("initializer element is not constant");
          inside_init = error_mark_node;
        }

Is there a workaround that would allow gcc to accept such an initialisation? 


Ev. Drikos
>From gcc-bugs-return-579616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:34:35 2017
Return-Path: <gcc-bugs-return-579616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8199 invoked by alias); 24 Oct 2017 09: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 8152 invoked by uid 48); 24 Oct 2017 09:34:30 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82543] libbacktrace does not retrieve function names on 64 bit windows (using mingw)
Date: Tue, 24 Oct 2017 09:34: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.3.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:
Message-ID: <bug-82543-4-YSXhvFlTXO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82543-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82543-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02676.txt.bz2
Content-length: 970

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82543

--- Comment #2 from Antony Polukhin <antoshkka at gmail dot com> ---
The error is within `fileline_initialize` function in `libbacktrace/fileline.c`

If the `backtrace_state*` constructed using the `backtrace_create_state` call
with first parameter set to 0, then filename is detected in
`fileline_initialize` function, which has no means to retrieve file name on
Windows OS:

      switch (pass)
        {
        case 0:
          filename = state->filename;
          break;
        case 1:
          filename = getexecname ();
          break;
        case 2:
          filename = "/proc/self/exe";
          break;
        case 3:
          filename = "/proc/curproc/file";
          break;
        case 4:
          snprintf (buf, sizeof (buf), "/proc/%ld/object/a.out",
                    (long) getpid ());
          filename = buf;
          break;
        default:
          abort ();
    }
>From gcc-bugs-return-579618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:39:15 2017
Return-Path: <gcc-bugs-return-579618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34050 invoked by alias); 24 Oct 2017 09: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 32437 invoked by uid 48); 24 Oct 2017 09:39:11 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/69960] "initializer element is not constant"
Date: Tue, 24 Oct 2017 09: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: cc
Message-ID: <bug-69960-4-DjPWrq1a1o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69960-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69960-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02678.txt.bz2
Content-length: 447

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drikosev at gmail dot com

--- Comment #16 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
*** Bug 82695 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:39:14 2017
Return-Path: <gcc-bugs-return-579617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33859 invoked by alias); 24 Oct 2017 09: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 31868 invoked by uid 48); 24 Oct 2017 09:39:10 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82695] gnu gcc  (4.8 - 7.1) cannot parse some system headers in macOS (10.12)
Date: Tue, 24 Oct 2017 09: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek 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-82695-4-YWRCkmm1b6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82695-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82695-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02677.txt.bz2
Content-length: 709

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82695

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think this is a valid request (though not a bug), as discussed in the other
BZ.

You can use e.g. enums to statically initialize variables.

*** This bug has been marked as a duplicate of bug 69960 ***
>From gcc-bugs-return-579619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:50:21 2017
Return-Path: <gcc-bugs-return-579619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38377 invoked by alias); 24 Oct 2017 09:50: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 19895 invoked by uid 48); 24 Oct 2017 09:50:17 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82696] "File not found"-Message if source exists, but doesnt have .c extension
Date: Tue, 24 Oct 2017 09: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: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth 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-82696-4-U4VJAGW0Yj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02679.txt.bz2
Content-length: 517

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82696

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Well, GCC treats unsuffixed inputs as linker input.  You need to specify -x c
for example.
>From gcc-bugs-return-579621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:58:06 2017
Return-Path: <gcc-bugs-return-579621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6758 invoked by alias); 24 Oct 2017 09:58: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 6510 invoked by uid 48); 24 Oct 2017 09:58:02 -0000
From: "slohmann@uni-wuppertal.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82696] "File not found"-Message if source exists, but doesnt have .c extension
Date: Tue, 24 Oct 2017 09:58: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.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: slohmann@uni-wuppertal.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_status resolution
Message-ID: <bug-82696-4-kGVELYt0jh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02681.txt.bz2
Content-length: 571

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82696

slohmann@uni-wuppertal.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #2 from slohmann@uni-wuppertal.de ---
Yes, i know about "-x c".

My Problem is that GCC states that the file "hello" could not be found while it
happily exists in the filesystem.

So this is a "wrong error message"-Bug.
>From gcc-bugs-return-579620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 09:58:06 2017
Return-Path: <gcc-bugs-return-579620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6737 invoked by alias); 24 Oct 2017 09:58: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 6507 invoked by uid 48); 24 Oct 2017 09:58:02 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/21823] MAXPATHLEN usage in [gcc]/fixincludes
Date: Tue, 24 Oct 2017 09:58: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.0.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: P2
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-21823-4-zcPihH6P7m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-21823-4@http.gcc.gnu.org/bugzilla/>
References: <bug-21823-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02680.txt.bz2
Content-length: 924

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21823

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 Alfred M. Szmidt from comment #2)
> Created attachment 9857 [details]
> Don't use arbitrary limits.
> 
> The following fixes fixincludes.
> 
> fixincludes/ChangeLog
> 2005-09-16  Alfred M. Szmidt  <ams@gnu.org>
> 
> 	* fixincl.c (quoted_file_exists): Use xmalloc to allocate memory
> 	for FNAME.
> 	(create_file): Use xmalloc to allocate memory for FNAME.
> 
> 	* server.c (server_setup): Use dynamic allocation for BUFF.

Please send this patch to the gcc-patches mailing list for review, if it still
applies
>From gcc-bugs-return-579622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:00:53 2017
Return-Path: <gcc-bugs-return-579622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13609 invoked by alias); 24 Oct 2017 10: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 12244 invoked by uid 48); 24 Oct 2017 10:00:31 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82680] Use cmpXXss and cmpXXsd for setcc boolean compare
Date: Tue, 24 Oct 2017 10: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.0
X-Bugzilla-Keywords: missed-optimization
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-82680-4-IYmtqgoQSU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82680-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82680-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02682.txt.bz2
Content-length: 1651

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82680

--- Comment #2 from Peter Cordes <peter at cordes dot ca> ---
gcc's sequence is *probably* good, as long as it uses xor / comisd / setcc and
not comisd / setcc / movzx (which gcc often likes to do for integer setcc).

(u)comisd and cmpeqsd both run on the FP add unit.  Agner Fog doesn't list the
latency.  (It's hard to measure, because you'd need to construct a round-trip
back to FP.)  XOR-zeroing is as cheap as a NOP on Intel SnB-family, but uses an
execution port on AMD, so gcc's sequence is the same front-end uops but fewer
unfused-domain uops for the execution units on SnB.  Also, the xor-zeroing is
off the critical path on all CPUs.  (But ucomisd latency is probably as high as
cmpeqsd + movd).

Hmm, AMD bdver* and Ryzen take 2 uops for comisd, so for tune=generic it's
probably worth thinking about using ICC's sequence.

ICC's sequence is especially good if you're doing something with the integer
result that can optimize away the NEG.  (e.g. use it with AND instead of a CMOV
to conditionally zero something, or AND it with another condition).  Or if
you're storing the boolean result to memory, psrld $31, %xmm0 or PAND, then
movd directly to memory without going through integer regs.


comisd doesn't destroy either of its args, but cmpeqsd does (without AVX).  If
you want both x and y afterwards (e.g. if they weren't equal, or you care about
-0.0 and +0.0 being different even though they compare equal), then comisd is a
win.

So I think we need to look at the choices given some more surrounding code.

I'll hopefully look at this some more soon.
>From gcc-bugs-return-579623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:01:08 2017
Return-Path: <gcc-bugs-return-579623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14484 invoked by alias); 24 Oct 2017 10: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 14443 invoked by uid 48); 24 Oct 2017 10:01:04 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/32184] Library makefiles are not created properly. Re-configuring and creating warnings.
Date: Tue, 24 Oct 2017 10: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: 4.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
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-32184-4-oMqAvGZJQG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-32184-4@http.gcc.gnu.org/bugzilla/>
References: <bug-32184-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02683.txt.bz2
Content-length: 632

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32184

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #1)
> 
> As far as 1 goes, libjava has been removed so that part is no longer
> relevant. For 2, which configure script prints that warning?

No response; closing.
>From gcc-bugs-return-579624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:03:07 2017
Return-Path: <gcc-bugs-return-579624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29549 invoked by alias); 24 Oct 2017 10:03: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 22078 invoked by uid 48); 24 Oct 2017 10:03:02 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/43445] Toplevel Makefile needs to export ABI variants of LD_LIBRARY_PATH
Date: Tue, 24 Oct 2017 10: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: 4.5.0
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: bug_status resolution
Message-ID: <bug-43445-4-6mYKr01mwj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43445-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02684.txt.bz2
Content-length: 565

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43445

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> 
> Is this still needed now that gcj-dbtool has been removed?

No response so I guess not.
>From gcc-bugs-return-579625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:05:32 2017
Return-Path: <gcc-bugs-return-579625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116214 invoked by alias); 24 Oct 2017 10:05: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 115492 invoked by uid 48); 24 Oct 2017 10:05:24 -0000
From: "ch3root at openwall dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82697] New: Wrong optimization with aliasing and "if"
Date: Tue, 24 Oct 2017 10:05: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ch3root at openwall 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-82697-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02685.txt.bz2
Content-length: 1303

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82697

            Bug ID: 82697
           Summary: Wrong optimization with aliasing and "if"
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ch3root at openwall dot com
  Target Milestone: ---

A testcase is simplified from
https://stackoverflow.com/questions/46592132/is-this-use-of-the-effective-type-rule-strictly-conforming
:

----------------------------------------------------------------------
#include <stdlib.h>
#include <stdio.h>

__attribute__((__noinline__))
void test(int *pi, long *pl, int f)
{
  *pl = 0;

  *pi = 1;

  if (f)
    *pl = 2;
}

int main(void)
{
  void *p = malloc(10);

  test(p, p, 0);

  printf("%d\n", *(int *)p);
}
----------------------------------------------------------------------

Results:

----------------------------------------------------------------------
$ gcc -std=c11 -pedantic -Wall -Wextra test.c && ./a.out
1
$ gcc -std=c11 -pedantic -Wall -Wextra -O3 test.c && ./a.out
0
----------------------------------------------------------------------

gcc version: gcc (GCC) 8.0.0 20171024 (experimental)
>From gcc-bugs-return-579626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:19:21 2017
Return-Path: <gcc-bugs-return-579626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38579 invoked by alias); 24 Oct 2017 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 38444 invoked by uid 48); 24 Oct 2017 10:19:11 -0000
From: "jgreenhalgh at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics
Date: Tue, 24 Oct 2017 10: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jgreenhalgh at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: clyon at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-71233-4-KnmzMPuT8W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71233-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02686.txt.bz2
Content-length: 2059

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233

James Greenhalgh <jgreenhalgh at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgreenhalgh at gcc dot gnu.org

--- Comment #15 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #6)
> I used the perl script and intrinsics list to build several subsets:
> 
> # List of duplicates: (a few intrinsics are listed twice
> # with different prototypes, it's likely a bug in the documentation,
> # not sure where to report this?)
> perl neon_intrinsics.pl < intrinsics.txt |awk '{print $3;}' |sort |uniq -c
> |sort -n| grep -v '^ *1 '

      2 vqrdmlah_laneq_s16
      2 vqrdmlah_lane_s16
      2 vqrdmlahq_laneq_s16
      2 vqrdmlahq_lane_s16
      2 vqrdmlsh_laneq_s16
      2 vqrdmlsh_lane_s16
      2 vqrdmlshq_laneq_s16
      2 vqrdmlshq_lane_s16

These are bugs s16 should be s32 for all of these. I've fixed them for the next
spec release.

      2 vreinterpretq_u64_p64
      2 vreinterpret_u64_p64

These are just duplicates. I've fixed them for the next spec release.

      2 vshll_high_n_s16
      2 vshll_high_n_s32
      2 vshll_high_n_s8
      2 vshll_high_n_u16
      2 vshll_high_n_u32
      2 vshll_high_n_u8
      2 vshll_n_s16
      2 vshll_n_s32
      2 vshll_n_s8
      2 vshll_n_u16
      2 vshll_n_u32
      2 vshll_n_u8

These are all attempts to encode that two different instructions can be
generated depending on whether the 'n' parameter is equal to the number of bits
in the vector lane. For example,

  vshll_n_s16 (int8x8_t a, __builtin_constant_p(n))

Generates SSHLL if 0 <= n < 16, and SHLL if n == 16.

I agree that having two entries for these can be confusing, but you can think
of them as "false positives" for now. I'll think about how I could improve the
documentation to allow us to give this information without duplicating the
prototypes.
>From gcc-bugs-return-579627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:24:41 2017
Return-Path: <gcc-bugs-return-579627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97417 invoked by alias); 24 Oct 2017 10:24: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 89665 invoked by uid 48); 24 Oct 2017 10:24:35 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765
Date: Tue, 24 Oct 2017 10: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: amker at gcc dot gnu.org
X-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82694-4-VJwlRFLzUg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02687.txt.bz2
Content-length: 734

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

--- Comment #7 from amker at gcc dot gnu.org ---
I didn't go through all the differences, but below is an example of using
wrapping behavior for pointers:

int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
{
 unsigned long long num;
 char *str, *end;
 struct printf_spec spec = {0};
 //...
 str = buf;
 end = buf + size;

 if (end < buf) {
  end = ((void *)-1);
  size = end - buf;
 }
 //...
}
int vsprintf(char *buf, const char *fmt, va_list args)
{
 return vsnprintf(buf, ((int)(~0U>>1)), fmt, args);
}
So vsnprintf get 0x7fffffff as the second argument, the comparison between end
and buf gets folded with undefined overflow behavior assumption.
>From gcc-bugs-return-579628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:45:44 2017
Return-Path: <gcc-bugs-return-579628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43678 invoked by alias); 24 Oct 2017 10: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 40830 invoked by uid 55); 24 Oct 2017 10:45:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82628] [8 Regression] wrong code at -Os on x86_64-linux-gnu in the 32-bit mode
Date: Tue, 24 Oct 2017 10: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82628-4-KIwJf1gyQP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82628-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02688.txt.bz2
Content-length: 836

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 24 10:44:56 2017
New Revision: 254039

URL: https://gcc.gnu.org/viewcvs?rev=254039&root=gcc&view=rev
Log:
        PR target/82628
        * config/i386/i386.md (addcarry<mode>, subborrow<mode>): Change
        patterns to better describe from which operation the CF is computed.
        (addcarry<mode>_0, subborrow<mode>_0): New patterns.
        * config/i386/i386.c (ix86_expand_builtin) <case handlecarry>: Pass
        one LTU with [DT]Imode and another one with [SD]Imode.  If arg0
        is 0, use _0 suffixed expanders instead of emitting a comparison
        before it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
>From gcc-bugs-return-579629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:46:51 2017
Return-Path: <gcc-bugs-return-579629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44935 invoked by alias); 24 Oct 2017 10:46: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 44898 invoked by uid 48); 24 Oct 2017 10:46:46 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82696] "File not found"-Message if source exists, but doesnt have .c extension
Date: Tue, 24 Oct 2017 10:46: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.9.2
X-Bugzilla-Keywords: diagnostic
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: keywords bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82696-4-idrqImhuLQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02689.txt.bz2
Content-length: 890

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82696

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-24
     Ever confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I can't reproduce this:

mp$ gcc hello
hello: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status


You're missing the necessary information for us to understand the report:
https://gcc.gnu.org/bugs/

N.B. GCC 4.9.2 is unsupported, bugs will only be fixed in supported releases
(currently the GCC 6 and GCC 7 series).
>From gcc-bugs-return-579630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:52:55 2017
Return-Path: <gcc-bugs-return-579630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91835 invoked by alias); 24 Oct 2017 10: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 91562 invoked by uid 48); 24 Oct 2017 10:52:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82697] [6/7/8 Regression] Wrong optimization with aliasing and "if"
Date: Tue, 24 Oct 2017 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: 8.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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
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-82697-4-OCLHcTVxeF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02690.txt.bz2
Content-length: 1393

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82697

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.2.4
           Keywords|                            |wrong-code
   Last reconfirmed|                            |2017-10-24
     Ever confirmed|0                           |1
            Summary|Wrong optimization with     |[6/7/8 Regression] Wrong
                   |aliasing and "if"           |optimization with aliasing
                   |                            |and "if"
   Target Milestone|---                         |6.5
      Known to fail|                            |4.3.5, 4.8.5, 7.2.1, 8.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is a bug in conditional store elimination happening with -O1+ and
-fstrict-aliasing:



test (int * pi, long int * pl, int f)
{
  long int cstore_10;

  <bb 2> [100.00%]:
  *pi_5(D) = 1;
  if (f_7(D) != 0)
    goto <bb 4>; [54.00%]
  else
    goto <bb 3>; [46.00%]

  <bb 3> [46.00%]:

  <bb 4> [100.00%]:
  # cstore_10 = PHI <0(3), 2(2)>
  *pl_3(D) = cstore_10;

so it sank a store across another store.
>From gcc-bugs-return-579631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:53:28 2017
Return-Path: <gcc-bugs-return-579631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94314 invoked by alias); 24 Oct 2017 10: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 93905 invoked by uid 55); 24 Oct 2017 10:53:23 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82659] Unnecessary ENDBR in static/local functions
Date: Tue, 24 Oct 2017 10: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82659-4-4dEBAEDbuq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82659-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82659-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02691.txt.bz2
Content-length: 1802

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82659

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Tue Oct 24 10:52:50 2017
New Revision: 254040

URL: https://gcc.gnu.org/viewcvs?rev=254040&root=gcc&view=rev
Log:
i386: Don't insert ENDBR at function entrance when called directly

There is no need to insert ENDBR instruction at function entrance if
function is only called directly.

gcc/

        PR target/82659
        * config/i386/i386.c (rest_of_insert_endbranch): Don't insert
        ENDBR instruction at function entrance if function is only
        called directly.

gcc/testsuite/

        PR target/82659
        * gcc.target/i386/cet-label-2.c: New test.
        * gcc.target/i386/cet-sjlj-4.c: Likewise.
        * gcc.target/i386/cet-sjlj-5.c: Likewise.
        * gcc.target/i386/cet-switch-3.c: Likewise.
        * gcc.target/i386/pr82659-1.c: Likewise.
        * gcc.target/i386/pr82659-2.c: Likewise.
        * gcc.target/i386/pr82659-3.c: Likewise.
        * gcc.target/i386/pr82659-4.c: Likewise.
        * gcc.target/i386/pr82659-5.c: Likewise.
        * gcc.target/i386/pr82659-6.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/i386/cet-label-2.c
    trunk/gcc/testsuite/gcc.target/i386/cet-sjlj-4.c
    trunk/gcc/testsuite/gcc.target/i386/cet-sjlj-5.c
    trunk/gcc/testsuite/gcc.target/i386/cet-switch-3.c
    trunk/gcc/testsuite/gcc.target/i386/pr82659-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr82659-2.c
    trunk/gcc/testsuite/gcc.target/i386/pr82659-3.c
    trunk/gcc/testsuite/gcc.target/i386/pr82659-4.c
    trunk/gcc/testsuite/gcc.target/i386/pr82659-5.c
    trunk/gcc/testsuite/gcc.target/i386/pr82659-6.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 10:54:38 2017
Return-Path: <gcc-bugs-return-579632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108081 invoked by alias); 24 Oct 2017 10: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 105381 invoked by uid 48); 24 Oct 2017 10:54:34 -0000
From: "paulg at chiark dot greenend.org.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/82698] New: Spurious warning __builtin_memset at O3
Date: Tue, 24 Oct 2017 10:54: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paulg at chiark dot greenend.org.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-82698-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02692.txt.bz2
Content-length: 1046

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82698

            Bug ID: 82698
           Summary: Spurious warning __builtin_memset at O3
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: paulg at chiark dot greenend.org.uk
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

With the following code fragment

#include <vector>

void foo(std::vector<int> & bar)
{
    bar.resize(bar.size() - 1);
}

compiled with

g++ -c -O3 -Wall -Wextra test.cpp

the following is produced

cc1plus: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’:
specified size 18446744073709551612 exceeds maximum object size
9223372036854775807 -Wstringop-overflow=]

Since the compiler cannot know if the user has arranged to never pass a
argument which would produce this problem this seems like overreach on the part
of the compiler.
>From gcc-bugs-return-579633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:04:19 2017
Return-Path: <gcc-bugs-return-579633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125922 invoked by alias); 24 Oct 2017 11: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 125588 invoked by uid 48); 24 Oct 2017 11:04:15 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82697] [6/7/8 Regression] Wrong optimization with aliasing and "if"
Date: Tue, 24 Oct 2017 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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82697-4-0oqR4rUsbi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02693.txt.bz2
Content-length: 931

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82697

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 #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
So cselim transforms

  *pi = 1;
  if (f)
    *pl = 2;

into

  *pi = 1;
  if (!f)
    tem = *pl;
  else
    tem = 2;
  *pl = tem;

that is of course only valid in case we can validly load from *pl which we
can't in this case.

Given there's no check for validity here there's nothing else than using
alias-set zero for the load ...

We also have to avoid changing the dynamic type of the object which means
the store _also_ has to use alias-set zero.

I have a fix.
>From gcc-bugs-return-579634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:08:29 2017
Return-Path: <gcc-bugs-return-579634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130903 invoked by alias); 24 Oct 2017 11: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 130866 invoked by uid 48); 24 Oct 2017 11:08:25 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82697] [6/7/8 Regression] Wrong optimization with aliasing and "if"
Date: Tue, 24 Oct 2017 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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82697-4-l48FzQH2OF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02694.txt.bz2
Content-length: 237

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82697

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 42460
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42460&action=edit
untested patch
>From gcc-bugs-return-579635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:15:30 2017
Return-Path: <gcc-bugs-return-579635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16391 invoked by alias); 24 Oct 2017 11:15: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 16199 invoked by uid 48); 24 Oct 2017 11:15:04 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82659] Unnecessary ENDBR in static/local functions
Date: Tue, 24 Oct 2017 11: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82659-4-M9A64AAEc7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82659-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82659-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02695.txt.bz2
Content-length: 415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82659

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
>From gcc-bugs-return-579636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:15:32 2017
Return-Path: <gcc-bugs-return-579636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16455 invoked by alias); 24 Oct 2017 11:15: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 16223 invoked by uid 48); 24 Oct 2017 11:15:04 -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 -mcet bugs
Date: Tue, 24 Oct 2017 11:15: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-yYEHKGtH2U@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: 2017-10/txt/msg02696.txt.bz2
Content-length: 469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652
Bug 81652 depends on bug 82659, which changed state.

Bug 82659 Summary: Unnecessary ENDBR in static/local functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82659

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-579637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:15:44 2017
Return-Path: <gcc-bugs-return-579637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17894 invoked by alias); 24 Oct 2017 11:15: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 17595 invoked by uid 48); 24 Oct 2017 11:15:41 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 11: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-RAWiIEPSER@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02697.txt.bz2
Content-length: 264

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
The combine output you showed is _not_ succeeding though?  "matched"
just means the rtx was recog()'ed; not that it was actually replaced.
>From gcc-bugs-return-579638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:18:45 2017
Return-Path: <gcc-bugs-return-579638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22398 invoked by alias); 24 Oct 2017 11:18: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 22357 invoked by uid 48); 24 Oct 2017 11:18:40 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81769] Unnecessary stack realign with -mavx
Date: Tue, 24 Oct 2017 11: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-81769-4-CMiThCqapn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81769-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81769-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02698.txt.bz2
Content-length: 468

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81769

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
>From gcc-bugs-return-579639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:23:06 2017
Return-Path: <gcc-bugs-return-579639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28244 invoked by alias); 24 Oct 2017 11:23: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 28186 invoked by uid 48); 24 Oct 2017 11:23:02 -0000
From: "slohmann@uni-wuppertal.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82696] "File not found"-Message if source exists, but doesnt have .c extension
Date: Tue, 24 Oct 2017 11: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: 4.9.2
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: slohmann@uni-wuppertal.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-82696-4-NnaV46FDcN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02699.txt.bz2
Content-length: 309

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82696

--- Comment #4 from slohmann@uni-wuppertal.de ---
Ok, have confirmed that it works fine with GCC 5/6/7, so it has obviously been
fixed. Didn't find a bugreport so i assumed it would be still there in newer
versions too...by bad.

Keep up the good work!
>From gcc-bugs-return-579640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:27:03 2017
Return-Path: <gcc-bugs-return-579640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16316 invoked by alias); 24 Oct 2017 11: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 13409 invoked by uid 48); 24 Oct 2017 11:27:00 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82696] "File not found"-Message if source exists, but doesnt have .c extension
Date: Tue, 24 Oct 2017 11:27: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.9.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: 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-82696-4-YA3g7Dd8VL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82696-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02700.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82696

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
FWIW I get the same behaviour for every version I tried, back to 4.3
>From gcc-bugs-return-579641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:28:08 2017
Return-Path: <gcc-bugs-return-579641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32562 invoked by alias); 24 Oct 2017 11:28: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 32443 invoked by uid 48); 24 Oct 2017 11:28:02 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Tue, 24 Oct 2017 11: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: 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: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82685-4-36ke3CJ0fL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02701.txt.bz2
Content-length: 603

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Pavel I. Kryukov from comment #3)
> It seems that Clang-Tidy simply checks whether `noexcept` is specified, is
> it a Clang-Tidy problem then?

I would say so, yes. Not every function without noexcept will throw for all
input arguments. Obviously a constexpr function that just invokes a constexpr
constructor that just sets two trivial member variables can't throw, under any
circumstances, ever.

I'll add 'noexcept' to those functions anyway, as it doesn't hurt.
>From gcc-bugs-return-579642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:28:08 2017
Return-Path: <gcc-bugs-return-579642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32572 invoked by alias); 24 Oct 2017 11:28: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 32495 invoked by uid 48); 24 Oct 2017 11:28:03 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99
Date: Tue, 24 Oct 2017 11: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: 8.0
X-Bugzilla-Keywords: wrong-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 component short_desc everconfirmed
Message-ID: <bug-82683-4-uogDJ8AN3r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02702.txt.bz2
Content-length: 2565

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-24
                 CC|                            |segher at gcc dot gnu.org,
                   |                            |wilco at gcc dot gnu.org
          Component|target                      |rtl-optimization
            Summary|GCC generates bad code with |Combine: GCC generates bad
                   |-tune=thunderx2t99          |code with
                   |                            |-tune=thunderx2t99
     Ever confirmed|0                           |1

--- Comment #1 from Wilco <wilco at gcc dot gnu.org> ---
Combine seems to do the correct thing at first, creating a ldrsw but it then
invents a spurious REG_DEAD for r83:

Successfully matched this instruction:
(set (reg:DI 83 [ _26 ])
    (sign_extend:DI (mem:SI (plus:DI (mult:DI (reg:DI 83 [ _26 ])
                    (const_int 4 [0x4]))
                (reg/f:DI 76 [ _4 ])) [8 *_7+0 S4 A32])))
Successfully matched this instruction:
(set (reg/v:SI 82 [ pD.3023 ])
    (subreg:SI (reg:DI 83 [ _26 ]) 0))
allowing combination of insns 19, 20 and 21
original costs 8 + 20 + 4 = 32
replacement costs 28 + 4 = 32
deferring rescan insn with uid = 21.
deferring deletion of insn with uid = 19.
modifying insn i2    20: r83:DI=sign_extend([r83:DI*0x4+r76:DI])
      REG_DEAD r76:DI
deferring rescan insn with uid = 20.
modifying insn i3    21: r82:SI=r83:DI#0  ** all good so far, both r82/r83 are
live
      REG_DEAD r83:DI   *** OOPS
      REG_DEAD r83:DI
      REG_DEAD r83:DI
deferring rescan insn with uid = 21.

The REG_DEAD r83 incorrect as both r82 and r83 are still live. I think it may
be due to this earlier combine:

Trying 18 -> 19:
Successfully matched this instruction:
(set (reg/f:DI 78 [ _7 ])
    (plus:DI (ashift:DI (reg:DI 83 [ _26 ])
            (const_int 2 [0x2]))
        (reg/f:DI 76 [ _4 ])))
allowing combination of insns 18 and 19
original costs 4 + 4 = 8
replacement cost 8
deferring deletion of insn with uid = 18.
modifying insn i3    19: r78:DI=r83:DI<<0x2+r76:DI
      REG_DEAD r83:DI
      REG_DEAD r76:DI
deferring rescan insn with uid = 19.

So I guess the bug is that when combining multiple instructions, dead notes
aren't removed if later instructions assign the the same register.
>From gcc-bugs-return-579643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:29:18 2017
Return-Path: <gcc-bugs-return-579643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36284 invoked by alias); 24 Oct 2017 11:29: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 36187 invoked by uid 55); 24 Oct 2017 11:29:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Tue, 24 Oct 2017 11:29: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: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82685-4-1pI9NwZnbZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02703.txt.bz2
Content-length: 625

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Oct 24 11:28:40 2017
New Revision: 254041

URL: https://gcc.gnu.org/viewcvs?rev=254041&root=gcc&view=rev
Log:
PR libstdc++/82685 add 'noexcept' to string_view literals

        PR libstdc++/82685
        * include/experimental/string_view (operator""sv): Add noexcept.
        * include/std/string_view (operator""sv): Likewise.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/experimental/string_view
    trunk/libstdc++-v3/include/std/string_view
>From gcc-bugs-return-579644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 11:41:38 2017
Return-Path: <gcc-bugs-return-579644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82575 invoked by alias); 24 Oct 2017 11: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 82506 invoked by uid 48); 24 Oct 2017 11:41:34 -0000
From: "pavel.kryukov at phystech dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Tue, 24 Oct 2017 11: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pavel.kryukov at phystech dot edu
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82685-4-1oj55vjoDK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02704.txt.bz2
Content-length: 522

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

Pavel I. Kryukov <pavel.kryukov at phystech dot edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Pavel I. Kryukov <pavel.kryukov at phystech dot edu> ---
Thank you, Jonathan. I'll report the same bug to LLVM libc++ and to Clang-Tidy.
>From gcc-bugs-return-579645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 12:11:37 2017
Return-Path: <gcc-bugs-return-579645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79811 invoked by alias); 24 Oct 2017 12: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 69543 invoked by uid 48); 24 Oct 2017 12:11:29 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Tue, 24 Oct 2017 12: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: 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: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82685-4-GB4zxVl1ey@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02705.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |ASSIGNED
         Resolution|FIXED                       |---

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I still plan to fix it on the gcc-7-branch so I'll close it then.
>From gcc-bugs-return-579646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 12:12:33 2017
Return-Path: <gcc-bugs-return-579646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8575 invoked by alias); 24 Oct 2017 12: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 4720 invoked by uid 48); 24 Oct 2017 12:12:28 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82657] when using a template function pointer as a non-type template parameters, the template function will not be defined in some situation
Date: Tue, 24 Oct 2017 12: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: 6.3.0
X-Bugzilla-Keywords: wrong-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:
Message-ID: <bug-82657-4-6BMJaXgdJD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82657-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82657-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02706.txt.bz2
Content-length: 187

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82657

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm pretty sure this is a dup of another bug I confirmed recently.
>From gcc-bugs-return-579647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 12:21:03 2017
Return-Path: <gcc-bugs-return-579647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21941 invoked by alias); 24 Oct 2017 12: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 21852 invoked by uid 48); 24 Oct 2017 12:20:55 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99
Date: Tue, 24 Oct 2017 12: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82683-4-DWwzFcSFAk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02707.txt.bz2
Content-length: 258

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
At the start of combine you have

insn_cost 4 for    18: r91:DI=r83:DI<<0x2
      REG_DEAD r83:DI

Is that death note not correct?
>From gcc-bugs-return-579648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 12:26:00 2017
Return-Path: <gcc-bugs-return-579648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28407 invoked by alias); 24 Oct 2017 12: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 28330 invoked by uid 48); 24 Oct 2017 12:25:55 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99
Date: Tue, 24 Oct 2017 12: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.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82683-4-D68DtrcoHF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02708.txt.bz2
Content-length: 544

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Ah.  So we start with

insn_cost 4 for    18: r91:DI=r83:DI<<0x2
      REG_DEAD r83:DI
insn_cost 4 for    19: r78:DI=r76:DI+r91:DI
      REG_DEAD r91:DI
      REG_DEAD r76:DI
insn_cost 20 for    20: r82:SI=[r78:DI]
      REG_DEAD r78:DI
insn_cost 4 for    21: r83:DI=sign_extend(r82:SI)

and first 18,19 are combined, and then 19,20,21.  Both 19 and 21 set
r83, it is dead after 19, but that note is put on 21.
>From gcc-bugs-return-579649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 12:44:03 2017
Return-Path: <gcc-bugs-return-579649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53802 invoked by alias); 24 Oct 2017 12: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 53727 invoked by uid 48); 24 Oct 2017 12:43:58 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99
Date: Tue, 24 Oct 2017 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: wrong-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:
Message-ID: <bug-82683-4-ghAh8swq23@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02709.txt.bz2
Content-length: 1005

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

--- Comment #4 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #3)
> Ah.  So we start with
> 
> insn_cost 4 for    18: r91:DI=r83:DI<<0x2
>       REG_DEAD r83:DI
> insn_cost 4 for    19: r78:DI=r76:DI+r91:DI
>       REG_DEAD r91:DI
>       REG_DEAD r76:DI
> insn_cost 20 for    20: r82:SI=[r78:DI]
>       REG_DEAD r78:DI
> insn_cost 4 for    21: r83:DI=sign_extend(r82:SI)
> 
> and first 18,19 are combined, and then 19,20,21.  Both 19 and 21 set
> r83, it is dead after 19, but that note is put on 21.

Yes, it doesn't show intermediate stages but I guess before merging 18+19+20
with 21 we have:

r82:SI=MEM([r83:DI*0x4+r76:DI]) REG_DEAD r83
r83:DI=sign_extend r82:SI

This is correct. However when it merges these, it swaps r82 for r83 on the
load, and now the REG_DEAD in the load needs to be removed as it is no longer
valid:

r83:DI=sign_extend([r83:DI*0x4+r76:DI]) ***REG_DEAD r83***
>From gcc-bugs-return-579651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 12:45:37 2017
Return-Path: <gcc-bugs-return-579651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60380 invoked by alias); 24 Oct 2017 12:45: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 60188 invoked by uid 55); 24 Oct 2017 12:45:34 -0000
From: "amodra at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Tue, 24 Oct 2017 12:45: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82575-4-V2PFncAL0y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02711.txt.bz2
Content-length: 811

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575

--- Comment #10 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Tue Oct 24 12:45:01 2017
New Revision: 254042

URL: https://gcc.gnu.org/viewcvs?rev=254042&root=gcc&view=rev
Log:
PR82687, g++.dg/asan/default-options-1.C fails with PR82575 fix

The problem with making discarded symbols hidden is that the
non-default visibility is sticky.  When symbols other than the
__gnu_lto ones are discarded that turns out to be a bad idea.

        PR lto/82687
        PR lto/82575
        * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
        Only make __gnu_lto symbols hidden.  Delete outdated comment.
        Silence ISO C warning.


Modified:
    trunk/libiberty/ChangeLog
    trunk/libiberty/simple-object-elf.c
>From gcc-bugs-return-579650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 12:45:37 2017
Return-Path: <gcc-bugs-return-579650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60280 invoked by alias); 24 Oct 2017 12:45: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 60172 invoked by uid 55); 24 Oct 2017 12:45:33 -0000
From: "amodra at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82687] [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914
Date: Tue, 24 Oct 2017 12:45: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82687-4-1Uihg1nz2M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02710.txt.bz2
Content-length: 810

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82687

--- Comment #2 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Tue Oct 24 12:45:01 2017
New Revision: 254042

URL: https://gcc.gnu.org/viewcvs?rev=254042&root=gcc&view=rev
Log:
PR82687, g++.dg/asan/default-options-1.C fails with PR82575 fix

The problem with making discarded symbols hidden is that the
non-default visibility is sticky.  When symbols other than the
__gnu_lto ones are discarded that turns out to be a bad idea.

        PR lto/82687
        PR lto/82575
        * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
        Only make __gnu_lto symbols hidden.  Delete outdated comment.
        Silence ISO C warning.


Modified:
    trunk/libiberty/ChangeLog
    trunk/libiberty/simple-object-elf.c
>From gcc-bugs-return-579652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 12:56:29 2017
Return-Path: <gcc-bugs-return-579652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19037 invoked by alias); 24 Oct 2017 12: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 18920 invoked by uid 48); 24 Oct 2017 12:56:20 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99
Date: Tue, 24 Oct 2017 12: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82683-4-HTeXtqW32x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02712.txt.bz2
Content-length: 672

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

--- Comment #5 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Oh, it does show the intermediate results:

Trying 18 -> 19:
Successfully matched this instruction:
(set (reg/f:DI 78 [ _7 ])
    (plus:DI (ashift:DI (reg:DI 83 [ _26 ])
            (const_int 2 [0x2]))
        (reg/f:DI 76 [ _4 ])))
allowing combination of insns 18 and 19
original costs 4 + 4 = 8
replacement cost 8
deferring deletion of insn with uid = 18.
modifying insn i3    19: r78:DI=r83:DI<<0x2+r76:DI
      REG_DEAD r83:DI
      REG_DEAD r76:DI
deferring rescan insn with uid = 19.

(How do you dump things?  You forgot a -all?)
>From gcc-bugs-return-579653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:00:34 2017
Return-Path: <gcc-bugs-return-579653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69300 invoked by alias); 24 Oct 2017 13:00: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 63657 invoked by uid 48); 24 Oct 2017 13:00:22 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82687] [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914
Date: Tue, 24 Oct 2017 13:00: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status blocked resolution
Message-ID: <bug-82687-4-p5X4iAlXca@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02713.txt.bz2
Content-length: 633

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82687

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
             Blocks|                            |82575
         Resolution|---                         |FIXED

--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
Fixed


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575
[Bug 82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test
liblto-17 fails
>From gcc-bugs-return-579654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:00:37 2017
Return-Path: <gcc-bugs-return-579654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70228 invoked by alias); 24 Oct 2017 13:00: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 66913 invoked by uid 48); 24 Oct 2017 13:00:29 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/82575] [8 Regression] lto debugobj references __gnu_lto_slim, ld test liblto-17 fails
Date: Tue, 24 Oct 2017 13:00: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82575-4-EvKH1Sjd1R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82575-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02714.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82575
Bug 82575 depends on bug 82687, which changed state.

Bug 82687 Summary: [8 regression] g++.dg/asan/default-options-1.C fails starting with r253914
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82687

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-579655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:06:22 2017
Return-Path: <gcc-bugs-return-579655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80945 invoked by alias); 24 Oct 2017 13:06: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 80779 invoked by uid 48); 24 Oct 2017 13:06:09 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99
Date: Tue, 24 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: wrong-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:
Message-ID: <bug-82683-4-5T4YrXTrKK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02715.txt.bz2
Content-length: 1464

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

--- Comment #6 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #5)
> Oh, it does show the intermediate results:
> 
> Trying 18 -> 19:
> Successfully matched this instruction:
> (set (reg/f:DI 78 [ _7 ])
>     (plus:DI (ashift:DI (reg:DI 83 [ _26 ])
>             (const_int 2 [0x2]))
>         (reg/f:DI 76 [ _4 ])))
> allowing combination of insns 18 and 19
> original costs 4 + 4 = 8
> replacement cost 8
> deferring deletion of insn with uid = 18.
> modifying insn i3    19: r78:DI=r83:DI<<0x2+r76:DI
>       REG_DEAD r83:DI
>       REG_DEAD r76:DI
> deferring rescan insn with uid = 19.
> 
> (How do you dump things?  You forgot a -all?)

Yes, but this is all it shows for the bit that goes wrong:

allowing combination of insns 19, 20 and 21
original costs 8 + 20 + 4 = 32
replacement costs 28 + 4 = 32
deferring rescan insn with uid = 21.
deferring deletion of insn with uid = 19.
modifying insn i2    20: r83:DI=sign_extend([r83:DI*0x4+r76:DI])
      REG_DEAD r76:DI
deferring rescan insn with uid = 20.
modifying insn i3    21: r82:SI=r83:DI#0
      REG_DEAD r83:DI
      REG_DEAD r83:DI
      REG_DEAD r83:DI
deferring rescan insn with uid = 21.

I guess it would be good if it shows the instructions it's trying to combine in
this part, because it's impossible to follow when the instructions involved
have been changed already...
>From gcc-bugs-return-579656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:17:35 2017
Return-Path: <gcc-bugs-return-579656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45746 invoked by alias); 24 Oct 2017 13:17: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 45610 invoked by uid 48); 24 Oct 2017 13:17:31 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99
Date: Tue, 24 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82683-4-5Vl8o8oHuT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02716.txt.bz2
Content-length: 300

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Yes, it requires to look back a bit (the info always is in this dump
file though!)

The alternative would be to dump even more info, grow the log files
by a factor two or so.
>From gcc-bugs-return-579657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:27:07 2017
Return-Path: <gcc-bugs-return-579657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118879 invoked by alias); 24 Oct 2017 13:27:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 118750 invoked by uid 48); 24 Oct 2017 13:26:58 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82699] New: ENDBR isn't generated at function entrance
Date: Tue, 24 Oct 2017 13:27: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.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 blocked target_milestone
Message-ID: <bug-82699-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02717.txt.bz2
Content-length: 1747

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699

            Bug ID: 82699
           Summary: ENDBR isn't generated at function entrance
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: igor.v.tsimbalist at intel dot com
            Blocks: 81652
  Target Milestone: ---

[hjl@gnu-tools-1 xxx]$ cat x.i
extern int bar (int);

int
foo (int i)
{
  return bar (i);
}
[hjl@gnu-tools-1 xxx]$ make
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -fcf-protection -mcet -O2
-mfentry -pg -S x.i
[hjl@gnu-tools-1 xxx]$ cat x.s
        .file   "x.i"
        .text
        .p2align 4,,15
        .globl  foo
        .type   foo, @function
foo:
.LFB0:
        .cfi_startproc
1:      call    __fentry__
        endbr64  <<<<<<<<<<<<<<<< Wrong place.
        subq    $8, %rsp
        .cfi_def_cfa_offset 16
        addq    $8, %rsp
        .cfi_def_cfa_offset 8
        jmp     bar
        .cfi_endproc
.LFE0:
        .size   foo, .-foo
        .ident  "GCC: (GNU) 8.0.0 20171024 (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-tools-1 xxx]$


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652
[Bug 81652] [meta-bug] -fcf-protection=full -mcet bugs
>From gcc-bugs-return-579658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:31:25 2017
Return-Path: <gcc-bugs-return-579658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35546 invoked by alias); 24 Oct 2017 13:31: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 35473 invoked by uid 48); 24 Oct 2017 13:31:17 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99
Date: Tue, 24 Oct 2017 13: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.0
X-Bugzilla-Keywords: wrong-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:
Message-ID: <bug-82683-4-haYJaWi6uM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02718.txt.bz2
Content-length: 914

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

--- Comment #8 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #7)
> Yes, it requires to look back a bit (the info always is in this dump
> file though!)
> 
> The alternative would be to dump even more info, grow the log files
> by a factor two or so.

Well if the size of the dump is an issue, I guess all the failed to match cases
could be omitted and moved to a different option. Also you could keep the dump
a similar size size by emitting less defer/delete notes. Eg. this would make
understanding the output easier:

Combining insns 19, 20, 21 (old cost 8 + 20 + 4 = 32):
19: r78:DI=r83:DI<<0x2+r76:DI REG_DEAD r83:DI  REG_DEAD r76:DI
20: ...
21: ...
into (new cost 28 + 4 = 32):
19: (defer deletion)
20: r83:DI=sign_extend([r83:DI*0x4+r76:DI]) 
21: r82:SI=r83:DI#0 REG_DEAD r83:DI (defer rescan)
>From gcc-bugs-return-579659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:46:53 2017
Return-Path: <gcc-bugs-return-579659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67621 invoked by alias); 24 Oct 2017 13: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 67535 invoked by uid 48); 24 Oct 2017 13:46:48 -0000
From: "porton at narod dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82639] Legal program rejected
Date: Tue, 24 Oct 2017 13:46: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: porton at narod dot 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: bug_status resolution
Message-ID: <bug-82639-4-vfYFRgboqM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82639-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82639-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02719.txt.bz2
Content-length: 531

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82639

Victor Porton <porton at narod dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Victor Porton <porton at narod dot ru> ---
They say it is NOT an error in the compiler:

https://groups.google.com/d/msg/comp.lang.ada/IFjnioG1a28/Qcw5sIyUAgAJ
>From gcc-bugs-return-579661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:48:54 2017
Return-Path: <gcc-bugs-return-579661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71652 invoked by alias); 24 Oct 2017 13:48: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 71574 invoked by uid 48); 24 Oct 2017 13:48:49 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: wrong-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-ILqIFTeJ6m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02721.txt.bz2
Content-length: 2140

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Segher Boessenkool from comment #3)
> The combine output you showed is _not_ succeeding though?  "matched"
> just means the rtx was recog()'ed; not that it was actually replaced.

FAOD, this is the sequence before combine:

--cut here--
(insn 7 6 8 2 (set (reg:CCFPU 17 flags)
        (compare:CCFPU (reg:DF 95)
            (reg/v:DF 91 [ x ]))) "pr82692.c":9 52 {*cmpiudf}
     (expr_list:REG_DEAD (reg:DF 95)
        (expr_list:REG_EQUAL (compare:CCFPU (const_double:DF 0.0 [0x0.0p+0])
                (reg/v:DF 91 [ x ]))
            (nil))))
(insn 8 7 9 2 (set (reg:QI 94)
        (unlt:QI (reg:CCFPU 17 flags)
            (const_int 0 [0]))) "pr82692.c":9 664 {*setcc_qi}
     (expr_list:REG_DEAD (reg:CCFPU 17 flags)
        (nil)))
(insn 9 8 10 2 (set (reg:CCZ 17 flags)
        (compare:CCZ (reg:QI 94)
            (const_int 0 [0]))) "pr82692.c":9 1 {*cmpqi_ccno_1}
     (expr_list:REG_DEAD (reg:QI 94)
        (nil)))
(jump_insn 10 9 32 2 (set (pc)
        (if_then_else (eq (reg:CCZ 17 flags)
                (const_int 0 [0]))
            (label_ref:DI 34)
            (pc))) "pr82692.c":9 668 {*jcc}
     (expr_list:REG_DEAD (reg:CCZ 17 flags)
        (int_list:REG_BR_PROB 182536112 (nil)))
 -> 34)
--cut here--

which is converted by combine pass to:

--cut here--
(note 7 6 8 2 NOTE_INSN_DELETED)
(note 8 7 9 2 NOTE_INSN_DELETED)
(insn 9 8 10 2 (set (reg:CCFP 17 flags)
        (compare:CCFP (reg:DF 95)
            (reg/v:DF 91 [ x ]))) "pr82692.c":9 50 {*cmpidf}
     (expr_list:REG_DEAD (reg:DF 95)
        (nil)))
(jump_insn 10 9 32 2 (set (pc)
        (if_then_else (ge (reg:CCFP 17 flags)
                (const_int 0 [0]))
            (label_ref:DI 34)
            (pc))) "pr82692.c":9 668 {*jcc}
     (expr_list:REG_DEAD (reg:CCZ 17 flags)
        (int_list:REG_BR_PROB 182536112 (nil)))
 -> 34)
--cut here--

UNLT compare (CCFPUmode) has been converted to GE compare (CCFPmode). This is
not correct as far as traps are concerned, since UNLT doesn't trap on qNaN,
while GE does.
>From gcc-bugs-return-579660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:48:33 2017
Return-Path: <gcc-bugs-return-579660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70745 invoked by alias); 24 Oct 2017 13:48: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 70629 invoked by uid 48); 24 Oct 2017 13:48:28 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82674] ICE with -fstack-clash-protection
Date: Tue, 24 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-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: law at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82674-4-a3qYG3RUj7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82674-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82674-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02720.txt.bz2
Content-length: 257

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82674

--- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> ---
That offset is too large to fit in the stdu immed field, so it really shouldn't
have been accepted by the rs6000_legitim*_ functions.
>From gcc-bugs-return-579662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:49:48 2017
Return-Path: <gcc-bugs-return-579662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73023 invoked by alias); 24 Oct 2017 13: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 72965 invoked by uid 55); 24 Oct 2017 13:49:44 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82307] unscoped enum-base incorrect cast
Date: Tue, 24 Oct 2017 13: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: 6.4.0
X-Bugzilla-Keywords: rejects-valid
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: mukesh.kapoor at oracle dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82307-4-HeIBPKKXFY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82307-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02722.txt.bz2
Content-length: 953

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82307

--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 24 13:49:13 2017
New Revision: 254046

URL: https://gcc.gnu.org/viewcvs?rev=254046&root=gcc&view=rev
Log:
/cp
2017-10-24  Mukesh Kapoor  <mukesh.kapoor@oracle.com>
            Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/82307
        * cvt.c (type_promotes_to): Implement C++17, 7.6/4, about unscoped
        enumeration type whose underlying type is fixed.

/testsuite
2017-10-24  Mukesh Kapoor  <mukesh.kapoor@oracle.com>
            Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/82307
        * g++.dg/cpp0x/enum35.C: New.
        * g++.dg/cpp0x/enum36.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/enum35.C
    trunk/gcc/testsuite/g++.dg/cpp0x/enum36.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cvt.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:52:20 2017
Return-Path: <gcc-bugs-return-579664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85524 invoked by alias); 24 Oct 2017 13:52: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 85431 invoked by uid 55); 24 Oct 2017 13:52:17 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82697] [6/7 Regression] Wrong optimization with aliasing and "if"
Date: Tue, 24 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82697-4-qNgngsCe6G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02724.txt.bz2
Content-length: 683

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82697

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Oct 24 13:51:45 2017
New Revision: 254047

URL: https://gcc.gnu.org/viewcvs?rev=254047&root=gcc&view=rev
Log:
2017-10-24  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82697
        * tree-ssa-phiopt.c (cond_store_replacement): Use alias-set
        zero for conditional load and unconditional store.

        * gcc.dg/torture/pr82697.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr82697.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-phiopt.c
>From gcc-bugs-return-579665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:52:30 2017
Return-Path: <gcc-bugs-return-579665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86266 invoked by alias); 24 Oct 2017 13:52: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 86212 invoked by uid 48); 24 Oct 2017 13:52:26 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82307] unscoped enum-base incorrect cast
Date: Tue, 24 Oct 2017 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: 6.4.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
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 assigned_to target_milestone
Message-ID: <bug-82307-4-fpYfR4rQEb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82307-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02725.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82307

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
           Assignee|mukesh.kapoor at oracle dot com    |unassigned at gcc dot gnu.org
   Target Milestone|---                         |8.0

--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.
>From gcc-bugs-return-579663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:52:12 2017
Return-Path: <gcc-bugs-return-579663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84800 invoked by alias); 24 Oct 2017 13: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 84741 invoked by uid 48); 24 Oct 2017 13:52:07 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82697] [6/7 Regression] Wrong optimization with aliasing and "if"
Date: Tue, 24 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc
Message-ID: <bug-82697-4-zAaDmgghrB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82697-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02723.txt.bz2
Content-length: 590

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82697

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.0
            Summary|[6/7/8 Regression] Wrong    |[6/7 Regression] Wrong
                   |optimization with aliasing  |optimization with aliasing
                   |and "if"                    |and "if"

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar.
>From gcc-bugs-return-579666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:54:28 2017
Return-Path: <gcc-bugs-return-579666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119197 invoked by alias); 24 Oct 2017 13: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 118563 invoked by uid 48); 24 Oct 2017 13:54:23 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99
Date: Tue, 24 Oct 2017 13: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82683-4-DTORK2jlfM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82683-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02726.txt.bz2
Content-length: 421

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82683

--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> ---
The "failed to match" messages are hugely important (in fact, I want it
to print more: _why_ did combination fail, in all the cases where it is
not because of recog).

The "deferring deletion" messages are not from combine (from df, instead).
Yes they are annoying, much more so in other passes.
>From gcc-bugs-return-579667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 13:58:52 2017
Return-Path: <gcc-bugs-return-579667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126884 invoked by alias); 24 Oct 2017 13: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 125322 invoked by uid 48); 24 Oct 2017 13:58:47 -0000
From: "nico at josuttis dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82651] After r253879 GCC 8.0 can't build cross compiler for mingw32
Date: Tue, 24 Oct 2017 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: 8.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nico at josuttis 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: cc
Message-ID: <bug-82651-4-dpnIhkTkrb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82651-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82651-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02727.txt.bz2
Content-length: 460

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82651

Nicolai Josuttis <nico at josuttis dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nico at josuttis dot de

--- Comment #2 from Nicolai Josuttis <nico at josuttis dot de> ---
same problem when trying to build gcc-8-20171022.tar.xz on CygWin with Win64.
>From gcc-bugs-return-579668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 14:59:48 2017
Return-Path: <gcc-bugs-return-579668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11602 invoked by alias); 24 Oct 2017 14: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 11558 invoked by uid 55); 24 Oct 2017 14:59:42 -0000
From: "qing.zhao at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Tue, 24 Oct 2017 14: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qing.zhao at oracle 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-78809-4-jZa3xY7hjJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02728.txt.bz2
Content-length: 2511

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #10 from Qing Zhao <qing.zhao at oracle dot com> ---
>> From the data, we can see the inlined version of strcmp (by glibc) is much
>> slower than the direct call to strcmp.  (this is for size 2)
>> I am using GCC farm machine gcc116:
> 
> This result doesn't make sense - it looks like GCC is moving the strcmp call in
> the 2nd case as a loop invariant, so you're just measuring a loop with just a
> subtract and orr instruction…

Yes, Wilco is right here.  -ftree-loop-im moves the call to strcmp out of the
loop.
in order to avoid this issue, I changed the options to

-O -fno-tree-loop-im

and checked the assembly of the routine “cmp2” for the INLINED and Non-INLINED
version.

Inlined version:
cmp2:
        mov     x4, x0
        mov     w2, 51712
        movk    w2, 0x3b9a, lsl 16
        mov     w0, 0
        mov     w3, 102
        b       .L3
.L2:
        neg     w1, w1
        orr     w0, w0, w1
        subs    w2, w2, #1
        beq     .L5
.L3:
        ldrb    w1, [x4]
        subs    w1, w3, w1
        bne     .L2
        ldrb    w1, [x4, 1]
        neg     w1, w1
        b       .L2
.L5:
        ret

Non-inlined version:
cmp2:
        stp     x29, x30, [sp, -48]!
        add     x29, sp, 0
        stp     x19, x20, [sp, 16]
        stp     x21, x22, [sp, 32]
        mov     x22, x0
        mov     w19, 51712
        movk    w19, 0x3b9a, lsl 16
        mov     w20, 0
        adrp    x21, .LC0
        add     x21, x21, :lo12:.LC0
.L2:
        mov     x1, x21
        mov     x0, x22
        bl      strcmp
        orr     w20, w20, w0
        subs    w19, w19, #1
        bne     .L2
        mov     w0, w20
        ldp     x19, x20, [sp, 16]
        ldp     x21, x22, [sp, 32]
        ldp     x29, x30, [sp], 48
        ret

Then, the run-time performance data is:

qinzhao@gcc116:~/Bugs/78809/const_cmp/perf$ sh t_p
/home/qinzhao/Install/latest/bin/gcc -O -fno-tree-loop-im t_p_1.c t_p.c
-DINLINED
inlined version
34.73user 0.00system 0:34.73elapsed 99%CPU (0avgtext+0avgdata 360maxresident)k
0inputs+0outputs (0major+135minor)pagefaults 0swaps
/home/qinzhao/Install/latest/bin/gcc -O -fno-tree-loop-im t_p_1.c t_p.c
non-inlined version
138.79user 0.00system 2:18.77elapsed 100%CPU (0avgtext+0avgdata
356maxresident)k
0inputs+0outputs (0major+135minor)pagefaults 0swaps

Yes, looks like that the inlined version is much faster than the non-inlined
version on aarch64 platform.
>From gcc-bugs-return-579669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:02:17 2017
Return-Path: <gcc-bugs-return-579669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14193 invoked by alias); 24 Oct 2017 15: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 14146 invoked by uid 48); 24 Oct 2017 15:02:13 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82700] New: ICE in printf-return-value with -fexec-charsetëCDIC-US: converting to execution character set: Invalid or incomplete multibyte or wide character
Date: Tue, 24 Oct 2017 15: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: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82700-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02729.txt.bz2
Content-length: 2430

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82700

            Bug ID: 82700
           Summary: ICE in printf-return-value with
                    -fexec-charset=EBCDIC-US: converting to execution
                    character set: Invalid or incomplete multibyte or wide
                    character
           Product: gcc
           Version: 8.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 following ICE came up in a discussion Re: [RFC] New pragma exec_charset
(https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01672.html).  The program is
expected to compile with the same output as with -fexec-charset=IBM1047.

$ cat c.c && gcc  -Wall -O2 -fexec-charset=EBCDIC-US c.c
int main (void)
{
   char d[5];

   int n = __builtin_sprintf (d, "i=%i", 12345);

   if (n != 7)
     __builtin_abort ();
}

c.c: In function ‘main’:
c.c:5:34: warning: too many arguments for format [-Wformat-extra-args]
    int n = __builtin_sprintf (d, "i=%i", 12345);
                                  ^~~~~~
during GIMPLE pass: printf-return-value
c.c:10:0: internal compiler error: converting to execution character set:
Invalid or incomplete multibyte or wide character


0x82fe9f c_cpp_error(cpp_reader*, int, int, rich_location*, char const*,
__va_list_tag (*) [1])
        /ssd/src/gcc/svn/gcc/c-family/c-common.c:6075
0x1905da0 cpp_diagnostic_at
        /ssd/src/gcc/svn/libcpp/errors.c:60
0x1905e72 cpp_diagnostic
        /ssd/src/gcc/svn/libcpp/errors.c:91
0x1905f27 cpp_error(cpp_reader*, int, char const*, ...)
        /ssd/src/gcc/svn/libcpp/errors.c:104
0x19067c0 cpp_errno(cpp_reader*, int, char const*)
        /ssd/src/gcc/svn/libcpp/errors.c:300
0x18fa3c6 cpp_host_to_exec_charset(cpp_reader*, unsigned int)
        /ssd/src/gcc/svn/libcpp/charset.c:798
0x82feeb c_common_to_target_charset(long)
        /ssd/src/gcc/svn/gcc/c-family/c-common.c:6093
0x17de7a9 init_target_to_host_charmap
        /ssd/src/gcc/svn/gcc/gimple-ssa-sprintf.c:319
0x17e68a8 execute
        /ssd/src/gcc/svn/gcc/gimple-ssa-sprintf.c:3990
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-579670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:26:20 2017
Return-Path: <gcc-bugs-return-579670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2500 invoked by alias); 24 Oct 2017 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 2404 invoked by uid 55); 24 Oct 2017 15:26:16 -0000
From: "qing.zhao at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Tue, 24 Oct 2017 15: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qing.zhao at oracle 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-78809-4-K7BE9Odt4f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02730.txt.bz2
Content-length: 756

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #11 from Qing Zhao <qing.zhao at oracle dot com> ---
(In reply to Wilco from comment #9)

> str(n)cmp with a constant string can be changed into memcmp if the string has a
> known alignment or is an array of known size. We should check the common cases
> are implemented.

Please provide an example in which a str(n)cmp with a constant string can be
changed into
memcmp. 

(From my understanding, for the strcmp (p, “fish”),  since we don’t know what
will be in the string
pointed by “p”, and there might be NULL_terminator in any of the place of p, we
have to compare
each char in “p” one by one, do I miss anything here?)
>From gcc-bugs-return-579672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:28:38 2017
Return-Path: <gcc-bugs-return-579672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7073 invoked by alias); 24 Oct 2017 15: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 6985 invoked by uid 48); 24 Oct 2017 15:28:35 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82674] ICE with -fstack-clash-protection
Date: Tue, 24 Oct 2017 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: 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: law at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82674-4-8gxvtuZZcM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82674-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82674-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02732.txt.bz2
Content-length: 269

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82674

--- Comment #2 from Jeffrey A. Law <law at redhat dot com> ---
Right, but it's the expander to allocate dynamic space that's creating the
bogus RTL.  It's a trivial fix that I just need to run through some testing.
>From gcc-bugs-return-579671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:28:04 2017
Return-Path: <gcc-bugs-return-579671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4348 invoked by alias); 24 Oct 2017 15: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 4265 invoked by uid 48); 24 Oct 2017 15:27:59 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82641] Unable to enable crc32 for a certain function with target attribute on ARM (aarch32)
Date: Tue, 24 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
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-82641-4-DaiWWu1JMj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82641-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82641-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02731.txt.bz2
Content-length: 379

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82641

--- Comment #2 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
ARMv8-a is the only architecture variant where the CRC extension is optional. 
In later variants it is enabled by default; in earlier versions of the
architecture it doesn't exist.

Your report lacks a testcase we can use to examine this more fully.
>From gcc-bugs-return-579673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:35:44 2017
Return-Path: <gcc-bugs-return-579673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36962 invoked by alias); 24 Oct 2017 15:35: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 36203 invoked by uid 48); 24 Oct 2017 15:35:33 -0000
From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc
Date: Tue, 24 Oct 2017 15:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dclarke at blastwave 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-82686-4-F96nKIFjzy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02733.txt.bz2
Content-length: 1434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

--- Comment #4 from Dennis Clarke <dclarke at blastwave dot org> ---
So this is not at all clear about how to continue. I did install the
new requirement or at least the "undocumented" dependency from the 
Debian pkg tree :

nix:~# apt-get install libgc-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libgc1c2
The following NEW packages will be installed:
  libgc-dev libgc1c2
0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded.
Need to get 569 kB of archives.
After this operation, 1,553 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
.
.
.


However the bootstrap still fails in the stage3 phase : 

.
.
.
checking whether the target supports thread-local storage... yes
checking if the type of bitfields matters... yes
checking for bdw garbage collector... checking for system boehm-gc...
configure: error: system bdw-gc required but not found
gmake[1]: *** [Makefile:22695: configure-target-libobjc] Error 1
gmake[1]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.003'
gmake: *** [Makefile:941: all] Error 2
Command exited with non-zero status 2
nix_$ 

nix_$ cat stage_current 
stage3

So what exactly is needed in order to get past this?  Documented or otherwise?
>From gcc-bugs-return-579675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:37:21 2017
Return-Path: <gcc-bugs-return-579675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49304 invoked by alias); 24 Oct 2017 15: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 46115 invoked by uid 48); 24 Oct 2017 15:37:14 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Tue, 24 Oct 2017 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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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-78809-4-WtFVpTMlc6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02735.txt.bz2
Content-length: 961

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #12 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
(In reply to Qing Zhao from comment #7)
> on the other hand, memcmp will NOT early stop, it will compare exactly N
> bytes of both buffers. As a result, the compiler can compare multiple bytes
> at one time.  
> 

That's not entirely correct.  Notionally memcmp needs to return a value
representing the relative difference of the first different byte in the
compared areas of memory; any later bytes are irrelevant.  Yes the compiler can
compare multiple bytes at the same time and it does not have to worry about
page faulting, but it does have to keep track of where the first difference
occurs.

Of course, the compiler can see how the result is used to optimize things
further; a simple equality test will allow the compiler to generate a simpler
sequence that could access all bytes and accumulate the overall result.
>From gcc-bugs-return-579674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:37:21 2017
Return-Path: <gcc-bugs-return-579674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49207 invoked by alias); 24 Oct 2017 15: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 47745 invoked by uid 48); 24 Oct 2017 15:37:16 -0000
From: "yyc1992 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82641] Unable to enable crc32 for a certain function with target attribute on ARM (aarch32)
Date: Tue, 24 Oct 2017 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: 7.2.0
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-82641-4-kFRZWryZH1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82641-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82641-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02734.txt.bz2
Content-length: 953

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82641

--- Comment #3 from Yichao Yu <yyc1992 at gmail dot com> ---
> ARMv8-a is the only architecture variant where the CRC extension is optional

Not really. There's also armv8-r and armv8-m. Also, I believe code compiled for
armv7-a can run on armv8-a hardware and can also optionally enable armv8
features including CRC extension. I was hoping that GCC can be smart enough to
enable the correct armv8 variant automatically.

Test case is just

```
#include <stdint.h>

#pragma GCC push_options
#pragma GCC target("armv8-a+crc")
__attribute__((target("armv8-a+crc"))) uint32_t crc32cw(uint32_t crc, uint32_t
val)
{
    uint32_t res;
    /* asm(".arch armv8-a"); */
    /* asm(".arch_extension crc"); */
    asm("crc32cw %0, %1, %2" : "=r"(res) : "r"(crc), "r"(val));
    /* asm(".arch armv7-a"); */
    return res;
}
#pragma GCC pop_options
```

Compiled with either armv7-a or armv8-a march.
>From gcc-bugs-return-579677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:44:28 2017
Return-Path: <gcc-bugs-return-579677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56216 invoked by alias); 24 Oct 2017 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 56027 invoked by uid 48); 24 Oct 2017 15:44:25 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80641] [7/8 Regression] Warning with std::vector resize in loop
Date: Tue, 24 Oct 2017 15: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: 7.1.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-80641-4-z9cjlUzrvy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80641-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80641-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02737.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80641

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paulg at chiark dot greenend.org.u
                   |                            |k

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
*** Bug 82698 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:44:28 2017
Return-Path: <gcc-bugs-return-579676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56127 invoked by alias); 24 Oct 2017 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 55985 invoked by uid 48); 24 Oct 2017 15:44:24 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/82698] Spurious warning __builtin_memset at O3
Date: Tue, 24 Oct 2017 15: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: 7.2.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: keywords bug_status resolution
Message-ID: <bug-82698-4-Sf4ZrHnrIC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82698-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82698-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02736.txt.bz2
Content-length: 2350

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82698

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
I believe this is a dupe of bug 80641.  The invalid memset is introduced by the
loop distribution pass.  I would expect it to be possible to detect these cases
and either avoid inserting such invalid calls or replace them with
__builtin_unreachable.  That should not only eliminate these false positives
but also improve the quality of the generated code.

foo (struct vector & bar)
{
  int * __first;
  long unsigned int _1;
  int * _5;
  int * _6;
  long int _7;
  long int _8;
  long int _9;
  long int _10;
  long unsigned int _11;
  long unsigned int _20;
  int * _21;
  long int __pos.12_22;
  int * _23;
  long int _24;
  long int _27;

  <bb 2> [100.00%] [count: INV]:
  _5 = MEM[(int * *)bar_3(D)];
  _6 = MEM[(int * *)bar_3(D) + 8B];
  _7 = (long int) _6;
  _8 = (long int) _5;
  _9 = _7 - _8;
  _10 = _9 /[ex] 4;
  _11 = (long unsigned int) _10;
  _1 = _11 + 18446744073709551615;
  if (_1 > _11)
    goto <bb 3>; [33.00%]
  else
    goto <bb 6>; [67.00%]

  <bb 3> [16.50%] [count: INV]:
  _23 = bar_3(D)->D.15765._M_impl._M_end_of_storage;
  _24 = (long int) _23;
  _27 = _24 - _7;
  if (_27 == -4)
    goto <bb 4>; [67.00%]
  else
    goto <bb 5>; [33.00%]

  <bb 4> [11.06%] [count: INV]:
  __builtin_memset (_6, 0, 18446744073709551612);
  __first_28 = _6 + 18446744073709551612;
  bar_3(D)->D.15765._M_impl._M_finish = __first_28;
  goto <bb 8>; [100.00%]

  <bb 5> [5.45%] [count: INV]:
  std::__throw_length_error ("vector::_M_default_append");

  <bb 6> [33.50%] [count: INV]:
  _20 = _1 * 4;
  _21 = _5 + _20;
  __pos.12_22 = (long int) _21;
  if (_7 != __pos.12_22)
    goto <bb 7>; [66.00%]
  else
    goto <bb 8>; [34.00%]

  <bb 7> [22.11%] [count: INV]:
  MEM[(int * *)bar_3(D) + 8B] = _21;

  <bb 8> [100.00%] [count: INV]:
  return;

}

*** This bug has been marked as a duplicate of bug 80641 ***
>From gcc-bugs-return-579678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:47:44 2017
Return-Path: <gcc-bugs-return-579678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62766 invoked by alias); 24 Oct 2017 15: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 62707 invoked by uid 48); 24 Oct 2017 15:47:40 -0000
From: "infinity0 at pwned dot gg" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Tue, 24 Oct 2017 15:47: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.2.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: infinity0 at pwned dot gg
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-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-82677-4-vrCgX9LI2F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02738.txt.bz2
Content-length: 612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

infinity0 at pwned dot gg changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42439|0                           |1
        is obsolete|                            |
  Attachment #42440|0                           |1
        is obsolete|                            |

--- Comment #8 from infinity0 at pwned dot gg ---
Created attachment 42461
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42461&action=edit
More specific and thorough test case
>From gcc-bugs-return-579679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:57:16 2017
Return-Path: <gcc-bugs-return-579679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4347 invoked by alias); 24 Oct 2017 15:57: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 4255 invoked by uid 48); 24 Oct 2017 15:57:10 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82569] [8 regression] failure in 177.mesa cpu2000 test case after r253530
Date: Tue, 24 Oct 2017 15:57: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: wrong-code
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: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82569-4-HZjj2ieXm0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82569-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02739.txt.bz2
Content-length: 195

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82569

--- Comment #14 from seurer at gcc dot gnu.org ---
I tried the original full 177.mesa benchmark and it works fine after your
patch.  Thanks!
>From gcc-bugs-return-579680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 15:59:54 2017
Return-Path: <gcc-bugs-return-579680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11354 invoked by alias); 24 Oct 2017 15:59: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 9447 invoked by uid 48); 24 Oct 2017 15:59:49 -0000
From: "ch3root at openwall dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/57359] wrong code for union access at -O3 on x86_64-linux
Date: Tue, 24 Oct 2017 15: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: 4.9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ch3root at openwall dot com
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: cc
Message-ID: <bug-57359-4-YYRNFzL6DY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57359-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57359-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02740.txt.bz2
Content-length: 1445

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359

Alexander Cherepanov <ch3root at openwall dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ch3root at openwall dot com

--- Comment #12 from Alexander Cherepanov <ch3root at openwall dot com> ---
Still reproducible if the number of iterations is changed to 3.

I've also converted the testcase to allocated memory:

----------------------------------------------------------------------
#include <stdlib.h>
#include <stdio.h>

__attribute__((__noinline__,__noclone__))
void test(int *pi, long *pl, int k, int *pa)
{
  for (int i = 0; i < 3; i++) {
    pl[k] = // something that doesn't change but have to be calculated
    *pa; // something that potentially can be changed by assignment to *pi
    *pi = 0;
  }
}

int main(void)
{
  int *pi = malloc(10);
  int a = 1;

  test(pi, (void *)pi, 0, &a);

  printf("%d\n", *pi);
}
----------------------------------------------------------------------

Results:

----------------------------------------------------------------------
$ gcc -std=c11 -pedantic -Wall -Wextra test.c && ./a.out
0
$ gcc -std=c11 -pedantic -Wall -Wextra -O3 test.c && ./a.out
1
----------------------------------------------------------------------

gcc version: gcc (GCC) 8.0.0 20171024 (experimental)
>From gcc-bugs-return-579681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:03:20 2017
Return-Path: <gcc-bugs-return-579681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22717 invoked by alias); 24 Oct 2017 16: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 22061 invoked by uid 48); 24 Oct 2017 16:03:14 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc
Date: Tue, 24 Oct 2017 16:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords: documentation
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-82686-4-SwM332U6NX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02741.txt.bz2
Content-length: 622

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> --enable-objc-gc requires you to provide boehm-gc yourself now.  Quoting the
> installation instructions:
> 
> @item --enable-objc-gc
> Specify that an additional variant of the GNU Objective-C runtime library
> is built, using an external build of the Boehm-Demers-Weiser garbage
> collector (@uref{http://www.hboehm.info/gc/}).  This library needs to be
> available for each multilib variant,
            ^^^^^^^^^^^^^^^^^^^^^^^^^

Did you do that?
>From gcc-bugs-return-579683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:06:57 2017
Return-Path: <gcc-bugs-return-579683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7776 invoked by alias); 24 Oct 2017 16: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 1263 invoked by uid 48); 24 Oct 2017 16:06:53 -0000
From: "hpa at zytor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/82701] New: RFE: x86: double word operands in inline assembly
Date: Tue, 24 Oct 2017 16:06: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: unknown
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-82701-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02743.txt.bz2
Content-length: 1275

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82701

            Bug ID: 82701
           Summary: RFE: x86: double word operands in inline assembly
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hpa at zytor dot com
  Target Milestone: ---

x86 inline assembly currently has no sensible way to use doubleword operands
(long long on x86-32, __int128 on x86-64) without restricting them to the d:a
register pair via the "A" constraint, and hard-coding the register names.  It
would be highly desirable to have a clean way to emit into the assembly code
the upper half of a doublewidth operand (register or memory) without
artificially constraining code generation.

In some ways, this is similar to the "H" modifier, except it would be +4 for
memory operands on 32 bits.  I'm calling it U below.

For an artificial example:

uint64_t a, b;

/* a += b; */
asm("add %1,%0; adc %U1,%U0" : "+rm,r" (a) : "ri,m" (b) : "cc");

For a register: print the high register of the pair.
For a memory operand: print the address + the word size
For an immediate: print the value >> (word size*8)
>From gcc-bugs-return-579682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:06:40 2017
Return-Path: <gcc-bugs-return-579682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119108 invoked by alias); 24 Oct 2017 16:06: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 113141 invoked by uid 48); 24 Oct 2017 16:06:36 -0000
From: "infinity0 at pwned dot gg" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82677] Many projects (linux, coreutils, GMP, gcrypt, openSSL, etc) are misusing asm(divq/divl) etc, potentially resulting in faulty/unintended optimisations
Date: Tue, 24 Oct 2017 16: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: 7.2.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: infinity0 at pwned dot gg
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82677-4-F4SMtUY3A0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82677-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02742.txt.bz2
Content-length: 2585

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82677

--- Comment #9 from infinity0 at pwned dot gg ---
(In reply to rguenther@suse.de from comment #7)
> [..]
> 
> You still have to mark stmts with side-effects as volatile.
> 
> Conditional side-effects are tricky to get correct of course.

I think with the current asm() syntax and semantics, the only way to get this
correct in the C source code, is by using __volatile__. It is not possible to
even *express* "conditional side-effects" using the current syntax. To
demonstrate:

The "explicit zero check" that I mentioned in the first post does not actually
work, see the newer udiv.c test that I just attached. I think that is correct
behaviour from GCC as well.

AIUI, asm() without volatile, says to GCC: "this code will *never* cause side
effects under *any circumstance*, it depends only on its declared
inputs/outputs/clobbers". Under this assumption, it is correct to optimise

|   if(d) { asm(d); ... } ...

into

|   asm(d); if(d) { ... }

as long as the outputs to asm(d) don't clobber the inputs to if(d) or any
else-branches - I assume other parts of the optimiser will already check that.

However, it is *not* correct to perform the above, when the asm(d) has
conditional side-effects depending on d, that the if(d) checks for. But there
is no way to express this conditional-side-effect using the current asm()
syntax. So GCC will happily go ahead and perform the optimisation, since it
believes asm(d) will never have any side effects.

So, the pre-optimised code "looks correct", it's explicitly checking d, but
will in fact cause the types of unintended optimisations that we're looking at
here. The only way to avoid this is to use "volatile".

In conclusion: whilst making the optimiser more strict for this case as you
suggested, would fix this specific instance, I believe that it is not "the
proper fix" for GCC. A proper fix would have to involve changing the
*semantics* of a asm(div) call so that GCC understands that it has "side
effects depending on the divisor and n1[1]". Otherwise, more sophisticated
optimisations added to GCC in the future might make this issue come back.

If that is not done, then it would be necessary to fix these 20 projects's C
source code to properly express __volatile__. Actually this is probably
necessary regardless of any GCC fixes - from some quick searches it seems that
asm() semantics is not standardised, and also these projects might want to
support older GCC that has the existing semantics.

[1] it can also raise DE when n1 >= divisor.
>From gcc-bugs-return-579684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:07:58 2017
Return-Path: <gcc-bugs-return-579684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16187 invoked by alias); 24 Oct 2017 16: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 16158 invoked by uid 48); 24 Oct 2017 16:07:54 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82699] ENDBR isn't generated at function entrance
Date: Tue, 24 Oct 2017 16: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-82699-4-eA1VaGaRrF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82699-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82699-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02744.txt.bz2
Content-length: 591

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-24
   Target Milestone|---                         |8.0
     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/2017-10/msg01725.html
>From gcc-bugs-return-579686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:13:44 2017
Return-Path: <gcc-bugs-return-579686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47884 invoked by alias); 24 Oct 2017 16:13: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 46494 invoked by uid 55); 24 Oct 2017 16:13:39 -0000
From: "qing.zhao at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Tue, 24 Oct 2017 16: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qing.zhao at oracle 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-78809-4-0SbKFrr2xV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02746.txt.bz2
Content-length: 1003

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #13 from Qing Zhao <qing.zhao at oracle dot com> ---
(In reply to Richard Earnshaw from comment 12)
> That's not entirely correct.  Notionally memcmp needs to return a value
> representing the relative difference of the first different byte in the
> compared areas of memory; any later bytes are irrelevant.  Yes the compiler can
> compare multiple bytes at the same time and it does not have to worry about
> page faulting, but it does have to keep track of where the first difference
> occurs.
> 
> Of course, the compiler can see how the result is used to optimize things
> further; a simple equality test will allow the compiler to generate a simpler
> sequence that could access all bytes and accumulate the overall result.

Yes.  this should be the reason why currently in GCC, only when the result of 
memcpy is compared to zero, it is optimized by “strlen” pass and “expand” pass.
>From gcc-bugs-return-579685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:13:37 2017
Return-Path: <gcc-bugs-return-579685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45586 invoked by alias); 24 Oct 2017 16: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 43590 invoked by uid 48); 24 Oct 2017 16:13:32 -0000
From: "mark 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: Tue, 24 Oct 2017 16:13: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
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-78497-4-p1w6W5euvS@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: 2017-10/txt/msg02745.txt.bz2
Content-length: 994

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78497

Mark Wielaard <mark at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at gcc dot gnu.org

--- Comment #6 from Mark Wielaard <mark at gcc dot gnu.org> ---
Confirmed, this confused me a bit.

Take t.c:

int main (int argc, char **argv)
{
  int a;
  switch (argc)
    {
    case 1:
      a = 1;
      break;
    case 2:
      a = 2;
      /* FALLTHROUGH */
    case 3:
      a = 3;
      break;
    }

  return a;
}

$ gcc -Werror -Wimplicit-fallthrough t.c

is fine, but...

$ gcc --save-temps -Werror -Wimplicit-fallthrough t.c
t.c: In function ‘main’:
t.c:10:9: error: this statement may fall through
[-Werror=implicit-fallthrough=]
       a = 2;
       ~~^~~
t.c:12:5: note: here
     case 3:
     ^~~~
cc1: all warnings being treated as errors
>From gcc-bugs-return-579687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:17:35 2017
Return-Path: <gcc-bugs-return-579687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122714 invoked by alias); 24 Oct 2017 16:17: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 122674 invoked by uid 48); 24 Oct 2017 16:17:32 -0000
From: "hpa at zytor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/82701] RFE: x86: double word operands in inline assembly
Date: Tue, 24 Oct 2017 16:17: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: unknown
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-82701-4-0cTrZaBB1A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82701-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82701-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02747.txt.bz2
Content-length: 295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82701

--- Comment #1 from H. Peter Anvin <hpa at zytor dot com> ---
I just stumbled onto this technique somewhat by accident:

union dw {
    uint64_t q;
    uint32_t l[2];
};

union dw aa, bb;

aa.q = a;
bb.q = b;

asm("add %2,%0; adc %3,%1"
>From gcc-bugs-return-579688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:19:33 2017
Return-Path: <gcc-bugs-return-579688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19490 invoked by alias); 24 Oct 2017 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 18739 invoked by uid 48); 24 Oct 2017 16:19:29 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82702] New: gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6
Date: Tue, 24 Oct 2017 16:19: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla 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-82702-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02748.txt.bz2
Content-length: 762

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702

            Bug ID: 82702
           Summary: gcov intermediate format is creating multiple 'gcov'
                    files, it was creating a single file up to GCC 6
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mcastelluccio at mozilla dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Running "gcov -i file.gcno" was generating a single file ("file.gcno.gcov")
with info about all the files included in file.cpp.
Now, it is creating multiple "gcov" files, one for each included file.
>From gcc-bugs-return-579689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:20:21 2017
Return-Path: <gcc-bugs-return-579689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21311 invoked by alias); 24 Oct 2017 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 20858 invoked by uid 48); 24 Oct 2017 16:20:16 -0000
From: "hpa at zytor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/82701] RFE: x86: double word operands in inline assembly
Date: Tue, 24 Oct 2017 16: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: unknown
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-82701-4-COoicPAfK0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82701-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82701-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02749.txt.bz2
Content-length: 368

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82701

--- Comment #2 from H. Peter Anvin <hpa at zytor dot com> ---
(continued)

: "+rm,r" (aa.l[0]), "+rm,r" (aa.l[1])
: "ri,m" (bb.l[0]), "ri,m" (bb.l));

a = aa.q;
b = bb.q;

If this is something that works by intent and not by accident I'm perfectly
happy with this solution as it appears to generate good code.
>From gcc-bugs-return-579690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:25:01 2017
Return-Path: <gcc-bugs-return-579690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36582 invoked by alias); 24 Oct 2017 16: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 36455 invoked by uid 48); 24 Oct 2017 16:24:57 -0000
From: "mark 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: Tue, 24 Oct 2017 16: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: 7.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78497-4-NQ0IzNSl0c@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: 2017-10/txt/msg02750.txt.bz2
Content-length: 267

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78497

--- Comment #7 from Mark Wielaard <mark at gcc dot gnu.org> ---
The workaround is to use gcc -C --save-temps ... to pass-through all comments
to the temp files. Maybe -C should be the default with --save-temps?
>From gcc-bugs-return-579691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:33:12 2017
Return-Path: <gcc-bugs-return-579691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53347 invoked by alias); 24 Oct 2017 16:33: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 53277 invoked by uid 48); 24 Oct 2017 16:33:07 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 16: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-gsZ6mdrq77@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02751.txt.bz2
Content-length: 214

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #5 from Segher Boessenkool <segher at gcc dot gnu.org> ---
The combination 8 -> 9 (where the GE is introduced) does not call
SELECT_CC_MODE at all.
>From gcc-bugs-return-579692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:35:38 2017
Return-Path: <gcc-bugs-return-579692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55686 invoked by alias); 24 Oct 2017 16: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 55597 invoked by uid 48); 24 Oct 2017 16:35:34 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82614] GCOV crashes while parsing gcda file
Date: Tue, 24 Oct 2017 16:35: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla dot com
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: attachments.created
Message-ID: <bug-82614-4-lu0R1PMHFi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82614-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02752.txt.bz2
Content-length: 394

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614

--- Comment #8 from Marco Castelluccio <mcastelluccio at mozilla dot com> ---
Created attachment 42462
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42462&action=edit
Archive with GCNO and GCDA file generated with GCC 6

This is an archive containing the GCNO and GCDA files generated with GCC 6.

We are going to test 7 next.
>From gcc-bugs-return-579693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:41:41 2017
Return-Path: <gcc-bugs-return-579693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111749 invoked by alias); 24 Oct 2017 16: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 111464 invoked by uid 55); 24 Oct 2017 16:41:37 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80991] ICE with __is_trivially_constructible in template
Date: Tue, 24 Oct 2017 16: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.0
X-Bugzilla-Keywords: ice-on-valid-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80991-4-eg1RIUNLqh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80991-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80991-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02753.txt.bz2
Content-length: 770

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80991

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 24 16:41:05 2017
New Revision: 254051

URL: https://gcc.gnu.org/viewcvs?rev=254051&root=gcc&view=rev
Log:
/cp
2017-10-24  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/80991
        * pt.c (value_dependent_expression_p, [TRAIT_EXPR]): Handle
        a TREE_LIST as TRAIT_EXPR_TYPE2.

/testsuite
2017-10-24  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/80991
        * g++.dg/ext/is_trivially_constructible5.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/ext/is_trivially_constructible5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:42:14 2017
Return-Path: <gcc-bugs-return-579694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113286 invoked by alias); 24 Oct 2017 16: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 113065 invoked by uid 48); 24 Oct 2017 16:42:10 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80991] ICE with __is_trivially_constructible in template
Date: Tue, 24 Oct 2017 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: 8.0
X-Bugzilla-Keywords: ice-on-valid-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: 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 assigned_to target_milestone
Message-ID: <bug-80991-4-aUzbqfnmAU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80991-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80991-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02754.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80991

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
   Target Milestone|---                         |8.0

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.
>From gcc-bugs-return-579695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:47:51 2017
Return-Path: <gcc-bugs-return-579695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65756 invoked by alias); 24 Oct 2017 16:47: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 65720 invoked by uid 48); 24 Oct 2017 16:47:46 -0000
From: "frederic.bron at m4x dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82703] New: Wrong addition of std::array components with -O2 -ftree-loop-vectorize -ftree-slp-vectorize (works fine with -O2)
Date: Tue, 24 Oct 2017 16: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: frederic.bron at m4x 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-82703-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02755.txt.bz2
Content-length: 3186

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82703

            Bug ID: 82703
           Summary: Wrong addition of std::array components with -O2
                    -ftree-loop-vectorize -ftree-slp-vectorize (works fine
                    with -O2)
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: frederic.bron at m4x dot org
  Target Milestone: ---

Created attachment 42463
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42463&action=edit
Minimal example to reproduce the bug

The small program attached to this message should always pass, i.e. not print
any error. This is the case with -O2. This is also the case with clang++ 4.0.1
with -O3.

However with g++ and "-O2 -ftree-loop-vectorize -ftree-slp-vectorize", v3[1] is
2.0 instead of 4.0.

Note that if I change double to int, long, long long, float or long double, I
have no error.
Also if I do not construct Array from int[3] but from double[3], it works and
if I remove a useless line, it works...

Tested on linux Fedora 26 x86_64 with g++ 7.2.0 and 7.2.1 on westmere,
broadwell, skylake.

To reproduce failure:
g++ -O2 -g -std=c++14 bug.cpp -ftree-loop-vectorize -ftree-slp-vectorize &&
./a.out

g++ 7.2.0 that shows the bug:
Using built-in specs.
COLLECT_GCC=g++-7.2.0
COLLECT_LTO_WRAPPER=/softs/gcc-7.2.0/libexec/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /softs/build/gcc-7.2.0/configure --prefix=/softs/gcc-7.2.0
--program-suffix=-7.2.0 --with-gmp-include=/softs/gmp-6.1.2/include
--with-gmp-lib=/softs/gmp-6.1.2/lib
--with-mpfr-include=/softs/mpfr-3.1.5/include
--with-mpfr-lib=/softs/mpfr-3.1.5/lib
--with-mpc-include=/softs/mpc-1.0.3/include --with-mpc-lib=/softs/mpc-1.0.3/lib
--with-isl-include=/softs/isl-0.16.1/include
--with-isl-lib=/softs/isl-0.16.1/lib --disable-isl-version-check --enable-lto
--enable-nls --disable-multilib
Thread model: posix
gcc version 7.2.0 (GCC) 


g++ 7.2.1 that shows the bug:
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/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++,objc,obj-c++,fortran,ada,go,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-libmpx
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)
>From gcc-bugs-return-579696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:52:19 2017
Return-Path: <gcc-bugs-return-579696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108752 invoked by alias); 24 Oct 2017 16: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 108733 invoked by uid 48); 24 Oct 2017 16:52:15 -0000
From: "frederic.bron at m4x dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82703] Wrong addition of std::array components with -O2 -ftree-loop-vectorize -ftree-slp-vectorize (works fine with -O2)
Date: Tue, 24 Oct 2017 16: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: frederic.bron at m4x 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: attachments.created
Message-ID: <bug-82703-4-FgVyNnui00@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82703-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82703-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02756.txt.bz2
Content-length: 260

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82703

--- Comment #1 from Frédéric Bron <frederic.bron at m4x dot org> ---
Created attachment 42464
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42464&action=edit
save-temps for g++ 7.2.1
>From gcc-bugs-return-579697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:52:53 2017
Return-Path: <gcc-bugs-return-579697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109670 invoked by alias); 24 Oct 2017 16:52: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 109640 invoked by uid 48); 24 Oct 2017 16:52:49 -0000
From: "frederic.bron at m4x dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82703] Wrong addition of std::array components with -O2 -ftree-loop-vectorize -ftree-slp-vectorize (works fine with -O2)
Date: Tue, 24 Oct 2017 16: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: frederic.bron at m4x 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: attachments.created
Message-ID: <bug-82703-4-Patg5YhtqT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82703-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82703-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02757.txt.bz2
Content-length: 260

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82703

--- Comment #2 from Frédéric Bron <frederic.bron at m4x dot org> ---
Created attachment 42465
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42465&action=edit
save-temps for g++ 7.2.0
>From gcc-bugs-return-579698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:53:25 2017
Return-Path: <gcc-bugs-return-579698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110527 invoked by alias); 24 Oct 2017 16:53: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 110468 invoked by uid 48); 24 Oct 2017 16:53:21 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Tue, 24 Oct 2017 16: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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-78809-4-OQF6XklSQo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02758.txt.bz2
Content-length: 1501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #14 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Qing Zhao from comment #11)
> (In reply to Wilco from comment #9)
> 
> > str(n)cmp with a constant string can be changed into memcmp if the string has a
> > known alignment or is an array of known size. We should check the common cases
> > are implemented.
> 
> Please provide an example in which a str(n)cmp with a constant string can be
> changed into
> memcmp. 
> 
> (From my understanding, for the strcmp (p, “fish”),  since we don’t know
> what will be in the string
> pointed by “p”, and there might be NULL_terminator in any of the place of p,
> we have to compare
> each char in “p” one by one, do I miss anything here?)

The only reason we have to do a character by character comparison is because we
cannot read beyond the end of a string. However when we know the size or
alignment we can safely process a string one word at a time.

I would expect all these to optimize into memcmp - but none do:

#include <stdlib.h>

char s[100];
typedef struct { int x; char s[8]; } S;

int f1(S *s) { return __builtin_strcmp(s->s, "abc") != 0; }
int f2(void) { return __builtin_strcmp(s, "abc") != 0; }
int f3(char *s) { s = __builtin_assume_aligned (s, 8); return
__builtin_strcmp(s, "abc") != 0; }
int f4(void) { char *s = (char*)malloc(100); return __builtin_strcmp(s, "abc")
!= 0; }
>From gcc-bugs-return-579699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 16:58:42 2017
Return-Path: <gcc-bugs-return-579699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33386 invoked by alias); 24 Oct 2017 16:58: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 26183 invoked by uid 55); 24 Oct 2017 16:58:37 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/60580] aarch64 generates wrong code for __attribute__ ((optimize("no-omit-frame-pointer")))
Date: Tue, 24 Oct 2017 16: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: wilco at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: jiwang at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60580-4-h8eq06Tz9j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60580-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60580-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02759.txt.bz2
Content-length: 1381

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60580

--- Comment #9 from Wilco <wilco at gcc dot gnu.org> ---
Author: wilco
Date: Tue Oct 24 16:58:02 2017
New Revision: 254052

URL: https://gcc.gnu.org/viewcvs?rev=254052&root=gcc&view=rev
Log:
PR60580: Fix frame pointer option magic

To fix PR60580 simplify the logic in aarch64_override_options_after_change_1
(). 
If the frame pointer is enabled, set it to a special value that behaves similar
to frame pointer omission.  If we don't do this all leaf functions will get a
frame pointer even if flag_omit_leaf_frame_pointer is set.

If flag_omit_frame_pointer has this special value, we must force the frame
pointer if not in a leaf function.  We also need to force it in a leaf function
if flag_omit_frame_pointer is not set or if LR is used.

Doing this allows both -fomit-frame-pointer and -fomit-leaf-frame-pointer to be
independently set and changed in each function with the expected behaviour.

    gcc/
        PR middle-end/60580
        * config/aarch64/aarch64.c (aarch64_frame_pointer_required)
        Check special value of flag_omit_frame_pointer.
        (aarch64_can_eliminate): Likewise.
        (aarch64_override_options_after_change_1): Simplify handling of
        -fomit-frame-pointer and -fomit-leaf-frame-pointer.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64.c
>From gcc-bugs-return-579700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 17:06:06 2017
Return-Path: <gcc-bugs-return-579700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66500 invoked by alias); 24 Oct 2017 17: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 66419 invoked by uid 48); 24 Oct 2017 17:05:58 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82622] [PDT] ICE in structure_alloc_comps, at fortran/trans-array.c:8963
Date: Tue, 24 Oct 2017 17: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.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: 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-82622-4-wIkAkhHPYY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02760.txt.bz2
Content-length: 2660

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82622

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #4 from kargl at gcc dot gnu.org ---
(In reply to G. Steinmetz from comment #0)
> This one is an interesting case ...
> (... and the last PR derived from this search)
> 
> 
> $ cat z1.f90
> program p
>    type t(a)
>       integer, len :: a
>    end type
>    type t2(b)
>       integer, len :: b
>       type(t(1)) :: r(b)
>    end type
>    type(t2(:)), allocatable :: x
>    allocate (t2(3) :: x)
> end
> 
> 
> $ gfortran-8-20171015 -c z1.f90
> z1.f90:10:0:
> 
>     allocate (t2(3) :: x)
> 
> internal compiler error: Segmentation fault
> 0xb5a08f crash_signal
>         ../../gcc/toplev.c:326
> 0x73cc83 structure_alloc_comps
>         ../../gcc/fortran/trans-array.c:8963
> 0x73ba67 structure_alloc_comps
>         ../../gcc/fortran/trans-array.c:8371
> 0x73df30 gfc_allocate_pdt_comp(gfc_symbol*, tree_node*, int,
> gfc_actual_arglist*)
>         ../../gcc/fortran/trans-array.c:9301
> 0x73c083 structure_alloc_comps
>         ../../gcc/fortran/trans-array.c:9099
> 0x73df30 gfc_allocate_pdt_comp(gfc_symbol*, tree_node*, int,
> gfc_actual_arglist*)
>         ../../gcc/fortran/trans-array.c:9301
> 0x79b84a gfc_trans_allocate(gfc_code*)
>         ../../gcc/fortran/trans-stmt.c:6407
> 0x72d2f7 trans_code
>         ../../gcc/fortran/trans.c:1976
> 0x753f6c gfc_generate_function_code(gfc_namespace*)
>         ../../gcc/fortran/trans-decl.c:6420
> 0x6e6580 translate_all_program_units
>         ../../gcc/fortran/parse.c:6088
> 0x6e6580 gfc_parse_file()
>         ../../gcc/fortran/parse.c:6291
> 0x72a6bf gfc_be_parse_file
>         ../../gcc/fortran/f95-lang.c:204

My backtrace for this code starts with

(gdb) bt
#0  strcmp () at /usr/src/lib/libc/amd64/string/strcmp.S:48
#1  0x000000000078ec53 in structure_alloc_comps(gfc_symbol*, tree_node*,
tree_node*, int, int, int) () at ../../gcc/gcc/fortran/trans-array.c:8963
#2  0x000000000078ea3a in structure_alloc_comps(gfc_symbol*, tree_node*,
tree_node*, int, int, int) () at ../../gcc/gcc/fortran/trans-array.c:8371
#3  0x0000000000790481 in gfc_allocate_pdt_comp (der_type=<optimized out>, 
    decl=<optimized out>, rank=<optimized out>, param_list=<optimized out>)
    at ../../gcc/gcc/fortran/trans-array.c:9300
#4  0x000000000078e602 in structure_alloc_comps(gfc_symbol*, tree_node*,
tree_no

which suggested that there is an invalid pointer to some string.
>From gcc-bugs-return-579701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 17:07:54 2017
Return-Path: <gcc-bugs-return-579701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20199 invoked by alias); 24 Oct 2017 17:07: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 18089 invoked by uid 48); 24 Oct 2017 17:07:50 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/69976] Zero the local stack on function exit
Date: Tue, 24 Oct 2017 17: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: andres.tiraboschi at tallertechnologies dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-69976-4-gS1FjpJ6pM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69976-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69976-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02761.txt.bz2
Content-length: 321

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69976

--- Comment #13 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Did this patch ever get posted to gcc-patches@gcc.gnu.org?  That's probably the
best way to get some traction on this.  Note that feature-freeze for GCC 8 is
coming in the next few weeks, AIUI.
>From gcc-bugs-return-579702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 17:21:57 2017
Return-Path: <gcc-bugs-return-579702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45416 invoked by alias); 24 Oct 2017 17: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 45285 invoked by uid 55); 24 Oct 2017 17:21:53 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82396] [8 Regression] qsort comparator non-negative on sorted output: 4 in ready_sort_real in haifa scheduler
Date: Tue, 24 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords: build, ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82396-4-IEgxYi7dyG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82396-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82396-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02762.txt.bz2
Content-length: 1341

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82396

--- Comment #14 from Wilco <wilco at gcc dot gnu.org> ---
Author: wilco
Date: Tue Oct 24 17:21:19 2017
New Revision: 254056

URL: https://gcc.gnu.org/viewcvs?rev=254056&root=gcc&view=rev
Log:
Cleanup autopref scheduling

r253236 broke AArch64 bootstrap. Earlier revision r253071 changed scheduling
behaviour on AArch64 as autopref scheduling no longer checks the base.

This patch fixes the bootstrap failure and cleans up autopref scheduling.
The code is greatly simplified.  Sort accesses on the offset first, and
only if the offsets are the same fall back to other comparisons in
rank_for_schedule.  This doesn't at all restore the original behaviour
since we no longer compare the base address, but it now defines a total
sorting order.  More work will be required to improve the sorting so
that only loads/stores with the same base are affected.

    gcc/
        PR rtl-optimization/82396
        * gcc/haifa-sched.c (ready_sort_real): Remove qsort workaround.
        (autopref_multipass_init): Simplify initialization.
        (autopref_rank_data): Simplify sort order.
        * gcc/sched-int.h (autopref_multipass_data_): Remove
        multi_mem_insn_p, min_offset and max_offset.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/haifa-sched.c
    trunk/gcc/sched-int.h
>From gcc-bugs-return-579703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 17:23:22 2017
Return-Path: <gcc-bugs-return-579703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46850 invoked by alias); 24 Oct 2017 17: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 46797 invoked by uid 48); 24 Oct 2017 17:23:17 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82622] [PDT] ICE in structure_alloc_comps, at fortran/trans-array.c:8963
Date: Tue, 24 Oct 2017 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: 8.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: 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-82622-4-drmAsFnwGt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02763.txt.bz2
Content-length: 2805

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82622

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org

--- Comment #5 from kargl at gcc dot gnu.org ---
(In reply to G. Steinmetz from comment #0)
> This one is an interesting case ...
> (... and the last PR derived from this search)
> 
> 
> $ cat z1.f90
> program p
>    type t(a)
>       integer, len :: a
>    end type
>    type t2(b)
>       integer, len :: b
>       type(t(1)) :: r(b)
>    end type
>    type(t2(:)), allocatable :: x
>    allocate (t2(3) :: x)
> end

BTW, I don't know the semantics of PDT's.  Is this
valid code and should compile.  Is so, this patch
"fixes" the problem.

%--- cut here ---

Index: trans-array.c
===================================================================
--- trans-array.c       (revision 254051)
+++ trans-array.c       (working copy)
@@ -8960,7 +8960,7 @@ structure_alloc_comps (gfc_symbol * der_type, tree dec
              gfc_actual_arglist *param = pdt_param_list;
              gfc_init_se (&tse, NULL);
              for (; param; param = param->next)
-               if (!strcmp (c->name, param->name))
+               if (!param->name || !strcmp (c->name, param->name))
                  c_expr = param->expr;

              if (!c_expr)

%--- cut here ---

(gdb) b trans-array.c:8963
Breakpoint 1 at 0x76f388: file ../../gcc/gcc/fortran/trans-array.c, line 8963.
(gdb) run a.f90
Starting program:
/mnt/sgk/work/libexec/gcc/x86_64-unknown-freebsd12.0/8.0.0/f951 a.f90
 p
Breakpoint 1, structure_alloc_comps (der_type=<optimized out>, 
    decl=<optimized out>, dest=<optimized out>, dest@entry=0x0, rank=0, 
    purpose=purpose@entry=6, caf_mode=caf_mode@entry=0)
    at ../../gcc/gcc/fortran/trans-array.c:8963
8963                    if (!param->name || !strcmp (c->name, param->name))
(gdb) p c->name
$1 = 0x203c2d068 "b"
(gdb) p param->name
$2 = 0x203c2d068 "b"
(gdb) c
Continuing.

Breakpoint 1, structure_alloc_comps (der_type=der_type@entry=0x201da2f00, 
    decl=<optimized out>, decl@entry=0x203a95428, dest=<optimized out>, 
    dest@entry=0x0, rank=rank@entry=1, purpose=purpose@entry=6, 
    caf_mode=caf_mode@entry=0) at ../../gcc/gcc/fortran/trans-array.c:8963
8963                    if (!param->name || !strcmp (c->name, param->name))
(gdb) p c->name
$3 = 0x203c2d040 "a"
(gdb) p param->name
$4 = 0x0

Paul, should param->name = NULL be caught somewhere in resolve.c?
>From gcc-bugs-return-579704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 17:27:41 2017
Return-Path: <gcc-bugs-return-579704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54796 invoked by alias); 24 Oct 2017 17: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 54740 invoked by uid 48); 24 Oct 2017 17:27:36 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Tue, 24 Oct 2017 17: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82062-4-rX6Vx01WIA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02764.txt.bz2
Content-length: 1047

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Looks like you have sth in mind, care to post a candidate patch?

The candidate patch would just be Marek's initial fix in comment #8:

--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -3401,14 +3401,14 @@ operand_equal_for_comparison_p (tree arg0, tree arg1,
tree other)

   primarg1 = get_narrower (arg1, &unsignedp1);
   primother = get_narrower (other, &unsignedpo);
+  tree type = TREE_TYPE (arg0);

   correct_width = TYPE_PRECISION (TREE_TYPE (arg1));
   if (unsignedp1 == unsignedpo
+      && TYPE_PRECISION (TREE_TYPE (primarg1)) == TYPE_PRECISION (type)
       && TYPE_PRECISION (TREE_TYPE (primarg1)) < correct_width
       && TYPE_PRECISION (TREE_TYPE (primother)) < correct_width)
     {
-      tree type = TREE_TYPE (arg0);
-
       /* Make sure shorter operand is extended the right way
     to match the longer operand.  */
       primarg1 = fold_convert (signed_or_unsigned_type_for
>From gcc-bugs-return-579705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 17:29:22 2017
Return-Path: <gcc-bugs-return-579705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58318 invoked by alias); 24 Oct 2017 17: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 58219 invoked by uid 48); 24 Oct 2017 17:29:17 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82700] ICE in printf-return-value with -fexec-charsetëCDIC-US: converting to execution character set: Invalid or incomplete multibyte or wide character
Date: Tue, 24 Oct 2017 17: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: 8.0
X-Bugzilla-Keywords: 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-82700-4-6ogwbffSSs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82700-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82700-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02765.txt.bz2
Content-length: 1135

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82700

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The ICE is caused by the EBCDIC-US character set in Fedora 25 apparently not
including the equivalent of the backslash character.  That makes the charset
invalid, since C requires both the basic source and basic character sets to
include it.  From the comment in the file:

  /* The subset of the source character set used by printf conversion
     specifications (strictly speaking, not all letters are used but
     they are included here for the sake of simplicity).  The dollar
     sign must be included even though it's not in the basic source
     character set.  */
  const char srcset[] = " 0123456789!\"#%&'()*+,-./:;<=>?[\\]^_{|}~$"
    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";

The sprintf pass calls lang_hooks.to_target_charset () to convert each of these
characters from the source set to the execution set and the function aborts
when it can't do the conversion.  That seems unfriendly -- it should instead
return some failure code and let the caller decide how to deal with it.
>From gcc-bugs-return-579706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 17:40:57 2017
Return-Path: <gcc-bugs-return-579706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54357 invoked by alias); 24 Oct 2017 17:40: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 53922 invoked by uid 48); 24 Oct 2017 17:40:53 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 17:40: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: wrong-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-WcVkUCJPTA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02766.txt.bz2
Content-length: 2269

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Segher Boessenkool from comment #5)
> The combination 8 -> 9 (where the GE is introduced) does not call
> SELECT_CC_MODE at all.

The problematic conversion is 7 -> 9, *after* 8 -> 9 is performed.

Please see this gdb session:

(gdb) b ix86_cc_mode

Breakpoint 1, ix86_cc_mode (code=GE, op0=0x7fffeff09ab0, op1=0x7fffeff09960) at
/home/uros/gcc-svn/trunk/gcc/config/i386/i386.c:21718
21718   {
(gdb) bt
#0  ix86_cc_mode (code=GE, op0=0x7fffeff09ab0, op1=0x7fffeff09960) at
/home/uros/gcc-svn/trunk/gcc/config/i386/i386.c:21718
#1  0x00000000012eb45d in simplify_set (x=x@entry=0x7fffeff09c60) at
/home/uros/gcc-svn/trunk/gcc/combine.c:6788
#2  0x00000000012ecb48 in combine_simplify_rtx(rtx_def*, machine_mode, int,
int) () at /home/uros/gcc-svn/trunk/gcc/combine.c:6293
#3  0x00000000012eee32 in subst(rtx_def*, rtx_def*, rtx_def*, int, int, int) ()
at /home/uros/gcc-svn/trunk/gcc/combine.c:5573
#4  0x00000000012f1e42 in try_combine(rtx_insn*, rtx_insn*, rtx_insn*,
rtx_insn*, int*, rtx_insn*) () at /home/uros/gcc-svn/trunk/gcc/combine.c:3332
#5  0x00000000012f7d91 in combine_instructions (nregs=<optimized out>,
f=<optimized out>) at /home/uros/gcc-svn/trunk/gcc/combine.c:1301

(gdb) f4
#4  0x00000000012f1e42 in try_combine(rtx_insn*, rtx_insn*, rtx_insn*,
rtx_insn*, int*, rtx_insn*) () at /home/uros/gcc-svn/trunk/gcc/combine.c:3332
3332          newpat = subst (PATTERN (i3), i2dest, i2src, 0, 0,

(gdb) p debug_rtx (i3)
(insn 9 8 10 2 (set (reg:CCFPU 17 flags)
        (compare:CCFPU (reg:DF 95)
            (reg/v:DF 91 [ x ]))) "pr82692.c":9 2147483647 {NOOP_MOVE}
     (nil))

(gdb) b combine.c:3333
Breakpoint 2 at 0x12f1dfb: file /home/uros/gcc-svn/trunk/gcc/combine.c, line
3333.

(gdb) c
Continuing.

Breakpoint 2, try_combine(rtx_insn*, rtx_insn*, rtx_insn*, rtx_insn*, int*,
rtx_insn*) () at /home/uros/gcc-svn/trunk/gcc/combine.c:3334
3334                          || ((i0_feeds_i2_n || (i0_feeds_i1_n &&
i1_feeds_i2_n))

(gdb) p debug_rtx (newpat)
(set (reg:CCFP 17 flags)
    (compare:CCFP (reg:DF 95)
        (reg/v:DF 91 [ x ])))

And also changes mode of the conditional jump.
>From gcc-bugs-return-579707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 17:51:07 2017
Return-Path: <gcc-bugs-return-579707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74557 invoked by alias); 24 Oct 2017 17: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 74540 invoked by uid 48); 24 Oct 2017 17:51:03 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82700] ICE in printf-return-value with -fexec-charsetëCDIC-US: converting to execution character set: Invalid or incomplete multibyte or wide character
Date: Tue, 24 Oct 2017 17: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.0
X-Bugzilla-Keywords: 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-82700-4-ArTxdAID7v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82700-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82700-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02767.txt.bz2
Content-length: 421

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82700

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #1)
> The ICE is caused by the EBCDIC-US character set in Fedora 25 apparently not
> including the equivalent of the backslash character.

Actually, I was off by one: the character the conversion fails for is '[' (the
error is EILSEQ, Illegal byte sequence).
>From gcc-bugs-return-579708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 17:56:08 2017
Return-Path: <gcc-bugs-return-579708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85759 invoked by alias); 24 Oct 2017 17:56:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 85714 invoked by uid 48); 24 Oct 2017 17:56:03 -0000
From: "pavel.kryukov at phystech dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82685] basic_string_view<char> operator""sv(const char*, size_t) should be noexcept
Date: Tue, 24 Oct 2017 17: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pavel.kryukov at phystech dot edu
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82685-4-XeaIQWQuP8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82685-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02768.txt.bz2
Content-length: 418

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685

--- Comment #9 from Pavel I. Kryukov <pavel.kryukov at phystech dot edu> ---
Ok, no problem.

> N.B. the compiler already gives the right answer when asked:
>
> #include <string_view>
> using namespace std::literals::string_view_literals;
> static_assert(noexcept(""sv"));

JFYI, Clang gives a wrong answer to that
(https://bugs.llvm.org/show_bug.cgi?id=15481).
>From gcc-bugs-return-579709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 18:12:57 2017
Return-Path: <gcc-bugs-return-579709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10365 invoked by alias); 24 Oct 2017 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 6109 invoked by uid 48); 24 Oct 2017 18:12:51 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 18: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: 8.0
X-Bugzilla-Keywords: wrong-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-WcYXj5cNiU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02769.txt.bz2
Content-length: 1041

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
To illustrate the problem, following patch fixes the failure:

--cut here--
Index: combine.c
===================================================================
--- combine.c   (revision 254011)
+++ combine.c   (working copy)
@@ -6784,7 +6784,7 @@ simplify_set (rtx x)
               && op0 == XEXP (inner_compare, 0)
               && op1 == XEXP (inner_compare, 1))
        compare_mode = GET_MODE (inner_compare);
-      else
+      else if (!FLOAT_MODE_P (GET_MODE (op0)))
        compare_mode = SELECT_CC_MODE (new_code, op0, op1);

       /* If the mode changed, we have to change SET_DEST, the mode in the
--cut here--

The patch avoids mode changes for floating-point operands.

(It will work for x86, since it has all comparisons trapping and non-trapping).
>From gcc-bugs-return-579710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 18:19:41 2017
Return-Path: <gcc-bugs-return-579710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78970 invoked by alias); 24 Oct 2017 18:19: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 78904 invoked by uid 48); 24 Oct 2017 18:19:36 -0000
From: "keno at juliacomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82704] New: GCC fails to download prerequisites on busybox distro (unrecognized sha512sum --check)
Date: Tue, 24 Oct 2017 18:19: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keno at juliacomputing 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-82704-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02770.txt.bz2
Content-length: 2632

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82704

            Bug ID: 82704
           Summary: GCC fails to download prerequisites on busybox distro
                    (unrecognized sha512sum --check)
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: keno at juliacomputing dot com
  Target Milestone: ---

The contrib/download_prerequisites script uses `sha512sum --check` to verify
the integrity
of the downloaded prerequisites. This is an alias for `-c` in coreutils, but
busybox does not recognize this alias, leading to the below failure (on an
Alpine Linux
based system). The solution is simply to replace `--check`, by `-c` which
should work on both coreutils and busybox. I have verified that with that
change, everything else goes through as usual.

```
Connecting to gcc.gnu.org (209.132.180.131:21)
gmp-6.1.0.tar.bz2      0% |                               | 12132   0:03:15 ETA
gmp-6.1.0.tar.bz2     23% |*******                        |   544k  0:00:06 ETA
gmp-6.1.0.tar.bz2     77% |***********************        |  1795k  0:00:00 ETA
gmp-6.1.0.tar.bz2    100% |*******************************|  2327k  0:00:00 ETA

Connecting to gcc.gnu.org (209.132.180.131:21)
mpfr-3.1.4.tar.bz2     6% |*                              | 82228   0:00:14 ETA
mpfr-3.1.4.tar.bz2    55% |*****************              |   693k  0:00:01 ETA
mpfr-3.1.4.tar.bz2   100% |*******************************|  1249k  0:00:00 ETA

Connecting to gcc.gnu.org (209.132.180.131:21)
mpc-1.0.3.tar.gz      26% |********                       |   172k  0:00:02 ETA
mpc-1.0.3.tar.gz     100% |*******************************|   654k  0:00:00 ETA

Connecting to gcc.gnu.org (209.132.180.131:21)
isl-0.16.1.tar.bz2     4% |*                              | 70096   0:00:22 ETA
isl-0.16.1.tar.bz2    35% |**********                     |   559k  0:00:03 ETA
isl-0.16.1.tar.bz2    95% |*****************************  |  1517k  0:00:00 ETA
isl-0.16.1.tar.bz2   100% |*******************************|  1588k  0:00:00 ETA

sha512sum: unrecognized option: check
BusyBox v1.26.2 (2017-06-11 06:38:32 GMT) multi-call binary.

Usage: sha512sum [-c[sw]] [FILE]...

Print or check SHA512 checksums

        -c      Check sums against list in FILEs
        -s      Don't output anything, status code shows success
        -w      Warn about improperly formatted checksum lines
error: Cannot verify integrity of possibly corrupted file gmp-6.1.0.tar.bz2
```
>From gcc-bugs-return-579711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 18:48:51 2017
Return-Path: <gcc-bugs-return-579711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85546 invoked by alias); 24 Oct 2017 18:48: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 85485 invoked by uid 48); 24 Oct 2017 18:48:46 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 18: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-PEqj6JcV3a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02771.txt.bz2
Content-length: 217

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Maybe you can handle this in can_change_dest_mode?  That will catch
the similar cases, too.
>From gcc-bugs-return-579712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:01:40 2017
Return-Path: <gcc-bugs-return-579712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2015 invoked by alias); 24 Oct 2017 19:01: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 1945 invoked by uid 55); 24 Oct 2017 19:01:35 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82466] Missing warning for re-declaration of built-in function as variable
Date: Tue, 24 Oct 2017 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.0
X-Bugzilla-Keywords: diagnostic
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82466-4-KUWOHgLVd7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82466-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02772.txt.bz2
Content-length: 1806

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466

--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 24 19:01:03 2017
New Revision: 254057

URL: https://gcc.gnu.org/viewcvs?rev=254057&root=gcc&view=rev
Log:
2017-10-24  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/82466
        * doc/invoke.texi ([Wbuiltin-declaration-mismatch]): Extend
        description.

/cp
2017-10-24  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/82466
        * decl.c (duplicate_decls): Warn for built-in functions declared as
        non-function, use OPT_Wbuiltin_declaration_mismatch.

        * decl.c (duplicate_decls): Avoid redundant '+' in warning_at.

/c
2017-10-24  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/82466
        * c-decl.c (diagnose_mismatched_decls): Use
        OPT_Wbuiltin_declaration_mismatch.

/testsuite
2017-10-24  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/82466
        * c-c++-common/Wbuiltin-declaration-mismatch-1.c: New.
        * c-c++-common/Wno-builtin-declaration-mismatch-1.c: Likewise.
        * g++.dg/warn/Wbuiltin_declaration_mismatch-1.C: Likewise.
        * g++.dg/parse/builtin2.C: Adjust.
        * g++.old-deja/g++.mike/p811.C: Likewise.

Added:
    trunk/gcc/testsuite/c-c++-common/Wbuiltin-declaration-mismatch-1.c
    trunk/gcc/testsuite/c-c++-common/Wno-builtin-declaration-mismatch-1.c
    trunk/gcc/testsuite/g++.dg/warn/Wbuiltin_declaration_mismatch-1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/builtin2.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p811.C
>From gcc-bugs-return-579713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:04:22 2017
Return-Path: <gcc-bugs-return-579713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5611 invoked by alias); 24 Oct 2017 19:04: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 5566 invoked by uid 55); 24 Oct 2017 19:04:17 -0000
From: "qing.zhao at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Tue, 24 Oct 2017 19: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qing.zhao at oracle 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-78809-4-LwDtIaPUiO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02773.txt.bz2
Content-length: 816

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #15 from Qing Zhao <qing.zhao at oracle dot com> ---
(In reply to Wilco from comment 14)
> The only reason we have to do a character by character comparison is because we
> cannot read beyond the end of a string. However when we know the size or
> alignment we can safely process a string one word at a time.

is it possible that “NULL_terminator” is in the middle of the string even
though we 
know the size or alignment? for example:

const char s[8] = “abcd\0abc”;  // null byte in the middle of the string
int f2(void) { return __builtin_strcmp(s, "abc") != 0; }
int f3(void) { return __builtin_strcmp(s, “abc”); }

can either of the above f2 or f3 been optimized to memcmp? seems not.
>From gcc-bugs-return-579714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:07:23 2017
Return-Path: <gcc-bugs-return-579714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35970 invoked by alias); 24 Oct 2017 19:07: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 34607 invoked by uid 48); 24 Oct 2017 19:07:18 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82466] Missing warning for re-declaration of built-in function as variable
Date: Tue, 24 Oct 2017 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: 8.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
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 assigned_to target_milestone
Message-ID: <bug-82466-4-BAHdylx8qu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82466-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02774.txt.bz2
Content-length: 577

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82466

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
   Target Milestone|---                         |8.0

--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.
>From gcc-bugs-return-579715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:10:25 2017
Return-Path: <gcc-bugs-return-579715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102962 invoked by alias); 24 Oct 2017 19: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 102864 invoked by uid 48); 24 Oct 2017 19:10:18 -0000
From: "mtewoodbury at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers
Date: Tue, 24 Oct 2017 19:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mtewoodbury 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: bug_status resolution
Message-ID: <bug-58687-4-jzNW1f6yq5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02775.txt.bz2
Content-length: 943

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687

Max TenEyck Woodbury <mtewoodbury at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #27 from Max TenEyck Woodbury <mtewoodbury at gmail dot com> ---
The existence of examples in older programming literature indicates that the
proposed interpretation where #line __LINE__ did not change subsequent line
numbers was considered useful.  I have found this very useful myself.

The conclusion that this is not a "BUG" is correct, but it it is a useful
feature and it would make GCC easier to use.  GCC specifies the unspecified in
many places and it could do so here.  It is actually fairly easy to implement
as the patch I submitted to patches-gcc shows.
>From gcc-bugs-return-579716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:32:11 2017
Return-Path: <gcc-bugs-return-579716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48732 invoked by alias); 24 Oct 2017 19: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 48662 invoked by uid 48); 24 Oct 2017 19:32:08 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 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: 8.0
X-Bugzilla-Keywords: wrong-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-eZztTroGBr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02776.txt.bz2
Content-length: 629

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #9 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Segher Boessenkool from comment #8)
> Maybe you can handle this in can_change_dest_mode?  That will catch
> the similar cases, too.

No, because we only have to prevent CCmode changes that apply to FP operands.
can_change_dest_mode only looks at mode changes, but CCFPmode and CCFPUmode are
x86 specific.

I have looked at other SELECT_CC_MODE changes, and they deal with propagation
of compares into arithmetic operations. This is the only place that can change
CCmode of FP compares.
>From gcc-bugs-return-579717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:34:43 2017
Return-Path: <gcc-bugs-return-579717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51877 invoked by alias); 24 Oct 2017 19:34: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 51824 invoked by uid 55); 24 Oct 2017 19:34:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82370] AVX512 can use a memory operand for immediate-count vpsrlw, but gcc doesn't.
Date: Tue, 24 Oct 2017 19: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.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
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-82370-4-zQ0gyQrhIs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82370-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82370-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02777.txt.bz2
Content-length: 871

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82370

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 24 19:34:06 2017
New Revision: 254058

URL: https://gcc.gnu.org/viewcvs?rev=254058&root=gcc&view=rev
Log:
        PR target/82370
        * config/i386/sse.md (VIMAX_AVX2): Remove V4TImode.
        (VIMAX_AVX2_AVX512BW, VIMAX_AVX512VL): New mode iterators.
        (vec_shl_<mode>): Remove unused expander.
        (avx512bw_<shift_insn><mode>3): New define_insn.
        (<sse2_avx2>_ashl<mode>3, <sse2_avx2>_lshr<mode>3): Replaced by ...
        (<sse2_avx2>_<shift_insn><mode>3): ... this.  New define_insn.

        * gcc.target/i386/pr82370.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82370.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/sse.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:36:14 2017
Return-Path: <gcc-bugs-return-579718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58490 invoked by alias); 24 Oct 2017 19: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 58429 invoked by uid 55); 24 Oct 2017 19:36:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82460] AVX512: choose between vpermi2d and vpermt2d to save mov instructions.  Also, fails to optimize away shifts before shuffle
Date: Tue, 24 Oct 2017 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: 8.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
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-82460-4-EbCqin2J7G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82460-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82460-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02778.txt.bz2
Content-length: 3618

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82460

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 24 19:35:37 2017
New Revision: 254059

URL: https://gcc.gnu.org/viewcvs?rev=254059&root=gcc&view=rev
Log:
        PR target/82460
        * config/i386/sse.md (UNSPEC_VPERMI2, UNSPEC_VPERMI2_MASK): Remove.
        (VPERMI2, VPERMI2I): New mode iterators.
        (<avx512>_vpermi2var<mode>3_maskz): Remove 3 define_expand patterns.
        (<avx512>_vpermi2var<mode>3<sd_maskz_name>): Remove 3 define_insn
        patterns.
        (<avx512>_vpermi2var<mode>3_mask): New define_expand using VPERMI2
        mode iterator.  Remove 3 old define_insn patterns.
        (*<avx512>_vpermi2var<mode>3_mask): 2 new define_insn patterns.
        (<avx512>_vpermt2var<mode>3_maskz): Adjust 1 define_expand to use
        VPERMI2 mode iterator, remove the other two expanders.
        (<avx512>_vpermt2var<mode>3<sd_maskz_name>): Adjust 1 define_insn
        to use VPERMI2 mode iterator, add another alternative for vpermi2*
        instructions, remove the other two patterns.
        (<avx512>_vpermt2var<mode>3_mask): Adjust 1 define_insn to use VPERMI2
        mode iterator, remove the other two patterns.
        * config/i386/i386.c (ix86_expand_vec_perm_vpermi2): Renamed to ...
        (ix86_expand_vec_perm_vpermt2): ... this.  Swap mask and op0
        arguments, use gen_*vpermt2* expanders instead of gen_*vpermi2*
        and adjust argument order accordingly.
        (ix86_expand_vec_perm): Adjust caller.
        (expand_vec_perm_1): Likewise.
        (expand_vec_perm_vpermi2_vpshub2): Rename to ...
        (expand_vec_perm_vpermt2_vpshub2): ... this.
        (ix86_expand_vec_perm_const_1): Adjust caller.
        (ix86_vectorize_vec_perm_const_ok): Adjust comments.

        * gcc.target/i386/pr82460-1.c: New test.
        * gcc.target/i386/pr82460-2.c: New test.
        * gcc.target/i386/avx512f-vpermt2pd-1.c: Adjust scan-assembler*
        regexps to allow vpermt2* to vpermi2* replacement or vice versa
        where possible.
        * gcc.target/i386/avx512vl-vpermt2pd-1.c: Likewise.
        * gcc.target/i386/avx512f-vpermt2d-1.c: Likewise.
        * gcc.target/i386/vect-pack-trunc-2.c: Likewise.
        * gcc.target/i386/avx512vl-vpermt2ps-1.c: Likewise.
        * gcc.target/i386/avx512vl-vpermt2q-1.c: Likewise.
        * gcc.target/i386/avx512f-vpermt2ps-1.c: Likewise.
        * gcc.target/i386/avx512vl-vpermt2d-1.c: Likewise.
        * gcc.target/i386/avx512bw-vpermt2w-1.c: Likewise.
        * gcc.target/i386/avx512vbmi-vpermt2b-1.c: Likewise.
        * gcc.target/i386/avx512f-vpermt2q-1.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr82460-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr82460-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/sse.md
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/avx512bw-vpermt2w-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512f-vpermt2d-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512f-vpermt2pd-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512f-vpermt2ps-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512f-vpermt2q-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vbmi-vpermt2b-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vl-vpermt2d-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vl-vpermt2pd-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vl-vpermt2ps-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vl-vpermt2q-1.c
    trunk/gcc/testsuite/gcc.target/i386/vect-pack-trunc-2.c
>From gcc-bugs-return-579719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:44:28 2017
Return-Path: <gcc-bugs-return-579719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76975 invoked by alias); 24 Oct 2017 19: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 74308 invoked by uid 48); 24 Oct 2017 19:44:22 -0000
From: "wdijkstr at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Tue, 24 Oct 2017 19: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: wdijkstr 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:
Message-ID: <bug-78809-4-Ou8AQ7oEi9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02779.txt.bz2
Content-length: 1115

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #16 from Wilco <wdijkstr at arm dot com> ---
(In reply to Qing Zhao from comment #15)
> (In reply to Wilco from comment 14)
> > The only reason we have to do a character by character comparison is because we
> > cannot read beyond the end of a string. However when we know the size or
> > alignment we can safely process a string one word at a time.
> 
> is it possible that “NULL_terminator” is in the middle of the string even
> though we 
> know the size or alignment? for example:
> 
> const char s[8] = “abcd\0abc”;  // null byte in the middle of the string
> int f2(void) { return __builtin_strcmp(s, "abc") != 0; }
> int f3(void) { return __builtin_strcmp(s, “abc”); }
> 
> can either of the above f2 or f3 been optimized to memcmp? seems not.

You never get that to the null byte as the memcmp only compares strlen("abc"+1)
characters. However do you mean an input string which is shorter than the
constant string? That's fine as this will compare not-equal in the memcmp.
>From gcc-bugs-return-579720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:53:32 2017
Return-Path: <gcc-bugs-return-579720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12923 invoked by alias); 24 Oct 2017 19: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 6522 invoked by uid 48); 24 Oct 2017 19:53:27 -0000
From: "mtewoodbury at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/58884] OPTIONAL warning when a temprary value is created and not used.
Date: Tue, 24 Oct 2017 19: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: enhancement
X-Bugzilla-Who: mtewoodbury 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: component
Message-ID: <bug-58884-4-erLGHrwFgG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58884-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58884-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02780.txt.bz2
Content-length: 728

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58884

Max TenEyck Woodbury <mtewoodbury at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |c

--- Comment #1 from Max TenEyck Woodbury <mtewoodbury at gmail dot com> ---
I found the relevant code in the "gimplify" modules.  I could submit patches
for this now but it adds messages that will need translation and I am not
certain on the way that should be handled.

It turns out the problem described gets fixed very early and never gets to the
optimizer, but could have an impact when certain c++ features are abused...
>From gcc-bugs-return-579721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 19:58:33 2017
Return-Path: <gcc-bugs-return-579721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18415 invoked by alias); 24 Oct 2017 19: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 18364 invoked by uid 48); 24 Oct 2017 19:58:29 -0000
From: "jmuizelaar at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82705] New: Missing tail calls for large structs
Date: Tue, 24 Oct 2017 19:58: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: jmuizelaar at mozilla 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-82705-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02781.txt.bz2
Content-length: 997

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705

            Bug ID: 82705
           Summary: Missing tail calls for large structs
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jmuizelaar at mozilla dot com
  Target Milestone: ---

The following code:

struct Foo {
   int o[16];
};

__attribute__((noinline))
Foo moo()
{
        return {0};
}

Foo goo()
{
        return moo();
}

with -O3 -fno-exceptions -fomit-frame-pointer compiles to:
moo():
  pxor xmm0, xmm0
  mov rax, rdi
  movups XMMWORD PTR [rdi], xmm0
  movups XMMWORD PTR [rdi+16], xmm0
  movups XMMWORD PTR [rdi+32], xmm0
  movups XMMWORD PTR [rdi+48], xmm0
  ret
goo():
  sub rsp, 8
  call moo()
  add rsp, 8
  mov rax, rdi
  ret

goo could just be:

goo():
  jmp moo

Also it seems like the "sub rsp, 8" and "add rsp, 8" are extraneous
>From gcc-bugs-return-579722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:07:36 2017
Return-Path: <gcc-bugs-return-579722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91169 invoked by alias); 24 Oct 2017 21: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 91109 invoked by uid 55); 24 Oct 2017 21:07:32 -0000
From: "qing.zhao at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Tue, 24 Oct 2017 21: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qing.zhao at oracle 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-78809-4-np1DGVXffz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02782.txt.bz2
Content-length: 1856

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #17 from Qing Zhao <qing.zhao at oracle dot com> ---
(In reply to Wilco from comment #16)

>> const char s[8] = “abcd\0abc”;  // null byte in the middle of the string
>> int f2(void) { return __builtin_strcmp(s, "abc") != 0; }
>> int f3(void) { return __builtin_strcmp(s, “abc”); }
>> 
>> can either of the above f2 or f3 been optimized to memcmp? seems not.
> 
> You never get that to the null byte as the memcmp only compares strlen("abc"+1)
> characters.

Yes, this is correct for memcmp, but not for strcmp.  strcmp will get to the
null byte. 
as a result,  

const char s[8] = “abcd\0abc”;
strcmp (s, “abc”) != 0.       // s = “abcd", which is != “abc"
strncmp (s, “abc”, 3) == 0
memcmp(s, “abc”, 3) == 0

So, strcmp cannot optimized to memcmp 

> However do you mean an input string which is shorter than the
> constant string? That's fine as this will compare not-equal in the memcmp.

for the input string is shorter than the constant string, for example: 

const char s[8] = “ab\0\0abcd”;
strcmp (s, “abc”) != 0
strncmp (s, “abc”, 3) != 0
memcmp (s, “abc”,3) != 0

In a summary, since it’s NOT easy for the compiler to know where is the
“Null_terminator” 
in the string, strcmp is NOT reasonable to be optimized to memcmp whenever its
result is 
used to compare with zero or not.

But for strncmp, if the result is to compare with zero, it might be reasonable
to optimized it
to the corresponding memcmp, i.e

strncmp (s, “abc”, 3) != 0

could be optimized to

memcmp (s, “abc”, 3) != 0
>From gcc-bugs-return-579724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:08:36 2017
Return-Path: <gcc-bugs-return-579724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92344 invoked by alias); 24 Oct 2017 21:08: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 92150 invoked by uid 48); 24 Oct 2017 21:08:32 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/47253] Conditional jump to tail function is not generated
Date: Tue, 24 Oct 2017 21: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: 4.6.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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: cc
Message-ID: <bug-47253-4-0TgMq8cHeR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47253-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47253-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02784.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47253

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter at cordes dot ca

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
*** Bug 69576 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:08:35 2017
Return-Path: <gcc-bugs-return-579723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92225 invoked by alias); 24 Oct 2017 21:08: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 92128 invoked by uid 48); 24 Oct 2017 21:08:31 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/69576] tailcall could use a conditional branch on x86, but doesn't
Date: Tue, 24 Oct 2017 21: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: 5.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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-69576-4-9nbaL4vGS2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69576-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69576-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02783.txt.bz2
Content-length: 479

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69576

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> ---
Dup.

*** This bug has been marked as a duplicate of bug 47253 ***
>From gcc-bugs-return-579725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:19:35 2017
Return-Path: <gcc-bugs-return-579725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100535 invoked by alias); 24 Oct 2017 21: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 100488 invoked by uid 48); 24 Oct 2017 21:19:31 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Tue, 24 Oct 2017 21: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-93NfYdefcD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02785.txt.bz2
Content-length: 182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> ---
So should combine use targetm.cc_modes_compatible here?
>From gcc-bugs-return-579726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:20:58 2017
Return-Path: <gcc-bugs-return-579726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101810 invoked by alias); 24 Oct 2017 21:20: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 101767 invoked by uid 48); 24 Oct 2017 21:20:54 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82706] New: 27_io/filesystem/operations/permissions.cc FAILs
Date: Tue, 24 Oct 2017 21:20: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.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-82706-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02786.txt.bz2
Content-length: 1032

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82706

            Bug ID: 82706
           Summary: 27_io/filesystem/operations/permissions.cc FAILs
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: redi at gcc dot gnu.org
  Target Milestone: ---
            Target: *-*-solaris2.11

The new 27_io/filesystem/operations/permissions.cc test FAILs on Solaris 11:

FAIL: 27_io/filesystem/operations/permissions.cc execution test

both 32 and 64-bit, sparc and x86 (and FreeBSD according to gcc-testresults).

/vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/27_io/filesystem/operations/permissions.cc:103:
void test03(): Assertion 'ec == ec2' failed.

After the first permissions() call, ec is changed from ENOENT to 0, which
happens
after the ::lstat call in fs::symlink_status has succeded.

  Rainer
>From gcc-bugs-return-579727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:21:27 2017
Return-Path: <gcc-bugs-return-579727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102866 invoked by alias); 24 Oct 2017 21:21: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 102808 invoked by uid 48); 24 Oct 2017 21:21:24 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82706] 27_io/filesystem/operations/permissions.cc FAILs
Date: Tue, 24 Oct 2017 21: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82706-4-pyRpYaF989@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02787.txt.bz2
Content-length: 285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82706

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:25:55 2017
Return-Path: <gcc-bugs-return-579728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106345 invoked by alias); 24 Oct 2017 21: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 106294 invoked by uid 48); 24 Oct 2017 21:25:51 -0000
From: "wdijkstr at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78809] Inline strcmp with small constant strings
Date: Tue, 24 Oct 2017 21: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: wdijkstr 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:
Message-ID: <bug-78809-4-jC2yySkx8l@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78809-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02788.txt.bz2
Content-length: 2665

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809

--- Comment #18 from Wilco <wdijkstr at arm dot com> ---
(In reply to Qing Zhao from comment #17)
> (In reply to Wilco from comment #16)
> 
> >> const char s[8] = “abcd\0abc”;  // null byte in the middle of the string
> >> int f2(void) { return __builtin_strcmp(s, "abc") != 0; }
> >> int f3(void) { return __builtin_strcmp(s, “abc”); }
> >> 
> >> can either of the above f2 or f3 been optimized to memcmp? seems not.
> > 
> > You never get that to the null byte as the memcmp only compares strlen("abc"+1)
> > characters.
> 
> Yes, this is correct for memcmp, but not for strcmp.  strcmp will get to the
> null byte. 
> as a result,  
> 
> const char s[8] = “abcd\0abc”;
> strcmp (s, “abc”) != 0.       // s = “abcd", which is != “abc"
> strncmp (s, “abc”, 3) == 0
> memcmp(s, “abc”, 3) == 0
> 
> So, strcmp cannot optimized to memcmp 

No that should be:

strcmp (s, “abc”) != 0
strncmp (s, “abc”, 4) != 0
memcmp(s, “abc”, 4) != 0

You need to compare the null terminator as well.

> > However do you mean an input string which is shorter than the
> > constant string? That's fine as this will compare not-equal in the memcmp.
> 
> for the input string is shorter than the constant string, for example: 
> 
> const char s[8] = “ab\0\0abcd”;
> strcmp (s, “abc”) != 0
> strncmp (s, “abc”, 3) != 0
> memcmp (s, “abc”,3) != 0
> 
> In a summary, since it’s NOT easy for the compiler to know where is the
> “Null_terminator” 
> in the string, strcmp is NOT reasonable to be optimized to memcmp whenever
> its result is 
> used to compare with zero or not.

The compiler knows where the null terminator is in the constant string so it
can easily figure out when it is legal as well as faster than doing a byte by
byte expansion of strcmp.

strcmp (s, STR) -> memcmp (s, strlen (STR) + 1) iff max(sizeof_array(s),
alignment(s)) > strlen (STR).

> But for strncmp, if the result is to compare with zero, it might be
> reasonable to optimized it
> to the corresponding memcmp, i.e
> 
> strncmp (s, “abc”, 3) != 0
> 
> could be optimized to
> 
> memcmp (s, “abc”, 3) != 0

If the strncmp size is smaller than the strlen of the constant string (and
alignment is right), yes. But strncmp (s, "abc", C) is equivalent to strcmp (s,
"abc") if C >= 4.
>From gcc-bugs-return-579729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:36:57 2017
Return-Path: <gcc-bugs-return-579729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13502 invoked by alias); 24 Oct 2017 21: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 13422 invoked by uid 48); 24 Oct 2017 21:36:51 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82707] New: ICE in verify_gimple_in_cfg at tree-cfg.c:5395
Date: Tue, 24 Oct 2017 21:36: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.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 target_milestone
Message-ID: <bug-82707-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02789.txt.bz2
Content-length: 1979

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82707

            Bug ID: 82707
           Summary: ICE in verify_gimple_in_cfg at tree-cfg.c:5395
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---

Since r253779 enabled a couple of additional libgomp testcases, one of them
causes an ICE everywere:

+FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/declare-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1  -O2  (internal compiler error)
+FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/declare-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1  -O2  (test for excess errors)
+WARNING: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/declare-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1  -O2  compilation failed to produce
executable

output is:
/vol/gcc/src/hg/trunk/local/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/declare-1.c:
In function 'int main(int, char**)':
/vol/gcc/src/hg/trunk/local/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/declare-1.c:120:1:
error: incorrect sharing of tree nodes
map(delete:e)
#pragma omp target oacc_declare map(delete:e)
during GIMPLE pass: cfg
/vol/gcc/src/hg/trunk/local/libgomp/testsuite/libgomp.oacc-c++/../libgomp.oacc-c-c++-common/declare-1.c:120:1:
internal compiler error: verify_gimple failed
0x90d8070 verify_gimple_in_cfg(function*, bool)
        /vol/gcc/src/hg/trunk/local/gcc/tree-cfg.c:5395
0x8fadfdf execute_function_todo
        /vol/gcc/src/hg/trunk/local/gcc/passes.c:1994
0x8faecf2 do_per_function
        /vol/gcc/src/hg/trunk/local/gcc/passes.c:1659
0x8faedf1 execute_todo
        /vol/gcc/src/hg/trunk/local/gcc/passes.c:2048

It still happens even after the fixes for PR tree-optimization/82672 went
in.

  Rainer
>From gcc-bugs-return-579730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:37:37 2017
Return-Path: <gcc-bugs-return-579730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14588 invoked by alias); 24 Oct 2017 21:37: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 14512 invoked by uid 48); 24 Oct 2017 21:37:33 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82707] ICE in verify_gimple_in_cfg at tree-cfg.c:5395
Date: Tue, 24 Oct 2017 21: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:
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82707-4-ujHm1MgXZV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82707-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82707-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02790.txt.bz2
Content-length: 285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82707

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:46:30 2017
Return-Path: <gcc-bugs-return-579731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109058 invoked by alias); 24 Oct 2017 21:46: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 109034 invoked by uid 48); 24 Oct 2017 21:46:26 -0000
From: "keno at juliacomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82708] New: libmpx fails to compile due to PATH_MAX
Date: Tue, 24 Oct 2017 21:46: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keno at juliacomputing 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-82708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02791.txt.bz2
Content-length: 1477

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82708

            Bug ID: 82708
           Summary: libmpx fails to compile due to PATH_MAX
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: keno at juliacomputing dot com
  Target Milestone: ---

In trying to build gcc on musl-based Alpine linux, I encountered the following
error:
```
/src/gcc-7.2.0/libmpx/mpxrt/mpxrt-utils.c:72:23: error: ‘PATH_MAX’ undeclared
here (not in a function); did you mean ‘INT8_MAX’?
 #define MAX_FILE_NAME PATH_MAX
                       ^
/src/gcc-7.2.0/libmpx/mpxrt/mpxrt-utils.c:95:22: note: in expansion of macro
‘MAX_FILE_NAME’
 static char out_name[MAX_FILE_NAME];
                      ^~~~~~~~~~~~~
```
I was confused by this at first because musl defines PATH_MAX in limits.h which
appears to be included from that file, but looking at the `-E` output it turns
out that it uses `include-fixed/limits.h` instead, which doesn't have that
definition. I don't know enough about GCC's build system to determine what's at
fault here (maybe it shouldn't be using that limits.h?)

In searching the internet, there are a number of reports of this error from
various other system configurations as well, so this like a fairly common
problem when building gcc.
>From gcc-bugs-return-579732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:48:59 2017
Return-Path: <gcc-bugs-return-579732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112147 invoked by alias); 24 Oct 2017 21: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 112101 invoked by uid 48); 24 Oct 2017 21:48:54 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82706] 27_io/filesystem/operations/permissions.cc FAILs
Date: Tue, 24 Oct 2017 21:48: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82706-4-h8X5VyO8PW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02792.txt.bz2
Content-length: 657

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82706

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|*-*-solaris2.11             |*-*-solaris2.11
                   |                            |x86_64-apple-darwin16
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-24
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Same thing on  x86_64-apple-darwin16.
>From gcc-bugs-return-579733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 21:58:20 2017
Return-Path: <gcc-bugs-return-579733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28958 invoked by alias); 24 Oct 2017 21:58: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 22592 invoked by uid 55); 24 Oct 2017 21:58:16 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers
Date: Tue, 24 Oct 2017 21:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-58687-4-BKS5M7isar@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02793.txt.bz2
Content-length: 734

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687

--- Comment #28 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Well, I also think the existing choice is the more natural choice for the 
value of __LINE__ in this case (#line is mainly for use by code 
generators, which can always count lines and specify the desired number 
when changing the filename).  And the note on the patch "Note that this 
solution is not robust; hiding the __LINE__ reference inside another macro 
will bypass this special case test." indicates changing the choice is not 
so simple after all (having a choice of line number that depends on 
whether __LINE__ is inside another macro seems even less natural).
>From gcc-bugs-return-579734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 22:02:34 2017
Return-Path: <gcc-bugs-return-579734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56839 invoked by alias); 24 Oct 2017 22:02: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 56791 invoked by uid 55); 24 Oct 2017 22:02:30 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82708] libmpx fails to compile due to PATH_MAX
Date: Tue, 24 Oct 2017 22: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: 7.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-82708-4-KIYJmKY7YQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02794.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82708

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
If you have correctly configured GCC so that it can find the system 
headers at configure time, include-fixed/limits.h should be constructed as 
a concatentation of limitx.h, glimits.h and limity.h and thus include 
libc's limits.h indirectly.  If $(LIMITS_H_TEST) failed to find the system 
headers, that's what you should be debugging.
>From gcc-bugs-return-579735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 22:11:32 2017
Return-Path: <gcc-bugs-return-579735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73940 invoked by alias); 24 Oct 2017 22: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 73884 invoked by uid 48); 24 Oct 2017 22:11:27 -0000
From: "keno at juliacomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82708] libmpx fails to compile due to PATH_MAX
Date: Tue, 24 Oct 2017 22:11: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keno at juliacomputing 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-82708-4-pxPMklVR43@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02795.txt.bz2
Content-length: 393

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82708

--- Comment #2 from Keno Fischer <keno at juliacomputing dot com> ---
It looks like different parts of the build system may be disagreeing on that. I
see

checking limits.h usability... yes

in the log in one place and then

checking limits.h usability... no

later in the same log. Are there different usability checks for this header?
>From gcc-bugs-return-579736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 22:14:22 2017
Return-Path: <gcc-bugs-return-579736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76004 invoked by alias); 24 Oct 2017 22: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 75972 invoked by uid 55); 24 Oct 2017 22:14:19 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82708] libmpx fails to compile due to PATH_MAX
Date: Tue, 24 Oct 2017 22:14: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: 7.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-82708-4-bjI01fXaB8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02796.txt.bz2
Content-length: 391

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82708

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
That's not the test I'm talking about.  The relevant one is 
gcc/Makefile.in's LIMITS_H_TEST, run during a build stage rather than a 
configure stage, so you need to look at the setting of 
BUILD_SYSTEM_HEADER_DIR and how it got that value.
>From gcc-bugs-return-579737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 22:18:51 2017
Return-Path: <gcc-bugs-return-579737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84289 invoked by alias); 24 Oct 2017 22: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 84137 invoked by uid 48); 24 Oct 2017 22:18:47 -0000
From: "erenon2 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/41091] Using section attribute in c and c++ function causes section type conflict
Date: Tue, 24 Oct 2017 22: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: 4.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: erenon2 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: cc
Message-ID: <bug-41091-4-y2wyAzHqiv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-41091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-41091-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02797.txt.bz2
Content-length: 1252

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41091

Benedek <erenon2 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erenon2 at gmail dot com

--- Comment #6 from Benedek <erenon2 at gmail dot com> ---
The following code reproduces this, or a very similar issue:

#define STORE(SECTION, STRING) \
  __attribute__((section(SECTION), used)) \
  static constexpr const char* s[] = { STRING }

void f()
{
  STORE(".custom", "normal_foobar");
}

inline void g()
{
  STORE(".custom", "inline_foobar");
}

template <typename = void>
void h()
{
  STORE(".custom", "template_foobar");
}

int main()
{
  f(); g(); h();
  return 0;
}

$ g++ -std=c++11 section.cpp
section.cpp: error: 's' causes a section type conflict with 's'

GCC 4.8, 5.2, 7.2, and trunk are affected (x86-64, checked on godbolt).
Depending on the compiler version, either the normal and the inline, or the
normal and the function template clashes.

I suppose because of how comdat is handled, they might have slightly different
needs, but it would be really nice to make it easier for the user.

(Clang compiles it fine)
>From gcc-bugs-return-579738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 22:46:57 2017
Return-Path: <gcc-bugs-return-579738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26552 invoked by alias); 24 Oct 2017 22: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 26485 invoked by uid 55); 24 Oct 2017 22:46:52 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80295] [7 Regression] ICE in __builtin_update_setjmp_buf expander
Date: Tue, 24 Oct 2017 22: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: qing.zhao at oracle dot com
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80295-4-VCU6twfc0F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02798.txt.bz2
Content-length: 915

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80295

--- Comment #14 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct 24 22:46:19 2017
New Revision: 254063

URL: https://gcc.gnu.org/viewcvs?rev=254063&root=gcc&view=rev
Log:
gcc/ChangeLog

2017-10-24  Qing Zhao <qing.zhao@oracle.com>
            Wilco Dijkstra <wilco.dijkstra@arm.com>

        * builtins.c (expand_builtin_update_setjmp_buf): Add a
        converstion to Pmode from the buf_addr.

gcc/testsuite/ChangeLog

2017-10-24  Qing Zhao <qing.zhao@oracle.com>
            Wilco Dijkstra <wilco.dijkstra@arm.com>

        PR middle-end/80295
        * gcc.target/aarch64/pr80295.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.target/aarch64/pr80295.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/builtins.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 22:48:44 2017
Return-Path: <gcc-bugs-return-579739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30737 invoked by alias); 24 Oct 2017 22: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 28268 invoked by uid 48); 24 Oct 2017 22:48:23 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/80295] [7 Regression] ICE in __builtin_update_setjmp_buf expander
Date: Tue, 24 Oct 2017 22: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: qing.zhao at oracle dot com
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-80295-4-FrY9Wrv8Oe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02799.txt.bz2
Content-length: 456

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80295

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in the branch too.
>From gcc-bugs-return-579740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 22:50:25 2017
Return-Path: <gcc-bugs-return-579740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60397 invoked by alias); 24 Oct 2017 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 60360 invoked by uid 48); 24 Oct 2017 22:50:21 -0000
From: "john.harper at vuw dot ac.nz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82709] New: f2008 complex%re and %im not yet implemented
Date: Tue, 24 Oct 2017 22:50: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.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: john.harper at vuw dot ac.nz
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82709-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02800.txt.bz2
Content-length: 1990

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82709

            Bug ID: 82709
           Summary: f2008 complex%re and %im not yet implemented
           Product: gcc
           Version: 6.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: john.harper at vuw dot ac.nz
  Target Milestone: ---

IMHO This program is valid f2008 but gfortran won't compile it. Evidence:

cayley[~/Jfh] % cat cplx.f90
! Works with ifort -stand f95 but not gfortran -std=f2008 
  implicit none
  complex:: z = (1,2)
  print *,z%re
  print *,z%im
end program
cayley[~/Jfh] % /usr/bin/gfortran -std=f2008 cplx.f90 
cplx.f90:4:12:

   print *,z%re
            1
Error: Unexpected ‘%’ for nonderived-type variable ‘z’ at (1)
cplx.f90:5:12:

   print *,z%im
            1
Error: Unexpected ‘%’ for nonderived-type variable ‘z’ at (1)
cayley[~/Jfh] % /usr/bin/gfortran -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.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 --disable-multilib --disable-werror
--enable-checking=release
Thread model: posix
gcc version 6.3.1 20170109 (GCC) 
cayley[~/Jfh] %
>From gcc-bugs-return-579741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 23:03:51 2017
Return-Path: <gcc-bugs-return-579741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81891 invoked by alias); 24 Oct 2017 23:03: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 81857 invoked by uid 48); 24 Oct 2017 23:03:45 -0000
From: "keno at juliacomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82708] libmpx fails to compile due to PATH_MAX
Date: Tue, 24 Oct 2017 23: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keno at juliacomputing 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-82708-4-R5hMut6fZK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02801.txt.bz2
Content-length: 784

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82708

--- Comment #4 from Keno Fischer <keno at juliacomputing dot com> ---
Ah, ok sorry I was confused. I probably should have mentioned that I'm doing a
cross compile to a glibc based system, so I'm building the compiler, then
building glibc,
and then going back and building the runtime libraries. The exact script I'm
using is here:
https://github.com/staticfloat/julia-docker/blob/master/workerbase/lib/build_crosscompiler.sh

So at the compiler build stage, the limits.h header indeed does not exist, but
it does exist once we go back to build the rest of the runtime libraries
(because we built glibc in the meantime). Is there something I should be
running to regenerate these files before building the runtime libraries?
>From gcc-bugs-return-579742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 23:13:42 2017
Return-Path: <gcc-bugs-return-579742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98008 invoked by alias); 24 Oct 2017 23: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 97974 invoked by uid 55); 24 Oct 2017 23:13:37 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82708] libmpx fails to compile due to PATH_MAX
Date: Tue, 24 Oct 2017 23:13: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: 7.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-82708-4-GNdhJtgyZt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02802.txt.bz2
Content-length: 641

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82708

--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
The expectation for bootstrapping such a cross toolchain is that GCC is 
configured and built twice.  The first build is static-only, C-only, 
inhibit-libc, disables lots of libraries such as libmpx.  That is used to 
build and install glibc.  The second build of GCC, configured with glibc 
present, is fully functional with all required languages.  See what 
glibc's build-many-glibcs.py script does for details of the modern 
approach for bootstrapping cross toolchains with glibc.
>From gcc-bugs-return-579743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 23:49:38 2017
Return-Path: <gcc-bugs-return-579743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46252 invoked by alias); 24 Oct 2017 23:49:38 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 46202 invoked by uid 48); 24 Oct 2017 23:49:34 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82706] 27_io/filesystem/operations/permissions.cc FAILs
Date: Tue, 24 Oct 2017 23: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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82706-4-5waarTxnKB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02803.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82706

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
>From gcc-bugs-return-579744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 23:52:00 2017
Return-Path: <gcc-bugs-return-579744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56002 invoked by alias); 24 Oct 2017 23:52: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 51385 invoked by uid 48); 24 Oct 2017 23:51:56 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82709] f2008 complex%re and %im not yet implemented
Date: Tue, 24 Oct 2017 23: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: 6.3.1
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-82709-4-LONZyn4YnB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82709-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82709-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02804.txt.bz2
Content-length: 503

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82709

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Dup.

*** This bug has been marked as a duplicate of bug 40196 ***
>From gcc-bugs-return-579745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 23:52:01 2017
Return-Path: <gcc-bugs-return-579745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56502 invoked by alias); 24 Oct 2017 23:52: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 52405 invoked by uid 48); 24 Oct 2017 23:51:57 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/40196] [F03] [F08] Type parameter inquiry (str%len, a%kind) and Complex parts (z%re, z%im)
Date: Tue, 24 Oct 2017 23: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: unknown
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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: cc
Message-ID: <bug-40196-4-1SE56W6c5e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-40196-4@http.gcc.gnu.org/bugzilla/>
References: <bug-40196-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02805.txt.bz2
Content-length: 461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40196

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.harper at vuw dot ac.nz

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
*** Bug 82709 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 24 23:56:21 2017
Return-Path: <gcc-bugs-return-579746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64470 invoked by alias); 24 Oct 2017 23: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 60096 invoked by uid 48); 24 Oct 2017 23:56:17 -0000
From: "daniel at linux dot vnet.ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81318] [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189
Date: Tue, 24 Oct 2017 23: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel at linux dot vnet.ibm.com
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81318-4-JRiPYpkeo7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02806.txt.bz2
Content-length: 314

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318

--- Comment #33 from Daniel Black <daniel at linux dot vnet.ibm.com> ---
Works for me.

$ toolchain/bin/gcc -O1 -Wno-attributes -Wno-implicit-int  -c /tmp/x.c
$ toolchain/bin/gcc --version
gcc (GCC) 8.0.0 20171024 (experimental)

Thanks Markus, Martin, Honza.
>From gcc-bugs-return-579747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 00:08:29 2017
Return-Path: <gcc-bugs-return-579747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50802 invoked by alias); 25 Oct 2017 00: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 45018 invoked by uid 48); 25 Oct 2017 00:08:25 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/71322] [DR 2720] std::filesystem::permissions always follows symlinks
Date: Wed, 25 Oct 2017 00: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: 6.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: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-71322-4-YGkZoyoOO5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71322-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71322-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02807.txt.bz2
Content-length: 523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71322

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.5

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for GCC 6.3 by r243554 and GCC 5.5 by r243557
>From gcc-bugs-return-579748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 00:09:36 2017
Return-Path: <gcc-bugs-return-579748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130618 invoked by alias); 25 Oct 2017 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 129066 invoked by uid 48); 25 Oct 2017 00:09:33 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/70694] 50 experimental/filesystem/* failures on x86_64-apple-darwin10
Date: Wed, 25 Oct 2017 00:09: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.0
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
Message-ID: <bug-70694-4-RPisuuqgQ0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02808.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70694

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Does the patch work?
>From gcc-bugs-return-579749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 00:25:00 2017
Return-Path: <gcc-bugs-return-579749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37295 invoked by alias); 25 Oct 2017 00: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 37220 invoked by uid 48); 25 Oct 2017 00:24:56 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/70694] 50 experimental/filesystem/* failures on x86_64-apple-darwin10
Date: Wed, 25 Oct 2017 00: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: 6.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-70694-4-25XKEVfrlj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02809.txt.bz2
Content-length: 159

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70694

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Does the patch work?

Indeed!
>From gcc-bugs-return-579750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 00:27:25 2017
Return-Path: <gcc-bugs-return-579750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84608 invoked by alias); 25 Oct 2017 00:27: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 83903 invoked by uid 48); 25 Oct 2017 00:27:21 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82706] 27_io/filesystem/operations/permissions.cc FAILs
Date: Wed, 25 Oct 2017 00: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82706-4-INeaygOa4j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02810.txt.bz2
Content-length: 439

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82706

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> ---
Should be fixed now.
>From gcc-bugs-return-579751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 00:27:46 2017
Return-Path: <gcc-bugs-return-579751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86751 invoked by alias); 25 Oct 2017 00:27: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 86375 invoked by uid 55); 25 Oct 2017 00:27:42 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82706] 27_io/filesystem/operations/permissions.cc FAILs
Date: Wed, 25 Oct 2017 00: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82706-4-4bniEvvpZf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82706-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02811.txt.bz2
Content-length: 543

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82706

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Oct 25 00:27:10 2017
New Revision: 254067

URL: https://gcc.gnu.org/viewcvs?rev=254067&root=gcc&view=rev
Log:
PR libstdc++/82706 fix test for case where operations succeed

        PR libstdc++/82706
        * testsuite/27_io/filesystem/operations/permissions.cc: Fix test.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/27_io/filesystem/operations/permissions.cc
>From gcc-bugs-return-579752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 00:42:01 2017
Return-Path: <gcc-bugs-return-579752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67733 invoked by alias); 25 Oct 2017 00: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 67653 invoked by uid 48); 25 Oct 2017 00:41:55 -0000
From: "web at cjhanks dot name" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82684] std::complex template specializations require C99 Complex
Date: Wed, 25 Oct 2017 00: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: 5.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: web at cjhanks dot name
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-82684-4-SYEbt7jGKa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82684-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82684-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02812.txt.bz2
Content-length: 425

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82684

--- Comment #2 from Christopher J. Hanks <web at cjhanks dot name> ---
> > Putting the specializations and forward declarations in an `#if
> > _GLIBCXX_USE_C99_COMPLEX` block appears to allow code to compile as expected.
> 
> What code? What doesn't compile without those changes?

Apologies, I have conflated the C99 complex type operations with the GNU
extensions.
>From gcc-bugs-return-579753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 01:07:51 2017
Return-Path: <gcc-bugs-return-579753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78276 invoked by alias); 25 Oct 2017 01: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 74988 invoked by uid 48); 25 Oct 2017 01:07:47 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/79283] read_symlink fails with /proc symlinks
Date: Wed, 25 Oct 2017 01:07: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.2.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-79283-4-gCfzeksVxU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79283-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79283-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02813.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79283

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
>From gcc-bugs-return-579754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 01:17:58 2017
Return-Path: <gcc-bugs-return-579754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6460 invoked by alias); 25 Oct 2017 01: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 4552 invoked by uid 48); 25 Oct 2017 01:17:54 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82684] std::complex template specializations require C99 Complex
Date: Wed, 25 Oct 2017 01: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: 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-82684-4-1qwZDjdq62@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82684-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82684-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02814.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82684

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Closing then.
>From gcc-bugs-return-579755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 01:22:08 2017
Return-Path: <gcc-bugs-return-579755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88826 invoked by alias); 25 Oct 2017 01: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 87066 invoked by uid 48); 25 Oct 2017 01:22:05 -0000
From: "rivorus at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79092] template<auto>: type ignored if value already instantiated
Date: Wed, 25 Oct 2017 01: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: 7.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rivorus 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-79092-4-X35JxSzQIg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79092-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79092-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02815.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79092

Matt Calabrese <rivorus at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rivorus at gmail dot com

--- Comment #2 from Matt Calabrese <rivorus at gmail dot com> ---
template<auto V> struct val {};

struct type : val<0>, val<0u> {};
>From gcc-bugs-return-579756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 01:43:24 2017
Return-Path: <gcc-bugs-return-579756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68308 invoked by alias); 25 Oct 2017 01: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 68246 invoked by uid 48); 25 Oct 2017 01:43:19 -0000
From: "rivorus at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/79092] template<auto>: type ignored if value already instantiated
Date: Wed, 25 Oct 2017 01: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.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rivorus 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-79092-4-g95FViSUwJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79092-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79092-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02816.txt.bz2
Content-length: 609

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79092

--- Comment #3 from Matt Calabrese <rivorus at gmail dot com> ---
This bug is fairly nasty and I think should be higher priority. I suspect that
many people who use template auto will encounter it in very subtle ways. I
observed it deep in expression-template code by way of incorrect results and it
took a while to diagnose.

Even if people happen to not directly observe the issue, this bug can very
easily lead to ODR violations if different translation units happen to include
files that instantiate the template, but do so in different orders.
>From gcc-bugs-return-579757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 03:31:15 2017
Return-Path: <gcc-bugs-return-579757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41024 invoked by alias); 25 Oct 2017 03: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 40894 invoked by uid 48); 25 Oct 2017 03:31:08 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/81318] [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189
Date: Wed, 25 Oct 2017 03: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels 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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-81318-4-6DZYjIK6Sa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81318-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02817.txt.bz2
Content-length: 442

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #34 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-579758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 05:30:49 2017
Return-Path: <gcc-bugs-return-579758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37550 invoked by alias); 25 Oct 2017 05: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 37515 invoked by uid 48); 25 Oct 2017 05:30:44 -0000
From: "keno at juliacomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82708] libmpx fails to compile due to PATH_MAX
Date: Wed, 25 Oct 2017 05: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: keno at juliacomputing dot com
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-82708-4-OJnlQsqLiX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02818.txt.bz2
Content-length: 2269

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82708

Keno Fischer <keno at juliacomputing dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #6 from Keno Fischer <keno at juliacomputing dot com> ---
I have unsuccessfully tried to make that option work. I am able to build glibc
with the bootstrap compiler, but the second stage build invariably fails. I ran
into a bunch of problems.

First, the build process looking for the headers in <path>/sys-include rather
than <path>/include where glibc installs them. Leads to the same symptoms as
reported in this issue.

Then, I tried using --with-sysroot which I wasn't using before, but then I got
confusion between <sysroot>/usr/include and <sysroot>/include (most parts of
the build system looking in usr/include, but others such as when building
libgcc seem to be looking in <sysroot>/include/). If I symlink those paths
together things progress farther but eventually fail to link. I also tried
replicating the glibc script you pointed to, without much luck (some mixture of
the above symptoms).

Given that I get a well functioning cross compiler, using the original recipe
with a simple patch to mpxrt-utils.c to bypass the broken limits.h file, I'm
tempted to move on and leave this be. I'll note at this point that e.g.
http://www.linuxfromscratch.org/lfs/view/development/chapter05/gcc-pass2.html
also suggests patching the limits.h file manually, so at least I'm not the only
one.
I guess I had hoped that there was something that could be done in the gcc
build system to make this experience less frustrating for the next person.

If not that, a modern guide on how to do this by somebody who knows how it's
supposed to be would be great, since all the guides out there seem to have some
step of "and this is where we hack around gcc/glibc's broken build systems". It
sounds like things have improved since those guides were written, which is
great, but I have no idea what the right commands are.

I am grateful you took the time to answer my questions here.
>From gcc-bugs-return-579759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 06:20:14 2017
Return-Path: <gcc-bugs-return-579759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59158 invoked by alias); 25 Oct 2017 06: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 59125 invoked by uid 48); 25 Oct 2017 06:20:08 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6
Date: Wed, 25 Oct 2017 06:20: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: unknown
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-82702-4-E1Yd9rAGUI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02819.txt.bz2
Content-length: 372

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html#Invoking-Gcov

The output is a single .gcov file per .gcda file. 

The same documentation was in GCC 5.1.0's docs:
https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/Invoking-Gcov.html#Invoking-Gcov
>From gcc-bugs-return-579760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 06:40:26 2017
Return-Path: <gcc-bugs-return-579760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113661 invoked by alias); 25 Oct 2017 06:40: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 113597 invoked by uid 48); 25 Oct 2017 06:40:22 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Wed, 25 Oct 2017 06:40: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: wrong-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-axpn68Blq0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02820.txt.bz2
Content-length: 1284

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Segher Boessenkool from comment #10)
> So should combine use targetm.cc_modes_compatible here?

Yes. The trappines of FP compares is distinguished by their mode, so
I guess something along the following patch should work:

--cut here--
diff --git a/gcc/combine.c b/gcc/combine.c
index d71e50fdefb5..0220be2e484e 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -6787,6 +6787,14 @@ simplify_set (rtx x)
       else
        compare_mode = SELECT_CC_MODE (new_code, op0, op1);

+      /* Do not change compare mode of a floating point compare to
+        an incompatible mode.  Targets distingush trapping and
+        non-traping compares by their compare mode, and SELECT_CC_MODE
+        could return different mode for a new_code.  */
+      if (FLOAT_MODE_P (GET_MODE (op0))
+         && !targetm.cc_modes_compatible (compare_mode, GET_MODE (dest)))
+       compare_mode = GET_MODE (dest);
+
       /* If the mode changed, we have to change SET_DEST, the mode in the
         compare, and the mode in the place SET_DEST is used.  If SET_DEST is
         a hard register, just build new versions with the proper mode.  If it
--cut here--
>From gcc-bugs-return-579761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 06:47:26 2017
Return-Path: <gcc-bugs-return-579761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114797 invoked by alias); 25 Oct 2017 06: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 114715 invoked by uid 48); 25 Oct 2017 06:47:20 -0000
From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc
Date: Wed, 25 Oct 2017 06:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dclarke at blastwave 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-82686-4-6LPzwAZ4ih@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02821.txt.bz2
Content-length: 2289

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

--- Comment #6 from Dennis Clarke <dclarke at blastwave dot org> ---
Actually first thing I did was remove a few options from configure stage
such that I could at least get past this small bump in the road : 

    --enable-multiarch and --enable-multilib removed. 


Configure went fine and the bootstrap went past the previous gc bump and then
crashed into some sort of an ada problem, again, in stage 3 : 


$ /usr/bin/time -p /usr/bin/nice -n +19 /usr/local/bin/gmake -k 4
.
.
. a long while later 
.
.
/usr/local/bin/ranlib rts_32/libgnarl.a
/usr/local/bin/ar rc rts_32/libgmem.a \
          rts_32/memtrack.o
/usr/local/bin/ranlib rts_32/libgmem.a
chmod a-wx rts_32/*.ali
touch ../stamp-gnatlib-rts_32
gmake[7]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.004/gcc/ada'
mv -f libgna*.so rts_32
mv -f libgnat_pic.a rts_32
mv -f libgnarl_pic.a rts_32
gmake[6]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.004/gcc/ada'
gmake[5]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.004/gcc/ada'
rm -rf adainclude
rm -rf adalib
ln -s ../../.././gcc/ada/rts_32 adainclude
ln -s ../../.././gcc/ada/rts_32 adalib
true  DO=all multi-do # /usr/local/bin/gmake
gmake[4]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.004/powerpc64-unknown-linux-gnu/32/libada'
gmake[3]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.004/powerpc64-unknown-linux-gnu/libada'
gmake[2]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.004/powerpc64-unknown-linux-gnu/libada'
gmake[1]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.004'
gmake: *** [Makefile:941: all] Error 2
Command exited with non-zero status 2
real 12929.78
user 41765.84
sys 2214.94
nix_$ 
nix_$ 
nix_$ cat stage_current 
stage3
nix_$ 

So there really are problems in this bootstrap process and it isn't just
a new requirement for gc.  In any case I will remove "ada" from the 
language list and try again without multilib or multiarch and see what
happens.  I expect that the need for multiple arch builds of gc can be 
sorted out after I see at least a single arch complete, once.
>From gcc-bugs-return-579762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 07:14:45 2017
Return-Path: <gcc-bugs-return-579762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87451 invoked by alias); 25 Oct 2017 07: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 87415 invoked by uid 48); 25 Oct 2017 07:14:41 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6
Date: Wed, 25 Oct 2017 07:14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla 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-82702-4-ieASZh3Qa4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02822.txt.bz2
Content-length: 587

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702

--- Comment #2 from Marco Castelluccio <mcastelluccio at mozilla dot com> ---
(In reply to Andrew Pinski from comment #1)
> https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html#Invoking-Gcov
> 
> The output is a single .gcov file per .gcda file. 
> 
> The same documentation was in GCC 5.1.0's docs:
> https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/Invoking-Gcov.html#Invoking-Gcov

Exactly. So "gcov -i file.gcno" should generate (and indeed, was generating) a
single gcov file. Now, it's generating multiple gcov files.
>From gcc-bugs-return-579763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 07:17:31 2017
Return-Path: <gcc-bugs-return-579763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89526 invoked by alias); 25 Oct 2017 07:17: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 89451 invoked by uid 55); 25 Oct 2017 07:17:26 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/57359] wrong code for union access at -O3 on x86_64-linux
Date: Wed, 25 Oct 2017 07: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: 4.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: 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-57359-4-uQhpGM2g5w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57359-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57359-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02823.txt.bz2
Content-length: 1601

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359

--- Comment #13 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 24 Oct 2017, ch3root at openwall dot com wrote:

> I've also converted the testcase to allocated memory:
> 
> ----------------------------------------------------------------------
> #include <stdlib.h>
> #include <stdio.h>
> 
> __attribute__((__noinline__,__noclone__))
> void test(int *pi, long *pl, int k, int *pa)
> {
>   for (int i = 0; i < 3; i++) {
>     pl[k] = // something that doesn't change but have to be calculated
>     *pa; // something that potentially can be changed by assignment to *pi
>     *pi = 0;
>   }
> }
> 
> int main(void)
> {
>   int *pi = malloc(10);
>   int a = 1;
> 
>   test(pi, (void *)pi, 0, &a);
> 
>   printf("%d\n", *pi);
> }

Thanks for the unobfuscated testcase, this indeed shows exactly
the issue I mention (store motion sinking a store across another
store).  The *pa load prevents store-motion from also moving
the *pi store which would mitigate this issue (in a way earlier
fix we ensured the stores on exit are done in the original order).

Testcase for the testsuite that should fail on both big and little-endian:

__attribute__((__noinline__,__noclone__))
void test(__INT32_TYPE__ *pi, __INT64_TYPE__ *pl, int k, __INT32_TYPE__ 
*pa)
{
  for (int i = 0; i < 3; i++) {
      pl[k] = *pa;
      *pi = 1;
  }
}

int main()
{
  __INT32_TYPE__ *pi = __builtin_malloc (10);
  __INT32_TYPE__ a = 2;

  test(pi, (void *)pi, 0, &a);

  if (*pi != 1)
    __builtin_abort ();
  return 0;
}
>From gcc-bugs-return-579764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 07:38:57 2017
Return-Path: <gcc-bugs-return-579764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41900 invoked by alias); 25 Oct 2017 07: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 41868 invoked by uid 48); 25 Oct 2017 07:38:53 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82705] Missing tail calls for large structs
Date: Wed, 25 Oct 2017 07: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: 7.2.1
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 cf_gcctarget bug_status cf_reconfirmed_on version everconfirmed
Message-ID: <bug-82705-4-8ipVmQINou@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82705-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82705-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02824.txt.bz2
Content-length: 886

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82705

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Target|                            |x86_64-*-*, i?86-*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
            Version|unknown                     |7.2.1
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
sub/add are to align the stack according to the ABI.

The complication for the middle-end to perform the optimization is likely
the move of the argument slot pointer to the return slot pointer
(rdi to rax).

Confirmed.
>From gcc-bugs-return-579765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 07:39:07 2017
Return-Path: <gcc-bugs-return-579765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42518 invoked by alias); 25 Oct 2017 07: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 42247 invoked by uid 48); 25 Oct 2017 07:39:02 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Wed, 25 Oct 2017 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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82062-4-IBGKLZvdeH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02825.txt.bz2
Content-length: 1521

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
But in fact we probably just need:

Index: fold-const.c
===================================================================
--- fold-const.c        (revision 254037)
+++ fold-const.c        (working copy)
@@ -3366,7 +3366,8 @@ operand_equal_p (const_tree arg0, const_
 #undef OP_SAME_WITH_NULL
 }


-/* Similar to operand_equal_p, but strip nops first.  */
+/* Similar to operand_equal_p, but see if ARG1 might be a variant of ARG0
+   with a different signedness or a simple conversion.  */

 static bool
 operand_equal_for_comparison_p (tree arg0, tree arg1)
@@ -3378,12 +3379,15 @@ operand_equal_for_comparison_p (tree arg
       || ! INTEGRAL_TYPE_P (TREE_TYPE (arg1)))
     return false;

-  /* Discard any conversions that don't change the modes of ARG0 and ARG1
-     and see if the inner values are the same.  This removes any
-     signedness comparison, which doesn't matter here.  */
-  STRIP_NOPS (arg0);
-  STRIP_NOPS (arg1);
-  if (operand_equal_p (arg0, arg1, 0))
+  tree op0 = arg0;
+  tree op1 = arg1;
+  STRIP_NOPS (op0);
+  STRIP_NOPS (op1);
+  if (operand_equal_p (op0, op1, 0))
+    return true;
+
+  if (TREE_CODE (arg1) == NOP_EXPR
+      && operand_equal_p (arg0, TREE_OPERAND (arg1, 0), 0))
     return true;

   return false;
>From gcc-bugs-return-579766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 07:41:12 2017
Return-Path: <gcc-bugs-return-579766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45251 invoked by alias); 25 Oct 2017 07:41: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 45221 invoked by uid 48); 25 Oct 2017 07:41:08 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82704] GCC fails to download prerequisites on busybox distro (unrecognized sha512sum --check)
Date: Wed, 25 Oct 2017 07:41: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: 7.2.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 cc everconfirmed
Message-ID: <bug-82704-4-593lC2orjc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82704-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82704-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02826.txt.bz2
Content-length: 644

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82704

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
                 CC|                            |damian at sourceryinstitute dot or
                   |                            |g
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Not sure if macOS understands -c.
>From gcc-bugs-return-579767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 07:42:34 2017
Return-Path: <gcc-bugs-return-579767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48508 invoked by alias); 25 Oct 2017 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 47265 invoked by uid 48); 25 Oct 2017 07:42:29 -0000
From: "andi at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82710] New: Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]
Date: Wed, 25 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andi at mozilla 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-82710-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02827.txt.bz2
Content-length: 1850

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82710

            Bug ID: 82710
           Summary: Incorrect warning:unnecessary parentheses in
                    declaration of global friend functions
                    [-Werror=parentheses]
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andi at mozilla dot com
  Target Milestone: ---

Created attachment 42466
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42466&action=edit
test case to reproduce the warning

When trying to build the mozilla-central repo with treat warnings as errors I
get this error:

In file included from /root/firefox-gcc-last/image/SVGDocumentWrapper.cpp:27:0,
                  from
/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/image/Unified_cpp_image1.cpp:38:

/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom/SVGSVGElement.h:85:19:
error: unnecessary parentheses in declaration of 'NS_NewSVGSVGElement'
[-Werror=parentheses]
    friend nsresult (::NS_NewSVGSVGElement(nsIContent **aResult,

The code can be found here:
https://dxr.mozilla.org/mozilla-central/source/dom/svg/SVGSVGElement.h#85

I consider this to be a bug since the resolution operator is used in order to
point the global function NS_NewSVGSVGElement that is not in the mozilla::dom
namespace.

In order to be more easely debuged I've created test case, that is attached to
this bug. For my test case I got the same warning:
>>In file included from main.cpp:1:0:
>>def.h:13:20: error: unnecessary parentheses in declaration of 'friendFunc' [->>Werror=parentheses]
>>   friend TestClass (::friendFunc());


The way how I build it is:
# g++-8 -Wall -Werror main.cpp
>From gcc-bugs-return-579768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 07:47:09 2017
Return-Path: <gcc-bugs-return-579768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42079 invoked by alias); 25 Oct 2017 07:47: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 42033 invoked by uid 48); 25 Oct 2017 07:47:03 -0000
From: "sylvestre at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82710] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]
Date: Wed, 25 Oct 2017 07: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sylvestre 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-82710-4-SjZGsmQupW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82710-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82710-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02828.txt.bz2
Content-length: 213

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82710

--- Comment #1 from Sylvestre Ledru <sylvestre at debian dot org> ---
With gcc-8 (Debian 8-20171023-1) 8.0.0 20171023 (experimental) [trunk revision
253997]
>From gcc-bugs-return-579769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 07:52:32 2017
Return-Path: <gcc-bugs-return-579769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62710 invoked by alias); 25 Oct 2017 07: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 62685 invoked by uid 48); 25 Oct 2017 07:52:28 -0000
From: "sylvestre at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82711] New: -Wignored-qualifiers could be moved into -Wextra
Date: Wed, 25 Oct 2017 07: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sylvestre 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-82711-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02829.txt.bz2
Content-length: 691

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82711

            Bug ID: 82711
           Summary: -Wignored-qualifiers could be moved into -Wextra
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sylvestre at debian dot org
  Target Milestone: ---

Compiling Firefox, we fixed several warnings found by -Wignored-qualifiers

I wonder if this option should not be moved under -Wextra.
The extra const isn't hurting and in a way improves readability.

Context: https://bugzilla.mozilla.org/show_bug.cgi?id=1411034
>From gcc-bugs-return-579770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:06:18 2017
Return-Path: <gcc-bugs-return-579770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91598 invoked by alias); 25 Oct 2017 08: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 91396 invoked by uid 48); 25 Oct 2017 08:06:02 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82712] New: [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:11383
Date: Wed, 25 Oct 2017 08:06: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 cc target_milestone
Message-ID: <bug-82712-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02830.txt.bz2
Content-length: 1424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82712

            Bug ID: 82712
           Summary: [8 Regression] ICE in sp_valid_at, at
                    config/i386/i386.c:11383
           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
                CC: daniel.santos at pobox dot com
  Target Milestone: ---

Starting from r251321, we ICE on:

$ cat sp_valid.i
void c(char*);

void a ()
{
  char b[2719476736];
  c (b);
  c (b);
}

$ gcc -Ofast -mstackrealign -mandroid sp_valid.i -c
during RTL pass: pro_and_epilogue
sp_valid.i: In function ‘a’:
sp_valid.i:8:1: internal compiler error: in sp_valid_at, at
config/i386/i386.c:11383
 }
 ^
0xef6ddb sp_valid_at
        ../../gcc/config/i386/i386.c:11383
0xf2375d ix86_expand_epilogue(int)
        ../../gcc/config/i386/i386.c:13811
0x1156cdf gen_epilogue()
        ../../gcc/config/i386/i386.md:13155
0xf05b98 target_gen_epilogue
        ../../gcc/config/i386/i386.md:12672
0x8d1498 make_epilogue_seq
        ../../gcc/function.c:5915
0x8d15ac thread_prologue_and_epilogue_insns()
        ../../gcc/function.c:5997
0x8d1d32 rest_of_handle_thread_prologue_and_epilogue
        ../../gcc/function.c:6487
0x8d1d32 execute
        ../../gcc/function.c:6529
>From gcc-bugs-return-579771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:06:34 2017
Return-Path: <gcc-bugs-return-579771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92449 invoked by alias); 25 Oct 2017 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 92355 invoked by uid 55); 25 Oct 2017 08:06:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81706] std::sin vectorization bug
Date: Wed, 25 Oct 2017 08: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: 7.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81706-4-sqH56IFR1U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81706-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81706-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02831.txt.bz2
Content-length: 1291

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81706

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Oct 25 08:05:58 2017
New Revision: 254069

URL: https://gcc.gnu.org/viewcvs?rev=254069&root=gcc&view=rev
Log:
        PR libstdc++/81706
        * attribs.c (attribute_value_equal): Use omp_declare_simd_clauses_equal
        for comparison of OMP_CLAUSEs regardless of flag_openmp{,_simd}.
        (duplicate_one_attribute, copy_attributes_to_builtin): New functions.
        * attribs.h (duplicate_one_attribute, copy_attributes_to_builtin): New
        declarations.

        * c-decl.c (merge_decls): Copy "omp declare simd" attributes from
        newdecl to corresponding __builtin_ if any.

        * decl.c (duplicate_decls): Copy "omp declare simd" attributes from
        newdecl to corresponding __builtin_ if any.

        * gcc.target/i386/pr81706.c: New test.
        * g++.dg/ext/pr81706.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/pr81706.C
    trunk/gcc/testsuite/gcc.target/i386/pr81706.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/attribs.c
    trunk/gcc/attribs.h
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:09:22 2017
Return-Path: <gcc-bugs-return-579772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124069 invoked by alias); 25 Oct 2017 08: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 123993 invoked by uid 48); 25 Oct 2017 08:09:16 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82703] [7/8 Regression] Wrong addition of std::array components with -O2 -ftree-loop-vectorize -ftree-slp-vectorize (works fine with -O2)
Date: Wed, 25 Oct 2017 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: 7.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on component cf_known_to_work target_milestone short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-82703-4-pGRwrlIRAN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82703-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82703-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02832.txt.bz2
Content-length: 2257

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82703

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
          Component|tree-optimization           |target
      Known to work|                            |6.3.1
   Target Milestone|---                         |7.3
            Summary|Wrong addition of           |[7/8 Regression] Wrong
                   |std::array components with  |addition of std::array
                   |-O2 -ftree-loop-vectorize   |components with -O2
                   |-ftree-slp-vectorize (works |-ftree-loop-vectorize
                   |fine with -O2)              |-ftree-slp-vectorize (works
                   |                            |fine with -O2)
     Ever confirmed|0                           |1
      Known to fail|                            |7.1.0, 7.2.1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed on GCC 7 branch head.  It seems to work on trunk, so maybe a dup...
(but reduction vectorization got a rewrite).

We seem to need both loop and SLP vectorization to trigger the issue:

bug.cpp:18:24: note: loop vectorized
bug.cpp:48:5: note: basic block vectorized

interesting.

dumps show

bug.cpp:57:10: note: basic block part vectorized

bug.cpp:48 is not vectorized.

tree optimization ends up with

  <bb 2> [75.00%]:
  MEM[(struct  &)&v1] ={v} {CLOBBER};
  MEM[(double *)&v1] = { 1.0e+0, 2.0e+0 };
  MEM[(double *)&v1 + 16B] = 3.0e+0;
  res = v1;
  vect__15.65_51 = MEM[(value_type &)&res];
  vect__16.66_52 = vect__15.65_51 + { 3.0e+0, 2.0e+0 };
  MEM[(value_type &)&res] = vect__16.66_52;
  _7 = MEM[(value_type &)&res][2];
  _91 = _7 + 1.0e+0;
  MEM[(value_type &)&res][2] = _91;
  v3 = res;
  res ={v} {CLOBBER};
  compare (&v3, &vref);

which does look ok to me.

It's STV.  Adding -fdbg-cnt=stv_conversion:0 to disable STV fixes things.

Confirmed.

Not sure if really fixed on trunk or latent (don't remember STV fixes there).
>From gcc-bugs-return-579773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:12:25 2017
Return-Path: <gcc-bugs-return-579773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7115 invoked by alias); 25 Oct 2017 08:12: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 7070 invoked by uid 48); 25 Oct 2017 08:12:21 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82713] New: [8 Regression] ICE in ix86_builtin_vectorization_cost, at config/i386/i386.c:44475
Date: Wed, 25 Oct 2017 08:12: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-82713-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02833.txt.bz2
Content-length: 2087

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82713

            Bug ID: 82713
           Summary: [8 Regression] ICE in ix86_builtin_vectorization_cost,
                    at config/i386/i386.c:44475
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: hubicka at ucw dot cz
  Target Milestone: ---

Starting from r254012, we ICE on:

$ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr51000.c 
-O3 -mavx512bw -c
during GIMPLE pass: vect
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr51000.c: In function
‘foo’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/vect/pr51000.c:7:1: internal
compiler error: in ix86_builtin_vectorization_cost, at config/i386/i386.c:44475
 foo ()
 ^~~
0x1402a01 ix86_builtin_vectorization_cost
        ../../gcc/config/i386/i386.c:44475
0x125f19a builtin_vectorization_cost
        ../../gcc/tree-vectorizer.h:968
0x125f5ac record_stmt_cost(vec<stmt_info_for_cost, va_heap, vl_ptr>*, int,
vect_cost_for_stmt, _stmt_vec_info*, int, vect_cost_model_location)
        ../../gcc/tree-vect-stmts.c:112
0x12a6b0f vect_analyze_slp_cost_1
        ../../gcc/tree-vect-slp.c:1815
0x12a64c1 vect_analyze_slp_cost_1
        ../../gcc/tree-vect-slp.c:1688
0x12a64c1 vect_analyze_slp_cost_1
        ../../gcc/tree-vect-slp.c:1688
0x12a64c1 vect_analyze_slp_cost_1
        ../../gcc/tree-vect-slp.c:1688
0x12a6de5 vect_analyze_slp_cost
        ../../gcc/tree-vect-slp.c:1874
0x12a8f7b vect_slp_analyze_operations(vec_info*)
        ../../gcc/tree-vect-slp.c:2675
0x128712b vect_analyze_loop_2
        ../../gcc/tree-vect-loop.c:2034
0x12880b4 vect_analyze_loop(loop*, _loop_vec_info*)
        ../../gcc/tree-vect-loop.c:2354
0x12b177a vectorize_loops()
        ../../gcc/tree-vectorizer.c:685
0x116eed9 execute
        ../../gcc/tree-ssa-loop.c:414
>From gcc-bugs-return-579774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:13:47 2017
Return-Path: <gcc-bugs-return-579774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8561 invoked by alias); 25 Oct 2017 08:13: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 8517 invoked by uid 48); 25 Oct 2017 08:13:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82460] AVX512: choose between vpermi2d and vpermt2d to save mov instructions.  Also, fails to optimize away shifts before shuffle
Date: Wed, 25 Oct 2017 08: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: 8.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
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-82460-4-9oIDPS1HR3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82460-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82460-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02834.txt.bz2
Content-length: 511

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82460

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 #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed now.
>From gcc-bugs-return-579775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:15:18 2017
Return-Path: <gcc-bugs-return-579775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10093 invoked by alias); 25 Oct 2017 08:15: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 9851 invoked by uid 48); 25 Oct 2017 08:14:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82370] AVX512 can use a memory operand for immediate-count vpsrlw, but gcc doesn't.
Date: Wed, 25 Oct 2017 08: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.0
X-Bugzilla-Keywords: missed-optimization, ssemmx
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-82370-4-HWF9790gIm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82370-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82370-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02835.txt.bz2
Content-length: 511

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82370

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 #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed now.
>From gcc-bugs-return-579776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:16:22 2017
Return-Path: <gcc-bugs-return-579776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11921 invoked by alias); 25 Oct 2017 08:16: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 10935 invoked by uid 48); 25 Oct 2017 08:15:45 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82694] [8 regression] Linux kernel miscompiled since r250765
Date: Wed, 25 Oct 2017 08: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.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82694-4-LG7hpG44ds@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82694-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02836.txt.bz2
Content-length: 406

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82694

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
     Ever confirmed|0                           |1
>From gcc-bugs-return-579778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:27:53 2017
Return-Path: <gcc-bugs-return-579778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37167 invoked by alias); 25 Oct 2017 08: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 36710 invoked by uid 48); 25 Oct 2017 08:27:47 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82713] [8 Regression] ICE in ix86_builtin_vectorization_cost, at config/i386/i386.c:44475
Date: Wed, 25 Oct 2017 08: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: unknown
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82713-4-JvWIx4kPsr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82713-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82713-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02838.txt.bz2
Content-length: 1914

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82713

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
My bet is boolean vectors with QI/HImode.  But eventually the vectorizer uses
vector_load on sth not being a vector load as well.  Yeah...

          /* Without looking at the actual initializer a vector of
             constants can be implemented as load from the constant pool.
             ???  We need to pass down stmt_info for a vector type
             even if it points to the wrong stmt.  */
          if (dt == vect_constant_def)
            record_stmt_cost (prologue_cost_vec, 1, vector_load,
                              stmt_info, 0, vect_prologue);

so the stmt vector type is

 <vector_type 0x7ffff6695690
    type <boolean_type 0x7ffff66955e8 public QI
        size <integer_cst 0x7ffff6891dc8 constant 8>
        unit-size <integer_cst 0x7ffff6891de0 constant 1>
        align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff66955e8 precision:1 min <integer_cst 0x7ffff6a8b918 -1> max <integer_cst
0x7ffff6a8b948 0>>
    HI
    size <integer_cst 0x7ffff6891d20 type <integer_type 0x7ffff68a90a8
bitsizetype> constant 128>
    unit-size <integer_cst 0x7ffff6891d38 type <integer_type 0x7ffff68a9000
sizetype> constant 16>
    align:128 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff6695690 nunits:16>

as I said.  The stmt we're looking at is

_2 = _1 <= 10;

so for costing the proper vector type would be not the boolean vector type
but the vector type of the operand.

Cost of constant handling in SLP is a hack (somewhat).  Given we're
using the new & shiny cost interface here there's no way to stuff down
the "proper" vector type.  Not passing stmt_info down would make the
constant case work but the external case quite pointless.

As said, you can't expect the "correct" vector type to be passed down
consistently :/
>From gcc-bugs-return-579777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:27:47 2017
Return-Path: <gcc-bugs-return-579777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36601 invoked by alias); 25 Oct 2017 08:27: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 36552 invoked by uid 48); 25 Oct 2017 08:27:43 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82613] Cannot access private definitions in base clause of friend class template
Date: Wed, 25 Oct 2017 08: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
X-Bugzilla-Keywords:
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 blocked everconfirmed
Message-ID: <bug-82613-4-Be51Fv7UJK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82613-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82613-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02837.txt.bz2
Content-length: 588

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82613

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
             Blocks|                            |59002
     Ever confirmed|0                           |1


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002
[Bug 59002] [meta-bug] Access checking in templates
>From gcc-bugs-return-579779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:29:10 2017
Return-Path: <gcc-bugs-return-579779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40325 invoked by alias); 25 Oct 2017 08:29: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 39650 invoked by uid 48); 25 Oct 2017 08:28:10 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82713] [8 Regression] ICE in ix86_builtin_vectorization_cost, at config/i386/i386.c:44475
Date: Wed, 25 Oct 2017 08: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-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget bug_status cf_reconfirmed_on cc version target_milestone everconfirmed
Message-ID: <bug-82713-4-tLRmtTp4mg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82713-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82713-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02839.txt.bz2
Content-length: 656

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82713

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*, i?86-*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
                 CC|                            |rguenth at gcc dot gnu.org
            Version|unknown                     |8.0
   Target Milestone|---                         |8.0
     Ever confirmed|0                           |1
>From gcc-bugs-return-579780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:29:44 2017
Return-Path: <gcc-bugs-return-579780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41005 invoked by alias); 25 Oct 2017 08:29: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 40583 invoked by uid 48); 25 Oct 2017 08:29:12 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82712] [8 Regression] ICE in sp_valid_at, at config/i386/i386.c:11383
Date: Wed, 25 Oct 2017 08: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget version target_milestone
Message-ID: <bug-82712-4-7yTmztsyde@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82712-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82712-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02840.txt.bz2
Content-length: 416

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82712

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*, i?86-*-*
            Version|unknown                     |8.0
   Target Milestone|---                         |8.0
>From gcc-bugs-return-579781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:31:23 2017
Return-Path: <gcc-bugs-return-579781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45082 invoked by alias); 25 Oct 2017 08:30: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 43465 invoked by uid 48); 25 Oct 2017 08:30:02 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82710] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]
Date: Wed, 25 Oct 2017 08: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.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: keywords cc
Message-ID: <bug-82710-4-BO812Ckf1b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82710-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82710-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02841.txt.bz2
Content-length: 558

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82710

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |nathan at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think this warning was intentionally added.  Splitting to some other warning
option might be possible though.
>From gcc-bugs-return-579783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:41:06 2017
Return-Path: <gcc-bugs-return-579783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51993 invoked by alias); 25 Oct 2017 08: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 51904 invoked by uid 48); 25 Oct 2017 08:41:01 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78896] [C++17] Segmentation fault occurs when use variable initialized using structured binding with capture-by-ref lambda
Date: Wed, 25 Oct 2017 08: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-78896-4-3rsRJE7c7W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78896-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78896-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02843.txt.bz2
Content-length: 453

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78896

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucdanton at free dot fr

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 78591 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:41:06 2017
Return-Path: <gcc-bugs-return-579782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51984 invoked by alias); 25 Oct 2017 08: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 51884 invoked by uid 48); 25 Oct 2017 08:41:00 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78591] [c++1z] ICE when using decomposition identifier from closure object
Date: Wed, 25 Oct 2017 08: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: 7.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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-78591-4-LariTKp6eA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78591-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02842.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78591

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Dup.

*** This bug has been marked as a duplicate of bug 78896 ***
>From gcc-bugs-return-579784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 08:47:50 2017
Return-Path: <gcc-bugs-return-579784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91759 invoked by alias); 25 Oct 2017 08:47: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 91688 invoked by uid 48); 25 Oct 2017 08:47:46 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82713] [8 Regression] ICE in ix86_builtin_vectorization_cost, at config/i386/i386.c:44475
Date: Wed, 25 Oct 2017 08: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: 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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82713-4-Z2xq2Visyl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82713-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82713-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02844.txt.bz2
Content-length: 463

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82713

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
non-SLP manages to get by using scalar_to_vec given it only handles the case of
all constants/externals being the same value.  As said the costing
infrastructure
inside the vectorizer itself is somewhat limiting.

I suggest you work around in the backend for now, I'll take this "bug" as an
excuse to work on the cost model during stage3.
>From gcc-bugs-return-579785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:00:04 2017
Return-Path: <gcc-bugs-return-579785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123813 invoked by alias); 25 Oct 2017 09: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 120887 invoked by uid 48); 25 Oct 2017 08:59:57 -0000
From: "carsten.fuchs at cafu dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82714] New: internal compiler error: in vect_transform_stmt
Date: Wed, 25 Oct 2017 09: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carsten.fuchs at cafu 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-82714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02845.txt.bz2
Content-length: 2932

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82714

            Bug ID: 82714
           Summary: internal compiler error: in vect_transform_stmt
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: carsten.fuchs at cafu dot de
  Target Milestone: ---

Created attachment 42467
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42467&action=edit
preprocessed file, generated by adding -save-temps

Hello,

with the attached code, I get the following output:

carsten@black-steel-ubuntu:~/Cafu$ 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.2.0-8ubuntu3'
--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.2.0 (Ubuntu 7.2.0-8ubuntu3) 

(scons) carsten@black-steel-ubuntu:~/Cafu$ gcc -save-temps -o
ExtLibs/openal-soft/build/linux/g++/release/Alc/ALu.o -c -O3
-fno-strict-aliasing -fpic -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT
-DAL_BUILD_LIBRARY -IExtLibs/openal-soft/build/linux/g++/release
-IExtLibs/openal-soft -IExtLibs/openal-soft/build/linux/g++/release/include
-IExtLibs/openal-soft/include
-IExtLibs/openal-soft/build/linux/g++/release/OpenAL32/Include
-IExtLibs/openal-soft/OpenAL32/Include ExtLibs/openal-soft/Alc/ALu.c
ExtLibs/openal-soft/Alc/ALu.c: In function ‘aluMixData’:
ExtLibs/openal-soft/Alc/ALu.c:1178:8: internal compiler error: in
vect_transform_stmt, at tree-vect-stmts.c:8698
 ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
        ^~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
>From gcc-bugs-return-579786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:01:14 2017
Return-Path: <gcc-bugs-return-579786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72603 invoked by alias); 25 Oct 2017 09: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 64709 invoked by uid 48); 25 Oct 2017 09:01:10 -0000
From: "carsten.fuchs at cafu dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82714] internal compiler error: in vect_transform_stmt
Date: Wed, 25 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: carsten.fuchs at cafu 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-82714-4-Ily01o8mug@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02846.txt.bz2
Content-length: 239

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82714

--- Comment #1 from Carsten Fuchs <carsten.fuchs at cafu dot de> ---
Created attachment 42468
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42468&action=edit
related .s file
>From gcc-bugs-return-579787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:04:41 2017
Return-Path: <gcc-bugs-return-579787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29082 invoked by alias); 25 Oct 2017 09:04: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 20187 invoked by uid 55); 25 Oct 2017 09:04:35 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Wed, 25 Oct 2017 09: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82062-4-l04NhNpgSQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02847.txt.bz2
Content-length: 2498

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

--- Comment #8 from rguenther at suse dot de <rguenther at suse dot de> ---
On Wed, 25 Oct 2017, ebotcazou at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062
> 
> --- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> But in fact we probably just need:
> 
> Index: fold-const.c
> ===================================================================
> --- fold-const.c        (revision 254037)
> +++ fold-const.c        (working copy)
> @@ -3366,7 +3366,8 @@ operand_equal_p (const_tree arg0, const_
>  #undef OP_SAME_WITH_NULL
>  }
> 
> 
> -/* Similar to operand_equal_p, but strip nops first.  */
> +/* Similar to operand_equal_p, but see if ARG1 might be a variant of ARG0
> +   with a different signedness or a simple conversion.  */
> 
>  static bool
>  operand_equal_for_comparison_p (tree arg0, tree arg1)
> @@ -3378,12 +3379,15 @@ operand_equal_for_comparison_p (tree arg
>        || ! INTEGRAL_TYPE_P (TREE_TYPE (arg1)))
>      return false;
> 
> -  /* Discard any conversions that don't change the modes of ARG0 and ARG1
> -     and see if the inner values are the same.  This removes any
> -     signedness comparison, which doesn't matter here.  */
> -  STRIP_NOPS (arg0);
> -  STRIP_NOPS (arg1);
> -  if (operand_equal_p (arg0, arg1, 0))
> +  tree op0 = arg0;
> +  tree op1 = arg1;
> +  STRIP_NOPS (op0);
> +  STRIP_NOPS (op1);
> +  if (operand_equal_p (op0, op1, 0))
> +    return true;
> +
> +  if (TREE_CODE (arg1) == NOP_EXPR
> +      && operand_equal_p (arg0, TREE_OPERAND (arg1, 0), 0))
>      return true;

I would really like to see fold_cond_expr_with_comparison
to be re-written into match.pd rules.  Esp. due to
operand_equal_for_comparison_p its correctness is far from
obvious...

There are two things to it, stripping sign-nops from the comparison
operand (careful!) and stripping arbitrary nops from the result
to look for an argument equal to the comparison operand.

I guess a canonicalization transform

 X CMP Y ? (T') X : Z

to

 (T') (X CMP Y ? X : (T'')Z)

is what it implicitely wants to do but given the stripping of
sign-nops from the comparison operand it's not obvious it
does this.

Maybe refactor operand_equal_for_comparison_p into sth
that does not strip arg0 at all but leave that to the caller.
>From gcc-bugs-return-579788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:11:44 2017
Return-Path: <gcc-bugs-return-579788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96148 invoked by alias); 25 Oct 2017 09: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 92174 invoked by uid 48); 25 Oct 2017 09:11:39 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82707] ICE in verify_gimple_in_cfg at tree-cfg.c:5395
Date: Wed, 25 Oct 2017 09: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: 8.0
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82707-4-oENjBnOr5w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82707-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82707-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02848.txt.bz2
Content-length: 462

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82707

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Mentioned here ( https://gcc.gnu.org/ml/gcc-testresults/2017-10/msg01907.html )
for r253982, Intel64 -fpic -mcmodel=medium -mcmodel=large.

Mentioned here ( https://gcc.gnu.org/ml/gcc-testresults/2017-10/msg01997.html )
for r253997, ia32 -fpic.

I can't reproduce though at r253997. Can somebody post a configure line and
command line?
>From gcc-bugs-return-579789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:14:58 2017
Return-Path: <gcc-bugs-return-579789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81292 invoked by alias); 25 Oct 2017 09: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 79487 invoked by uid 48); 25 Oct 2017 09:14:54 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82714] internal compiler error: in vect_transform_stmt
Date: Wed, 25 Oct 2017 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.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: cc component
Message-ID: <bug-82714-4-MW2B7s2Usb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02849.txt.bz2
Content-length: 644

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82714

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mliska at suse dot cz
          Component|c++                         |tree-optimization

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed with GCC 7.2.0, can't reproduce on the branch head so it seems to be
fixed already.  Not sure which fix is responsible (to see wheter it's just gone
latent).

Martin, can you bisect?
>From gcc-bugs-return-579790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:23:50 2017
Return-Path: <gcc-bugs-return-579790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40195 invoked by alias); 25 Oct 2017 09:23: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 38704 invoked by uid 48); 25 Oct 2017 09:23:44 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82714] [7 Regression] ICE in vect_transform_stmt
Date: Wed, 25 Oct 2017 09: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: 7.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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work target_milestone short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-82714-4-NZw7uX9bl7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02850.txt.bz2
Content-length: 1004

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82714

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
                 CC|                            |marxin at gcc dot gnu.org
      Known to work|                            |8.0
   Target Milestone|---                         |7.3
            Summary|internal compiler error: in |[7 Regression] ICE in
                   |vect_transform_stmt         |vect_transform_stmt
     Ever confirmed|0                           |1
      Known to fail|                            |7.2.0

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk by r247123. I see some 'error: unknown type name ‘_Float128’'
for versions older than 7. Let me reduce the test-case.
>From gcc-bugs-return-579791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:31:45 2017
Return-Path: <gcc-bugs-return-579791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43947 invoked by alias); 25 Oct 2017 09:31: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 43829 invoked by uid 48); 25 Oct 2017 09:31:41 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82714] [7 Regression] ICE in vect_transform_stmt
Date: Wed, 25 Oct 2017 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: 7.2.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cc cf_known_to_work
Message-ID: <bug-82714-4-CSoicapnhI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02851.txt.bz2
Content-length: 618

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82714

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |glisse at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
      Known to work|                            |6.4.0

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Started on trunk with r245968.
>From gcc-bugs-return-579792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:34:06 2017
Return-Path: <gcc-bugs-return-579792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90699 invoked by alias); 25 Oct 2017 09: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 86272 invoked by uid 48); 25 Oct 2017 09:34:02 -0000
From: "npl at chello dot at" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/82715] New: support setting default for -pipe as configure option
Date: Wed, 25 Oct 2017 09:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: npl at chello dot at
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-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-82715-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02852.txt.bz2
Content-length: 910

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82715

            Bug ID: 82715
           Summary: support setting default for -pipe as configure option
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: npl at chello dot at
  Target Milestone: ---

Hello,

I would like to be able to compile gcc with "-pipe" enabled by default.

The advantages would be no trashing of the /tmp filesystem (and potentially a
HDD behind it), no leftovers if gcc gets terminated, and potentially some
performance benefit.

AFAIK, the argument handling should be smart enough if -pipe should be dropped.
Even if not, most of the times -pipe gives benefits and should be preferable.
Some negative '-no-pipe' argument could override the default.
>From gcc-bugs-return-579793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:35:07 2017
Return-Path: <gcc-bugs-return-579793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35090 invoked by alias); 25 Oct 2017 09:35: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 34986 invoked by uid 48); 25 Oct 2017 09:35:03 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6
Date: Wed, 25 Oct 2017 09:35: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla 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-82702-4-kDbGnjrZrE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02853.txt.bz2
Content-length: 301

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702

--- Comment #3 from Marco Castelluccio <mcastelluccio at mozilla dot com> ---
See also this comment:
https://github.com/gcc-mirror/gcc/blob/3c311329bd71ab4589fced78baf30187e50b6d3f/gcc/gcov.c#L865.

This used to be true, but it's not anymore.
>From gcc-bugs-return-579794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:38:32 2017
Return-Path: <gcc-bugs-return-579794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46863 invoked by alias); 25 Oct 2017 09: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 46811 invoked by uid 48); 25 Oct 2017 09: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/82714] [7 Regression] ICE in vect_transform_stmt
Date: Wed, 25 Oct 2017 09: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: 7.2.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82714-4-WCnTDnm9U5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02854.txt.bz2
Content-length: 932

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82714

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:

$ cat pr82714.c
enum
{
  a, b, c, d,  e,  f,  g,  h,  j,  k
};

int l;
void m (int *s)
{
  short n, o, p;
  float(*q)[k];
  int r, i;
  while (l > 0)
    r = l;
  for (;;)
    {
      i = 0;
      for (; i < r; i++)
        {
          {
            float ab = q[i][a];
            int i = ab;
            p = i;
          }
          ((short *) s)[0] = p;
          {
            float ab = q[i][b];
            int i = ab;
            o = i;
          }
          ((short *) s)[1] = o;
          {
            float ab = q[i][f];
            int i = ab;
            n = i;
          }
          ((short *) s)[2] = n;
          float ab = q[i][g];
          int i = ab;
          ((short *) s)[3] = i;
          s = (short *) s + 4;
        }
    }
}
>From gcc-bugs-return-579795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:41:40 2017
Return-Path: <gcc-bugs-return-579795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51471 invoked by alias); 25 Oct 2017 09:41: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 51438 invoked by uid 48); 25 Oct 2017 09:41:36 -0000
From: "mcastelluccio at mozilla dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6
Date: Wed, 25 Oct 2017 09:41: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mcastelluccio at mozilla 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-82702-4-IhAEh5S8wG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02855.txt.bz2
Content-length: 447

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702

--- Comment #4 from Marco Castelluccio <mcastelluccio at mozilla dot com> ---
I suppose this is a regression caused by
https://github.com/gcc-mirror/gcc/commit/41da7513d5aaaff3a5651b40edeccc1e32ea785a.

Is it intentional?

Note that generating multiple files makes parsing slower, as lcov (or similar
tools) will need to 1) list the files generated; 2) open and parse them one by
one.
>From gcc-bugs-return-579796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:47:27 2017
Return-Path: <gcc-bugs-return-579796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99393 invoked by alias); 25 Oct 2017 09: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 99327 invoked by uid 48); 25 Oct 2017 09:47:24 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82700] ICE in printf-return-value with -fexec-charsetëCDIC-US: converting to execution character set: Invalid or incomplete multibyte or wide character
Date: Wed, 25 Oct 2017 09: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.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-82700-4-bA9cES8f6t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82700-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82700-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02856.txt.bz2
Content-length: 481

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82700

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-579797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:49:11 2017
Return-Path: <gcc-bugs-return-579797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1210 invoked by alias); 25 Oct 2017 09:49:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 1156 invoked by uid 48); 25 Oct 2017 09:49:07 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82714] [7 Regression] ICE in vect_transform_stmt
Date: Wed, 25 Oct 2017 09: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: 7.2.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82714-4-8BuJPj8IiH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02857.txt.bz2
Content-length: 154

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82714

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on 7-branch by r253931.
>From gcc-bugs-return-579798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:50:22 2017
Return-Path: <gcc-bugs-return-579798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19780 invoked by alias); 25 Oct 2017 09:50: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 17817 invoked by uid 48); 25 Oct 2017 09:50:18 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6
Date: Wed, 25 Oct 2017 09: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: 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 assigned_to everconfirmed
Message-ID: <bug-82702-4-UzjtqFFFpi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02858.txt.bz2
Content-length: 586

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-25
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Let me take a look.
>From gcc-bugs-return-579800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:54:17 2017
Return-Path: <gcc-bugs-return-579800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77039 invoked by alias); 25 Oct 2017 09: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 76966 invoked by uid 48); 25 Oct 2017 09:54:13 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82436] [7 Regression] 465.tonto ICE in vect_get_slp_vect_defs, at tree-vect-slp.c:3410
Date: Wed, 25 Oct 2017 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: 8.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-82436-4-bbPpO2QyU0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82436-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82436-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02860.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82436

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carsten.fuchs at cafu dot de

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 82714 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-579799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:54:17 2017
Return-Path: <gcc-bugs-return-579799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77023 invoked by alias); 25 Oct 2017 09: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 76934 invoked by uid 48); 25 Oct 2017 09:54:12 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82714] [7 Regression] ICE in vect_transform_stmt
Date: Wed, 25 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-82714-4-Ia8EcVDYE0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02859.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82714

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Indeed a dup.

*** This bug has been marked as a duplicate of bug 82436 ***
>From gcc-bugs-return-579801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:55:57 2017
Return-Path: <gcc-bugs-return-579801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89456 invoked by alias); 25 Oct 2017 09: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 89399 invoked by uid 55); 25 Oct 2017 09:55:54 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71820] ICE on valid C++ code: in arg_assoc_type, at cp/name-lookup.c:5583
Date: Wed, 25 Oct 2017 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: 7.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71820-4-7kGK2oE5LF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71820-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71820-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02861.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71820

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Oct 25 09:55:21 2017
New Revision: 254072

URL: https://gcc.gnu.org/viewcvs?rev=254072&root=gcc&view=rev
Log:
2017-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/71820
        * g++.dg/ext/typeof12.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/ext/typeof12.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 09:58:13 2017
Return-Path: <gcc-bugs-return-579802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91234 invoked by alias); 25 Oct 2017 09:58: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 91153 invoked by uid 48); 25 Oct 2017 09:58:09 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71820] ICE on valid C++ code: in arg_assoc_type, at cp/name-lookup.c:5583
Date: Wed, 25 Oct 2017 09: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: 7.0
X-Bugzilla-Keywords: ice-on-valid-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: 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-71820-4-mti00Rb0Nu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71820-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71820-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02862.txt.bz2
Content-length: 623

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71820

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> ---
In trunk we don't ICE anymore. Otherwise this kind of snippet gives a fatal
error since the resolution as WONTFIX of PR11756, back in 2007.
>From gcc-bugs-return-579803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:00:29 2017
Return-Path: <gcc-bugs-return-579803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120345 invoked by alias); 25 Oct 2017 10:00: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 120242 invoked by uid 55); 25 Oct 2017 10:00:24 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82436] [7 Regression] 465.tonto ICE in vect_get_slp_vect_defs, at tree-vect-slp.c:3410
Date: Wed, 25 Oct 2017 10: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: 8.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: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82436-4-lWWfhohYUz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82436-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82436-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02863.txt.bz2
Content-length: 504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82436

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Oct 25 09:59:39 2017
New Revision: 254073

URL: https://gcc.gnu.org/viewcvs?rev=254073&root=gcc&view=rev
Log:
2017-10-25  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82436
        * gcc.dg/torture/pr82436-2.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr82436-2.c
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-579804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:07:42 2017
Return-Path: <gcc-bugs-return-579804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23638 invoked by alias); 25 Oct 2017 10: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 23573 invoked by uid 48); 25 Oct 2017 10:07:34 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Wed, 25 Oct 2017 10: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82062-4-UbfucuuDmP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02864.txt.bz2
Content-length: 1158

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> There are two things to it, stripping sign-nops from the comparison
> operand (careful!) and stripping arbitrary nops from the result
> to look for an argument equal to the comparison operand.

My change doesn't add any stripping, it only does:

  if (TREE_CODE (arg1) == NOP_EXPR
      && operand_equal_p (arg0, TREE_OPERAND (arg1, 0), 0))
    return true;

on the unstripped operands, i.e. it only adds back a simplified version of the
second test removed by Marek's change; it's independent of the first test.

> Maybe refactor operand_equal_for_comparison_p into sth
> that does not strip arg0 at all but leave that to the caller.

The caller doesn't really want to strip arg0 either:

  /* Strip any conversions that don't change the mode.  This is safe
     for every expression, except for a comparison expression because
     its signedness is derived from its operands.  So, in the latter
     case, only strip conversions that don't change the signedness.

In fact it doesn't strip it at all, which is probably good.
>From gcc-bugs-return-579806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:08:50 2017
Return-Path: <gcc-bugs-return-579806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24884 invoked by alias); 25 Oct 2017 10:08: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 24784 invoked by uid 48); 25 Oct 2017 10:08:46 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/24222] [meta-bug] The gimplifier shouldn't emit warnings or errors
Date: Wed, 25 Oct 2017 10:08: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: unknown
X-Bugzilla-Keywords: meta-bug
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: bug_status resolution
Message-ID: <bug-24222-4-Yrqb5j0ACL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-24222-4@http.gcc.gnu.org/bugzilla/>
References: <bug-24222-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02866.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24222
Bug 24222 depends on bug 26750, which changed state.

Bug 26750 Summary: invalid inline asm sematics are caught too late
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26750

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID
>From gcc-bugs-return-579805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:08:49 2017
Return-Path: <gcc-bugs-return-579805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24871 invoked by alias); 25 Oct 2017 10:08: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 24768 invoked by uid 48); 25 Oct 2017 10:08:46 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/26750] invalid inline asm sematics are caught too late
Date: Wed, 25 Oct 2017 10:08: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.2.0
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: bug_status resolution
Message-ID: <bug-26750-4-8PZmbsGCMJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-26750-4@http.gcc.gnu.org/bugzilla/>
References: <bug-26750-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02865.txt.bz2
Content-length: 627

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26750

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> Are there test cases that trigger these errors?

Closing due to lack of test case, and since there's been no response after
being in WAITING for 3 months.
>From gcc-bugs-return-579807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:14:07 2017
Return-Path: <gcc-bugs-return-579807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29252 invoked by alias); 25 Oct 2017 10:14:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29213 invoked by uid 48); 25 Oct 2017 10:14:02 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/57069] cc1plus killed on FreeBSD leading to cmake compilation error
Date: Wed, 25 Oct 2017 10:14: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.2.1
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-57069-4-cqaylFSUhx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57069-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57069-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02867.txt.bz2
Content-length: 636

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57069

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-25
     Ever confirmed|0                           |1

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #1)
> Does FreeBSD have an OOM killer like Linux?

Changing status to WAITING until reporter answers this question.
>From gcc-bugs-return-579808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:15:38 2017
Return-Path: <gcc-bugs-return-579808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30943 invoked by alias); 25 Oct 2017 10: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 30865 invoked by uid 55); 25 Oct 2017 10:15:33 -0000
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82707] ICE in verify_gimple_in_cfg at tree-cfg.c:5395
Date: Wed, 25 Oct 2017 10: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:
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82707-4-HifhmVhUi1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82707-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82707-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02868.txt.bz2
Content-length: 532

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82707

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
[...]
> I can't reproduce though at r253997. Can somebody post a configure line and
> command line?

I'm seeing it on i386-pc-solaris2.11 (no special configure options
except for --with-isl-{include,lib}) and

cc1plus -fpreprocessed declare-1.ii -quiet -march=i486 -O2 -fopenacc -o
declare-1.s

        Rainer
>From gcc-bugs-return-579810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:40:27 2017
Return-Path: <gcc-bugs-return-579810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28485 invoked by alias); 25 Oct 2017 10: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 26967 invoked by uid 48); 25 Oct 2017 10:40:22 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc
Date: Wed, 25 Oct 2017 10:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords: documentation
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-82686-4-wd4bGRrCXO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02870.txt.bz2
Content-length: 1044

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Dennis Clarke from comment #6)
> Actually first thing I did was remove a few options from configure stage
> such that I could at least get past this small bump in the road : 
> 
>     --enable-multiarch and --enable-multilib removed. 
> 
> 
> Configure went fine and the bootstrap went past the previous gc bump and then

Which confirms you needed the 32-bit gc packages.

> crashed into some sort of an ada problem, again, in stage 3 : 
...
> gmake[1]: Leaving directory
> '/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.004'
> gmake: *** [Makefile:941: all] Error 2
> Command exited with non-zero status 2

You didn't show the error. Make telling you an error happened is not the error.

> sorted out after I see at least a single arch complete, once.

I don't know if it's relevant that these test results don't include ada:

https://gcc.gnu.org/ml/gcc-testresults/2017-10/msg02058.html
>From gcc-bugs-return-579809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:40:01 2017
Return-Path: <gcc-bugs-return-579809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22672 invoked by alias); 25 Oct 2017 10: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 22559 invoked by uid 55); 25 Oct 2017 10:39:57 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Wed, 25 Oct 2017 10: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82062-4-0t3NYlXuzo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02869.txt.bz2
Content-length: 1256

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

--- Comment #10 from rguenther at suse dot de <rguenther at suse dot de> ---
On Wed, 25 Oct 2017, ebotcazou at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062
> 
> --- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> > There are two things to it, stripping sign-nops from the comparison
> > operand (careful!) and stripping arbitrary nops from the result
> > to look for an argument equal to the comparison operand.
> 
> My change doesn't add any stripping, it only does:
> 
>   if (TREE_CODE (arg1) == NOP_EXPR
>       && operand_equal_p (arg0, TREE_OPERAND (arg1, 0), 0))
>     return true;
> 
> on the unstripped operands, i.e. it only adds back a simplified version of the
> second test removed by Marek's change; it's independent of the first test.

Simplified but not equal - you are also stripping a possible truncation.
I think the original code only ever stripped widening conversions.

It also had some additional constraints on the stripping looking
at the other comparison operand (for some weird reason...).

I guess I'm ok with your proposed change if you restrict it to
widening conversions (and use CONVERT_EXPR_P (arg1)).
>From gcc-bugs-return-579811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:45:28 2017
Return-Path: <gcc-bugs-return-579811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34839 invoked by alias); 25 Oct 2017 10:45: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 34717 invoked by uid 48); 25 Oct 2017 10:45:23 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Wed, 25 Oct 2017 10: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-pIPknbvU6r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02871.txt.bz2
Content-length: 373

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #12 from Segher Boessenkool <segher at gcc dot gnu.org> ---
But why only do this for FLOAT_MODE_P?  Either the logic here isn't
correct, or cc_modes_compatible isn't the correct hook (we'll need
a new hook then?), or determining ordered/unordered by CC mode does
not work (does not fit into how RTL works).
>From gcc-bugs-return-579812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:49:30 2017
Return-Path: <gcc-bugs-return-579812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42475 invoked by alias); 25 Oct 2017 10:49: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 42426 invoked by uid 48); 25 Oct 2017 10:49:26 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82711] -Wignored-qualifiers could be moved into -Wextra
Date: Wed, 25 Oct 2017 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: 8.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-82711-4-86lwp2SfMR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82711-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02872.txt.bz2
Content-length: 1019

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82711

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'd argue it doesn't help readability at all if it makes the code appear to do
one thing but it actually does something different.

The warning has always been in -Wall for ignored qualifiers on return types,
and nobody complained, so we don't want to change that. Maybe I should have
added a separate option for ignoring qualifiers in casts. Intel ICC warns about
return types in -Wall but needs -Wextra for the warning about the cast here:

const int f(long i)
{
  return static_cast<const int>(i);
}


1 : <source>(1): warning #858: type qualifier on return type is meaningless
  const int f(long i)
  ^
3 : <source>(3): warning #191: type qualifier is meaningless on cast type
    return static_cast<const int>(i);
                       ^
Compiler exited with result code 0


Alternatively, maybe the world's C++ code just needs to get fixed to stop
writing things that have no meaning :-)
>From gcc-bugs-return-579813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:55:36 2017
Return-Path: <gcc-bugs-return-579813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2079 invoked by alias); 25 Oct 2017 10:55: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 2048 invoked by uid 48); 25 Oct 2017 10:55:31 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82647] std::tuple_size_v is missing from <array> and <utility>
Date: Wed, 25 Oct 2017 10: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: 7.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-82647-4-qaamJH8vOn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82647-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82647-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02873.txt.bz2
Content-length: 534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82647

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
FWIW libc++ only accepts this code because <array> includes the whole of
<algorithm> which includes <memory> which includes <tuple>. So libc++ also
accepts:

#include <array>

int
main()
{
    std::tuple<int, int> t;
    std::shared_ptr<int> s;
}

And clearly that isn't valid. Libstdc++ headers try to be more careful about
transitive includes, so to use a library feature you need to include the right
header.
>From gcc-bugs-return-579814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 10:59:41 2017
Return-Path: <gcc-bugs-return-579814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15877 invoked by alias); 25 Oct 2017 10: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 13270 invoked by uid 48); 25 Oct 2017 10:59:38 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81862] [C++11][constexpr] Constructor Parenthesized Initialization of Member Array Crash
Date: Wed, 25 Oct 2017 10: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.0.1
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on blocked everconfirmed
Message-ID: <bug-81862-4-xnEnEpuIW3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81862-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81862-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02874.txt.bz2
Content-length: 576

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81862

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
             Blocks|                            |55004
     Ever confirmed|0                           |1


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
[Bug 55004] [meta-bug] constexpr issues
>From gcc-bugs-return-579815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:14:05 2017
Return-Path: <gcc-bugs-return-579815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74562 invoked by alias); 25 Oct 2017 11:14: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 74470 invoked by uid 48); 25 Oct 2017 11:14:00 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/14741] graphite with loop blocking and interchanging doesn't optimize a matrix multiplication loop
Date: Wed, 25 Oct 2017 11: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: tree-ssa
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: 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-14741-4-0VAFUdRB5D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-14741-4@http.gcc.gnu.org/bugzilla/>
References: <bug-14741-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02875.txt.bz2
Content-length: 265

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14741

--- Comment #39 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Clang has this implemented via polyhedral optimization,
see https://polly.llvm.org/ (news from September 2017).

Can gcc do something similar?
>From gcc-bugs-return-579816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:15:05 2017
Return-Path: <gcc-bugs-return-579816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75702 invoked by alias); 25 Oct 2017 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 75571 invoked by uid 48); 25 Oct 2017 11:15:00 -0000
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82710] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]
Date: Wed, 25 Oct 2017 11: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nathan at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan 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-82710-4-bFoaHSuiC4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82710-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82710-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02876.txt.bz2
Content-length: 700

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82710

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-25
           Assignee|unassigned at gcc dot gnu.org      |nathan at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Richard is correct, and I picked the existing Wparenthesis warning to enable
it.  However, I think this is a false positive as Andi states.
>From gcc-bugs-return-579817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:15:36 2017
Return-Path: <gcc-bugs-return-579817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76681 invoked by alias); 25 Oct 2017 11: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 76581 invoked by uid 48); 25 Oct 2017 11:15:31 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82471] Reorder loop for unfavorable index ordering in DO  CONCURRENT and FORALL
Date: Wed, 25 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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 dependson assigned_to
Message-ID: <bug-82471-4-poqKXSb5bz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82471-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02877.txt.bz2
Content-length: 1040

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82471

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         Depends on|                            |14741
           Assignee|unassigned at gcc dot gnu.org      |tkoenig at gcc dot gnu.org

--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I'm trying something.

More generally, I think I should try for some very simple
loop interchange so that we at least get the simple
case of matrix multiplication right. PR 14741 has been around
for 13 years, and I see no indication that it is going to be
fixed the "right" way, via the middle end, so we might as well
do something in the Fortran front end.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14741
[Bug 14741] graphite with loop blocking and interchanging doesn't optimize a
matrix multiplication loop
>From gcc-bugs-return-579818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:18:15 2017
Return-Path: <gcc-bugs-return-579818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84305 invoked by alias); 25 Oct 2017 11:18: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 84209 invoked by uid 48); 25 Oct 2017 11:18:11 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 25 Oct 2017 11: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: 7.2.0
X-Bugzilla-Keywords: build, patch
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-81797-4-DZlQghYbZC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02878.txt.bz2
Content-length: 576

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #33 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #28)
> Generally, I don't understand why we are linking sources in the build
> directory instead of passing -I flags pointing directly to the source
> directory.

I think it's because the directory structures and relative layout of files are
different. The build dir contains symlinks to assemble the right set of files
from various different dirs, like include/std and config/locale etc. into a
single location.
>From gcc-bugs-return-579819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:36:25 2017
Return-Path: <gcc-bugs-return-579819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115849 invoked by alias); 25 Oct 2017 11:36: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 115763 invoked by uid 48); 25 Oct 2017 11:36:19 -0000
From: "mtewoodbury at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers
Date: Wed, 25 Oct 2017 11:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mtewoodbury 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-58687-4-jG9jo6NOYS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02879.txt.bz2
Content-length: 2139

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687

--- Comment #29 from Max TenEyck Woodbury <mtewoodbury at gmail dot com> ---
While #line is indeed most commonly used by code generators, it can be used in
other contexts.  The most common other use is to remove sensitive and useless
file name components from the file specification.  Since there are bad actors
who might be able to abuse that sensitive information, that use is becoming
more critical.  While it is possible to hide that information without using
#line __LINE__, doing so introduces potential code maintenance issues. 

If you look at the old programming literature, you can find places where the
use of #line __LINE__ is assumed to not change subsequent line numbers.  I
think allowing #line __LINE__ to change subsequent line numbers makes this
construction unusable for normal purposes.  If #line __LINE__ preserves
subsequent line numbering, I find it is much easier to write safe portable
code.  If you look at the question from a portability point of view, the
natural choice is to have #line __LINE__ leave subsequent line numbers
unchanged.

When I said 'not robust' I meant that it was fairly easy to frustrate the check
as implemented.  This might be considered a good thing if you want the
alternate behavior; you can still get the alternate behavior by hiding the use
of __LINE__ behind another macro, but then you would be back in the unspecified
behavior realm.  While it is possible to change the implementation to detect
hidden __LINE__ references, I found that that requires adding a communication
path between the macro.c module and the directives.c module.  I played around
and found that to be unnecessarily complicated.  It is almost always better to
leave the coder a choice of behaviors, so being able to hide the use of
__LINE__ if the user wants to should be considered a 'good thing'.

Joseph: Do you know of any existing cases where this change would cause user's
problems?  The existing behavior has caused me enough trouble that I now use a
patched version of GCC in place of any of the usual binary distributions.
>From gcc-bugs-return-579820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:40:15 2017
Return-Path: <gcc-bugs-return-579820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122099 invoked by alias); 25 Oct 2017 11: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 122039 invoked by uid 48); 25 Oct 2017 11:40:11 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 25 Oct 2017 11:40: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.2.0
X-Bugzilla-Keywords: build, patch
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-81797-4-h9ploFRd5r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02880.txt.bz2
Content-length: 1650

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #34 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jack Howarth from comment #15)
> Maybe I'm just thick, but from the generated
> x86_64-apple-darwin17.0.0/libstdc++-v3/include/Makefile, it is entirely
> unclear to me how the stamp mechanism and the current install-headers
> insures that install-headers has completed in its entirety.  

The install-headers target is for installing them in DESTDIR. Unless I'm
miusunderstanding, the problem happens earlier, while building libstdc++, not
when installing anything.

> The way I read the current Makefile is that it is merely checking for the
> existence of the include subdirectories having been installed and not that
> that they have been completely populated. Looks like a broken implementation
> of stamps to me.

The stamp file is created after populating the directory with symlinks:

stamp-bits: ${bits_headers}
        @-mkdir -p ${bits_builddir}
        @-cd ${bits_builddir} && $(LN_S) $? . 2>/dev/null
        @$(STAMP) stamp-bits

Creating the PCH depends on all the stamp files:

# Build two precompiled C++ includes, stdc++.h.gch/*.gch
${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
        -mkdir -p ${pch1_output_builddir}
        $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g -std=gnu++0x ${pch1_source} \
        -o $@

So all the files in ${allstamped} will have been created, which means all the
symlinks will be present (assuming no errors from the $(LN_S) command, which
may not be a safe assumption).

I don't see an obvious problem with the stamp files.
>From gcc-bugs-return-579821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:44:20 2017
Return-Path: <gcc-bugs-return-579821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128563 invoked by alias); 25 Oct 2017 11:44: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 128519 invoked by uid 48); 25 Oct 2017 11:44:15 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6
Date: Wed, 25 Oct 2017 11:44: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: 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-82702-4-FpPNJ7DtjW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02881.txt.bz2
Content-length: 1602

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Marco is right that it started with the mentioned revision. But let me start in
more general context:

Consider virtual.cpp file that includes some standard header files.
In that case gcov tool can be invoked with arbitrary file extension, because
the file name is only used to find a proper gc{da,no} file:

$ gcov virtual.abcdef
File 'virtual.cpp'
Lines executed:100.00% of 9
Creating 'virtual.cpp.gcov'

File '/home/marxin/bin/gcc2/include/c++/7.2.1/iostream'
Lines executed:100.00% of 1
Creating 'iostream.gcov'

Even if you rename virtual.gcno and virtual.gcda to x.gcno (x.gcda
respectively):

$ gcov x.gcda
File 'virtual.cpp'
Lines executed:100.00% of 9
Creating 'virtual.cpp.gcov'

File '/home/marxin/bin/gcc2/include/c++/7.2.1/iostream'
Lines executed:100.00% of 1
Creating 'iostream.gcov'

Because each gcno file contains locations for all function, it has exactly one
source file and multiple header files. Here we come to intermediate format. I
would prefer to generate same sets of .gcov files for both normal and
intermediate format. I consider it more stable.

In your use case, I would suggest to support -l (--long-names) in intermediate
format and use the path for content of intermediate file:

file:/home/marxin/bin/gcc2/include/c++/7.2.1/iostream.gcov

Doing so, one can concatenate all *.gcov files and use it for tools like lcov.
I know it's behavior change, but can help if you have problem with number of
files that need to be filled to lcov?
>From gcc-bugs-return-579822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:57:20 2017
Return-Path: <gcc-bugs-return-579822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35944 invoked by alias); 25 Oct 2017 11:57: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 35885 invoked by uid 48); 25 Oct 2017 11:57:16 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 25 Oct 2017 11: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: 7.2.0
X-Bugzilla-Keywords: build, patch
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-81797-4-S3i9fqXNwF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02882.txt.bz2
Content-length: 1894

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #35 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #34)
> So all the files in ${allstamped} will have been created, which means all
> the symlinks will be present (assuming no errors from the $(LN_S) command,
> which may not be a safe assumption).

On this point, when FX removed the 2>/dev/null redirection there were no errors
shown, and several people have confirmed that when the error happens the
symlink *does* exist.

What I haven't seen any confirmation of is whether the symlink actually points
to the right file:

(In reply to Misty De Meo from comment #3)
> /private/tmp/gcc-20170815-16334-85805x/gcc-7.2.0/build/x86_64-apple-darwin17.
> 0.0/libstdc++-v3/include/istream:38:10: fatal error: ios: No such file or
> directory
>  #include <ios>
>           ^~~~~
> 
> I can confirm that $target/libstdc++-v3/include/ios exists.

and:

--- Comment #7 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Yet another one:

In file included from
/Users/fx/ibin/x86_64-apple-darwin17.0.0/libstdc++-v3/include/bits/stl_algo.h:62:0,
                 from
/Users/fx/ibin/x86_64-apple-darwin17.0.0/libstdc++-v3/include/algorithm:62,
                 from
/Users/fx/gcc-7.1.0/libstdc++-v3/include/precompiled/stdc++.h:65:
/Users/fx/ibin/x86_64-apple-darwin17.0.0/libstdc++-v3/include/bits/stl_tempbuf.h:60:10:
fatal error: bits/stl_construct.h: No such file or directory
 #include <bits/stl_construct.h>
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [x86_64-apple-darwin17.0.0/bits/stdc++.h.gch/O2g.gch] Error 1

Yet when make aborts, the file
x86_64-apple-darwin17.0.0/libstdc++-v3/include/bits/stl_construct.h is present.


Can somebody confirm the links are not only present, but point to the relevant
file in the source tree?
>From gcc-bugs-return-579824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:57:59 2017
Return-Path: <gcc-bugs-return-579824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40654 invoked by alias); 25 Oct 2017 11: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 37848 invoked by uid 48); 25 Oct 2017 11:57:55 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 25 Oct 2017 11: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: 7.2.0
X-Bugzilla-Keywords: build, patch
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-81797-4-C2JIcAhzTE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02884.txt.bz2
Content-length: 660

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #36 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Also, this strongly suggests the problem for RTEMS is different:

(In reply to Chris Johns from comment #24)
> I would welcome a patch attached to this ticket. 
> 
> My efforts with .NOTPARALLEL cannot get RTEMS's cross-compiled tools to
> build. I have seen a build work however most fail with a range of headers
> that can vary from build to build. I can see the massive `ln -s` happening
> and after the build fails and stops all the links are present.


i.e. this *is* a target issue (and there should be a separate PR for RTEMS).
>From gcc-bugs-return-579823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:57:32 2017
Return-Path: <gcc-bugs-return-579823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36725 invoked by alias); 25 Oct 2017 11:57: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 36631 invoked by uid 48); 25 Oct 2017 11:57:29 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Wed, 25 Oct 2017 11: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.0
X-Bugzilla-Keywords: wrong-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-ZpTUOgThVa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02883.txt.bz2
Content-length: 1064

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #13 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Segher Boessenkool from comment #12)
> But why only do this for FLOAT_MODE_P?  Either the logic here isn't
> correct, or cc_modes_compatible isn't the correct hook (we'll need
> a new hook then?), or determining ordered/unordered by CC mode does
> not work (does not fit into how RTL works).

Non-FP compares can select different mode depending on their operands (e.g.
CCmode to CCZmode when one operand is zero) without secondary effects. But when
reversing the condition from UNGE -> LT, SELECT_CC_MODE will return trapping
mode (LT), whereas original, non-reversed mode (UNGE) was non-trapping. Please
see how targets depend mode of their FP compares on the condition code.

The solution here is to keep the original comparison mode for FP compares (as
was proposed in the first version of the patch): when qNaN is encountered at
this point, an exception has to be generated, no matter how the condition was
changed.
>From gcc-bugs-return-579825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 11:59:27 2017
Return-Path: <gcc-bugs-return-579825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35041 invoked by alias); 25 Oct 2017 11:59: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 34978 invoked by uid 48); 25 Oct 2017 11:59:23 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Wed, 25 Oct 2017 11: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: 8.0
X-Bugzilla-Keywords: wrong-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-JAhySDJEMm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02885.txt.bz2
Content-length: 1240

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #14 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #13)
> (In reply to Segher Boessenkool from comment #12)
> > But why only do this for FLOAT_MODE_P?  Either the logic here isn't
> > correct, or cc_modes_compatible isn't the correct hook (we'll need
> > a new hook then?), or determining ordered/unordered by CC mode does
> > not work (does not fit into how RTL works).
> 
> Non-FP compares can select different mode depending on their operands (e.g.
> CCmode to CCZmode when one operand is zero) without secondary effects. But
> when reversing the condition from UNGE -> LT, SELECT_CC_MODE will return
> trapping mode (LT), whereas original, non-reversed mode (UNGE) was
> non-trapping. Please see how targets depend mode of their FP compares on the
> condition code.
> 
> The solution here is to keep the original comparison mode for FP compares
> (as was proposed in the first version of the patch): when qNaN is
> encountered at this point, an exception has to be generated, no matter how
> the condition was changed.

... an exception should not be generated ... in the above case, when UNGE is
reversed to LT.
>From gcc-bugs-return-579826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 12:06:05 2017
Return-Path: <gcc-bugs-return-579826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107699 invoked by alias); 25 Oct 2017 12: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 107635 invoked by uid 48); 25 Oct 2017 12:06:01 -0000
From: "rimvydas.jas at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/81938] valgrind error message and heap-buffer-overflow on address sanitized libgfortran.so
Date: Wed, 25 Oct 2017 12:06: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rimvydas.jas 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-81938-4-nPAQau4sbO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81938-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81938-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02886.txt.bz2
Content-length: 508

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81938

Rimvydas (RJ) <rimvydas.jas at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rimvydas.jas at gmail dot com

--- Comment #2 from Rimvydas (RJ) <rimvydas.jas at gmail dot com> ---
Created attachment 42469
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42469&action=edit
Possible fix.
>From gcc-bugs-return-579827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 12:07:10 2017
Return-Path: <gcc-bugs-return-579827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109222 invoked by alias); 25 Oct 2017 12:07: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 109168 invoked by uid 48); 25 Oct 2017 12:07:05 -0000
From: "rimvydas.jas at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/81938] valgrind error message and heap-buffer-overflow on address sanitized libgfortran.so
Date: Wed, 25 Oct 2017 12:07: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rimvydas.jas 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-81938-4-hIozTmwpZ4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81938-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81938-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02887.txt.bz2
Content-length: 2840

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81938

--- Comment #3 from Rimvydas (RJ) <rimvydas.jas at gmail dot com> ---
fmt_cache_1.f in valgrind is reproducible on aarch64-suse-linux

One scientific package has a tendency to crash in similar place.

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000040003b93595c in _gfortrani_free_format_data (fmt=0x4f293c40) at
../../../libgfortran/io/format.c:272
272               if (GFC_DESCRIPTOR_DATA(fnp->u.udf.vlist))
(gdb) where
#0  0x000040003b93595c in _gfortrani_free_format_data (fmt=0x4f293c40) at
../../../libgfortran/io/format.c:272
#1  0x000040003b935d44 in save_parsed_format (dtp=0xffffd6551200) at
../../../libgfortran/io/format.c:146
#2  _gfortrani_parse_format (dtp=dtp@entry=0xffffd6551200) at
../../../libgfortran/io/format.c:1353
#3  0x000040003b944878 in data_transfer_init (dtp=0xffffd6551200,
dtp@entry=0xffffd6551260, read_flag=read_flag@entry=0)
    at ../../../libgfortran/io/transfer.c:2791
#4  0x000040003b945208 in _gfortran_st_write (dtp=dtp@entry=0xffffd6551260) at
../../../libgfortran/io/transfer.c:4118
#5  0x0000000000b6c4b8 in suphy1 (kulout=20) at suphy1.F90:311
#6  0x0000000000b62d50 in suphmf (kulout=20) at suphmf.F90:84
#7  0x00000000008e85d4 in suphy (kulout=20) at suphy.F90:76
#8  0x00000000007f3048 in su0yomb () at su0yomb.F90:628
#9  0x00000000006ed0ac in cnt0 () at cnt0.F90:134
#10 0x00000000006bf8c8 in master () at master.F90:76
#11 main (argc=argc@entry=1, argv=0xffffd6552ef1) at master.F90:3
#12 0x000040003ba84830 in __libc_start_main (main=0x6bf84c <main>, argc=1,
argv=0xffffd6551f38, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=<optimized out>) at libc-start.c:289
#13 0x00000000006bf770 in _start ()

(gdb) p &fmt->array.array
$2 = (fnode (*)[64]) 0x4f293c90
(gdb) p/x sizeof(fmt->array.array)
$3 = 0x1000
(gdb) p fnp
$4 = (fnode *) 0x4f2957d0
(gdb) p *fnp
$5 = {format = FMT_DT, repeat = 48, next = 0x3200000031, source = 0x3400000033
<error: Cannot access memory at address 0x3400000033>, u = {real = {w = 53, 
      d = 54, e = 55}, string = {length = 53, p = 0x3800000037 <error: Cannot
access memory at address 0x3800000037>}, integer = {w = 53, m = 54}, udf = {
      string = 0x3600000035 <error: Cannot access memory at address
0x3600000035>, string_len = 55, vlist = 0x3a00000039}, w = 53, k = 53, r = 53,
n = 53, 
    child = 0x3600000035}, count = 59, current = 0xa1}
(gdb) f 5
#5  0x0000000000b6c4b8 in suphy1 (kulout=20) at suphy1.F90:311
311     WRITE(UNIT=KULOUT,FMT='('' COMMON YOMPHY1 '')')

Attached patch solves runtime issue and valgrind no longer complains on
format.c.
Tested with GCC7 branch on openSUSE aarch64.
>From gcc-bugs-return-579828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 12:09:03 2017
Return-Path: <gcc-bugs-return-579828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113709 invoked by alias); 25 Oct 2017 12: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 113617 invoked by uid 48); 25 Oct 2017 12:08:59 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78511] ICE on using concept name as a "requires" parameter
Date: Wed, 25 Oct 2017 12: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: c++-concepts
X-Bugzilla-Keywords:
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 blocked everconfirmed
Message-ID: <bug-78511-4-Po9KaW9KFy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78511-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02888.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78511

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
             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-579829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 12:11:30 2017
Return-Path: <gcc-bugs-return-579829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5737 invoked by alias); 25 Oct 2017 12:11: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 2040 invoked by uid 48); 25 Oct 2017 12:11:24 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82707] ICE in verify_gimple_in_cfg at tree-cfg.c:5395
Date: Wed, 25 Oct 2017 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: 8.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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82707-4-LHQf8hx4GR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82707-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82707-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02889.txt.bz2
Content-length: 993

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82707

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
     Ever confirmed|0                           |1

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #2)
> > --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
> [...]
> > I can't reproduce though at r253997. Can somebody post a configure line and
> > command line?
> 
> I'm seeing it on i386-pc-solaris2.11 (no special configure options
> except for --with-isl-{include,lib}) and
> 
> cc1plus -fpreprocessed declare-1.ii -quiet -march=i486 -O2 -fopenacc -o
> declare-1.s
> 
> 	Rainer

Thanks, I managed to reproduce it. It happens for c++, not for c.
>From gcc-bugs-return-579830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 12:31:37 2017
Return-Path: <gcc-bugs-return-579830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115983 invoked by alias); 25 Oct 2017 12: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 115843 invoked by uid 48); 25 Oct 2017 12:31:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82710] [8 Regression] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]
Date: Wed, 25 Oct 2017 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.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: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-82710-4-PkTXJ8L7lu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82710-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82710-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02890.txt.bz2
Content-length: 902

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82710

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Incorrect                   |[8 Regression] Incorrect
                   |warning:unnecessary         |warning:unnecessary
                   |parentheses in declaration  |parentheses in declaration
                   |of global friend functions  |of global friend functions
                   |[-Werror=parentheses]       |[-Werror=parentheses]

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Self-contained testcase (rather than a zip file with several files in, which
https://gcc.gnu.org/bugs/ says we don't want):

class X;

X friendFunc();

namespace nm
{
  class TestClass
  {
    friend X (::friendFunc());
  };
}
>From gcc-bugs-return-579831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 12:43:36 2017
Return-Path: <gcc-bugs-return-579831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128004 invoked by alias); 25 Oct 2017 12: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 127931 invoked by uid 55); 25 Oct 2017 12:43:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/79283] read_symlink fails with /proc symlinks
Date: Wed, 25 Oct 2017 12: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: 6.2.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-79283-4-b3FrugcGke@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79283-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79283-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02891.txt.bz2
Content-length: 693

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79283

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Oct 25 12:42:58 2017
New Revision: 254076

URL: https://gcc.gnu.org/viewcvs?rev=254076&root=gcc&view=rev
Log:
PR libstdc++/79283 fix filesystem::read_symlink for /proc

        PR libstdc++/79283
        * src/filesystem/ops.cc (read_symlink): Handle st_size being zero.
        * src/filesystem/std-ops.cc (read_symlink): Likewise.
        (do_copy_file) [!NEED_DO_COPY_FILE]: Avoid multiple definitions.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/src/filesystem/ops.cc
    trunk/libstdc++-v3/src/filesystem/std-ops.cc
>From gcc-bugs-return-579832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 12:59:43 2017
Return-Path: <gcc-bugs-return-579832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58704 invoked by alias); 25 Oct 2017 12:59: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 58645 invoked by uid 48); 25 Oct 2017 12:59:38 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Wed, 25 Oct 2017 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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82062-4-0vyRsV63YF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02892.txt.bz2
Content-length: 3121

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Simplified but not equal - you are also stripping a possible truncation.
> I think the original code only ever stripped widening conversions.

Right, but IMO there is no real reason to distinguish the 2 cases now.

> It also had some additional constraints on the stripping looking
> at the other comparison operand (for some weird reason...).

I agree with your wording. :-)  I think it was supposed to deal with more
general cases of comparison X < (T1) Y ? (T2) X : (T2) Y.  My understanding is
that it's obsolete if we forbids non-NOPS conversions in the operands of the
comparison.

> I guess I'm ok with your proposed change if you restrict it to
> widening conversions (and use CONVERT_EXPR_P (arg1)).

Fair enough.  Here's what I'm going to test:

Index: fold-const.c
===================================================================
--- fold-const.c        (revision 254037)
+++ fold-const.c        (working copy)
@@ -3366,7 +3366,8 @@ operand_equal_p (const_tree arg0, const_
 #undef OP_SAME_WITH_NULL
 }

-/* Similar to operand_equal_p, but strip nops first.  */
+/* Similar to operand_equal_p, but see if ARG0 might be a variant of ARG1
+   with a different signedness or a narrower precision.  */

 static bool
 operand_equal_for_comparison_p (tree arg0, tree arg1)
@@ -3381,9 +3382,20 @@ operand_equal_for_comparison_p (tree arg
   /* Discard any conversions that don't change the modes of ARG0 and ARG1
      and see if the inner values are the same.  This removes any
      signedness comparison, which doesn't matter here.  */
-  STRIP_NOPS (arg0);
-  STRIP_NOPS (arg1);
-  if (operand_equal_p (arg0, arg1, 0))
+  tree op0 = arg0;
+  tree op1 = arg1;
+  STRIP_NOPS (op0);
+  STRIP_NOPS (op1);
+  if (operand_equal_p (op0, op1, 0))
+    return true;
+
+  /* Discard a single widening conversion from ARG1 and see if the inner
+     value is the same as ARG0.  */
+  if (CONVERT_EXPR_P (arg1)
+      && INTEGRAL_TYPE_P (TREE_TYPE (TREE_OPERAND (arg1, 0)))
+      && TYPE_PRECISION (TREE_TYPE (TREE_OPERAND (arg1, 0)))
+         < TYPE_PRECISION (TREE_TYPE (arg1))
+      && operand_equal_p (arg0, TREE_OPERAND (arg1, 0), 0))
     return true;

   return false;
@@ -11169,8 +11181,8 @@ fold_ternary_loc (location_t loc, enum t

          Also try swapping the arguments and inverting the conditional.  */
       if (COMPARISON_CLASS_P (arg0)
-         && operand_equal_for_comparison_p (TREE_OPERAND (arg0, 0), arg1)
-         && !HONOR_SIGNED_ZEROS (element_mode (arg1)))
+         && operand_equal_for_comparison_p (TREE_OPERAND (arg0, 0), op1)
+         && !HONOR_SIGNED_ZEROS (element_mode (op1)))
        {
          tem = fold_cond_expr_with_comparison (loc, type, arg0, op1, op2);
          if (tem)


The third hunk makes sure that we always pass the unstripped operand to the
predicate, as in the swapped case just below.
>From gcc-bugs-return-579833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 13:02:28 2017
Return-Path: <gcc-bugs-return-579833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77652 invoked by alias); 25 Oct 2017 13:02: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 77538 invoked by uid 48); 25 Oct 2017 13:02:20 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Wed, 25 Oct 2017 13: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-82062-4-mOchjo5aP9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02893.txt.bz2
Content-length: 472

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

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 #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Testing a fix.
>From gcc-bugs-return-579834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 13:07:33 2017
Return-Path: <gcc-bugs-return-579834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97970 invoked by alias); 25 Oct 2017 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 97898 invoked by uid 48); 25 Oct 2017 13:07:25 -0000
From: "marc.mutz at kdab dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82716] New: struct/class vs. tuple_element/tuple_size
Date: Wed, 25 Oct 2017 13:07: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marc.mutz at kdab 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-82716-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02894.txt.bz2
Content-length: 2486

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82716

            Bug ID: 82716
           Summary: struct/class vs. tuple_element/tuple_size
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marc.mutz at kdab dot com
  Target Milestone: ---

I'm trying to support the tuple protocol for Qt's QPair:

namespace std {
    // these have to be 'class', because MSVC warns about struct/class
mismatch, and
    // in the std, they are classes:
    template <typename T1, typename T2>
    class tuple_size<QT_PREPEND_NAMESPACE(QPair)<T1,T2>> : public
std::integral_constant<size_t, 2> {};
    template <typename T1, typename T2>
    class tuple_element<0, QT_PREPEND_NAMESPACE(QPair)<T1, T2>> { public: using
type = T1; };
    template <typename T1, typename T2>
    class tuple_element<1, QT_PREPEND_NAMESPACE(QPair)<T1, T2>> { public: using
type = T2; };
}

I get these warnings from clang:

68 : <source>:68:5: error: 'tuple_size' defined as a class template here but
previously declared as a struct template [-Werror,-Wmismatched-tags]
    class tuple_size<~~~> : public std::integral_constant<std::size_t, 2> {};
    ^
/opt/compiler-explorer/gcc-7.1.0/lib/gcc/x86_64-linux-gnu/7.1.0/../../../../include/c++/7.1.0/utility:88:5:
note: did you mean class here?
    struct tuple_size;
    ^
71 : <source>:71:5: error: 'tuple_element' defined as a class template here but
previously declared as a struct template [-Werror,-Wmismatched-tags]
    class tuple_element<I, ~~~~>
    ^
/opt/compiler-explorer/gcc-7.1.0/lib/gcc/x86_64-linux-gnu/7.1.0/../../../../include/c++/7.1.0/utility:112:5:
note: did you mean class here?
    struct tuple_element;
    ^
2 errors generated.
Compiler exited with result code 1

Here's a stripped-down example: https://godbolt.org/g/sUZxAQ
Works with -stdlib=libc++: https://godbolt.org/g/bW4u1u

The standard says that tuple_element and tuple_size are struct and continues to
use it as class (http://eel.is/c++draft/tuple.helper), and so does libstdc++,
which means that there's no way to write a tuple_size specialisation that will
avoid the warning.

Expected: libstdc++ recognizes that it may be used with compilers that warn
about struct/class mismatch, picks one of the two, and sticks to it, so one can
at least use #ifdefs to pick which one to use.
>From gcc-bugs-return-579835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 13:13:35 2017
Return-Path: <gcc-bugs-return-579835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123231 invoked by alias); 25 Oct 2017 13:13: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 123195 invoked by uid 48); 25 Oct 2017 13:13:31 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82716] struct/class vs. tuple_element/tuple_size
Date: Wed, 25 Oct 2017 13: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: 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: 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-82716-4-xWK1SSlw6j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82716-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82716-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02895.txt.bz2
Content-length: 521

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82716

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The warning is stupid and only relevant for VC++ compatibility, which is not a
goal for libstdc++.
>From gcc-bugs-return-579836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 13:15:31 2017
Return-Path: <gcc-bugs-return-579836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8527 invoked by alias); 25 Oct 2017 13:15: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 125546 invoked by uid 55); 25 Oct 2017 13:15:20 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82062] [8 regression] simple conditional expressions no longer folded
Date: Wed, 25 Oct 2017 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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: major
X-Bugzilla-Who: rguenther at suse dot de
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: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82062-4-iBjTUnzYQ5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82062-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02896.txt.bz2
Content-length: 3564

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062

--- Comment #13 from rguenther at suse dot de <rguenther at suse dot de> ---
On Wed, 25 Oct 2017, ebotcazou at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82062
> 
> --- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> > Simplified but not equal - you are also stripping a possible truncation.
> > I think the original code only ever stripped widening conversions.
> 
> Right, but IMO there is no real reason to distinguish the 2 cases now.
> 
> > It also had some additional constraints on the stripping looking
> > at the other comparison operand (for some weird reason...).
> 
> I agree with your wording. :-)  I think it was supposed to deal with more
> general cases of comparison X < (T1) Y ? (T2) X : (T2) Y.  My understanding is
> that it's obsolete if we forbids non-NOPS conversions in the operands of the
> comparison.
> 
> > I guess I'm ok with your proposed change if you restrict it to
> > widening conversions (and use CONVERT_EXPR_P (arg1)).
> 
> Fair enough.  Here's what I'm going to test:
> 
> Index: fold-const.c
> ===================================================================
> --- fold-const.c        (revision 254037)
> +++ fold-const.c        (working copy)
> @@ -3366,7 +3366,8 @@ operand_equal_p (const_tree arg0, const_
>  #undef OP_SAME_WITH_NULL
>  }
> 
> -/* Similar to operand_equal_p, but strip nops first.  */
> +/* Similar to operand_equal_p, but see if ARG0 might be a variant of ARG1
> +   with a different signedness or a narrower precision.  */
> 
>  static bool
>  operand_equal_for_comparison_p (tree arg0, tree arg1)
> @@ -3381,9 +3382,20 @@ operand_equal_for_comparison_p (tree arg
>    /* Discard any conversions that don't change the modes of ARG0 and ARG1
>       and see if the inner values are the same.  This removes any
>       signedness comparison, which doesn't matter here.  */
> -  STRIP_NOPS (arg0);
> -  STRIP_NOPS (arg1);
> -  if (operand_equal_p (arg0, arg1, 0))
> +  tree op0 = arg0;
> +  tree op1 = arg1;
> +  STRIP_NOPS (op0);
> +  STRIP_NOPS (op1);
> +  if (operand_equal_p (op0, op1, 0))
> +    return true;
> +
> +  /* Discard a single widening conversion from ARG1 and see if the inner
> +     value is the same as ARG0.  */
> +  if (CONVERT_EXPR_P (arg1)
> +      && INTEGRAL_TYPE_P (TREE_TYPE (TREE_OPERAND (arg1, 0)))
> +      && TYPE_PRECISION (TREE_TYPE (TREE_OPERAND (arg1, 0)))
> +         < TYPE_PRECISION (TREE_TYPE (arg1))
> +      && operand_equal_p (arg0, TREE_OPERAND (arg1, 0), 0))
>      return true;
> 
>    return false;
> @@ -11169,8 +11181,8 @@ fold_ternary_loc (location_t loc, enum t
> 
>           Also try swapping the arguments and inverting the conditional.  */
>        if (COMPARISON_CLASS_P (arg0)
> -         && operand_equal_for_comparison_p (TREE_OPERAND (arg0, 0), arg1)
> -         && !HONOR_SIGNED_ZEROS (element_mode (arg1)))
> +         && operand_equal_for_comparison_p (TREE_OPERAND (arg0, 0), op1)
> +         && !HONOR_SIGNED_ZEROS (element_mode (op1)))
>         {
>           tem = fold_cond_expr_with_comparison (loc, type, arg0, op1, op2);
>           if (tem)
> 
> 
> The third hunk makes sure that we always pass the unstripped operand to the
> predicate, as in the swapped case just below.

Ok if it passes bootstrap / regtest (with the testcase added of course).
>From gcc-bugs-return-579837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 13:26:43 2017
Return-Path: <gcc-bugs-return-579837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87190 invoked by alias); 25 Oct 2017 13: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 85086 invoked by uid 48); 25 Oct 2017 13:26:39 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)
Date: Wed, 25 Oct 2017 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: 6.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko 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-77267-4-UNyfw2bXsn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77267-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77267-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02897.txt.bz2
Content-length: 163

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267

--- Comment #12 from Matthias Klose <doko at gcc dot gnu.org> ---
fyi, this is now fixed in Ubuntu 16.04 LTS
>From gcc-bugs-return-579838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 13:31:37 2017
Return-Path: <gcc-bugs-return-579838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96077 invoked by alias); 25 Oct 2017 13: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 95909 invoked by uid 48); 25 Oct 2017 13:31:24 -0000
From: "fxcoudert at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):
Date: Wed, 25 Oct 2017 13: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: 7.2.0
X-Bugzilla-Keywords: build, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fxcoudert at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81797-4-LjxIhI2AUe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81797-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02898.txt.bz2
Content-length: 1736

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

--- Comment #37 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #35)
> Can somebody confirm the links are not only present, but point to the
> relevant file in the source tree?

It seems OK:

In file included from
/Users/fx/devel/gcc/ibin/x86_64-apple-darwin17.0.0/libstdc++-v3/include/ios:39:0,
                 from
/Users/fx/devel/gcc/ibin/x86_64-apple-darwin17.0.0/libstdc++-v3/include/istream:38,
                 from
/Users/fx/devel/gcc/ibin/x86_64-apple-darwin17.0.0/libstdc++-v3/include/sstream:38,
                 from
/Users/fx/devel/gcc/ibin/x86_64-apple-darwin17.0.0/libstdc++-v3/include/complex:45,
                 from
/Users/fx/devel/gcc/ibin/x86_64-apple-darwin17.0.0/libstdc++-v3/include/ccomplex:39,
                 from
/Users/fx/devel/gcc/trunk/libstdc++-v3/include/precompiled/stdc++.h:52:
/Users/fx/devel/gcc/trunk/libstdc++-v3/libsupc++/exception:143:10: fatal error:
bits/exception_ptr.h: No such file or directory
 #include <bits/exception_ptr.h>
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [x86_64-apple-darwin17.0.0/bits/stdc++.h.gch/O2g.gch] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
bli ~/devel/gcc/ibin $ ls -lh
x86_64-apple-darwin17.0.0/libstdc++-v3/include/bits/exception_ptr.h
lrwxr-xr-x  1 fx  admin    64B Oct 25 15:29
x86_64-apple-darwin17.0.0/libstdc++-v3/include/bits/exception_ptr.h ->
/Users/fx/devel/gcc/trunk/libstdc++-v3/libsupc++/exception_ptr.h
>From gcc-bugs-return-579839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 13:56:35 2017
Return-Path: <gcc-bugs-return-579839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10567 invoked by alias); 25 Oct 2017 13:56: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 10506 invoked by uid 55); 25 Oct 2017 13:56:29 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82716] struct/class vs. tuple_element/tuple_size
Date: Wed, 25 Oct 2017 13: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: 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: 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-82716-4-vy0GcjlHmD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82716-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82716-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02899.txt.bz2
Content-length: 569

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82716

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Oct 25 13:55:56 2017
New Revision: 254077

URL: https://gcc.gnu.org/viewcvs?rev=254077&root=gcc&view=rev
Log:
PR libstdc++/82716 avoid stupid -Wmismatched-tags warnings

        PR libstdc++/82716
        * include/std/array (tuple_size, tuple_element): Change class-key
        from class to struct, to avoid annoying Clang warnings.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/array
>From gcc-bugs-return-579840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 13:57:14 2017
Return-Path: <gcc-bugs-return-579840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14085 invoked by alias); 25 Oct 2017 13:57: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 13821 invoked by uid 48); 25 Oct 2017 13:57:10 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/82716] struct/class vs. tuple_element/tuple_size
Date: Wed, 25 Oct 2017 13: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.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: resolution
Message-ID: <bug-82716-4-j7AtWiHg6Z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82716-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82716-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02900.txt.bz2
Content-length: 495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82716

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Changed as per PR 56627 comment 11

I didn't change the TR1 versions, because I have things that actually matter to
work on instead.
>From gcc-bugs-return-579841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 14:03:42 2017
Return-Path: <gcc-bugs-return-579841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71819 invoked by alias); 25 Oct 2017 14: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 71751 invoked by uid 48); 25 Oct 2017 14:03:35 -0000
From: "asb at lowrisc dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82717] New: [RISCV] Default value of the -mabi option doesn't match documentation
Date: Wed, 25 Oct 2017 14:03: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asb at lowrisc 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-82717-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02901.txt.bz2
Content-length: 2964

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82717

            Bug ID: 82717
           Summary: [RISCV] Default value of the -mabi option doesn't
                    match documentation
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asb at lowrisc dot org
  Target Milestone: ---

The documentation for the -mabi command-line option for RISC-V states:

"""
@item -mabi=@var{ABI-string}
@opindex mabi
Specify integer and floating-point calling convention.  This defaults to the
natural calling convention: e.g.@ LP64 for RV64I, ILP32 for RV32I, LP64D for
RV64G.
"""

By my reading, this indicates that -march=rv32imafd would imply -mabi=ilp32d as
the "natural" calling convention. This is not the case. Note how the soft-float
calling convention is used in the example below:

$ cat t.c
double callee(float a, double b, int c) {
  return a+b+c;
}

double caller(void) {
  callee(1.0, 2.0, 3);
}

$ ./riscv32-unknown-elf-gcc -march=rv32imafdc t.c -c -S -o -
        .file   "t.c"
        .option nopic
        .text
        .align  1
        .globl  callee
        .type   callee, @function
callee:
        add     sp,sp,-48
        sw      s0,44(sp)
        add     s0,sp,48
        sw      a0,-20(s0)
        sw      a1,-32(s0)
        sw      a2,-28(s0)
        sw      a3,-24(s0)
        flw     fa5,-20(s0)
        fcvt.d.s        fa4,fa5
        fld     fa5,-32(s0)
        fadd.d  fa4,fa4,fa5
        lw      a5,-24(s0)
        fcvt.d.w        fa5,a5
        fadd.d  fa5,fa4,fa5
        fsd     fa5,-40(s0)
        lw      a0,-40(s0)
        lw      a1,-36(s0)
        lw      s0,44(sp)
        add     sp,sp,48
        jr      ra
        .size   callee, .-callee
        .align  1
        .globl  caller
        .type   caller, @function
caller:
        add     sp,sp,-32
        sw      ra,28(sp)
        sw      s0,24(sp)
        add     s0,sp,32
        lui     a5,%hi(.LC0)
        addi    a5,a5,%lo(.LC0)
        fld     fa4,0(a5)
        lui     a5,%hi(.LC1)
        flw     fa5,%lo(.LC1)(a5)
        li      a3,3
        fsd     fa4,-24(s0)
        lw      a1,-24(s0)
        lw      a2,-20(s0)
        fmv.x.s a0,fa5
        call    callee
        nop
        fsd     fa5,-24(s0)
        lw      a0,-24(s0)
        lw      a1,-20(s0)
        lw      ra,28(sp)
        lw      s0,24(sp)
        add     sp,sp,32
        jr      ra
        .size   caller, .-caller
        .section        .rodata
        .align  3
.LC0:
        .word   0
        .word   1073741824
        .align  2
.LC1:
        .word   1065353216
        .ident  "GCC: (GNU) 8.0.0 20171025 (experimental)"



I would also note that the documentation could be improved by better detailing
the accepted ABI strings and giving valid examples (ILP32 isn't accepted as it
is uppercase).
>From gcc-bugs-return-579842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 14:46:53 2017
Return-Path: <gcc-bugs-return-579842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102177 invoked by alias); 25 Oct 2017 14: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 83435 invoked by uid 48); 25 Oct 2017 14:46:48 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/41091] Using section attribute in c and c++ function causes section type conflict
Date: Wed, 25 Oct 2017 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: 4.4.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 resolution everconfirmed cf_known_to_fail
Message-ID: <bug-41091-4-0bswleNNJS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-41091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-41091-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02902.txt.bz2
Content-length: 805

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41091

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|RESOLVED                    |NEW
   Last reconfirmed|                            |2017-10-25
         Resolution|FIXED                       |---
     Ever confirmed|0                           |1
      Known to fail|                            |4.4.0, 4.9.4, 5.4.0, 6.4.0,
                   |                            |7.2.0, 8.0

--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Thanks for the test case.  I can confirm the error on trunk (GCC 8.0). 
Reopening.
>From gcc-bugs-return-579843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 14:49:09 2017
Return-Path: <gcc-bugs-return-579843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90096 invoked by alias); 25 Oct 2017 14: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 90059 invoked by uid 48); 25 Oct 2017 14:49:05 -0000
From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82718] New: Bad DWARF5 .debug_loclists generation
Date: Wed, 25 Oct 2017 14:49: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: 8.0
X-Bugzilla-Keywords:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-82718-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02903.txt.bz2
Content-length: 2047

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82718

            Bug ID: 82718
           Summary: Bad DWARF5 .debug_loclists generation
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mark at gcc dot gnu.org
  Target Milestone: ---

Created attachment 42470
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42470&action=edit
reduced code example from elfutils libelf/elf_begin.c

Given the attached e.c building wth -O2 -gdwarf-5 produces a .debug_loclists
that the assembler cannot process:

$ gcc --verbose-asm -dA --save-temps -g -O2 -gdwarf-5 -c e.c
e.s: Assembler messages:
e.s:1079: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1080: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1103: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1104: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1124: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1125: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1144: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1145: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1163: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1164: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1182: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1183: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1206: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1207: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1230: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1231: Error: invalid operands (.text.unlikely and .text sections) for `-'
>From gcc-bugs-return-579844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 14:50:57 2017
Return-Path: <gcc-bugs-return-579844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92198 invoked by alias); 25 Oct 2017 14:50: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 91744 invoked by uid 48); 25 Oct 2017 14:50:52 -0000
From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82718] Bad DWARF5 .debug_loclists generation
Date: Wed, 25 Oct 2017 14: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: 8.0
X-Bugzilla-Keywords:
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: attachments.created
Message-ID: <bug-82718-4-ee8S5GR3nj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82718-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82718-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02904.txt.bz2
Content-length: 235

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82718

--- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> ---
Created attachment 42471
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42471&action=edit
preprocessed e.i
>From gcc-bugs-return-579845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 14:51:51 2017
Return-Path: <gcc-bugs-return-579845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95267 invoked by alias); 25 Oct 2017 14:51: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 95219 invoked by uid 48); 25 Oct 2017 14:51:47 -0000
From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82718] Bad DWARF5 .debug_loclists generation
Date: Wed, 25 Oct 2017 14:51: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:
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: attachments.created
Message-ID: <bug-82718-4-FkNzBhswdi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82718-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82718-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02905.txt.bz2
Content-length: 307

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82718

--- Comment #2 from Mark Wielaard <mark at gcc dot gnu.org> ---
Created attachment 42472
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42472&action=edit
generated assembler e.s

assembler produced with gcc (GCC) 8.0.0 20171024 (experimental)
>From gcc-bugs-return-579846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 15:59:08 2017
Return-Path: <gcc-bugs-return-579846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105770 invoked by alias); 25 Oct 2017 15: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 100391 invoked by uid 48); 25 Oct 2017 15:59:03 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Wed, 25 Oct 2017 15: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-vTknBtaN86@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02906.txt.bz2
Content-length: 306

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #15 from Segher Boessenkool <segher at gcc dot gnu.org> ---
My point is that doing this only for FLOAT_MODE_P makes no real sense.
If we can describe ordered comparisons with special CC modes, we should
do tests with those modes only here.
>From gcc-bugs-return-579847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:08:13 2017
Return-Path: <gcc-bugs-return-579847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129814 invoked by alias); 25 Oct 2017 16:08: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 129745 invoked by uid 48); 25 Oct 2017 16:08:08 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82622] [PDT] ICE in structure_alloc_comps, at fortran/trans-array.c:8963
Date: Wed, 25 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.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-82622-4-dmBvqII2Cn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82622-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02907.txt.bz2
Content-length: 772

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82622

--- Comment #6 from G. Steinmetz <gscfq@t-online.de> ---
(In reply to kargl from comment #5)
> Is this valid code and should compile

It should be legal, IMO.  Note that "a" in z1.f90 is effectively unused
(the type parameters need not be used anywhere in the DT).


Side note: deleting attribute len from type t works :

$ cat z3.f90
program p
   type t
      integer :: n
   end type
   type t2(b)
      integer, len :: b
      type(t) :: r(b)
   end type
   type(t2(:)), allocatable :: x
   allocate (t2(3) :: x)

   x%r = [t(11), t(22), t(33)]
   print *, x%b, size(x%r)
   print *, x%r
end


$ gfortran-8-20171022 -static-libgfortran z3.f90
$ a.out
           3           3
          11          22          33
>From gcc-bugs-return-579848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:09:38 2017
Return-Path: <gcc-bugs-return-579848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 319 invoked by alias); 25 Oct 2017 16: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 131034 invoked by uid 48); 25 Oct 2017 16:09:33 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82719] New: [PDT] ICE in transfer_expr, at fortran/trans-io.c:2393
Date: Wed, 25 Oct 2017 16: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: 8.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-82719-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02908.txt.bz2
Content-length: 1436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82719

            Bug ID: 82719
           Summary: [PDT] ICE in transfer_expr, at fortran/trans-io.c:2393
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

While experimenting :


$ cat z1.f90
program p
   type t(a)
      integer, len :: a
      character(len=a) :: c
   end type
   type(t(2)) :: x

   x = t(2,'ab')
   print *, x
end


$ gfortran-8-20171022 -c z1.f90
z1.f90:9:0:

    print *, x

internal compiler error: in transfer_expr, at fortran/trans-io.c:2393
0x78521e transfer_expr
        ../../gcc/fortran/trans-io.c:2393
0x784d2d transfer_expr
        ../../gcc/fortran/trans-io.c:2472
0x7881df gfc_trans_transfer(gfc_code*)
        ../../gcc/fortran/trans-io.c:2635
0x72f1c7 trans_code
        ../../gcc/fortran/trans.c:2024
0x785ca7 build_dt
        ../../gcc/fortran/trans-io.c:2028
0x72f1e7 trans_code
        ../../gcc/fortran/trans.c:1996
0x755edc gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6422
0x6e7f20 translate_all_program_units
        ../../gcc/fortran/parse.c:6088
0x6e7f20 gfc_parse_file()
        ../../gcc/fortran/parse.c:6291
0x72c62f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-579849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:10:22 2017
Return-Path: <gcc-bugs-return-579849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6280 invoked by alias); 25 Oct 2017 16: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 6206 invoked by uid 48); 25 Oct 2017 16:10:13 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82719] [PDT] ICE in transfer_expr, at fortran/trans-io.c:2393
Date: Wed, 25 Oct 2017 16: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: 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: blocked
Message-ID: <bug-82719-4-1m0AZbTZv4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82719-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82719-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02909.txt.bz2
Content-length: 767

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82719

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |82173

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

Printing values individually works :


$ cat z2.f90
program p
   type t(a)
      integer, len :: a
      character(len=a) :: c
   end type
   type(t(2)) :: x

   x = t(2,'ab')
   print *, x%a
   print *, x%c
end


$ gfortran-8-20171022 -static-libgfortran z2.f90
$ ./a.out
           2
 ab


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors
>From gcc-bugs-return-579850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:13:14 2017
Return-Path: <gcc-bugs-return-579850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12753 invoked by alias); 25 Oct 2017 16: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 12686 invoked by uid 48); 25 Oct 2017 16:13:10 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82720] New: [PDT] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2400
Date: Wed, 25 Oct 2017 16:13: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.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-82720-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02910.txt.bz2
Content-length: 1662

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82720

            Bug ID: 82720
           Summary: [PDT] ICE in gfc_conv_component_ref, at
                    fortran/trans-expr.c:2400
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Another test case :


$ cat z1.f90
program p
   type t(a)
      integer, len :: a
      character(len=a) :: c
   end type
   type(t(:)), allocatable :: x
   allocate (t(2) :: x)

   x = t(2,'ab')
   print *, x%a
   print *, x%c
   print *, x
end


$ gfortran-8-20171022 -c z1.f90
z1.f90:11:0:

    print *, x%c

internal compiler error: in gfc_conv_component_ref, at
fortran/trans-expr.c:2400
0x7598f0 gfc_conv_component_ref
        ../../gcc/fortran/trans-expr.c:2400
0x765903 gfc_conv_variable
        ../../gcc/fortran/trans-expr.c:2700
0x768eda gfc_conv_expr_reference(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-expr.c:7909
0x7881c6 gfc_trans_transfer(gfc_code*)
        ../../gcc/fortran/trans-io.c:2556
0x72f1c7 trans_code
        ../../gcc/fortran/trans.c:2024
0x785ca7 build_dt
        ../../gcc/fortran/trans-io.c:2028
0x72f1e7 trans_code
        ../../gcc/fortran/trans.c:1996
0x755edc gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6422
0x6e7f20 translate_all_program_units
        ../../gcc/fortran/parse.c:6088
0x6e7f20 gfc_parse_file()
        ../../gcc/fortran/parse.c:6291
0x72c62f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-579851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:15:41 2017
Return-Path: <gcc-bugs-return-579851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8639 invoked by alias); 25 Oct 2017 16:15: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 128004 invoked by uid 48); 25 Oct 2017 16:15:36 -0000
From: "dclarke at blastwave dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/82686] Debian sid powerpc64-unknown-linux-gnu 4.13.0-1-powerpc64 bootstrap breaks in stage3 with unexpected requirement for bdw-gc
Date: Wed, 25 Oct 2017 16:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dclarke at blastwave 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-82686-4-QTJGMKgC2a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82686-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02911.txt.bz2
Content-length: 5059

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82686

--- Comment #8 from Dennis Clarke <dclarke at blastwave dot org> ---
That helps actually. However I am concerned that the folks from IBM are 
entirely focused on a particular power architecture and old powerpc cpus
are not considered.  Freescale implementations even less so. I note this
only because currect gcc demands the vector scalar hardware in order to
perform some floating point operations and any attempt to work around this
will fail. I will come back to that -mfloat128 option later and for now
just focus on a basic bootstrap. 

Since I am seeing a "Makefile:941" error I will assume it is GNU make having
an issue with line 941 of the Makefile and just now I see it again once I
remove ada from the mix : 

gmake[6]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/32/libssp'
gmake[5]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/32/libssp'
gmake[4]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libssp'
gmake[3]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libssp'
gmake[2]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libssp'
libtool: compile: 
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc-7.2.0/libbacktrace -I ../../../gcc-7.2.0/libbacktrace/../include
-I ../../../gcc-7.2.0/libbacktrace/../libgcc -I ../libgcc -funwind-tables
-frandom-seed=mmap.lo -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wcast-qual -Werror -g -O2 -c ../../../gcc-7.2.0/libbacktrace/mmap.c -o mmap.o
>/dev/null 2>&1
/bin/bash ./libtool --tag=CC   --mode=link
/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/./gcc/xgcc
-B/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/./gcc/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/gcc7/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/gcc7/powerpc64-unknown-linux-gnu/sys-include    -funwind-tables
-frandom-seed=libbacktrace.la -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wcast-qual -Werror  -g -O2   -o libbacktrace.la  atomic.lo dwarf.lo
fileline.lo posix.lo print.lo sort.lo state.lo backtrace.lo simple.lo elf.lo
mmapio.lo mmap.lo 
libtool: link: /usr/local/bin/ar rc .libs/libbacktrace.a .libs/atomic.o
.libs/dwarf.o .libs/fileline.o .libs/posix.o .libs/print.o .libs/sort.o
.libs/state.o .libs/backtrace.o .libs/simple.o .libs/elf.o .libs/mmapio.o
.libs/mmap.o 
libtool: link: /usr/local/bin/ranlib .libs/libbacktrace.a
libtool: link: ( cd ".libs" && rm -f "libbacktrace.la" && ln -s
"../libbacktrace.la" "libbacktrace.la" )
gmake[3]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libbacktrace'
gmake[2]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005/powerpc64-unknown-linux-gnu/libbacktrace'
gmake[1]: Leaving directory
'/usr/local/build/gcc-7.2.0_linux_4.13.0-1-powerpc64.005'
gmake: *** [Makefile:941: all] Error 2
Command exited with non-zero status 2
real 11053.27
user 36092.39
sys 1976.30
nix_$ 


However there is no line 941 there : 

nix_$ wc -l powerpc64-unknown-linux-gnu/libbacktrace/Makefile
838 powerpc64-unknown-linux-gnu/libbacktrace/Makefile

Perhaps the primary build dir Makefile ?  

   935  # The target built for a native non-bootstrap build.
   936  .PHONY: all
   937  all:
   938          [ -f stage_final ] || echo stage3 > stage_final
   939          @r=`${PWD_COMMAND}`; export r; \
   940          s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
   941          $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
   942          @: $(MAKE); $(unstage)
   943          @r=`${PWD_COMMAND}`; export r; \
   944          s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
   945          if [ -f stage_last ]; then \
   946            TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,,
stage_last)_TFLAGS)"; \
   947            $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
   948          else \
   949            $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
   950              ; \
   951          fi \
   952          && :
   953

Hard to say really. 

I will circle back to the top of this mess and go deal with a 32-bit gc and
see if that makes and difference in this process.
>From gcc-bugs-return-579852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:16:40 2017
Return-Path: <gcc-bugs-return-579852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88949 invoked by alias); 25 Oct 2017 16:16: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 88524 invoked by uid 48); 25 Oct 2017 16:16:36 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82721] New: Error message with corrupted text, sometimes ICE
Date: Wed, 25 Oct 2017 16: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: 8.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-82721-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02912.txt.bz2
Content-length: 851

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82721

            Bug ID: 82721
           Summary: Error message with corrupted text, sometimes ICE
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

This snippet (clearly invalid) gives a second error message
with randomly corrupted text :


$ cat z1.f90
program p
   real :: a, b(4)
   character(len(c)) :: b
end


$ gfortran-8-20171022 -c z1.f90
z1.f90:3:25:

    character(len(c)) :: b
                         1
Error: Symbol 'b' at (1) already has basic type of REAL
z1.f90:3:13:

    character(len(c)) :: b
             1
Error: '\xa8\x8e\x1f\x8e+' at (1) is not a function
>From gcc-bugs-return-579853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:17:10 2017
Return-Path: <gcc-bugs-return-579853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92448 invoked by alias); 25 Oct 2017 16:17: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 91837 invoked by uid 48); 25 Oct 2017 16:17:04 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82721] Error message with corrupted text, sometimes ICE
Date: Wed, 25 Oct 2017 16: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: 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:
Message-ID: <bug-82721-4-BWz47Ikxeh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82721-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82721-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02913.txt.bz2
Content-length: 1093

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82721

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

With a test version (configured with --enable-checking=yes)
sometimes a backtrace is produced, like :

f951: internal compiler error: Segmentation fault
0xca7e1f crash_signal
        ../../gcc/toplev.c:326
0x72264e resolve_actual_arglist
        ../../gcc/fortran/resolve.c:1998
0x71f324 resolve_function
        ../../gcc/fortran/resolve.c:3118
0x71ff8a gfc_resolve_expr(gfc_expr*)
        ../../gcc/fortran/resolve.c:6702
0x723448 resolve_index_expr
        ../../gcc/fortran/resolve.c:11618
0x7234b4 resolve_charlen
        ../../gcc/fortran/resolve.c:11663
0x72d9af resolve_charlen
        ../../gcc/fortran/resolve.c:11639
0x72d9af resolve_types
        ../../gcc/fortran/resolve.c:16293
0x7292fc gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:16409
0x712c6a resolve_all_program_units
        ../../gcc/fortran/parse.c:6027
0x712c6a gfc_parse_file()
        ../../gcc/fortran/parse.c:6277
0x75819f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-579854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:26:33 2017
Return-Path: <gcc-bugs-return-579854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124915 invoked by alias); 25 Oct 2017 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 124875 invoked by uid 48); 25 Oct 2017 16:26:29 -0000
From: "porton at narod dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82639] Legal program rejected
Date: Wed, 25 Oct 2017 16:26: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: porton at narod dot ru
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: bug_status resolution
Message-ID: <bug-82639-4-K7f1QOeqgk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82639-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82639-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02914.txt.bz2
Content-length: 826

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82639

Victor Porton <porton at narod dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #4 from Victor Porton <porton at narod dot ru> ---
https://groups.google.com/d/msg/comp.lang.ada/IFjnioG1a28/Qcw5sIyUAgAJ says
that the "nonmodular" version of the code compiles without errors.

This is weird: A little modification of the code makes it compile or not
compile. This is also different with different versions of GNAT.

One person says in that discussion thread "but after reading Randy's message I
am no more sure of anything".

So I reopen the bug.
>From gcc-bugs-return-579855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:30:54 2017
Return-Path: <gcc-bugs-return-579855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29181 invoked by alias); 25 Oct 2017 16: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 27028 invoked by uid 48); 25 Oct 2017 16:30:50 -0000
From: "berni.w11 at gmx dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82722] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2984
Date: Wed, 25 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: berni.w11 at gmx 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-82722-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02915.txt.bz2
Content-length: 2997

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82722

            Bug ID: 82722
           Summary: internal compiler error: in finish_member_declaration,
                    at cp/semantics.c:2984
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: berni.w11 at gmx dot net
  Target Milestone: ---

Created attachment 42473
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42473&action=edit
Test-case triggering the error

I ran into this error trying to compile a large project.
C-Reduce got it down to the attached test-case.

The error is reproducible with
>g++ test.cpp
test.cpp:22:3: warning: access declarations are deprecated in favour of
using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
   an::bf;
   ^~
test.cpp: In instantiation of ‘k<an>::bn()::<lambda(auto:1)> [with auto:1 =
int; an = j]’:
test.cpp:1:66:   required from ‘auto ad(a, ac ...) [with a = k<an>::bn() [with
an = j]::<lambda(auto:1)>; ac = {int}]’
test.cpp:27:7:   required from ‘bool k<an>::bn() [with an = j]’
test.cpp:39:22:   required from here
test.cpp:27:22: internal compiler error: in finish_member_declaration, at
cp/semantics.c:2984
     ad([&](auto) { bi(g); }, g);
                    ~~^~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.


version info (standard Ubuntu 17.10):
>g++-7 -v
Using built-in specs.
COLLECT_GCC=g++-7
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.2.0-8ubuntu3'
--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.2.0 (Ubuntu 7.2.0-8ubuntu3)
>From gcc-bugs-return-579856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:39:37 2017
Return-Path: <gcc-bugs-return-579856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76146 invoked by alias); 25 Oct 2017 16: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 76114 invoked by uid 55); 25 Oct 2017 16:39:32 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/82708] libmpx fails to compile due to PATH_MAX
Date: Wed, 25 Oct 2017 16:39: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
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-82708-4-uX5YFiBrN8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02916.txt.bz2
Content-length: 1377

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82708

--- Comment #7 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Wed, 25 Oct 2017, keno at juliacomputing dot com wrote:

> First, the build process looking for the headers in <path>/sys-include rather
> than <path>/include where glibc installs them. Leads to the same symptoms as
> reported in this issue.

You should be using a sysroot; directories such as $target/include and 
$target/sys-include should only ever have libc headers in bare-metal cases 
where you're using e.g. newlib and the concept of a native directory 
structure is meaningless.  The sysroot must *not* be the same as the 
$prefix where the compiler is installed, or as $prefix/$target; it needs 
to be another directory, e.g. $prefix/$target/sysroot.  glibc must be 
configured with --prefix=/usr and installed under the sysroot.

> Then, I tried using --with-sysroot which I wasn't using before, but then I got
> confusion between <sysroot>/usr/include and <sysroot>/include (most parts of

$sysroot/include should not exist.  Again, sysroot must not be 
$prefix/$target.

(However, sysroot/lib and sysroot/usr/lib must exist even for 
configurations using directories such as lib64, though they can be empty 
directories in that case.  Again, see how build-many-glibcs.py does 
things.)
>From gcc-bugs-return-579857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 16:59:35 2017
Return-Path: <gcc-bugs-return-579857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23895 invoked by alias); 25 Oct 2017 16:59: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 23835 invoked by uid 48); 25 Oct 2017 16:59:29 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82721] [7/8 Regression] Error message with corrupted text, sometimes ICE
Date: Wed, 25 Oct 2017 16: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: 8.0
X-Bugzilla-Keywords: error-recovery, 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 bug_status cf_known_to_work keywords cf_reconfirmed_on everconfirmed short_desc cf_known_to_fail
Message-ID: <bug-82721-4-hSwgzz1kRo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82721-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82721-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02917.txt.bz2
Content-length: 11409

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82721

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |6.4.0
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code
   Last reconfirmed|                            |2017-10-25
     Ever confirmed|0                           |1
            Summary|Error message with          |[7/8 Regression] Error
                   |corrupted text, sometimes   |message with corrupted
                   |ICE                         |text, sometimes ICE
      Known to fail|                            |7.2.0, 8.0

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed for 7.2.0 and trunk. I get an ICE if the compiler is configured with
--enable-checking=yes

    character(len(c)) :: b
                         1
Error: Symbol 'b' at (1) already has basic type of REAL
f951: internal compiler error: Illegal instruction: 4

and

    character(len(c)) :: b
                         1
Error: Symbol 'b' at (1) already has basic type of REAL
(null):0: confused by earlier errors, bailing out

if the compiler is configured with --enable-checking=release.

The change occurred between revisions r243430 (2016-12-08, OK) and r243621
(2016-12-13, bailing out).

My instrumented compiler reports

==79420==ERROR: AddressSanitizer: heap-use-after-free on address 0x604000001138
at pc 0x00010040f256 bp 0x7fff5fbfe7b0 sp 0x7fff5fbfe7a8
READ of size 8 at 0x604000001138 thread T0
    #0 0x10040f255 in check_host_association(gfc_expr*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x10040f255)
    #1 0x10040a172 in gfc_resolve_expr(gfc_expr*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x10040a172)
    #2 0x100424de3 in resolve_index_expr(gfc_expr*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100424de3)
    #3 0x10042b316 in resolve_charlen(gfc_charlen*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x10042b316)
    #4 0x1004611dd in resolve_types(gfc_namespace*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1004611dd)
    #5 0x1003e7626 in gfc_resolve(gfc_namespace*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1003e7626)
    #6 0x100342827 in resolve_all_program_units(gfc_namespace*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100342827)
    #7 0x100363ced in gfc_parse_file()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100363ced)
    #8 0x100547a22 in gfc_be_parse_file()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100547a22)
    #9 0x105b4df34 in compile_file()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x105b4df34)
    #10 0x105b5a2c7 in do_compile()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x105b5a2c7)
    #11 0x1082c47cb in toplev::main(int, char**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1082c47cb)
    #12 0x1082ccd02 in main
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1082ccd02)
    #13 0x7fffbcb65234 in start (/usr/lib/system/libdyld.dylib+0x5234)

0x604000001138 is located 40 bytes inside of 48-byte region
[0x604000001110,0x604000001140)
freed by thread T0 here:
    #0 0x15a658160 in wrap_free.part.0
(/opt/gcc/gcc8w/lib/libasan.4.dylib+0x67160)
    #1 0x1004eb9ef in gfc_delete_symtree(gfc_symtree**, char const*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1004eb9ef)
    #2 0x100507dc2 in gfc_restore_last_undo_checkpoint()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100507dc2)
    #3 0x100508042 in gfc_undo_symbols()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100508042)
    #4 0x100342d3e in reject_statement()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100342d3e)
    #5 0x100342eae in match_word(char const*, match (*)(), locus*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100342eae)
    #6 0x100350df7 in decode_statement()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100350df7)
    #7 0x100353557 in next_free()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100353557)
    #8 0x100353fe6 in next_statement()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100353fe6)
    #9 0x10035a7d7 in parse_spec(gfc_statement)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x10035a7d7)
    #10 0x1003618e6 in parse_progunit(gfc_statement)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1003618e6)
    #11 0x100363caf in gfc_parse_file()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100363caf)
    #12 0x100547a22 in gfc_be_parse_file()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100547a22)
    #13 0x105b4df34 in compile_file()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x105b4df34)
    #14 0x105b5a2c7 in do_compile()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x105b5a2c7)
    #15 0x1082c47cb in toplev::main(int, char**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1082c47cb)
    #16 0x1082ccd02 in main
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1082ccd02)
    #17 0x7fffbcb65234 in start (/usr/lib/system/libdyld.dylib+0x5234)

previously allocated by thread T0 here:
    #0 0x15a6577ac in wrap_calloc (/opt/gcc/gcc8w/lib/libasan.4.dylib+0x667ac)
    #1 0x1081075c5 in xcalloc
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1081075c5)
    #2 0x1004eb65d in gfc_new_symtree(gfc_symtree**, char const*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1004eb65d)
    #3 0x1004ef980 in gfc_get_sym_tree(char const*, gfc_namespace*,
gfc_symtree**, bool)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1004ef980)
    #4 0x1004fc93e in gfc_get_ha_sym_tree(char const*, gfc_symtree**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1004fc93e)
    #5 0x10038ad3d in gfc_match_rvalue(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x10038ad3d)
    #6 0x100250d0b in match_primary(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100250d0b)
    #7 0x100250fa0 in match_level_1(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100250fa0)
    #8 0x100251315 in match_mult_operand(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100251315)
    #9 0x100251b35 in match_add_operand(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100251b35)
    #10 0x100252552 in match_level_2(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100252552)
    #11 0x100252a79 in match_level_3(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100252a79)
    #12 0x100252f00 in match_level_4(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100252f00)
    #13 0x100253d52 in match_and_operand(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100253d52)
    #14 0x100254026 in match_or_operand(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100254026)
    #15 0x100254499 in match_equiv_operand(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100254499)
    #16 0x100254916 in match_level_5(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100254916)
    #17 0x100250828 in gfc_match_expr(gfc_expr**)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100250828)
    #18 0x10009efca in char_len_param_value(gfc_expr**, bool*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x10009efca)
    #19 0x1000b2813 in gfc_match_char_spec(gfc_typespec*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1000b2813)
    #20 0x1000cf7a1 in gfc_match_decl_type_spec(gfc_typespec*, int)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1000cf7a1)
    #21 0x1000e1351 in gfc_match_data_decl()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1000e1351)
    #22 0x100342e2c in match_word(char const*, match (*)(), locus*)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100342e2c)
    #23 0x100350df7 in decode_statement()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100350df7)
    #24 0x100353557 in next_free()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100353557)
    #25 0x100353fe6 in next_statement()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100353fe6)
    #26 0x10035a7d7 in parse_spec(gfc_statement)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x10035a7d7)
    #27 0x1003618e6 in parse_progunit(gfc_statement)
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x1003618e6)
    #28 0x100363caf in gfc_parse_file()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100363caf)
    #29 0x100547a22 in gfc_be_parse_file()
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x100547a22)

SUMMARY: AddressSanitizer: heap-use-after-free
(/opt/gcc/gcc8g/libexec/gcc/x86_64-apple-darwin16.7.0/8.0.0/f951+0x10040f255)
in check_host_association(gfc_expr*)
Shadow bytes around the buggy address:
  0x1c08000001d0: fa fa fd fd fd fd fd fd fa fa fd fd fd fd fd fd
  0x1c08000001e0: fa fa fd fd fd fd fd fd fa fa fd fd fd fd fd fd
  0x1c08000001f0: fa fa fd fd fd fd fd fa fa fa fd fd fd fd fd fd
  0x1c0800000200: fa fa fd fd fd fd fd fa fa fa fd fd fd fd fd fd
  0x1c0800000210: fa fa fd fd fd fd fd fa fa fa fd fd fd fd fd fd
=>0x1c0800000220: fa fa fd fd fd fd fd[fd]fa fa 00 00 00 00 00 fa
  0x1c0800000230: fa fa fd fd fd fd fd fd fa fa 00 00 00 00 00 00
  0x1c0800000240: fa fa fd fd fd fd fd fa fa fa fd fd fd fd fd fd
  0x1c0800000250: fa fa fd fd fd fd fd fd fa fa fd fd fd fd fd fd
  0x1c0800000260: fa fa fd fd fd fd fd fd fa fa fd fd fd fd fd fa
  0x1c0800000270: 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
==79420==ABORTING
f951: internal compiler error: Abort trap: 6
>From gcc-bugs-return-579858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 17:02:28 2017
Return-Path: <gcc-bugs-return-579858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27861 invoked by alias); 25 Oct 2017 17:02: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 27796 invoked by uid 55); 25 Oct 2017 17:02:23 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers
Date: Wed, 25 Oct 2017 17:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-58687-4-JzWuCn8W9a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02918.txt.bz2
Content-length: 596

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687

--- Comment #30 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
An option to use just the file's basename in __FILE__ is bug 82176.  I 
think that's a much more reasonable feature than straining the 
interpretation of what counts as the line number for the purposes of 
__LINE__ in a particular context.  See also bug 70268, and the ongoing 
discussion of BUILD_PATH_PREFIX_MAP (where Jeff objected to the use of an 
environment variable, but a command-line option version should still be 
reasonable).
>From gcc-bugs-return-579859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 17:36:02 2017
Return-Path: <gcc-bugs-return-579859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70387 invoked by alias); 25 Oct 2017 17: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 70316 invoked by uid 48); 25 Oct 2017 17:35:57 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82721] [7/8 Regression] Error message with corrupted text, sometimes ICE
Date: Wed, 25 Oct 2017 17: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: error-recovery, ice-on-invalid-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-82721-4-lVIieTnAZw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82721-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82721-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02919.txt.bz2
Content-length: 2431

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82721

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 G. Steinmetz from comment #0)
> This snippet (clearly invalid) gives a second error message
> with randomly corrupted text :
> 
> 
> $ cat z1.f90
> program p
>    real :: a, b(4)
>    character(len(c)) :: b
> end
> 
> 
> $ gfortran-8-20171022 -c z1.f90
> z1.f90:3:25:
> 
>     character(len(c)) :: b
>                          1
> Error: Symbol 'b' at (1) already has basic type of REAL
> z1.f90:3:13:
> 
>     character(len(c)) :: b
>              1
> Error: '\xa8\x8e\x1f\x8e+' at (1) is not a function

Interesting.  Must be an OS specific issue.

% gfcx -c r.f90
r.f90:3:25:

    character(len(c)) :: b
                         1
Error: Symbol 'b' at (1) already has basic type of REAL
r.f90:3:17:

    character(len(c)) :: b
                 1
Error: 'string' argument of 'len' intrinsic at (1) must be CHARACTER

% valgrind ~/work/libexec/gcc/x86_64-unknown-freebsd12.0/8.0.0/f951 r.f90
==68051== Memcheck, a memory error detector
==68051== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==68051== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==68051== Command:
/mnt/sgk/work/libexec/gcc/x86_64-unknown-freebsd12.0/8.0.0/f951 r.f90
==68051== 
--68051-- WARNING: unhandled syscall: 552
--68051-- You may be able to write your own handler.
--68051-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--68051-- Nevertheless we consider this a bug.  Please report
--68051-- it at http://valgrind.org/support/bug_reports.html.
--68051-- WARNING: unhandled syscall: 551
--68051-- You may be able to write your own handler.
--68051-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--68051-- Nevertheless we consider this a bug.  Please report
--68051-- it at http://valgrind.org/support/bug_reports.html.
Cannot fstat "/usr/local/lib/valgrind/vgpreload_core-amd64-freebsd.so"
==68051== 
==68051== HEAP SUMMARY:
==68051==     in use at exit: 0 bytes in 0 blocks
==68051==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==68051==
>From gcc-bugs-return-579860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 17:41:15 2017
Return-Path: <gcc-bugs-return-579860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108679 invoked by alias); 25 Oct 2017 17:41: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 108627 invoked by uid 48); 25 Oct 2017 17:41:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82718] Bad DWARF5 .debug_loclists generation
Date: Wed, 25 Oct 2017 17: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: 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: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to target_milestone everconfirmed
Message-ID: <bug-82718-4-Bjt2Bp02IW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82718-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82718-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02920.txt.bz2
Content-length: 1611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82718

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-25
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.3
     Ever confirmed|0                           |1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Slightly simplified testcase:
/* PR debug/82718 */
/* { dg-do assemble } */
/* { dg-options "-O2 -gdwarf-5" } */

extern int e;
extern long foo (int, void *, unsigned long, unsigned long);
struct S
{
  int f;
  unsigned long t, s;
};

static inline long
bv (int x, void *y, unsigned long z, unsigned long w)
{
  long a = 0;
  do
    {
      long g;
      do
        g = (long int) (foo (x, y + a, z - a, w + a));
      while (g == -1L && e == 9959);
      if (g <= 0)
        return g < 0 ? g : a;
      a += g;
    }
  while ((unsigned long) a < z);
  return a;
}

const char *
baz (struct S *x)
{
  unsigned long h = 8;
  char *j = 0;
  unsigned long z = x->f;
  if (__builtin_expect (!!((unsigned long) bv (x->f, j, z, x->t + h + 10) !=
z), 0))
    return 0;
  x->s = z;
  return j;
}

The problem is that secname on the .LVL* labels doesn't reflect the section
switch.  I'll handle this tomorrow.
>From gcc-bugs-return-579861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 17:52:38 2017
Return-Path: <gcc-bugs-return-579861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42953 invoked by alias); 25 Oct 2017 17: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 42896 invoked by uid 48); 25 Oct 2017 17:52:34 -0000
From: "john at mcfarlane dot name" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82226] previous instantiation of template<auto> type breaks future use
Date: Wed, 25 Oct 2017 17:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: john at mcfarlane 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-82226-4-q7HybwYML0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82226-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82226-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02921.txt.bz2
Content-length: 129

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82226

--- Comment #2 from John McFarlane <john at mcfarlane dot name> ---
79092?
>From gcc-bugs-return-579862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 18:27:01 2017
Return-Path: <gcc-bugs-return-579862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91465 invoked by alias); 25 Oct 2017 18: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 91375 invoked by uid 48); 25 Oct 2017 18:26:56 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82720] [PDT] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2400
Date: Wed, 25 Oct 2017 18: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.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-82720-4-YHytgAgo84@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82720-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82720-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02922.txt.bz2
Content-length: 1969

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82720

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
                 CC|                            |kargl at gcc dot gnu.org,
                   |                            |pault at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org ---
This hackish patch gives the expected result

Index: trans-types.c
===================================================================
--- trans-types.c       (revision 254051)
+++ trans-types.c       (working copy)
@@ -2667,11 +2667,18 @@ gfc_get_derived_type (gfc_symbol * derived, int codime
       else
        {
          if (c->ts.type == BT_CHARACTER
-             && !c->ts.deferred && !c->attr.pdt_string)
+             && !c->ts.deferred && !c->attr.pdt_string
+             && c->ts.u.cl->length->expr_type == EXPR_CONSTANT)
            {
              /* Evaluate the string length.  */
              gfc_conv_const_charlen (c->ts.u.cl);
              gcc_assert (c->ts.u.cl->backend_decl);
+           }
+         else if (c->ts.type == BT_CHARACTER
+                  && c->ts.u.cl->length->expr_type == EXPR_VARIABLE)
+           {
+             c->ts.u.cl->backend_decl
+               = build_int_cst (gfc_charlen_type_node, 2);
            }
          else if (c->ts.type == BT_CHARACTER)
            c->ts.u.cl->backend_decl


The first change prevents the gcc_assert() from triggering.
The second change is the simple hack to forcibly set the
string length to 2 to see if this allowed the code to compile.

I don't know if we should be evaluating c->ts.u.cl->length
at this point or earlier (in perhaps resolve.c)?
>From gcc-bugs-return-579863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 18:32:28 2017
Return-Path: <gcc-bugs-return-579863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9368 invoked by alias); 25 Oct 2017 18:32: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 9311 invoked by uid 48); 25 Oct 2017 18:32:23 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
Date: Wed, 25 Oct 2017 18: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: 8.0
X-Bugzilla-Keywords: wrong-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.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82692-4-MexnXArrpg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02923.txt.bz2
Content-length: 592

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692

--- Comment #16 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Segher Boessenkool from comment #15)
> My point is that doing this only for FLOAT_MODE_P makes no real sense.
> If we can describe ordered comparisons with special CC modes, we should
> do tests with those modes only here.

I really can't see how we can use CC_MODES_COMPATIBLE check without harming
integer compares. Not being an expert in this part of the compiler, I'm out of
ideas what to do here - do you perhaps have a particular solution in mind?
>From gcc-bugs-return-579864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 18:34:38 2017
Return-Path: <gcc-bugs-return-579864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13358 invoked by alias); 25 Oct 2017 18:34: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 13266 invoked by uid 48); 25 Oct 2017 18:34:34 -0000
From: "palmer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82717] [RISCV] Default value of the -mabi option doesn't match documentation
Date: Wed, 25 Oct 2017 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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: palmer at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: palmer 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-82717-4-URkYLX2JSH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82717-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82717-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02924.txt.bz2
Content-length: 1096

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82717

palmer at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-25
                 CC|                            |palmer at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |palmer at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from palmer at gcc dot gnu.org ---
Thanks Alex -- you're correct that this is a documentation/code mismatch.  I
just talked to Andrew and we think it's best to change the documentation.  How
does this sound:

"""
@item -mabi=@var{ABI-string}
@opindex mabi
Specify integer and floating-point calling convention.  The default for this
argument is system dependent, users who want a specific calling convention
should specify one explicitly.  The valid calling conventions are: ilp32,
ilp32f, ilp32d, lp64, lp64f, and lp64d.
"""
>From gcc-bugs-return-579865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 18:39:58 2017
Return-Path: <gcc-bugs-return-579865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69135 invoked by alias); 25 Oct 2017 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 69076 invoked by uid 48); 25 Oct 2017 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++/52202] [C++11][DR 1376] Should not extend lifetime of temporary wrapped in static_cast to reference type
Date: Wed, 25 Oct 2017 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: 4.7.0
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:
Message-ID: <bug-52202-4-JRpfsm6dfZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52202-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52202-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02925.txt.bz2
Content-length: 318

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to ensadc from comment #2)
> Superseded by issue 1299? See http://wg21.link/p0727.

To clarify for people who don't click on the link, that's C++ Core Issue 1299,
not GCC's bug 1299.
>From gcc-bugs-return-579866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 18:53:56 2017
Return-Path: <gcc-bugs-return-579866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121423 invoked by alias); 25 Oct 2017 18: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 120747 invoked by uid 48); 25 Oct 2017 18:53:52 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82720] [PDT] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2400
Date: Wed, 25 Oct 2017 18: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: 8.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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-82720-4-sYH7Uv0F5D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82720-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82720-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02926.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82720

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
>From gcc-bugs-return-579867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 18:54:35 2017
Return-Path: <gcc-bugs-return-579867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122700 invoked by alias); 25 Oct 2017 18:54: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 122652 invoked by uid 48); 25 Oct 2017 18:54:31 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82719] [PDT] ICE in transfer_expr, at fortran/trans-io.c:2393
Date: Wed, 25 Oct 2017 18: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: 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-82719-4-WcdLfDXyNC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82719-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82719-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02927.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82719

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-10-25
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
>From gcc-bugs-return-579868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 18:58:44 2017
Return-Path: <gcc-bugs-return-579868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19568 invoked by alias); 25 Oct 2017 18:58: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 14498 invoked by uid 55); 25 Oct 2017 18:58:38 -0000
From: "mtewoodbury at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers
Date: Wed, 25 Oct 2017 18:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mtewoodbury 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-58687-4-00pghJNdhT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02928.txt.bz2
Content-length: 1256

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687

--- Comment #31 from Max TenEyck Woodbury <mtewoodbury at gmail dot com> ---
    The request in 82176 would remove all file components except the
filename itself.  It also puts control of the option on the comand
line which would usually mandate its use for all modules in a project.
It is a strong departure from the standard's requirement.  The request
in 70268 seems to be fairly similar if less draconian and a bit more
complex in its implementation.  Both could be resolved by consistantly
including #line ... "<relative path to this file>" directives near the
begining of the modules.  That is a good practice since it also
provides a natural internal source code identification of the modules.
The main objection to doing that would be the problem of maintaining
the value of '...'.

    And that brings us to this request.  This is not that much of a
strain on the interpretation of what counts as the line number.  The
interpretation of __LINE__ is actually unchanged in the more recent
patch.  This simply changes -when- the substitution takes effect.  The
updated standard enumerates two times the expansion can be done.  This
change specifies that the more portable interpretation be used.
>From gcc-bugs-return-579869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 19:17:30 2017
Return-Path: <gcc-bugs-return-579869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40841 invoked by alias); 25 Oct 2017 19:17: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 40657 invoked by uid 48); 25 Oct 2017 19:17:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/82718] Bad DWARF5 .debug_loclists generation
Date: Wed, 25 Oct 2017 19:17: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:
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.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82718-4-XISRUpAth6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82718-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82718-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02929.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82718

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42474
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42474&action=edit
gcc8-pr82718.patch

Untested fix.
>From gcc-bugs-return-579870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 19:26:31 2017
Return-Path: <gcc-bugs-return-579870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16378 invoked by alias); 25 Oct 2017 19: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 12254 invoked by uid 48); 25 Oct 2017 19:26:26 -0000
From: "berck.nash at wdc dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/82723] New: Collisions with standard library not detected by linker
Date: Wed, 25 Oct 2017 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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: berck.nash at wdc 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-82723-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02930.txt.bz2
Content-length: 8062

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82723

            Bug ID: 82723
           Summary: Collisions with standard library not detected by
                    linker
           Product: gcc
           Version: 7.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: berck.nash at wdc dot com
  Target Milestone: ---

If the standard library calls a function with the same name as a function that
happens to appear locally, the linker will happily plug in the local function
instead of the standard library function.  I found the resulting runtime
failure rather difficult to debug.

The obvious case is detected by the compiler as a redefinition, but the
troublesome case is one where standard library call and the conflicting
definition are in different objects.  In this case, I believe the linker should
detect that there are, in fact, multiple symbols with the same name and throw
an error.  Instead, it seems happy to link with whatever the first thing it
finds.

Here's an example triggered by calling getaddrinfo() which apparently calls
connect().  The linker has incorrectly linked the standard library call to
connect() to my connect() without a single warning or error.

Note that the example requires two source files:
First:

#include <stdio.h>
#include <netdb.h>
#include <errno.h>
#include <string.h>

int main(int argc, char **argv)
{
        struct addrinfo *addr;
        int error;
        char addr_str[INET6_ADDRSTRLEN];

        error = getaddrinfo(argv[1], NULL, NULL, &addr);
        if (error) {
                fprintf(stderr, "Error resolving address (%s): %s\n",
                                argv[1], gai_strerror(error));
        }

        freeaddrinfo(addr);
}

Second:
#include <stdio.h>

int connect(void)
{
        printf("Should never get here!\n");
        return -1;
}

Output from running the compiled binary:

./bug google.com
Should never get here!
Should never get here!
Should never get here!
Should never get here!
Should never get here!
Should never get here!
Should never get here!
Should never get here!
Should never get here!
Should never get here!
Should never get here!
Should never get here!
Error resolving address (google.com): Temporary failure in name resolution
*** Error in `./bug': munmap_chunk(): invalid pointer: 0x00007fff46e2736c ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7fdf16cd7bfb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7fdf16cddfc6]
/lib/x86_64-linux-gnu/libc.so.6(freeaddrinfo+0x1d)[0x7fdf16d3c1ad]
./bug(+0x86c)[0x5625543fa86c]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fdf16c872e1]
./bug(+0x6fa)[0x5625543fa6fa]
======= Memory map: ========
5625543fa000-5625543fb000 r-xp 00000000 08:02 5393861                   
/home/berck/work/gcc_bug/bug
5625545fa000-5625545fb000 r--p 00000000 08:02 5393861                   
/home/berck/work/gcc_bug/bug
5625545fb000-5625545fc000 rw-p 00001000 08:02 5393861                   
/home/berck/work/gcc_bug/bug
562554cc2000-562554ce3000 rw-p 00000000 00:00 0                          [heap]
7fdf1621e000-7fdf16234000 r-xp 00000000 08:02 11012524                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fdf16234000-7fdf16433000 ---p 00016000 08:02 11012524                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fdf16433000-7fdf16434000 r--p 00015000 08:02 11012524                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fdf16434000-7fdf16435000 rw-p 00016000 08:02 11012524                  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fdf16435000-7fdf16449000 r-xp 00000000 08:02 11012621                  
/lib/x86_64-linux-gnu/libresolv-2.24.so
7fdf16449000-7fdf16648000 ---p 00014000 08:02 11012621                  
/lib/x86_64-linux-gnu/libresolv-2.24.so
7fdf16648000-7fdf16649000 r--p 00013000 08:02 11012621                  
/lib/x86_64-linux-gnu/libresolv-2.24.so
7fdf16649000-7fdf1664a000 rw-p 00014000 08:02 11012621                  
/lib/x86_64-linux-gnu/libresolv-2.24.so
7fdf1664a000-7fdf1664c000 rw-p 00000000 00:00 0
7fdf1664c000-7fdf16651000 r-xp 00000000 08:02 11012613                  
/lib/x86_64-linux-gnu/libnss_dns-2.24.so
7fdf16651000-7fdf16850000 ---p 00005000 08:02 11012613                  
/lib/x86_64-linux-gnu/libnss_dns-2.24.so
7fdf16850000-7fdf16851000 r--p 00004000 08:02 11012613                  
/lib/x86_64-linux-gnu/libnss_dns-2.24.so
7fdf16851000-7fdf16852000 rw-p 00005000 08:02 11012613                  
/lib/x86_64-linux-gnu/libnss_dns-2.24.so
7fdf16852000-7fdf16854000 r-xp 00000000 08:02 11012473                  
/lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fdf16854000-7fdf16a53000 ---p 00002000 08:02 11012473                  
/lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fdf16a53000-7fdf16a54000 r--p 00001000 08:02 11012473                  
/lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fdf16a54000-7fdf16a55000 rw-p 00002000 08:02 11012473                  
/lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fdf16a55000-7fdf16a5f000 r-xp 00000000 08:02 11012614                  
/lib/x86_64-linux-gnu/libnss_files-2.24.so
7fdf16a5f000-7fdf16c5f000 ---p 0000a000 08:02 11012614                  
/lib/x86_64-linux-gnu/libnss_files-2.24.so
7fdf16c5f000-7fdf16c60000 r--p 0000a000 08:02 11012614                  
/lib/x86_64-linux-gnu/libnss_files-2.24.so
7fdf16c60000-7fdf16c61000 rw-p 0000b000 08:02 11012614                  
/lib/x86_64-linux-gnu/libnss_files-2.24.so
7fdf16c61000-7fdf16c67000 rw-p 00000000 00:00 0
7fdf16c67000-7fdf16dfa000 r-xp 00000000 08:02 11012588                  
/lib/x86_64-linux-gnu/libc-2.24.so
7fdf16dfa000-7fdf16ffa000 ---p 00193000 08:02 11012588                  
/lib/x86_64-linux-gnu/libc-2.24.so
7fdf16ffa000-7fdf16ffe000 r--p 00193000 08:02 11012588                  
/lib/x86_64-linux-gnu/libc-2.24.so
7fdf16ffe000-7fdf17000000 rw-p 00197000 08:02 11012588                  
/lib/x86_64-linux-gnu/libc-2.24.so
7fdf17000000-7fdf17004000 rw-p 00000000 00:00 0
7fdf17004000-7fdf17027000 r-xp 00000000 08:02 11012582                  
/lib/x86_64-linux-gnu/ld-2.24.so
7fdf171ea000-7fdf171ec000 rw-p 00000000 00:00 0
7fdf17223000-7fdf17227000 rw-p 00000000 00:00 0
7fdf17227000-7fdf17228000 r--p 00023000 08:02 11012582                  
/lib/x86_64-linux-gnu/ld-2.24.so
7fdf17228000-7fdf17229000 rw-p 00024000 08:02 11012582                  
/lib/x86_64-linux-gnu/ld-2.24.so
7fdf17229000-7fdf1722a000 rw-p 00000000 00:00 0
7fff46e07000-7fff46e28000 rw-p 00000000 00:00 0                         
[stack]
7fff46e5d000-7fff46e60000 r--p 00000000 00:00 0                          [vvar]
7fff46e60000-7fff46e62000 r-xp 00000000 00:00 0                          [vdso]
Aborted (core dumped)
>From gcc-bugs-return-579871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 19:27:45 2017
Return-Path: <gcc-bugs-return-579871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34204 invoked by alias); 25 Oct 2017 19: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 34164 invoked by uid 48); 25 Oct 2017 19:27:41 -0000
From: "asb at lowrisc dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82717] [RISCV] Default value of the -mabi option doesn't match documentation
Date: Wed, 25 Oct 2017 19: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: asb at lowrisc dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: palmer at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82717-4-bRzivBQvv6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82717-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82717-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02931.txt.bz2
Content-length: 1178

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82717

--- Comment #2 from Alex Bradbury <asb at lowrisc dot org> ---
(In reply to palmer from comment #1)
> Thanks Alex -- you're correct that this is a documentation/code mismatch.  I
> just talked to Andrew and we think it's best to change the documentation. 
> How does this sound:
> 
> """
> @item -mabi=@var{ABI-string}
> @opindex mabi
> Specify integer and floating-point calling convention.  The default for this
> argument is system dependent, users who want a specific calling convention
> should specify one explicitly.  The valid calling conventions are: ilp32,
> ilp32f, ilp32d, lp64, lp64f, and lp64d.
> """

I can see how a doc fix probably makes most sense at this point, as the
behaviour has been shipping in GCC for a while. Although I like the idea of
less typing it could be that inferring a default ABI from the target -march was
a little too magic in the first place.

I'd also suggest adding another sentence or two to explain that ilp32 and lp64
describe soft-float calling conventions, while the f and d suffixes indicate
hard single or double precision floating point calling conventions.
>From gcc-bugs-return-579872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 19:58:25 2017
Return-Path: <gcc-bugs-return-579872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29301 invoked by alias); 25 Oct 2017 19:58: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 24745 invoked by uid 55); 25 Oct 2017 19:58:21 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/58687] "#line __LINE__ ..." changes subsequent line numbers
Date: Wed, 25 Oct 2017 19:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-58687-4-p6iLmaXG2Z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58687-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02932.txt.bz2
Content-length: 301

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58687

--- Comment #32 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
The evidence from the DR discussion is that it's the *less* portable 
interpretation - that none of the implementations tested behaved as you 
suggest.
>From gcc-bugs-return-579874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 20:17:55 2017
Return-Path: <gcc-bugs-return-579874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55950 invoked by alias); 25 Oct 2017 20: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 53921 invoked by uid 55); 25 Oct 2017 20:17:51 -0000
From: "andrew at sifive dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82717] [RISCV] Default value of the -mabi option doesn't match documentation
Date: Wed, 25 Oct 2017 20: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andrew at sifive dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: palmer at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82717-4-nGg0xv682u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82717-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82717-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2017-10/txt/msg02934.txt.bz2
Content-length: 1976

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82717

--- Comment #3 from Andrew Waterman <andrew at sifive dot com> ---
On Wed, Oct 25, 2017 at 12:27 PM, asb at lowrisc dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82717
>
> --- Comment #2 from Alex Bradbury <asb at lowrisc dot org> ---
> (In reply to palmer from comment #1)
>> Thanks Alex -- you're correct that this is a documentation/code mismatch.  I
>> just talked to Andrew and we think it's best to change the documentation.
>> How does this sound:
>>
>> """
>> @item -mabi=@var{ABI-string}
>> @opindex mabi
>> Specify integer and floating-point calling convention.  The default for this
>> argument is system dependent, users who want a specific calling convention
>> should specify one explicitly.  The valid calling conventions are: ilp32,
>> ilp32f, ilp32d, lp64, lp64f, and lp64d.
>> """
>
> I can see how a doc fix probably makes most sense at this point, as the
> behaviour has been shipping in GCC for a while. Although I like the idea of
> less typing it could be that inferring a default ABI from the target -march was
> a little too magic in the first place.

I think so.  The desired mapping from ISA to ABI depends on the
platform (e.g., -march=rv32imaf should probably use the ilp32 ABI on a
Linux system because the standard libraries will be ilp32, but
probably should use the ilp32f ABI on an embedded system).  While we
could define platform-specific mappings from -march to -mabi, things
would get confusing quickly.  Better, IMO, to specify -mabi
explicitly.

And of course this is mostly only a headache for cross-compilation;
most native compilations will pass neither -mabi nor -march
explicitly.

>
> I'd also suggest adding another sentence or two to explain that ilp32 and lp64
> describe soft-float calling conventions, while the f and d suffixes indicate
> hard single or double precision floating point calling conventions.
>From gcc-bugs-return-579873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 25 20:17:19 2017
Return-Path: <gcc-bugs-return-579873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49983 invoked by alias); 25 Oct 2017 20:17: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 49972 invoked by uid 89); 25 Oct 2017 20:17:18 -0000
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-10.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:U*andrew, shipping
X-HELO: mail-wm0-f68.google.com
Received: from mail-wm0-f68.google.com (HELO mail-wm0-f68.google.com) (74.125.82.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 Oct 2017 20:17:17 +0000
Received: by mail-wm0-f68.google.com with SMTP id t139so4223237wmt.1        for <gcc-bugs@gcc.gnu.org>; Wed, 25 Oct 2017 13:17:16 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d\x1e100.net; s 161025;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to:cc;        bh=jfEF4PrwBVRcRaVsI8TyNZSC2oEOHtQGhPttr3rqN0Q=;        b=PCJhirVhg5vzi7PL0s0XBnlIQN+X3RtMWATIw73+OALxfjO9nahvymTxrybrCyF6m2         IHhUgoUG1q2yfU5CpgiGCNih9gvODK3cPPuCdBpoprRVhaoGFYPxjQZQGiTG7qtnE4tJ         nem2Oq0+OPlSaYC0xew/thu/zEN8fxwHQxdcxDof8wINgbufg46kItEC58FXUY/AbYeY         EroU1MUse1OWrCN3Z91AP+BbaKNUouF8elMCU2nejSyGOka0v1ombuln6g69hayz3iHo         cEzRc870Ypoa7JcSonEwR+QuXm7Swl6h7sRyG/vC0jAjfiUjP6v1EpO0DcsGA2b6nS7c         Z2mw=X-Gm-Message-State: AMCzsaXY7WuIz+iVmlCze+/wu40lJCezktsG7l02wKqRWEHrvqtxBcr4	He9gx8FEdhdAkMp/Sl0vYhtb0A=X-Google-Smtp-Source: ABhQp+SWGrLVvwQMjE8UvgKkS8g6WTbDGbJ0LuSgXfm2SqPc+L/dbDkA1ekq89zrZn6HIOuqXKxZ9w=X-Received: by 10.80.160.231 with SMTP id 94mr25490404edo.242.1508962634832;        Wed, 25 Oct 2017 13:17:14 -0700 (PDT)
Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com. [74.125.82.41])        by smtp.gmail.com with ESMTPSA id h2sm2164138edc.89.2017.10.25.13.17.14        (version=TLS1_2 cipherìDHE-RSA-AES128-GCM-SHA256 bits\x128/128);        Wed, 25 Oct 2017 13:17:14 -0700 (PDT)
Received: by mail-wm0-f41.google.com with SMTP id m72so4089077wmc.1;        Wed, 25 Oct 2017 13:17:14 -0700 (PDT)
X-Received: by 10.28.35.9 with SMTP id j9mr2595481wmj.109.1508962633683; Wed, 25 Oct 2017 13:17:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.103.131 with HTTP; Wed, 25 Oct 2017 13:16:53 -0700 (PDT)
In-Reply-To: <bug-82717-4-bRzivBQvv6@http.gcc.gnu.org/bugzilla/>
References: <bug-82717-4@http.gcc.gnu.org/bugzilla/> <bug-82717-4-bRzivBQvv6@http.gcc.gnu.org/bugzilla/>
From: Andrew Waterman <andrew@sifive.com>
Date: Wed, 25 Oct 2017 20:17:00 -0000
X-Gmail-Original-Message-ID: <CA++6G0A6AVAT2AFtHg=LqrW4Ai-48jE-VZEdqW_p12=-2QttFQ@mail.gmail.com>
Message-ID: <CA++6G0A6AVAT2AFtHg=LqrW4Ai-48jE-VZEdqW_p12=-2QttFQ@mail.gmail.com>
Subject: Re: [Bug target/82717] [RISCV] Default value of the -mabi option doesn't match documentation
To: asb at lowrisc dot org <gcc-bugzilla@gcc.gnu.org>
Cc: gcc-bugs@gcc.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-SW-Source: 2017-10/txt/msg02933.txt.bz2
Content-length: 1836

On Wed, Oct 25, 2017 at 12:27 PM, asb at lowrisc dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id‚717
>
> --- Comment #2 from Alex Bradbury <asb at lowrisc dot org> ---
> (In reply to palmer from comment #1)
>> Thanks Alex -- you're correct that this is a documentation/code mismatch.  I
>> just talked to Andrew and we think it's best to change the documentation.
>> How does this sound:
>>
>> """
>> @item -mabi=@var{ABI-string}
>> @opindex mabi
>> Specify integer and floating-point calling convention.  The default for this
>> argument is system dependent, users who want a specific calling convention
>> should specify one explicitly.  The valid calling conventions are: ilp32,
>> ilp32f, ilp32d, lp64, lp64f, and lp64d.
>> """
>
> I can see how a doc fix probably makes most sense at this point, as the
> behaviour has been shipping in GCC for a while. Although I like the idea of
> less typing it could be that inferring a default ABI from the target -march was
> a little too magic in the first place.

I think so.  The desired mapping from ISA to ABI depends on the
platform (e.g., -march=rv32imaf should probably use the ilp32 ABI on a
Linux system because the standard libraries will be ilp32, but
probably should use the ilp32f ABI on an embedded system).  While we
could define platform-specific mappings from -march to -mabi, things
would get confusing quickly.  Better, IMO, to specify -mabi
explicitly.

And of course this is mostly only a headache for cross-compilation;
most native compilations will pass neither -mabi nor -march
explicitly.

>
> I'd also suggest adding another sentence or two to explain that ilp32 and lp64
> describe soft-float calling conventions, while the f and d suffixes indicate
> hard single or double precision floating point calling conventions.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others)
       [not found] <bug-82480-4@http.gcc.gnu.org/bugzilla/>
  2017-10-09  7:27 ` [Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others) dominiq at lps dot ens.fr
@ 2021-01-09 11:41 ` tkoenig at gcc dot gnu.org
  2021-01-10 19:00 ` urbanjost at comcast dot net
  2023-03-10  2:01 ` urbanjost at comcast dot net
  3 siblings, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2021-01-09 11:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82480

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Janne Blomqvist from comment #3)
> 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.

We could, for example, add a KIND parameter to STAT.

Sounds relatively straightforward.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others)
       [not found] <bug-82480-4@http.gcc.gnu.org/bugzilla/>
  2017-10-09  7:27 ` [Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others) dominiq at lps dot ens.fr
  2021-01-09 11:41 ` tkoenig at gcc dot gnu.org
@ 2021-01-10 19:00 ` urbanjost at comcast dot net
  2023-03-10  2:01 ` urbanjost at comcast dot net
  3 siblings, 0 replies; 4+ messages in thread
From: urbanjost at comcast dot net @ 2021-01-10 19:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82480

--- Comment #5 from urbanjost at comcast dot net ---
Since it is an extension that makes perfect sense to me. Backward-compatible
and solves the problem.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others)
       [not found] <bug-82480-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-01-10 19:00 ` urbanjost at comcast dot net
@ 2023-03-10  2:01 ` urbanjost at comcast dot net
  3 siblings, 0 replies; 4+ messages in thread
From: urbanjost at comcast dot net @ 2023-03-10  2:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82480

--- Comment #6 from urbanjost at comcast dot net ---
Never mind. Wrong bug report. Ignore comment #5

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-10  2:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-82480-4@http.gcc.gnu.org/bugzilla/>
2017-10-09  7:27 ` [Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others) dominiq at lps dot ens.fr
2021-01-09 11:41 ` tkoenig at gcc dot gnu.org
2021-01-10 19:00 ` urbanjost at comcast dot net
2023-03-10  2:01 ` urbanjost at comcast dot net

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).