[Bug rtl-optimization/85537] [7/8/9 Regression] Invalid memory reference at runtime when calling subroutine through procedure pointer

2019-03-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85537 --- Comment #10 from Thomas Koenig --- Bisecting this leads to /home/ig25/Gcc/Bisect-bin/./gcc/xgcc -B/home/ig25/Gcc/Bisect-bin/./gcc/ -xc -S -c /dev/null -fself-test ../../Bisect/gcc/input.c:1154: FAIL: ASSERT_STREQ (exp_filename, LOCATION_FILE

[Bug tree-optimization/89789] [9 Regression] Compile time hog during RPO VN

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89789 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/70742] Support div as a builtin

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70742 --- Comment #14 from Richard Biener --- We could implement __builtin_ variants with a different ABI, returning the quotiend and remainder in a (GCC extension) _Complex int type. The library would then do #define div(a, b) ({ div_t res; _Complex

[Bug target/78263] Compile failure with AltiVec library on PPC64le and -std=c++11 flag

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78263 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug debug/89791] gcc generates wrong debug information at -O3

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89791 Richard Biener changed: What|Removed |Added Keywords||wrong-debug Status|UNCONFIR

[Bug debug/89792] gcc generates wrong debug information at -O3

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89792 Richard Biener changed: What|Removed |Added Keywords||wrong-debug Status|UNCONFIR

[Bug c/89798] excessive vector_size silently accepted and truncated

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89798 --- Comment #2 from Richard Biener --- Note that in theory we can handle vector sizes up to 1<<(1<<10) given we store TYPE_VECTOR_SUBPARTS logarithmic and have 10 bits for the exponent... If we want to limit it we should document the limit if it

[Bug tree-optimization/89802] [9 Regresssion] ICE: verify_gimple failed (error: dead STMT in EH table)

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89802 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug debug/89801] gcc generates wrong debug information at -O2

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89801 Richard Biener changed: What|Removed |Added Keywords||wrong-debug Status|UNCONFIR

[Bug tree-optimization/89804] optimization opportunity: move variable from stack to register

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89804 --- Comment #3 from Richard Biener --- The decision is currently to limit GIMPLE-level memcpy "inlining" to power-of-two (mode-precision) (single) moves and leave the rest to RTL expansion.

[Bug target/89795] [7/8/9 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug target/89795] [7/8/9 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 --- Comment #3 from Jakub Jelinek --- Reproduced with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure -mtune=generic-armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mabi=aapcs-linux -marm -march=armv7-a

[Bug target/89794] wrong code with -Og -fno-forward-propagate

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89794 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Richard Biener changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRM

[Bug target/89811] uint32_t load is not recognized if shifts are done in a fixed-size loop

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89811 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/89812] [9 Regression] incorrect maximum in error: requested alignment ‘536870912’ exceeds maximum 2147483648

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89812 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0

[Bug target/89788] trunk/liboffloadmic/runtime/emulator/coi_host.cpp:175]: (error) Null pointer dereference

2019-03-25 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89788 --- Comment #1 from Hongtao.liu --- Yes, It seems to be a Typo. The bellowing code also use path. 202 if (closedir (dir) < 0) 203 COIERROR ("Cannot close directory %s.", path); 204 if (rmdir (path) < 0) 205 COIERROR ("Cannot rem

[Bug c++/89814] New: [9 Regression] ICE (segfault) with -Wduplicated-cond

2019-03-25 Thread burnus at gcc dot gnu.org
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- GCC 9.0.1 20190325/x86_64-pc-linux-gnu now segfaults with "g++ -Wduplicated-cond" - it worked about a week ago.

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/89789] [9 Regression] Compile time hog during RPO VN

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89789 --- Comment #3 from Richard Biener --- OK, so we oscillate for # vh_5 = PHI vh_12 = vh_8(D) ^ vh_5; where vh_8(D) is undefined. First we get zero (vh_8 ^ vh_8) then we get, with vh_5 == 0 (UNDEF meet 0) we get vh_8(D) and so on. The issue is

[Bug target/89795] [7/8/9 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-03-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/89814] [9 Regression] ICE (segfault) with -Wduplicated-cond

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

