public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/64050] New: [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709
@ 2014-11-24 14:16 trippels at gcc dot gnu.org
  2014-11-24 14:52 ` [Bug bootstrap/64050] " trippels at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-11-24 14:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64050
           Summary: [5 Regression] r218009 causes LTO/PGO bootstrap
                    failure: ICE: in inline_small_functions, at
                    ipa-inline.c:1709
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
              Host: powerpc64-unknown-linux-gnu
            Target: powerpc64-unknown-linux-gnu
             Build: powerpc64-unknown-linux-gnu

Since r218009 I get:

trippels@gcc2-power8 gcc % /home/trippels/gcc_build_dir_/./prev-gcc/xg++
-B/home/trippels/gcc_build_dir_/./prev-gcc/
-B/usr/local/powerpc64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/trippels/gcc_build_dir_/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/trippels/gcc_build_dir_/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/home/trippels/gcc_build_dir_/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/trippels/gcc_build_dir_/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/trippels/gcc/libstdc++-v3/libsupc++
-L/home/trippels/gcc_build_dir_/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/trippels/gcc_build_dir_/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-mcpu=power8 -O3 -pipe -flto=jobserver -frandom-seed=1 -fprofile-use -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
-fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc
-o build/gengtype build/gengtype.o build/errors.o build/gengtype-lex.o
build/gengtype-parse.o build/gengtype-state.o build/version.o
.././libiberty/libiberty.a
0x10d0d91f inline_small_functions
        ../../gcc/gcc/ipa-inline.c:1709
0x10d0d91f ipa_inline
        ../../gcc/gcc/ipa-inline.c:2189
0x10d0d91f execute
        ../../gcc/gcc/ipa-inline.c:2558
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.
lto-wrapper: fatal error: /home/trippels/gcc_test/usr/local/bin/g++ returned 1
exit status
compilation terminated.
/home/trippels/bin/ld: fatal error: lto-wrapper failed


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

* [Bug bootstrap/64050] [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709
  2014-11-24 14:16 [Bug bootstrap/64050] New: [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709 trippels at gcc dot gnu.org
@ 2014-11-24 14:52 ` trippels at gcc dot gnu.org
  2014-11-24 16:09 ` hjl.tools at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-11-24 14:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Breakpoint 1, inline_small_functions () at ../../gcc/gcc/ipa-inline.c:1709
1709          gcc_assert (current_badness >= badness);
(gdb) l
1704          /* When updating the edge costs, we only decrease badness in the
keys.
1705             Increases of badness are handled lazilly; when we see key with
out
1706             of date value on it, we re-insert it now.  */
1707          current_badness = edge_badness (edge, false);
1708          gcc_assert (cached_badness == current_badness);
1709          gcc_assert (current_badness >= badness);
1710          if (current_badness != badness)
1711            {
1712              edge->aux = edge_heap.insert (current_badness, edge);
1713              continue;
(gdb) p current_badness
$1 = {
  m_sig = 2752610048, 
  m_exp = -8, 
  m_negative = true
}
(gdb) p badness
$2 = {
  m_sig = 2852705280, 
  m_exp = -8, 
  m_negative = true
}

../gcc/configure --disable-libstdcxx-pch --disable-libvtv --disable-libitm
--disable-libcilkrts --disable-libssp --disable-libgomp --disable-werror
--disable-multilib --enable-languages=c,c++,fortran
--with-build-config=bootstrap-lto

make -j160 BOOT_CFLAGS="-mcpu=power8 -O3 -pipe" STAGE1_CFLAGS="-mcpu=power8 -O3
-pipe" CFLAGS_FOR_TARGET="-mcpu=power8 -O3 -pipe"
CXXFLAGS_FOR_TARGET="-mcpu=power8 -O3 -pipe" profiledbootstrap


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

* [Bug bootstrap/64050] [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709
  2014-11-24 14:16 [Bug bootstrap/64050] New: [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709 trippels at gcc dot gnu.org
  2014-11-24 14:52 ` [Bug bootstrap/64050] " trippels at gcc dot gnu.org
@ 2014-11-24 16:09 ` hjl.tools at gmail dot com
  2014-11-24 16:15 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2014-11-24 16:09 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|powerpc64-unknown-linux-gnu |
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-24
               Host|powerpc64-unknown-linux-gnu |
   Target Milestone|---                         |5.0
     Ever confirmed|0                           |1
              Build|powerpc64-unknown-linux-gnu |

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
It also happens on Linux/x86-64:

https://gcc.gnu.org/ml/gcc-regression/2014-11/msg00682.html


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

* [Bug bootstrap/64050] [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709
  2014-11-24 14:16 [Bug bootstrap/64050] New: [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709 trippels at gcc dot gnu.org
  2014-11-24 14:52 ` [Bug bootstrap/64050] " trippels at gcc dot gnu.org
  2014-11-24 16:09 ` hjl.tools at gmail dot com
@ 2014-11-24 16:15 ` rguenth at gcc dot gnu.org
  2014-11-25  9:40 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-24 16:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug bootstrap/64050] [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709
  2014-11-24 14:16 [Bug bootstrap/64050] New: [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709 trippels at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-11-24 16:15 ` rguenth at gcc dot gnu.org
@ 2014-11-25  9:40 ` marxin at gcc dot gnu.org
  2014-11-25 10:32 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2014-11-25  9:40 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: 10282 bytes --]

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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
*** Bug 64060 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-468481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 25 09:40:41 2014
Return-Path: <gcc-bugs-return-468481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10018 invoked by alias); 25 Nov 2014 09: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 9959 invoked by uid 48); 25 Nov 2014 09:40:36 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64060] [5 Regression] r218009 caused FAIL: g++.dg/ipa/devirt-42.C
Date: Tue, 25 Nov 2014 09:40: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: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-64060-4-ZwRYDYxl6s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64060-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64060-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
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-11/txt/msg02953.txt.bz2
Content-length: 497

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |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 64050 ***
>From gcc-bugs-return-468482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 25 09:41:18 2014
Return-Path: <gcc-bugs-return-468482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11517 invoked by alias); 25 Nov 2014 09:41: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 11495 invoked by uid 48); 25 Nov 2014 09:41:12 -0000
From: "mpeg.blue at free dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/64067] New: ICE involving compound literal shenanigans
Date: Tue, 25 Nov 2014 09:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpeg.blue at free dot fr
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-64067-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
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-11/txt/msg02954.txt.bz2
Content-length: 4085

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

            Bug ID: 64067
           Summary: ICE involving compound literal shenanigans
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpeg.blue at free dot fr

