public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap
@ 2014-05-07  6:50 ubizjak at gmail dot com
  2014-05-07  6:55 ` [Bug bootstrap/61092] " ubizjak at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2014-05-07  6:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61092
           Summary: [4.10 Regression]: wide-int merge broke alpha
                    bootstrap
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com

/home/uros/gcc-build/./prev-gcc/xg++ -B/home/uros/gcc-build/./prev-gcc/
-B/usr/local/alphaev68-unknown-linux-gnu/bin/ -nostdinc++
-B/home/uros/gcc-build/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/uros/gcc-build/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/uros/gcc-build/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/include/alphaev68-unknown-linux-gnu
 -I/home/uros/gcc-build/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/include 
-I/home/uros/gcc-svn/trunk/libstdc++-v3/libsupc++
-L/home/uros/gcc-build/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/uros/gcc-build/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -gtoggle -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
 -DHAVE_CONFIG_H -I. -I. -I../../gcc-svn/trunk/gcc -I../../gcc-svn/trunk/gcc/.
-I../../gcc-svn/trunk/gcc/../include
-I../../gcc-svn/trunk/gcc/../libcpp/include 
-I../../gcc-svn/trunk/gcc/../libdecnumber
-I../../gcc-svn/trunk/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-svn/trunk/gcc/../libbacktrace    -o wide-int.o -MT wide-int.o -MMD
-MP -MF ./.deps/wide-int.TPo ../../gcc-svn/trunk/gcc/wide-int.cc
In file included from ../../gcc-svn/trunk/gcc/wide-int.cc:37:0:
../../gcc-svn/trunk/gcc/wide-int.cc: In function ‘unsigned int
wi::mul_internal(long int*, const long int*, unsigned int, const long int*,
unsigned int, unsigned int, signop, bool*, bool)’:
../../gcc-svn/trunk/gcc/../include/longlong.h:145:10: sorry, unimplemented:
unexpected AST of kind mult_highpart_expr
     (ph) = __builtin_alpha_umulh (__m0, __m1);    \
          ^
../../gcc-svn/trunk/gcc/wide-int.cc:1269:4: note: in expansion of macro
‘umul_ppmm’
    umul_ppmm (val[1], val[0], op1.ulow (), op2.ulow ());
    ^
../../gcc-svn/trunk/gcc/../include/longlong.h:145:10: internal compiler error:
in potential_constant_expression_1, at cp/semantics.c:10575
     (ph) = __builtin_alpha_umulh (__m0, __m1);    \
          ^
../../gcc-svn/trunk/gcc/wide-int.cc:1269:4: note: in expansion of macro
‘umul_ppmm’
    umul_ppmm (val[1], val[0], op1.ulow (), op2.ulow ());
    ^
0x12047846f potential_constant_expression_1
        ../../gcc-svn/trunk/gcc/cp/semantics.c:10575
0x1204784bb potential_constant_expression(tree_node*)
        ../../gcc-svn/trunk/gcc/cp/semantics.c:10585
0x12047555f maybe_constant_value(tree_node*)
        ../../gcc-svn/trunk/gcc/cp/semantics.c:9930
0x1203e9e3f cp_convert_and_check(tree_node*, tree_node*, int)
        ../../gcc-svn/trunk/gcc/cp/cvt.c:630
0x1201819d7 convert_like_real
        ../../gcc-svn/trunk/gcc/cp/call.c:6345
0x1201925af perform_implicit_conversion_flags(tree_node*, tree_node*, int, int)
        ../../gcc-svn/trunk/gcc/cp/call.c:9109
0x1203dffb3 convert_for_assignment
        ../../gcc-svn/trunk/gcc/cp/typeck.c:8163
...
>From gcc-bugs-return-450750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 07 06:53:48 2014
Return-Path: <gcc-bugs-return-450750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28675 invoked by alias); 7 May 2014 06:53: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 28574 invoked by uid 48); 7 May 2014 06:53:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/61090] [4.10 Regression] ICE in build_ref_for_offset
Date: Wed, 07 May 2014 06: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: 4.10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-61090-4-8cmceDwkdq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61090-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61090-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg00442.txt.bz2
Content-length: 694

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-05-07
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jamborm at gcc dot gnu.org
   Target Milestone|---                         |4.10.0
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r209868.


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

* [Bug bootstrap/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
@ 2014-05-07  6:55 ` ubizjak at gmail dot com
  2014-05-07  8:02 ` jakub at gcc dot gnu.org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2014-05-07  6:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 32751
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32751&action=edit
Preprocessed source

Fails with -O2.
>From gcc-bugs-return-450752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 07 07:12:03 2014
Return-Path: <gcc-bugs-return-450752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13730 invoked by alias); 7 May 2014 07:12:03 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 13702 invoked by uid 48); 7 May 2014 07:11:58 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
Date: Wed, 07 May 2014 07:12: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.10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61092-4-rgKOpApuiQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61092-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61092-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg00444.txt.bz2
Content-length: 1124

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

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
The failure can be triggered with an attached precompiled source using a
crosscompiler from x86-64 to alphaev68-pc-linux-gnu, with -O2:

~/gcc-build-xxx/gcc/cc1plus -O2 -quiet wide-int.ii 
cc1plus: error: no include path in which to search for stdc-predef.h
../../gcc-svn/trunk/gcc/wide-int.cc: In function ‘unsigned int
wi::mul_internal(long int*, const long int*, unsigned int, const long int*,
unsigned int, unsigned int, signop, bool*, bool)’:
../../gcc-svn/trunk/gcc/wide-int.cc:1269:70: sorry, unimplemented: unexpected
AST of kind mult_highpart_expr
../../gcc-svn/trunk/gcc/wide-int.cc:1269:70: internal compiler error: in
potential_constant_expression_1, at cp/semantics.c:10575
0x6a1a3f potential_constant_expression_1
        ../../gcc-svn/trunk/gcc/cp/semantics.c:10575
0x6a9c2c potential_constant_expression(tree_node*)
        ../../gcc-svn/trunk/gcc/cp/semantics.c:10585
0x6a9cb3 maybe_constant_value(tree_node*)
        ../../gcc-svn/trunk/gcc/cp/semantics.c:9927
...
>From gcc-bugs-return-450753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 07 07:23:58 2014
Return-Path: <gcc-bugs-return-450753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18813 invoked by alias); 7 May 2014 07:23:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18762 invoked by uid 55); 7 May 2014 07:23:52 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60999] [4.9/4.10 Regression] ICE when static_cast from constexpr in specialization of template-class
Date: Wed, 07 May 2014 07: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.1
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60999-4-1GUlc82Jg8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60999-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60999-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg00445.txt.bz2
Content-length: 658

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`999