[Bug middle-end/89790] [9 Regression] ICE segfault in operand_equal_p() at fold-const.c:3000 with -Wduplicated-cond since r269838

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

[Bug middle-end/89790] [9 Regression] ICE segfault in operand_equal_p() at fold-const.c:3000 with -Wduplicated-cond since r269838

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89790 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Mar 25 10:05:15 2019 New Revision: 269907 URL: https://gcc.gnu.org/viewcvs?rev=269907&root=gcc&view=rev Log: 2019-03-25 Richard Biener PR middle-end/89790 * fol

[Bug target/89775] [7/8 Regression] S/390: Stackpointer save/restore instructions optimized away

2019-03-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89775 --- Comment #4 from Andreas Krebbel --- Author: krebbel Date: Mon Mar 25 10:18:57 2019 New Revision: 269910 URL: https://gcc.gnu.org/viewcvs?rev=269910&root=gcc&view=rev Log: S/390: Fix PR89775. Stackpointer save/restore instructions removed Ev

[Bug ada/89493] [9 Regression] Stack smashing on armv7hl

2019-03-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89493 Eric Botcazou changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug target/88474] Inline built-in hypot for -ffast-math

2019-03-25 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88474 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/89790] [9 Regression] ICE segfault in operand_equal_p() at fold-const.c:3000 with -Wduplicated-cond since r269838

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89790 Richard Biener changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #

[Bug c++/89814] [9 Regression] ICE (segfault) with -Wduplicated-cond

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89814 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/89794] wrong code with -Og -fno-forward-propagate

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89794 Jakub Jelinek changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org,

[Bug target/78263] Compile failure with AltiVec library on PPC64le and -std=c++11 flag

2019-03-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78263 --- Comment #9 from Bill Schmidt --- Right. I am going to fix this early in stage 1 for GCC 10. It slipped off my radar again in 9, and I don't want to do it late in the release because of potential fallout.

[Bug libstdc++/41861] [DR 887][C++0x] does not use monotonic_clock

2019-03-25 Thread mac at mcrowe dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 --- Comment #17 from Mike Crowe --- In https://sourceware.org/ml/libc-alpha/2019-02/msg00637.html , I proposed the addition of the pthread_cond_clockwait function (among others) to glibc, and whilst there are a few comments on the patches, there'

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread s_gcc_bugzilla at binarez dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #3 from sduguay --- (In reply to Richard Biener from comment #1) > Testcase: > > #pragma once > int main() {} > > > g++ t.C -S > t.C:1:9: warning: #pragma once in main file > #pragma once > ^~~~ > > > you could work aro

[Bug c++/60702] thread_local initialization

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 --- Comment #15 from Jakub Jelinek --- I think the dg-require-alias is the right thing though, this is not related to native vs. non-native TLS, but: /* If the variable is internal, or if we can't generate aliases, call the local init func

[Bug c++/60702] thread_local initialization

2019-03-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 --- Comment #16 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #15) > I think the dg-require-alias is the right thing though, this is not related > to native vs. non-native TLS, but: > /* If the variable is internal, or if we can'

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread s_gcc_bugzilla at binarez dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #4 from sduguay --- (In reply to Jakub Jelinek from comment #2) > You haven't explained why do you need to use #pragma once in the main cpp > source file, are you sometimes including it as a header and other times > compiling it as th

[Bug libfortran/79540] [7/8/9 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

2019-03-25 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #24 from John David Anglin --- Author: danglin Date: Mon Mar 25 11:48:36 2019 New Revision: 269911 URL: https://gcc.gnu.org/viewcvs?rev=269911&root=gcc&view=rev Log: PR libgfortran/79540 * io/write_float.def (build_fl

[Bug c++/60702] thread_local initialization

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 --- Comment #17 from Jakub Jelinek --- Author: jakub Date: Mon Mar 25 11:53:56 2019 New Revision: 269912 URL: https://gcc.gnu.org/viewcvs?rev=269912&root=gcc&view=rev Log: PR c++/60702 * g++.dg/tls/thread_local11.C: Remove scan-t

[Bug c++/60702] thread_local initialization

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 --- Comment #18 from Jakub Jelinek --- Should be fixed on the trunk now.

[Bug tree-optimization/89802] [9 Regresssion] ICE: verify_gimple failed (error: dead STMT in EH table)

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89802 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/89802] [9 Regresssion] ICE: verify_gimple failed (error: dead STMT in EH table)

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