$ gcc -v -save-temps -O2 test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--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-4.8-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-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 --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 4.8.2 (Ubuntu 4.8.2-19ubuntu1) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O2' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/4.8/cc1 -E -quiet -v -imultiarch
x86_64-linux-gnu test.c -mtune=generic -march=x86-64 -O2 -fpch-preprocess
-fstack-protector -Wformat -Wformat-security -o test.i
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-linux-gnu/4.8/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O2' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/4.8/cc1 -fpreprocessed test.i -quiet -dumpbase
test.c -mtune=generic -march=x86-64 -auxbase test -O2 -version
-fstack-protector -Wformat -Wformat-security -o test.s
GNU C (Ubuntu 4.8.2-19ubuntu1) version 4.8.2 (x86_64-linux-gnu)
    compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version 3.1.2-p3,
MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (Ubuntu 4.8.2-19ubuntu1) version 4.8.2 (x86_64-linux-gnu)
    compiled by GNU C version 4.8.2, GMP version 5.1.3, MPFR version 3.1.2-p3,
MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: dc75e0628c9356affcec059d0c81cc01
test.c: In function ‘main’:
test.c:3:14: internal compiler error: in expand_expr_real_1, at expr.c:10540
 int main() { return *(adds[0]); }
              ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
Preprocessed source stored into /tmp/cczXWpwq.out file, please attach this to
your bugreport.


The test case is probably invalid C99 and C11.
What do the language lawyers say?

union foo { struct { unsigned baz: 3, bar: 1; } bits; int value; };
int * const adds[] = {&(((union foo){.bits={ .bar = 0x1 }}).value)};
int main() { return *(adds[0]); }
>From gcc-bugs-return-468483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 25 09:44:46 2014
Return-Path: <gcc-bugs-return-468483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15650 invoked by alias); 25 Nov 2014 09: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 15617 invoked by uid 48); 25 Nov 2014 09:44:43 -0000
From: "mpeg.blue at free dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/64067] ICE involving compound literal shenanigans
Date: Tue, 25 Nov 2014 09: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: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpeg.blue at free dot fr
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: attachments.created
Message-ID: <bug-64067-4-JTJ3kayiaZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64067-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64067-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-11/txt/msg02955.txt.bz2
Content-length: 221