--- Comment #8 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed May  7 07:23:15 2014
New Revision: 210139

URL: http://gcc.gnu.org/viewcvs?rev!0139&root=gcc&view=rev
Log:
/cp
2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/60999
    * pt.c (maybe_begin_member_template_processing): Use
    uses_template_parms.

/testsuite
2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/60999
    * g++.dg/cpp0x/nsdmi-template9.C: New.
    * g++.dg/cpp0x/nsdmi-template10.C: Likewise.

Modified:
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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

* [Bug bootstrap/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
  2014-05-07  6:55 ` [Bug bootstrap/61092] " ubizjak at gmail dot com
@ 2014-05-07  8:02 ` jakub at gcc dot gnu.org
  2014-05-07  8:27 ` [Bug target/61092] " rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-05-07  8:02 UTC (permalink / raw)
  To: gcc-bugs

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

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> ---
If I remember well, this sounds like a problem that has been seen on aarch64 in
the past:
http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00586.html
(and the whole thread)
http://gcc.gnu.org/ml/gcc-patches/2013-04/msg01503.html
So, this looks like an alpha backend bug, where it should do some (or all?) the
foldings of md builtins in gimple_fold_builtin hook rather than fold_builtin.


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

* [Bug target/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
  2014-05-07  6:55 ` [Bug bootstrap/61092] " ubizjak at gmail dot com
  2014-05-07  8:02 ` jakub at gcc dot gnu.org
@ 2014-05-07  8:27 ` rguenth at gcc dot gnu.org
  2014-05-07  9:52 ` ubizjak at gmail dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-07  8:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
          Component|bootstrap                   |target
   Target Milestone|---                         |4.10.0


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

* [Bug target/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
                   ` (2 preceding siblings ...)
  2014-05-07  8:27 ` [Bug target/61092] " rguenth at gcc dot gnu.org
@ 2014-05-07  9:52 ` ubizjak at gmail dot com
  2014-05-07 10:08 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2014-05-07  9:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
Jakub, what do you think about following c++ patch:

--cut here--
Index: semantics.c
===================================================================
--- semantics.c (revision 210137)
+++ semantics.c (working copy)
@@ -9630,6 +9630,7 @@ cxx_eval_constant_expression (const constexpr_call
     case PLUS_EXPR:
     case MINUS_EXPR:
     case MULT_EXPR:
+    case MULT_HIGHPART_EXPR:
     case TRUNC_DIV_EXPR:
     case CEIL_DIV_EXPR:
     case FLOOR_DIV_EXPR:
@@ -10484,6 +10485,7 @@ potential_constant_expression_1 (tree t, bool want

     case PLUS_EXPR:
     case MULT_EXPR:
+    case MULT_HIGHPART_EXPR:
     case POINTER_PLUS_EXPR:
     case RDIV_EXPR:
     case EXACT_DIV_EXPR:
--cut here--

This patch fixes the compilation of the testcase and allows native alpha
bootstrap to continue.
>From gcc-bugs-return-450774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 07 10:02:24 2014
Return-Path: <gcc-bugs-return-450774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28486 invoked by alias); 7 May 2014 10:02:24 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28001 invoked by uid 55); 7 May 2014 10:02:17 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59715] [4.7 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Wed, 07 May 2014 10:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-59715-4-wWTD39YlX2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59715-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59715-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg00465.txt.bz2
Content-length: 1430

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

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed May  7 10:01:36 2014
New Revision: 210146

URL: http://gcc.gnu.org/viewcvs?rev!0146&root=gcc&view=rev
Log:
2014-05-07  Richard Biener  <rguenther@suse.de>

    Backport from mainline
    2013-11-29  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/59334
    * tree-ssa-dce.c (eliminate_unnecessary_stmts): Fix bug
    in previous commit.

    2013-11-28  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/59330
    * tree-ssa-dce.c (eliminate_unnecessary_stmts): Simplify
    and fix delayed marking of free calls not necessary.

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

    2014-01-09  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/59715
    * tree-cfg.h (split_critical_edges): Declare.
    * tree-cfg.c (split_critical_edges): Export.
    * tree-ssa-sink.c (execute_sink_code): Split critical edges.

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

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr59330.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr59715.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/tree-cfg.c
    branches/gcc-4_7-branch/gcc/tree-ssa-dce.c
    branches/gcc-4_7-branch/gcc/tree-ssa-sink.c


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

* [Bug target/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
                   ` (3 preceding siblings ...)
  2014-05-07  9:52 ` ubizjak at gmail dot com
@ 2014-05-07 10:08 ` jakub at gcc dot gnu.org
  2014-05-07 13:03 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-05-07 10:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
See the discussions, this is a step in a bad direction, the backend builtins
should be folded only during gimplification (i.e. the gimple_fold_builtin
targhook), unless folding them is required e.g. for C++11 constexprs etc.
If folding them is solely an optimization or implementation of those builtins,
then the FE should see them just as calls and only later on they should be
folded.


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

* [Bug target/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
                   ` (4 preceding siblings ...)
  2014-05-07 10:08 ` jakub at gcc dot gnu.org
@ 2014-05-07 13:03 ` rguenth at gcc dot gnu.org
  2014-05-07 21:42 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-07 13:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
IMHO fold_builtin should go away entirely in favor of gimple_fold_builtin.


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

* [Bug target/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
                   ` (5 preceding siblings ...)
  2014-05-07 13:03 ` rguenth at gcc dot gnu.org
@ 2014-05-07 21:42 ` ubizjak at gmail dot com
  2014-05-08 15:27 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2014-05-07 21:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 32757
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32757&action=edit
Proposed patch that implements TARGET_GIMPLE_FOLD_BUILTIN for alpha

I am testing the attached patch.
>From gcc-bugs-return-450907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 07 21:52:01 2014
Return-Path: <gcc-bugs-return-450907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8084 invoked by alias); 7 May 2014 21: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 8059 invoked by uid 48); 7 May 2014 21:51:57 -0000
From: "gnugcc at marino dot st" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/61104] New: Solaris configured without --with-system-zlib fails due to extra folder depth of multi-lib
Date: Wed, 07 May 2014 21:52: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: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gnugcc at marino dot st
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-61104-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg00599.txt.bz2
Content-length: 5362

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

            Bug ID: 61104
           Summary: Solaris configured without --with-system-zlib fails
                    due to extra folder depth of multi-lib
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gnugcc at marino dot st

The situation is that gcc is configured on x86-64 solaris for a full multilib
bootstrap with no "--with-system-zlib" input passed.

For completeness, the full configuration is here:

$ /mech/pkgsrc-work/lang/gcc-aux/work/gcc-4.9.0/configure
 --enable-languages=c ada c++ --build=x86_64-aux-solaris2.11
 --prefix=/usr/pkg/gcc-aux --enable-threads=posix --disable-libmudflap
 --disable-libgomp --disable-libssp --disable-libquadmath --disable-nls
 --disable-shared --disable-lto --disable-libstdcxx-pch --enable-multilib
 --with-gnu-as --with-as=/usr/pkg/bin/gas
 --without-gnu-ld --with-ld=/usr/bin/ld


The build breaks in stage 2 here:

Configuring stage 2 in ./libbacktrace
Adding multilib support to Makefile in /mech/pkgsrc-work/lang/gcc-aux/work/gcc-
multidirs2
with_multisubdirRunning configure in multilib subdirs 32
pwd: /mech/pkgsrc-work/lang/gcc-aux/work/build/zlib
Running configure in multilib subdir 32
pwd: /mech/pkgsrc-work/lang/gcc-aux/work/build
mkdir 32
configure: creating cache ./config.cache
checking build system type... x86_64-aux-solaris2.11
checking host system type... x86_64-aux-solaris2.11
checking target system type... x86_64-aux-solaris2.11
checking for x86_64-aux-solaris2.11-gcc...  /mech/pkgsrc-work/lang/gcc-aux/work
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  /mech/pkgsrc-work/lang/gcc-aux/work/build/./prev-gcc/xgcc -B/
checking for  /mech/pkgsrc-work/lang/gcc-aux/work/build/./prev-gcc/xgcc -B/mech
checking how to run the C preprocessor... configure: creating cache ./config.ca
checking build system type...  /mech/pkgsrc-work/lang/gcc-aux/work/build/./prev
x86_64-aux-solaris2.11
checking host system type... checking for grep that handles long lines and -e..
checking target system type... /bin/ggrep
checking for egrep... /bin/ggrep -E
checking for ANSI C header files... x86_64-aux-solaris2.11
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for x86_64-aux-solaris2.11-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /mech/pkgsrc-work/lang/gcc-aux/work/gcc-
checking for gawk... gawk
checking whether /usr/pkg/bin/gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-aux-solaris2.11-gcc... /mech/pkgsrc-work/lang/gcc-aux/work/
yes
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... checking for suffix of object fil
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
Makefile:12599: recipe for target 'configure-stage2-zlib' failed
gmake[2]: *** [configure-stage2-zlib] Error 1
gmake[2]: *** Waiting for unfinished jobs....


The build/32/zlib/config.log contains this bit:

configure:3444: checking for suffix of object files
configure:3466: /mech/pkgsrc-work/lang/gcc-aux/work/build/32/./prev-gcc/xgcc
-B/
mech/pkgsrc-work/lang/gcc-aux/work/build/32/./prev-gcc/
-B/usr/pkg/gcc-aux/x86_6
4-aux-solaris2.11/bin/ -B/usr/pkg/gcc-aux/x86_64-aux-solaris2.11/bin/
-B/usr/pkg
/gcc-aux/x86_64-aux-solaris2.11/lib/ -isystem
/usr/pkg/gcc-aux/x86_64-aux-solari
s2.11/include -isystem /usr/pkg/gcc-aux/x86_64-aux-solaris2.11/sys-include
-m32
 -c -g -O2  conftest.c >&5
/mech/pkgsrc-work/lang/gcc-aux/work/gcc-4.9.0/zlib/configure[3468]: eval[1]:
/me
ch/pkgsrc-work/lang/gcc-aux/work/build/32/./prev-gcc/xgcc: not found [No such
fi
le or directory]
configure:3470: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3484: error: in `/mech/pkgsrc-work/lang/gcc-aux/work/build/32/zlib':
configure:3486: error: cannot compute suffix of object files: cannot compile


There's a depth problem.  From build/32, the path of gcc is "../prev-gcc/xgcc"
not "./prev-gcc/xgcc"

It looks like there's some kind of bug when the embedded zlib and multilib
options are used together.


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

* [Bug target/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
                   ` (6 preceding siblings ...)
  2014-05-07 21:42 ` ubizjak at gmail dot com
@ 2014-05-08 15:27 ` ubizjak at gmail dot com
  2014-05-09 15:02 ` uros at gcc dot gnu.org
  2014-05-09 15:06 ` ubizjak at gmail dot com
  9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2014-05-08 15: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: 5212 bytes --]

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-05-08
           Assignee|unassigned at gcc dot gnu.org      |ubizjak at gmail dot com
     Ever confirmed|0                           |1

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

[1] http://gcc.gnu.org/ml/gcc-patches/2014-05/msg00493.html
>From gcc-bugs-return-451004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 08 15:30:16 2014
Return-Path: <gcc-bugs-return-451004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15260 invoked by alias); 8 May 2014 15:30: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 15225 invoked by uid 48); 8 May 2014 15:30:13 -0000
From: "belagod at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/61114] New: Scalar evolution hides a big-endian const-folding bug.
Date: Thu, 08 May 2014 15:30: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: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: belagod at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-61114-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg00696.txt.bz2
Content-length: 2716

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

            Bug ID: 61114
           Summary: Scalar evolution hides a big-endian const-folding bug.
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: belagod at gcc dot gnu.org

When this piece of code is compiled with

int foo ()
{
  short i;
  int sum = 0;
  for (i=0;i<16;i++)
    sum += i;

  return sum;
}

cc1 -O2 -ftree-vectorize -fno-tree-scev-cprop addv.c

it generates this code:

foo:
    mov    w0, 0
    ret
    .size    foo, .-foo
    .ident    "GCC: (unknown) 4.10.0 20140508 (experimental)"


which is wrong!

Scalar evolution seems to hide this bug - if -fno-tree-scev-cprop is removed,
it works fine:


    .type    foo, %function
foo:
    mov    w0, 120
    ret
    .size    foo, .-foo
    .ident    "GCC: (unknown) 4.10.0 20140508 (experimental)"

The bug is in constant folding in fold-const.c:fold_unary_loc(). During dom2,

...
Optimizing statement vect_sum_4.12_23 = [reduc_plus_expr] vect_sum_4.10_21;
  Replaced 'vect_sum_4.10_21' with constant '{ 24, 28, 32, 36 }'
  Folded to: vect_sum_4.12_23 = { 120, 0, 0, 0 };
LKUP STMT vect_sum_4.12_23 = { 120, 0, 0, 0 }
          vect_sum_4.12_23 = { 120, 0, 0, 0 };
==== ASGN vect_sum_4.12_23 = { 120, 0, 0, 0 }
Optimizing statement stmp_sum_4.11_24 = BIT_FIELD_REF <vect_sum_4.12_23, 32,
96>;
  Replaced 'vect_sum_4.12_23' with constant '{ 120, 0, 0, 0 }'
  Folded to: stmp_sum_4.11_24 = 0;
LKUP STMT stmp_sum_4.11_24 = 0
          stmp_sum_4.11_24 = 0;


The final folded value is extracted from the LSB which are bits 32:96 on BE
systems, but the vector stores the folded value in the wrong place(1st element)
in memory order for BE. This needs to be swapped with the last element which
corresponds to the correct position for BE.

I'm seeing this on AArch64 BE target - I can't reproduce this on PPC.

I have a fix that I'm testing now. It fixes two regressions that we see on
aarch64_be-none-elf.

PASS->FAIL: gcc.dg/vect/no-scevccp-noreassoc-outer-1.c (test for excess errors)
PASS->FAIL: gcc.dg/vect/no-scevccp-outer-11.c (test for excess errors)

My compiler is configured with:

Target: aarch64_be-none-elf
Configured with: gcc/configure --targetªrch64_be-none-elf
--prefix=.../install --with-gmp=.../host-tools --with-mpfr=.../host-tools
--with-mpc=.../host-tools --with-pkgversion=unknown --disable-shared
--disable-nls --disable-threads --disable-tls --enable-checking=yes
--enable-languages=c,c++ --with-newlib
Thread model: single
gcc version 4.10.0 20140508 (experimental) (unknown)


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

* [Bug target/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
                   ` (7 preceding siblings ...)
  2014-05-08 15:27 ` ubizjak at gmail dot com
@ 2014-05-09 15:02 ` uros at gcc dot gnu.org
  2014-05-09 15:06 ` ubizjak at gmail dot com
  9 siblings, 0 replies; 11+ messages in thread
From: uros at gcc dot gnu.org @ 2014-05-09 15:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from uros at gcc dot gnu.org ---
Author: uros
Date: Fri May  9 15:02:09 2014
New Revision: 210278

URL: http://gcc.gnu.org/viewcvs?rev=210278&root=gcc&view=rev
Log:
    Backport from mainline
    2014-05-08  Uros Bizjak  <ubizjak@gmail.com>

    PR target/61092
    * config/alpha/alpha.c: Include gimple-iterator.h.
    (alpha_gimple_fold_builtin): New function.  Move
    ALPHA_BUILTIN_UMULH folding from ...
    (alpha_fold_builtin): ... here.
    (TARGET_GIMPLE_FOLD_BUILTIN): New define.


Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/alpha/alpha.c


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

* [Bug target/61092] [4.10 Regression]: wide-int merge broke alpha bootstrap
  2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
                   ` (8 preceding siblings ...)
  2014-05-09 15:02 ` uros at gcc dot gnu.org
@ 2014-05-09 15:06 ` ubizjak at gmail dot com
  9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2014-05-09 15:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|4.10.0                      |4.9.1

--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed.
>From gcc-bugs-return-451135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 09 15:13:47 2014
Return-Path: <gcc-bugs-return-451135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5620 invoked by alias); 9 May 2014 15:13:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 5554 invoked by uid 48); 9 May 2014 15:13:42 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61126] gfortran does not enable -Wununused-parameter with -Wextra
Date: Fri, 09 May 2014 15:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-61126-4-vrQzIYz4UQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61126-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61126-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg00827.txt.bz2
Content-length: 586

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

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at gcc dot gnu.org,
                   |                            |manu at gcc dot gnu.org

--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
-Wunused-parameter is enabled by -Wall. I'm surprised that -Wextra is used
without -Wall, but it happens in the testsuite in more places.


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

end of thread, other threads:[~2014-05-09 15:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-07  6:50 [Bug bootstrap/61092] New: [4.10 Regression]: wide-int merge broke alpha bootstrap ubizjak at gmail dot com
2014-05-07  6:55 ` [Bug bootstrap/61092] " ubizjak at gmail dot com
2014-05-07  8:02 ` jakub at gcc dot gnu.org
2014-05-07  8:27 ` [Bug target/61092] " rguenth at gcc dot gnu.org
2014-05-07  9:52 ` ubizjak at gmail dot com
2014-05-07 10:08 ` jakub at gcc dot gnu.org
2014-05-07 13:03 ` rguenth at gcc dot gnu.org
2014-05-07 21:42 ` ubizjak at gmail dot com
2014-05-08 15:27 ` ubizjak at gmail dot com
2014-05-09 15:02 ` uros at gcc dot gnu.org
2014-05-09 15:06 ` ubizjak at gmail dot com

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).