[Bug tree-optimization/89802] [9 Regresssion] ICE: verify_gimple failed (error: dead STMT in EH table)

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89802 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Mar 25 12:15:59 2019 New Revision: 269913 URL: https://gcc.gnu.org/viewcvs?rev=269913&root=gcc&view=rev Log: 2019-03-25 Richard Biener PR tree-optimization/89802

[Bug middle-end/89779] [9 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in tree_nop_conversion_p, at tree.c:12798

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89779 --- Comment #7 from Richard Biener --- Author: rguenth Date: Mon Mar 25 12:18:38 2019 New Revision: 269914 URL: https://gcc.gnu.org/viewcvs?rev=269914&root=gcc&view=rev Log: 2019-03-25 Richard Biener PR tree-optimization/89779

[Bug rtl-optimization/89815] New: [7/8/9 Regression] wrong code with -Og -march=armv4t -fno-tree-ccp -fno-tree-fre

2019-03-25 Thread zsojka at seznam dot cz
a-hardfloat Thread model: posix gcc version 9.0.1 20190325 (experimental) (GCC) The .ira dump has: ... (insn 55 24 32 2 (set (reg:QI 145 [143]) (const_int -1 [0x])) "testcase.c":10:7 191 {*arm_movqi_insn} (nil)) ... (insn 58 43 47 2 (set (reg:QI 143)

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 --- Comment #5 from Richard Biener --- (In reply to sduguay from comment #3) > (In reply to Richard Biener from comment #1) > > Testcase: > > > > #pragma once > > int main() {} > > > > > g++ t.C -S > > t.C:1:9: warning: #pragma once in main fil

[Bug tree-optimization/89653] Missing vectorization of loop containing std::min/std::max and temporary

2019-03-25 Thread moritz.kreutzer at siemens dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89653 --- Comment #7 from Moritz Kreutzer --- Thanks for taking this up Richard! I just want to check back: Do you need any assistance with testing or more information from my side?

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Jonathan Wakely changed: What|Removed |Added Keywords||easyhack --- Comment #6 from Jonathan

[Bug c++/62181] [C/C++] Expected new warning: "adding 'char' to a string does not append to the string" [-Wstring-plus-int]

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62181 --- Comment #15 from Jonathan Wakely --- Was this question ever answered? https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01337.html

[Bug c++/89806] Different behaviour for "pragma diagnostic disabled" between gcc and g++

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89806 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 Jonathan Wakely changed: What|Removed |Added CC||nbkolchin at gmail dot com --- Comment

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 --- Comment #37 from Jonathan Wakely --- From PR 89806: Sample code: #pragma GCC diagnostic ignored "-Wdate-time" const char* g_test = "dirty-" __DATE__; When compiling with g++ (g++ -Werror=date-time) this produces: :2:31: error: macro "__DA

[Bug libstdc++/89816] New: [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Bug ID: 89816 Summary: [9 Regression] std::variant move construction regressed since GCC 8.3 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/89653] Missing vectorization of loop containing std::min/std::max and temporary

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89653 --- Comment #8 from Richard Biener --- (In reply to Moritz Kreutzer from comment #7) > Thanks for taking this up Richard! I just want to check back: Do you need > any assistance with testing or more information from my side? Not at this point -

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Jonathan Wakely changed: What|Removed |Added CC||ville at gcc dot gnu.org --- Comment #

[Bug tree-optimization/89789] [9 Regression] Compile time hog during RPO VN

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

[Bug tree-optimization/89789] [9 Regression] Compile time hog during RPO VN

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89789 --- Comment #5 from Richard Biener --- Author: rguenth Date: Mon Mar 25 13:53:50 2019 New Revision: 269917 URL: https://gcc.gnu.org/viewcvs?rev=269917&root=gcc&view=rev Log: 2019-03-25 Richard Biener PR tree-optimization/89789

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

[Bug rtl-optimization/89528] Wrong debug info generated at -Og [gcc-trunk]

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89528 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/62181] [C/C++] Expected new warning: "adding 'char' to a string does not append to the string" [-Wstring-plus-int]

2019-03-25 Thread xry111 at mengyan1223 dot wang
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62181 --- Comment #16 from Xi Ruoyao --- (In reply to Jonathan Wakely from comment #15) > Was this question ever answered? > https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01337.html Oh that's intentional. This would make this warning more useful, whi

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463 --- Comment #8 from Richard Biener --- Patch posted here: https://gcc.gnu.org/ml/gcc-patches/2019-03/msg01192.html Some of your bugs might turn out as duplicates if they are fixed by that patch.

[Bug debug/89530] Wrong debug informations for C array generated at -Og [gcc-trunk]

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530 Richard Biener changed: What|Removed |Added Keywords|wrong-debug | --- Comment #9 from Richard Biener --

[Bug c++/62181] [C/C++] Expected new warning: "adding 'char' to a string does not append to the string" [-Wstring-plus-int]

2019-03-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62181 --- Comment #17 from Eric Gallager --- (In reply to Xi Ruoyao from comment #16) > (In reply to Jonathan Wakely from comment #15) > > Was this question ever answered? > > https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01337.html > > Oh that's inte

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2019-03-25 Thread nbkolchin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 --- Comment #38 from Nickolay Kolchin-Semyonov --- Since this is a long standing problem, maybe this limitation should be mentioned in official documentation?

[Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)

2019-03-25 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463 --- Comment #10 from rguenther at suse dot de --- On Mon, 25 Mar 2019, qrzhang at gatech dot edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463 > > --- Comment #9 from Qirun Zhang --- > (In reply to Richard Biener from comment #8)

[Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)

2019-03-25 Thread qrzhang at gatech dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463 --- Comment #9 from Qirun Zhang --- (In reply to Richard Biener from comment #8) > Patch posted here: https://gcc.gnu.org/ml/gcc-patches/2019-03/msg01192.html > > Some of your bugs might turn out as duplicates if they are fixed by that > patch.

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #3 from Ville Voutilainen --- The problem here is that the older approach knows that it's always from type X1 to type X1, never from type X4 to X2. The visitation approach generates combinations that we never use.

[Bug debug/89791] gcc generates wrong debug information at -O3

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89791 Richard Biener changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment #

[Bug c++/89700] Warn if move constructor is not generated and not deleted

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89700 --- Comment #6 from Antony Polukhin --- Another way to workaround the warning is to use something like `my_class(my_class&) requires false;`. That's too ugly to use. I'd be fine with closing this issue as a 'won't fix'.

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #5 from Ville Voutilainen --- Correct.

[Bug debug/89529] Wrong debug info generated at -Og [gcc-trunk]

2019-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89529 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/89817] New: remove references to type modes from user docs for vector extensions

2019-03-25 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89817 Bug ID: 89817 Summary: remove references to type modes from user docs for vector extensions Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #6 from Antony Polukhin --- The fix seems pretty trivial: in function `__variant_construct` get the address of the sorage before entering the `__do_visit` and make it switch only by the `__rhs`. Pseudo-code: template void __va

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #7 from Ville Voutilainen --- Looks good - I'll do a patch shortly.

[Bug c++/89796] Incorrect warning generated with OpenMP atomic capture

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89796 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/89705] [7/8/9 Regression] ICE in convert_like_real, at cp/call.c:7334