https://gcc.gnu.org/bugzilla/show_bug.cgi?idd067

--- Comment #1 from Mason <mpeg.blue at free dot fr> ---
Created attachment 34108
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id4108&actioníit
ICE diagnostic


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

* [Bug bootstrap/64050] [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709
  2014-11-24 14:16 [Bug bootstrap/64050] New: [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709 trippels at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-11-25  9:40 ` marxin at gcc dot gnu.org
@ 2014-11-25 10:32 ` marxin at gcc dot gnu.org
  2014-11-25 15:17 ` marxin at gcc dot gnu.org
  2014-11-25 15:52 ` marxin at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2014-11-25 10:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 34110
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34110&action=edit
Suggested patch v1
>From gcc-bugs-return-468492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 25 10:34:24 2014
Return-Path: <gcc-bugs-return-468492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15846 invoked by alias); 25 Nov 2014 10:34: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 15810 invoked by uid 48); 25 Nov 2014 10:34:19 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63786] crash on argument pack in switch case
Date: Tue, 25 Nov 2014 10: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.2
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone
Message-ID: <bug-63786-4-A6D8a2i0yv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63786-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63786-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-11/txt/msg02964.txt.bz2
Content-length: 521

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc786

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
   Target Milestone|---                         |5.0

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.


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

