gcc-6-20180404 is now available

2018-04-04 Thread gccadmin
Snapshot gcc-6-20180404 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/6-20180404/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-6

Re: where should C++ options be documented?

2018-04-04 Thread Eric Gallager
On 4/2/18, Martin Sebor wrote: > Jason, > > The manual mentions some C++-only options in the language > independent section 3.8 Options to Request or Suppress > Warnings and others in 3.5 Options Controlling C++ Dialect. > > For example, -Wcatch-value, -Wconditionally-supported,

Re: how to generate - "procedure linkage table" for MIPS

2018-04-04 Thread Maciej W. Rozycki
Hi Vidya, On Mon, 5 Mar 2018, V R wrote: > Also on enabling gcc on MIPS with "–with-mips-plt " option the plt stub > wasnt seen. Is there > > anything missing that needs to be done or is there any limitation , please > let me know. What problem are you trying to solve? Can you run `readelf

Vincent Forbes's invitation is waiting for your response

2018-04-04 Thread Vincent Forbes via Nextdoor
Vincent Forbes has invited you to join Nextdoor. Nextdoor is a private social network that helps neighbors connect with each other to build stronger communities. To accept your invitation, follow the link below: https://nextdoor.com/invitation/?i=ggkkfghlzxggthdsqdslstage=1

Re: Patching the GCC build system to build MPICH and OpenCoarrays

2018-04-04 Thread Richard Biener
On Wed, Apr 4, 2018 at 8:24 AM, Damian Rouson wrote: > On April 3, 2018 at 1:36:37 AM, Richard Biener (richard.guent...@gmail.com) > wrote: > > > You probably only want a new target_module for the MPI library. Note > it's name has to match that of the directory

Re: where should C++ options be documented?

2018-04-04 Thread Nathan Sidwell
On 04/03/2018 07:05 PM, Martin Sebor wrote: @@ -3914,6 +3916,7 @@ Options} and @ref{Objective-C and Objective-C++ Di -Wc++11-compat -Wc++14-compat @gol -Wcatch-value @r{(C++ and Objective-C++ only)} @gol -Wchar-subscripts @gol +-Wclass-memaccess @r{(C++ and Objective-C++ only)} @gol

Re: GSoC (Improvements to GCC on Windows)

2018-04-04 Thread Ko Phyo
I have been a little busy in recent days. I'll check it out in a day or two. Thanks for your response. On Mon, Apr 2, 2018, 12:56 PM Liu Hao wrote: > 在 2018/4/2 13:54, Ko Phyo 写道: > > Thank for your valuable information. I couldn't made it for GSoC 2018 due > > to delay of my

Re: where should C++ options be documented?

2018-04-04 Thread Jason Merrill
On Tue, Apr 3, 2018 at 7:05 PM, Martin Sebor wrote: > On 04/03/2018 08:08 AM, Jason Merrill wrote: >> On Mon, Apr 2, 2018 at 9:33 PM, Martin Sebor wrote: >>> >>> Jason, >>> >>> The manual mentions some C++-only options in the language >>> independent section

Re: where should C++ options be documented?

2018-04-04 Thread Martin Sebor
Let me try gzipping the attachment to see if it gets past SpamAssassin. On 04/04/2018 11:08 AM, Martin Sebor wrote: On 04/04/2018 05:49 AM, Nathan Sidwell wrote: On 04/03/2018 07:05 PM, Martin Sebor wrote: @@ -3914,6 +3916,7 @@ Options} and @ref{Objective-C and Objective-C++ Di -Wc++11-compat

Re: where should C++ options be documented?

2018-04-04 Thread Martin Sebor
On 04/04/2018 07:05 AM, Jason Merrill wrote: On Tue, Apr 3, 2018 at 7:05 PM, Martin Sebor wrote: On 04/03/2018 08:08 AM, Jason Merrill wrote: On Mon, Apr 2, 2018 at 9:33 PM, Martin Sebor wrote: Jason, The manual mentions some C++-only options in the

Re: where should C++ options be documented?

2018-04-04 Thread Jason Merrill
On Wed, Apr 4, 2018 at 2:18 PM, Martin Sebor wrote: > On 04/04/2018 07:05 AM, Jason Merrill wrote: >> >> On Tue, Apr 3, 2018 at 7:05 PM, Martin Sebor wrote: >>> >>> On 04/03/2018 08:08 AM, Jason Merrill wrote: On Mon, Apr 2, 2018 at 9:33 PM, Martin

Re: Patching the GCC build system to build MPICH and OpenCoarrays

2018-04-04 Thread Damian Rouson
On April 3, 2018 at 1:36:37 AM, Richard Biener (richard.guent...@gmail.com) wrote: You probably only want a new target_module for the MPI library. Note  it's name has to match that of the directory containing the sources  which  as far as I see is 'mpich', not 'libmpi'.  Thanks!  I’ll ask Daniel

[wwwdocs] PATCH for Re: Remove *.mirror.babylon.network

2018-04-04 Thread Gerald Pfeifer
On Wed, 21 Mar 2018, Tim Semeijn wrote: > For the foreseeable future we will not be able to provide our mirrors > anymore. Could you please remove: > > nl.mirror.babylon.network > fr.mirror.babylon.network Thank you for letting us know, Tim, and your service in the past! Both are really

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-04-04 Thread tpearson at raptorengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #4 from Timothy Pearson --- (In reply to Andrew Pinski from comment #3) > This is 100% the equivalent code. > > jmp *(%r15) # opline.199_67->handler > Does two things: > loads a pointer from %r15 and then jumps to that pointer.

[Bug c++/85209] [8 Regression] ICE with lambda and structured binding

2018-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85209 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug gcov-profile/85217] [GCOV] A no side effect statement between a break statement and a continue statement will lead to incorrect code coverage in gcov

2018-04-04 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85217 --- Comment #1 from Yibiao Yang --- $ gcc -v gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu

[Bug gcov-profile/85199] [GCOV] A cond-expr with a iterative variable in a for loop is marked as "-" in gcov

2018-04-04 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85199 --- Comment #1 from Yibiao Yang --- (In reply to Yibiao Yang from comment #0) > $ gcc -v > gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper > OFFLOAD_TARGET_NAMES=nvptx-none >

[Bug c++/71283] Inconsistent location for C++ warning options in the manual

2018-04-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71283 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug tree-optimization/81776] missing sprintf optimization due to pointer escape analysis

2018-04-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81776 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[C++ PATCH] Implement P0961

2018-04-04 Thread Ville Voutilainen
Tested on Linux-PPC64. 2018-04-05 Ville Voutilainen gcc/cp Implement P0961 * decl.c (get_tuple_decomp_init): Check the templatedness of a member get. testsuite/ Implement P0961 * g++.dg/cpp1z/decomp10.C: Adjust. *

[Bug c++/85215] [8 Regression] ICE: "gcc_assert (!force_elide);" failure

2018-04-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85215 David Malcolm changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug c++/85215] [8 Regression] ICE: "gcc_assert (!force_elide);" failure

2018-04-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85215 --- Comment #3 from Paolo Carlini --- I don't think this is just an ICE on invalid: we can trivially fix the snippet as: template struct remove_reference {}; template struct remove_reference<_Tp &> { typedef _Tp type; }; template constexpr

[Bug target/85216] New: Performance issue with PHP on ppc64 systems

2018-04-04 Thread tpearson at raptorengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 Bug ID: 85216 Summary: Performance issue with PHP on ppc64 systems Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/85215] [8 Regression] ICE: "gcc_assert (!force_elide);" failure

2018-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85215 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-04-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Last reconfirmed|2018-04-05

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-04-04 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 David Edelsohn changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-04-04 Thread tpearson at raptorengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #6 from Timothy Pearson --- Understood. I'll update this report if we find a way to get the predictor working optimally in this scenario.

[Bug target/83402] PPC64 implementation of ./rs6000/emmintrin.h gives out of range for _mm_slli_epi32

2018-04-04 Thread munroesj at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83402 --- Comment #9 from Steven Munroe --- I suggested fixing the emmintrin.h source for both eventually ... If you only fix AT11 then sometime later some will discover the difference and try fix it. And likely break it again. So fix AT immediately

[PATCH] Add -fcf-protection -mcet to STAGE4_CFLAGS

2018-04-04 Thread H.J. Lu
Since profiledbootstrap uses STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use add STAGE4_CFLAGS += -fcf-protection -mcet to bootstrap-cet.mk to support profiledbootstrap with CET. OK for trunk? H.J. --- --- config/bootstrap-cet.mk | 3 ++- 1 file changed, 2 insertions(+), 1

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-04-04 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #7 from David Edelsohn --- One possibility is bad luck and the branch happens to fall on an address that conflicts with another branch.

[Bug tree-optimization/47316] devirtualize calls to virtual methods that are never further overriden

2018-04-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47316 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug gcov-profile/85219] New: [GCOV] A "if(1) continue;" statement in a the else block of "if(0)" statement is wrongly marked as executed when surrounded by array delaration statement and break/contin

2018-04-04 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85219 Bug ID: 85219 Summary: [GCOV] A "if(1) continue;" statement in a the else block of "if(0)" statement is wrongly marked as executed when surrounded by array delaration statement

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-04-04 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[C++ Patch] PR 84792 ("[6/7/8 Regression] ICE with broken typedef of a struct")

2018-04-04 Thread Paolo Carlini
Hi, I'm really happy to report that these 5 ugly lines are causing an actual bug. Seriously, not considering the formatting, the problem is that we really want to keep 'type' in sync, because we are using it below before returning. Note that we don't regress location-wise because either

[Bug gcov-profile/85218] New: [GCOV] A return statement in the if(0) block is wrongly marked as executed when there is an array index and an {array declare statement} around it in gcov

2018-04-04 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85218 Bug ID: 85218 Summary: [GCOV] A return statement in the if(0) block is wrongly marked as executed when there is an array index and an {array declare statement} around it in

[Bug c++/85215] New: "gcc_assert (!force_elide);" failure

2018-04-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85215 Bug ID: 85215 Summary: "gcc_assert (!force_elide);" failure Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug gcov-profile/85217] New: [GCOV] A no side effect statement between a break statement and a continue statement will lead to incorrect code coverage in gcov

2018-04-04 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85217 Bug ID: 85217 Summary: [GCOV] A no side effect statement between a break statement and a continue statement will lead to incorrect code coverage in gcov Product: gcc

Re: [wwwdocs] document new options in gcc-8/changes.html

2018-04-04 Thread Paolo Carlini
Hi Martin On 05/04/2018 00:28, Martin Sebor wrote: + implementations do suppresses the warning. suppress Paolo.

[Bug c++/85215] [8 Regression] ICE: "gcc_assert (!force_elide);" failure

2018-04-04 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85215 --- Comment #1 from David Malcolm --- Started somewhere between r258751 (unaffected) and r258755 (affected)

C++ PATCH for c++/84936, ICE with unexpanded pack in mem-init

2018-04-04 Thread Jason Merrill
We already had code to deal with an unexpanded pack in the initializer, but not in the member designator. If we find one, let's pretend it was expanded. Tested x86_64-pc-linux-gnu, applying to trunk. commit cb6bcd45b6bd3c1edc44ad0fbe164135cb17467b Author: Jason Merrill Date:

C++ PATCH for c++/84938, ICE dividing by ~-1

2018-04-04 Thread Jason Merrill
set_up_extended_ref_temp does an abbreviated version of cp_finish_decl, which didn't include the call to cp_fully_fold that store_init_value does for user-declared variables. Adding that fixes this bug. Tested x86_64-pc-linux-gnu, applying to trunk. commit

[Bug tree-optimization/47815] Tail call regression with GCC snapshot

2018-04-04 Thread adam at consulting dot net.nz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47815 Adam Warner changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/71218] Add a warning about "new T[integer-literal]"

2018-04-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71218 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

Re: [PATCH] c/55976 -Werror=return-type should error on returning a value from a void function

2018-04-04 Thread Martin Sebor
On 04/04/2018 05:50 PM, dave.pa...@oracle.com wrote: On 04/04/2018 10:58 AM, Martin Sebor wrote: On 04/04/2018 11:15 AM, Jakub Jelinek wrote: On Tue, Apr 03, 2018 at 01:36:13PM -0600, Martin Sebor wrote: On 04/03/2018 10:26 AM, dave.pa...@oracle.com wrote: This patch fixes handlng of

Re: [wwwdocs] document new options in gcc-8/changes.html

2018-04-04 Thread Martin Sebor
Attached is an updated diff rebased on top of the latest revision of the file. This new version fixes the typos Paolo pointed out (thanks) and adds a few more options: -Wmissing-attributes, -Wif-not-aligned, and -Wpacked-not-aligned. I used a spell-checker this time to (hopefully) minimize the

Re: [PATCH] c/55976 -Werror=return-type should error on returning a value from a void function

2018-04-04 Thread dave . pagan
On 04/04/2018 10:58 AM, Martin Sebor wrote: On 04/04/2018 11:15 AM, Jakub Jelinek wrote: On Tue, Apr 03, 2018 at 01:36:13PM -0600, Martin Sebor wrote: On 04/03/2018 10:26 AM, dave.pa...@oracle.com wrote: This patch fixes handlng of -Werror=return-type. Currently, even with the flag specified,

[Bug c++/84936] [8 Regression] ICE with unexpanded parameter pack

2018-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84936 --- Comment #2 from Jason Merrill --- Author: jason Date: Thu Apr 5 00:09:05 2018 New Revision: 259107 URL: https://gcc.gnu.org/viewcvs?rev=259107=gcc=rev Log: PR c++/84936 - ICE with unexpanded pack in mem-initializer. *

[Bug c++/84938] [7/8 Regression] internal compiler error: in gen_reg_rtx, at emit-rtl.c:1187 (gen_reg_rtx()/maybe_legitimize_operand())

2018-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84938 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Apr 5 00:09:10 2018 New Revision: 259108 URL: https://gcc.gnu.org/viewcvs?rev=259108=gcc=rev Log: PR c++/84938 - ICE with division by ~-1. * call.c

[Bug c++/84936] [8 Regression] ICE with unexpanded parameter pack

2018-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84936 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85215] [8 Regression] ICE: "gcc_assert (!force_elide);" failure

2018-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85215 Jason Merrill changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code Priority|P3

[Bug tree-optimization/52571] vectorizer changes alignment of common symbols

2018-04-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52571 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c++/84792] [6/7/8 Regression] ICE with broken typedef of a struct

2018-04-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84792 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/85216] Performance issue with PHP on ppc64 systems

2018-04-04 Thread tpearson at raptorengineering dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85216 --- Comment #2 from Timothy Pearson --- (In reply to David Edelsohn from comment #1) > What two additional instructions? x86 is a CISC architecture and Power is a > RISC architecture. x86 has an instruction that directly performs an > indirect

[Bug libobjc/36610] objc_msg_sendv is broken for targets which pass argument via registers

2018-04-04 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36610 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/82989] [6/7 regression] Inexplicable use of NEON for 64-bit math

2018-04-04 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82989 sudi at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable

2018-04-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501 --- Comment #6 from Martin Liška --- (In reply to Jakub Jelinek from comment #1) > 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

[Bug tree-optimization/85191] [8 regression] gcc.dg/vect/slp-perm-9.c FAILs

2018-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85191 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

Re: [PATCH, rs6000] Undefine vector, bool, pixel in xmmintrin.h

2018-04-04 Thread Jakub Jelinek
On Sun, Apr 01, 2018 at 08:24:32PM -0500, Bill Schmidt wrote: > I also updated the gcc.target/powerpc/powerpc.exp file to allow C++ > tests to be placed in that directory (with a *.C suffix). I think this is wrong. Historically, we've been putting target C++ tests into g++.dg/*/*.C with

[Bug sanitizer/85174] c-c++-common/asan/pointer-compare-1.c does not work for powerpc with sdata

2018-04-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85174 --- Comment #2 from Martin Liška --- Author: marxin Date: Wed Apr 4 10:40:57 2018 New Revision: 259074 URL: https://gcc.gnu.org/viewcvs?rev=259074=gcc=rev Log: Disable anchors and msdata for ASAN test-case (PR sanirizer/85174). 2018-04-04

Re: [PATCH] Disable anchors and msdata for ASAN test-case (PR sanirizer/85174).

2018-04-04 Thread Martin Liška
On 04/04/2018 12:29 PM, Segher Boessenkool wrote: > On Wed, Apr 04, 2018 at 12:21:14PM +0200, Jakub Jelinek wrote: >> On Wed, Apr 04, 2018 at 12:14:43PM +0200, Martin Liška wrote: >>> It's test-case workaround, tested on x86_64 and powerpc with both -m64 and >>> -m32. >>> >>> 2018-04-04 Martin

[Bug target/85193] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1361 with -O2 -fno-tree-ccp -fno-tree-fre -mno-sse

2018-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85193 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug fortran/85192] Memory leak on every read() from string

2018-04-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85192 Thomas Koenig changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/85181] Loading wrong source/dest registers for xviexpdp instruction with -O2 optimization

2018-04-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85181 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/85176] ICE in force_decl_die, at dwarf2out.c:25910

2018-04-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176 --- Comment #5 from Martin Liška --- A valid test-case started to find in r251220: $ cat ice.ii namespace a { template class c; template void e(c &); void operator<<(c , const char *) { e(f); } extern c cout; } // namespace a int main()

[Bug target/85193] New: [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1361 with -O2 -fno-tree-ccp -fno-tree-fre -mno-sse

2018-04-04 Thread zsojka at seznam dot cz
gcc-trunk//binary-trunk-259070-checking-yes-rtl-df-extra-nobootstrap-pr85177-amd64 Thread model: posix gcc version 8.0.1 20180404 (experimental) (GCC)

[Bug c++/85194] New: ICE with structured binding in broken for-loop

2018-04-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85194 Bug ID: 85194 Summary: ICE with structured binding in broken for-loop Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: error-recovery, ice-on-invalid-code

[Bug c++/71174] [concepts] Segmentation fault while processing concepts error

2018-04-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71174 Volker Reichelt changed: What|Removed |Added Keywords||ice-on-invalid-code,

[Bug fortran/85192] Memory leak on every read() from string

2018-04-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85192 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/85192] Memory leak on every read() from string

2018-04-04 Thread Vasilis.Vlachoudis at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85192 --- Comment #2 from Vasilis.Vlachoudis at cern dot ch --- I am using 7.2.0 from ubuntu. I've just checked on the latest Fedora with 7.2.1 and it gives the same result as in your case, so probably it is fixed.

[Bug middle-end/85195] New: [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O -fno-tree-ccp --param=sccvn-max-scc-size=10

2018-04-04 Thread zsojka at seznam dot cz
x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-259070-checking-yes-rtl-df-extra-nobootstrap-pr85177-amd64 Thread model: posix gcc version 8.0.1

[Bug inline-asm/85185] Wider-than-expected load for struct member used as operand of inline-asm with memory clobber at -Og

2018-04-04 Thread zev+gccbug at bewilderbeest dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85185 --- Comment #5 from Zev Weiss --- Created attachment 43837 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43837=edit codegen & RTL dump for aarch64 & avr (Attached generated code & -fdump-rtl-expand

Re: [PATCH] Prefer mempcpy to memcpy on x86_64 target (PR middle-end/81657).

2018-04-04 Thread Martin Liška
PING^1 On 03/29/2018 02:31 PM, Martin Liška wrote: > On 03/29/2018 02:25 PM, Jakub Jelinek wrote: >> On Thu, Mar 29, 2018 at 01:28:13PM +0200, Martin Liška wrote: >>> On 03/28/2018 06:36 PM, Jakub Jelinek wrote: On Wed, Mar 28, 2018 at 06:30:21PM +0200, Martin Liška wrote: > ---

[PATCH] Disable anchors and msdata for ASAN test-case (PR sanirizer/85174).

2018-04-04 Thread Martin Liška
Hi. It's test-case workaround, tested on x86_64 and powerpc with both -m64 and -m32. Ready for trunk? Thanks, Martin gcc/testsuite/ChangeLog: 2018-04-04 Martin Liska PR sanirizer/85174 * c-c++-common/asan/pointer-compare-1.c: Disable section anchors

[Bug debug/85176] [8 Regression] ICE in force_decl_die, at dwarf2out.c:25910

2018-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug inline-asm/85172] internal compiler error: unexpected expression '' of kind asm_expr

2018-04-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85172 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug inline-asm/85185] Wider-than-expected load for struct member used as operand of inline-asm with memory clobber at -Og

2018-04-04 Thread zev+gccbug at bewilderbeest dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85185 --- Comment #4 from Zev Weiss --- I'm afraid I'm not quite GCC-savvy enough to know exactly what PROMOTE_SUBREG refers to or which targets it covers (a quick grep of the source tree didn't appear turn up any

Re: [PATCH] Disable anchors and msdata for ASAN test-case (PR sanirizer/85174).

2018-04-04 Thread Segher Boessenkool
On Wed, Apr 04, 2018 at 12:21:14PM +0200, Jakub Jelinek wrote: > On Wed, Apr 04, 2018 at 12:14:43PM +0200, Martin Liška wrote: > > It's test-case workaround, tested on x86_64 and powerpc with both -m64 and > > -m32. > > > > 2018-04-04 Martin Liska > > > > PR

[Bug c++/83481] ICE in const-ref structured bindings.

2018-04-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83481 Volker Reichelt changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/83217] Compiler segfault: structured binding by reference to a templated type via a pointer

2018-04-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83217 Volker Reichelt changed: What|Removed |Added CC||antanubis at gmail dot com ---

[Bug c++/79627] Ice with type of VLA in lambda

2018-04-04 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79627 Volker Reichelt changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85220] New: [meta-bug, nvptx] Run trunk with og7 openacc testcases and analyze execution failures

2018-04-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85220 Bug ID: 85220 Summary: [meta-bug, nvptx] Run trunk with og7 openacc testcases and analyze execution failures Product: gcc Version: 8.0 Status: UNCONFIRMED

C++ PATCH for c++/85215, C++17 ICE initializing from conversion function

2018-04-04 Thread Jason Merrill
conv_binds_ref_to_prvalue was expecting that if a user-defined conversion uses a conversion function returning a reference, the conversion will have reference type. This wasn't the case, because build_user_type_conversion_1 strips the reference from the return type to get the type of the

[Bug c++/84979] [6/7/8 Regression] ICE with auto as template parameter and -fconcepts

2018-04-04 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84979 --- Comment #4 from Alexandre Oliva --- Author: aoliva Date: Thu Apr 5 04:26:36 2018 New Revision: 259124 URL: https://gcc.gnu.org/viewcvs?rev=259124=gcc=rev Log: [PR c++/84979] reject auto in explicit tmpl args for tmpl-fn With concepts, we

[Bug c++/80290] [6/7/8 Regression] g++ uses unreasonable amount of memory compiling nested string maps

2018-04-04 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80290 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org

[Bug c++/85215] [8 Regression] ICE: "gcc_assert (!force_elide);" failure

2018-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85215 --- Comment #5 from Jason Merrill --- Author: jason Date: Thu Apr 5 04:01:15 2018 New Revision: 259123 URL: https://gcc.gnu.org/viewcvs?rev=259123=gcc=rev Log: PR c++/85215 - ICE with copy-init from conversion. * call.c

[Bug c++/85215] [8 Regression] ICE: "gcc_assert (!force_elide);" failure

2018-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85215 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/85220] [meta-bug, nvptx] Run trunk with og7 openacc testcases and analyze execution failures

2018-04-04 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85220 --- Comment #1 from Tom de Vries --- I've copied the test-cases, and build r259123. For libgomp.oacc-c/c.exp, we get: ... $ cat libgomp.testsuite/libgomp.sum | grep ^FAIL:.*execution | grep -v /lib- | sed

[Bug middle-end/85196] New: [6/7 regression] ICE in extract_insn, at recog.c:2311: unrecognizable insn

2018-04-04 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85196 Bug ID: 85196 Summary: [6/7 regression] ICE in extract_insn, at recog.c:2311: unrecognizable insn Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[PATCH] Fix PR85176, LTO with -g1

2018-04-04 Thread Richard Biener
This fixes an issue with LTO handling DINFO_LEVEL_TERSE where we do not generate DIEs for NAMESPACE_DECLs and thus reconstruction of the DIE tree from DECL_CONTEXT at LTRANS time fails. The fix is to skip NAMESPACE_DECL contexts like we do for TYPE contexts. [LTO with -g1] Bootstrapped on

[PATCH] libgo: Avoid clobbering shell history file in signal_cgo_test.go

2018-04-04 Thread Andreas Schwab
For some reason signal_cgo_test.go needs to run an interactive shell, but suppresses reading the startup files. This causes the shell history file to be clobbered, by using different history settings than usual. Avoid that by setting HOME to / so that the shell cannot write a history file.

Fix -Wstringop-overflow regression

2018-04-04 Thread Michael Matz
Hi, we shouldn't claim string overflows for character arrays at end of structures; the code that tries to avoid these accidentally passed the address of the accessed member to array_at_struct_end_p(), but that one wants the component_ref or array_ref itself. Needs updating of one testcase that

[Bug gcov-profile/85199] New: [GCOV] A cond-expr with a iterative variable in a for loop is marked as "-" in gcov

2018-04-04 Thread yangyibiao at nju dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85199 Bug ID: 85199 Summary: [GCOV] A cond-expr with a iterative variable in a for loop is marked as "-" in gcov Product: gcc Version: 8.0 Status: UNCONFIRMED

Re: [C++ PATCH] Fix __direct_bases ICE (PR c++/85146, take 2)

2018-04-04 Thread Jakub Jelinek
On Wed, Apr 04, 2018 at 09:25:43AM -0400, Jason Merrill wrote: > > -calculate_bases (tree type) > > +calculate_bases (tree type, tsubst_flags_t complain) > > { > > - vec *vector = make_tree_vector(); > > + vec *vector = make_tree_vector (); > > While we're touching

[Bug debug/85176] [8 Regression] ICE in force_decl_die, at dwarf2out.c:25910

2018-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/85176] [8 Regression] ICE in force_decl_die, at dwarf2out.c:25910

2018-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176 --- Comment #8 from Richard Biener --- Author: rguenth Date: Wed Apr 4 14:11:39 2018 New Revision: 259080 URL: https://gcc.gnu.org/viewcvs?rev=259080=gcc=rev Log: 2018-04-04 Richard Biener PR lto/85176 *

[PATCH] Fix PR85191

2018-04-04 Thread Richard Biener
Typo... Committed as obvious. Richard. 2018-04-04 Richard Biener PR testsuite/85191 * lib/target-supports.exp (check_effective_target_vect_perm_short): Fix typo. Index: gcc/testsuite/lib/target-supports.exp

[Bug tree-optimization/85191] [8 regression] gcc.dg/vect/slp-perm-9.c FAILs

2018-04-04 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85191 --- Comment #3 from rguenther at suse dot de --- On Wed, 4 Apr 2018, ro at CeBiTec dot Uni-Bielefeld.DE wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85191 > > --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE>

[Bug gcov-profile/85197] [GCOV] The main function is wrongly marked as executed twice in gcov

2018-04-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85197 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/85200] New: [8 Regression] ICE in constexpr-if in lambda in template

2018-04-04 Thread benni.buch at gmail dot com
ropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ g++ --version g++ (GCC) 8.0.1 20180404 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions.

Re: Fix -Wstringop-overflow regression

2018-04-04 Thread Richard Biener
On Wed, Apr 4, 2018 at 3:34 PM, Michael Matz wrote: > Hi, > > we shouldn't claim string overflows for character arrays at > end of structures; the code that tries to avoid these > accidentally passed the address of the accessed member to > array_at_struct_end_p(), but that one wants

  1   2   3   4   >