2019-03-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89705 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Mon Mar 25 16:10:06 2019 New Revision: 269918 URL: https://gcc.gnu.org/viewcvs?rev=269918&root=gcc&view=rev Log: PR c++/89705 - ICE with reference binding with conversion funct

[Bug c++/89705] [7/8 Regression] ICE in convert_like_real, at cp/call.c:7334

2019-03-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89705 Marek Polacek changed: What|Removed |Added Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #8 from Ville Voutilainen --- Patch: https://gcc.gnu.org/ml/gcc-patches/2019-03/msg01200.html

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/89214] [7/8/9 Regression] ICE in digest_init_r, at cp/typeck2.c:1211 with -std=c++17

2019-03-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89214 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Mon Mar 25 16:38:48 2019 New Revision: 269919 URL: https://gcc.gnu.org/viewcvs?rev=269919&root=gcc&view=rev Log: PR c++/89214 - ICE when initializing aggregates with bases.

[Bug c++/89214] [7/8 Regression] ICE in digest_init_r, at cp/typeck2.c:1211 with -std=c++17

2019-03-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89214 Marek Polacek changed: What|Removed |Added Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in

[Bug c++/89818] New: possibly invalid name mangling

2019-03-25 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89818 Bug ID: 89818 Summary: possibly invalid name mangling Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ As