* [Bug bootstrap/64050] [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709
  2014-11-24 14:16 [Bug bootstrap/64050] New: [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709 trippels at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2014-11-25 10:32 ` marxin at gcc dot gnu.org
@ 2014-11-25 15:17 ` marxin at gcc dot gnu.org
  2014-11-25 15:52 ` marxin at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2014-11-25 15:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Nov 25 15:16:27 2014
New Revision: 218048

URL: https://gcc.gnu.org/viewcvs?rev=218048&root=gcc&view=rev
Log:
2014-11-25  Martin Liska  <mliska@suse.cz>

    PR bootstrap/64050
    PR ipa/64060
    * sreal.c (sreal::operator+): Addition fixed.
    (sreal::signedless_plus): Negative numbers are
    handled correctly.
    (sreal::operator-): Subtraction is fixed.
    (sreal::signedless_minus): Negative numbers are
    handled correctly.
    * sreal.h (sreal::operator<): Equal negative numbers
    are compared correctly.
    (sreal::shift): New checking asserts are introduced.
    Operation is fixed.
    * gcc.dg/plugin/plugin.exp: New plugin.
    * gcc.dg/plugin/sreal-test-1.c: New test.
    * gcc.dg/plugin/sreal_plugin.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/plugin/sreal-test-1.c
    trunk/gcc/testsuite/gcc.dg/plugin/sreal_plugin.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sreal.c
    trunk/gcc/sreal.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/plugin/plugin.exp
>From gcc-bugs-return-468519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 25 15:17:07 2014
Return-Path: <gcc-bugs-return-468519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5896 invoked by alias); 25 Nov 2014 15:17: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 5736 invoked by uid 55); 25 Nov 2014 15:17:02 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64060] [5 Regression] r218009 caused FAIL: g++.dg/ipa/devirt-42.C
Date: Tue, 25 Nov 2014 15: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64060-4-hTRDhQwB2w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64060-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64060-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
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-11/txt/msg02991.txt.bz2
Content-length: 1172

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Nov 25 15:16:27 2014
New Revision: 218048

URL: https://gcc.gnu.org/viewcvs?rev=218048&root=gcc&view=rev
Log:
2014-11-25  Martin Liska  <mliska@suse.cz>

    PR bootstrap/64050
    PR ipa/64060
    * sreal.c (sreal::operator+): Addition fixed.
    (sreal::signedless_plus): Negative numbers are
    handled correctly.
    (sreal::operator-): Subtraction is fixed.
    (sreal::signedless_minus): Negative numbers are
    handled correctly.
    * sreal.h (sreal::operator<): Equal negative numbers
    are compared correctly.
    (sreal::shift): New checking asserts are introduced.
    Operation is fixed.
    * gcc.dg/plugin/plugin.exp: New plugin.
    * gcc.dg/plugin/sreal-test-1.c: New test.
    * gcc.dg/plugin/sreal_plugin.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/plugin/sreal-test-1.c
    trunk/gcc/testsuite/gcc.dg/plugin/sreal_plugin.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sreal.c
    trunk/gcc/sreal.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/plugin/plugin.exp
>From gcc-bugs-return-468520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 25 15:17:24 2014
Return-Path: <gcc-bugs-return-468520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7113 invoked by alias); 25 Nov 2014 15: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 7058 invoked by uid 48); 25 Nov 2014 15:17:20 -0000
From: "enkovich.gnu at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/63995] Bootstrap error with -mmpx -fcheck-pointer-bounds
Date: Tue, 25 Nov 2014 15:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: enkovich.gnu 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-63995-4-gSSnpwG1zq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63995-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63995-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-11/txt/msg02992.txt.bz2
Content-length: 947

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc995

--- Comment #6 from Ilya Enkovich <enkovich.gnu at gmail dot com> ---
For attached -g0 problem reproducer:

>gcc pr63995-2.c -c -O2 -mmpx -fcheck-pointer-bounds -g -o 1.o
>gcc pr63995-2.c -c -O2 -mmpx -fcheck-pointer-bounds -g0 -o 2.o
>objdump_pl -d 1.o >1.dump
>objdump_pl -d 2.o >2.dump
>diff 1.dump 2.dump
2c2
< 1.o:     file format elf64-x86-64
---
> 2.o:     file format elf64-x86-64
19,22c19,22
<   2b: b8 03 00 00 00          mov    $0x3,%eax
<   30: f3 0f 1b 1c 07          bndmk  (%rdi,%rax,1),%bnd3
<   35: c7 44 24 10 ff ff ff    movl   $0xffffffff,0x10(%rsp)
<   3c: ff
---
>   2b: c7 44 24 10 ff ff ff    movl   $0xffffffff,0x10(%rsp)
>   32: ff
>   33: b8 03 00 00 00          mov    $0x3,%eax
>   38: f3 0f 1b 1c 07          bndmk  (%rdi,%rax,1),%bnd3

Different instructions order is caused by different GIMPLE statements order
after chkpopt pass.  Will prepare a fix for that.


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

* [Bug bootstrap/64050] [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709
  2014-11-24 14:16 [Bug bootstrap/64050] New: [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709 trippels at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2014-11-25 15:17 ` marxin at gcc dot gnu.org
@ 2014-11-25 15:52 ` marxin at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2014-11-25 15:52 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Resolved.
>From gcc-bugs-return-468535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 25 16:03:32 2014
Return-Path: <gcc-bugs-return-468535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19236 invoked by alias); 25 Nov 2014 16:03:32 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 19209 invoked by uid 48); 25 Nov 2014 16:03:29 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61420] [4.8/4.9/5 Regression] type bound procedure with pass attribute, that returns a procedure pointer, fails to compile
Date: Tue, 25 Nov 2014 16:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-61420-4-VsTFcspZtW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61420-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61420-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-11/txt/msg03007.txt.bz2
Content-length: 591

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida420

janus at gcc dot gnu.org changed:

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

--- Comment #2 from janus at gcc dot gnu.org ---
Reduced test case:


module test
  implicit none

  type functions
  contains
    procedure :: get_pf
  end type

contains

  function get_pf(f)
    class     (functions)     :: f
    procedure (real), pointer :: get_pf
  end function

end module


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

end of thread, other threads:[~2014-11-25 15:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-24 14:16 [Bug bootstrap/64050] New: [5 Regression] r218009 causes LTO/PGO bootstrap failure: ICE: in inline_small_functions, at ipa-inline.c:1709 trippels at gcc dot gnu.org
2014-11-24 14:52 ` [Bug bootstrap/64050] " trippels at gcc dot gnu.org
2014-11-24 16:09 ` hjl.tools at gmail dot com
2014-11-24 16:15 ` rguenth at gcc dot gnu.org
2014-11-25  9:40 ` marxin at gcc dot gnu.org
2014-11-25 10:32 ` marxin at gcc dot gnu.org
2014-11-25 15:17 ` marxin at gcc dot gnu.org
2014-11-25 15:52 ` marxin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).