[Bug c++/89818] possibly invalid name mangling

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89818 --- Comment #1 from Andrew Pinski --- related to PR 88413 and PR 67343

[Bug c++/88413] g++ mangles names involving unresolved names in function argument template parameters differently from the ABI standard.

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88413 --- Comment #10 from Andrew Pinski --- related to PR 67343.

[Bug c++/89818] possibly invalid name mangling

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89818 --- Comment #2 from Andrew Pinski --- And related to the upstream ABI issue: https://github.com/itanium-cxx-abi/cxx-abi/issues/38 .

[Bug c++/67343] C++ mangler does not follow ABI for local names in expressions

2019-03-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67343 Andrew Pinski changed: What|Removed |Added Keywords||ABI, wrong-code See Also|

[Bug c++/89796] Incorrect warning generated with OpenMP atomic capture

2019-03-25 Thread perard at cg dot uni-saarland.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89796 --- Comment #6 from Arsène Pérard-Gayot --- (In reply to Jakub Jelinek from comment #5) > Created attachment 46018 [details] > gcc9-pr89796.patch > > Untested fix. > > You could have used simpler > #pragma omp atomic capture > prev = c++; > tha

[Bug libstdc++/89819] New: [9 Regression] std::variant operators regressed since GCC 8.3

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89819 Bug ID: 89819 Summary: [9 Regression] std::variant operators regressed since GCC 8.3 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #9 from Antony Polukhin --- BTW, I think there are some other cases where binary visitation could be simplified to unary (significantly reducing the code size and improving the compile times). I've filled Bug 89819, but looks like ass

[Bug rtl-optimization/89815] [7/8/9 Regression] wrong code with -Og -march=armv4t -fno-tree-ccp -fno-tree-fre

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89815 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/89819] [9 Regression] std::variant operators regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89819 Ville Voutilainen changed: What|Removed |Added CC||ville.voutilainen at gmail dot com

[Bug other/89817] remove references to type modes from user docs for vector extensions

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

[Bug libstdc++/89816] [9 Regression] std::variant move construction regressed since GCC 8.3

2019-03-25 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89816 --- Comment #10 from Ville Voutilainen --- Assignment can be made to avoid double-visitation, instead of using _M_destructive_move/copy. Other than that, getting it to generate fewer table items needs the idea from the other bug report.

[Bug c++/89767] [8 Regression] ICE with tuple and optimization

2019-03-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767 Jakub Jelinek changed: What|Removed |Added Summary|[8/9 Regression] ICE with |[8 Regression] ICE with

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2019-03-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c++/87748] [8/9 Regression] G++-8 treats SFINAE as error

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87748 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Mar 25 18:27:08 2019 New Revision: 269921 URL: https://gcc.gnu.org/viewcvs?rev=269921&root=gcc&view=rev Log: PR c++/87748 - substitution failure error with decltype. This iss

[Bug c++/87480] [8/9 Regression] SFINAE constructor not matched, only in templated function

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87480 --- Comment #5 from Jason Merrill --- Author: jason Date: Mon Mar 25 18:27:08 2019 New Revision: 269921 URL: https://gcc.gnu.org/viewcvs?rev=269921&root=gcc&view=rev Log: PR c++/87748 - substitution failure error with decltype. This iss

[Bug c++/87748] [8 Regression] G++-8 treats SFINAE as error

2019-03-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87748 Jason Merrill changed: What|Removed |Added Summary|[8/9 Regression] G++-8 |[8 Regression] G++-8 treats

  1   2   >