[Bug c++/90005] No error produced for the wrong type of string used in gcc >= 5.0

2019-04-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90005 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #3) > Because GCC allows passing non pods via varargs now. This is an explicit > change due to newer c++ changes. Right. The C++ standard says: "Passing a

[Bug c++/90005] No error produced for the wrong type of string used in gcc >= 5.0

2019-04-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90005 --- Comment #3 from Andrew Pinski --- Because GCC allows passing non pods via varargs now. This is an explicit change due to newer c++ changes. You could do -Werror=format to get only the format warnings changed to errors.

[Bug c++/90005] No error produced for the wrong type of string used in gcc >= 5.0

2019-04-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90005 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/90005] No error produced for the wrong type of string used in gcc >= 5.0

2019-04-08 Thread pawel.wrobel at nielsen dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90005 --- Comment #2 from Pawel --- Hi, Thanks, Adding -Wformat indeed show up a waring here : $ g++ -Wformat main.cpp -o out main.cpp: In function ‘int main()’: main.cpp:6:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2019-04-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #8 from Martin Liška --- I took back what I took back ;) The intermediate format file is created from GCDA file and contains information for multiple source files. So that it does not make sense to

[Bug middle-end/89998] [7/8/9 regression] ICE: verify_gimple failed in printf-return-value

2019-04-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89998 Jakub Jelinek changed: What|Removed |Added Priority|P4 |P3 Target Milestone|9.0

[Bug ipa/89893] Segmentation fault always occurs when node app is generated by gcc-8-branch@268745

2019-04-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89893 Martin Liška changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c/90006] gcc loops indefinitely around vect_get_constant_vectors on -O2 -ftree-slp-vectorize -fno-math-errno

2019-04-08 Thread slyfox at inbox dot ru
/slyfox/dev/git/gcc-native-quick/../gcc-native-quick-installed --disable-nls CFLAGS='-O1 ' CXXFLAGS='-O1 ' --with-sysroot=/usr/x86_64-HEAD-linux-gnu Thread model: posix gcc version 9.0.1 20190408 (experimental) (GCC)

[Bug c++/90005] No error produced for the wrong type of string used in gcc >= 5.0

2019-04-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90005 --- Comment #1 from Andrew Pinski --- Have you tried -Wformat ?

[Bug c/90006] New: gcc loops indefinitely around vect_get_constant_vectors on -O2 -ftree-slp-vectorize -fno-math-errno

2019-04-08 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90006 Bug ID: 90006 Summary: gcc loops indefinitely around vect_get_constant_vectors on -O2 -ftree-slp-vectorize -fno-math-errno Product: gcc Version: 8.3.0

[Bug c++/90005] New: No error produced for the wrong type of string used in gcc >= 5.0

2019-04-08 Thread pawel.wrobel at nielsen dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90005 Bug ID: 90005 Summary: No error produced for the wrong type of string used in gcc >= 5.0 Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/90004] New: [graphite] ICE: Segmentation fault (in scop_get_dependences(scop*))

2019-04-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90004 Bug ID: 90004 Summary: [graphite] ICE: Segmentation fault (in scop_get_dependences(scop*)) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/89998] [9 regression] AVR ICE: verify_gimple failed in printf-return-value

2019-04-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89998 Jakub Jelinek changed: What|Removed |Added Status|WAITING |ASSIGNED CC|

[Bug rtl-optimization/90001] Compile-time hog in swing modulo scheduler

2019-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90001 Richard Biener changed: What|Removed |Added Target|powerpc-*-linux-gnu |powerpc-*-linux-gnu

[Bug c++/90003] internal compiler error: in tsubst_decl, at cp/pt.c:13783

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

[Bug middle-end/89992] Vectorizer is sensitive to guessed profile

2019-04-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89992 --- Comment #2 from Martin Liška --- (In reply to Richard Biener from comment #1) > It's simply that inlining makes the guessed profile not consider the loop > worth > optimizing for speed. Part of that is because the loop ends up in main() >

[Bug c++/89914] [9 Regression] ICE in nothrow_spec_p, at cp/except.c:1238

2019-04-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89914 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/89914] [9 Regression] ICE in nothrow_spec_p, at cp/except.c:1238

2019-04-08 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89914 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Apr 8 08:13:50 2019 New Revision: 270201 URL: https://gcc.gnu.org/viewcvs?rev=270201=gcc=rev Log: /cp 2019-04-08 Paolo Carlini PR c++/89914 *

[Bug middle-end/89998] [9 regression] AVR ICE: verify_gimple failed in printf-return-value

2019-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89998 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug middle-end/89977] missing -Wstringop-overflow with an out-of-bounds int128_t range

2019-04-08 Thread JunMa at linux dot alibaba.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89977 --- Comment #3 from JunMa --- (In reply to JunMa from comment #2) > After a bit more thinking, the behavior of gcc trunk is right. the range of > n_3 in truncation from int128 to long unsigned int equal to the range of > long unsigned int. for

[Bug middle-end/89977] missing -Wstringop-overflow with an out-of-bounds int128_t range

2019-04-08 Thread JunMa at linux dot alibaba.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89977 --- Comment #2 from JunMa --- After a bit more thinking, the behavior of gcc trunk is right. the range of n_3 in truncation from int128 to long unsigned int equal to the range of long unsigned int. for example: if n_3 = 0x1, then _1 is 0

[Bug c++/89994] [8 Regression] ICE (segfault) in compare_ics

2019-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89994 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.4

[Bug middle-end/89992] Vectorizer is sensitive to guessed profile

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

[Bug target/89877] [ARC] miscompilation due to missing cc clobber in longlong.h: add_ssaaaa()/sub_ddmmss()

2019-04-08 Thread claziss at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89877 --- Comment #4 from Claudiu Zissulescu --- Backported to gcc 8 branch revision 270200.

[Bug libstdc++/89991] Complex numbers: Calculation of imaginary part is not correct

2019-04-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89991 --- Comment #6 from Andrew Pinski --- (In reply to Richard Biener from comment #5) > The issue is > > std::pow (__x=..., __y=@0x7fffdcb8: 0.5) > at /home/space/rguenther/install/gcc-9.0/include/c++/9.0.1/complex:1027 > (gdb) l > 1022

[Bug libstdc++/89991] Complex numbers: Calculation of imaginary part is not correct

2019-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89991 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #5 from Richard

[Bug fortran/90002] ICE: free_expr0(): Bad expr type

2019-04-08 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90002 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug c++/89990] request warning: Use of out of scope compound literals

2019-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89990 Richard Biener changed: What|Removed |Added Keywords||diagnostic Component|c

[Bug fortran/89987] ICE on GCC trunk and GCC 8 on arm-none-linux-gnueabihf target with “-O1” option

2019-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89987 Richard Biener changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug d/89432] FAIL: libphobos.unittests/druntime/{static,shared}/core.time on CentOS 5.11, Linux 2.6.18

2019-04-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89432 --- Comment #3 from Uroš Bizjak --- The original makefile set the variable with: ifeq ($(OS),linux) old_kernel:=$(shell [ "$$(uname -r | cut -d'-' -f1)" \< "2.6.39" ] && echo 1) ifeq ($(old_kernel),1)

[Bug debug/89905] gcc generates wrong debug information at -Og

2019-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89905 Bug 89905 depends on bug 89892, which changed state. Bug 89892 Summary: gcc generates wrong debug information at -O2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89892 What|Removed |Added

[Bug debug/88882] gcc generates wrong debug information at -O1

2019-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2 Bug 2 depends on bug 89892, which changed state. Bug 89892 Summary: gcc generates wrong debug information at -O2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89892 What|Removed |Added

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

2019-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89892 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug middle-end/89977] missing -Wstringop-overflow with an out-of-bounds int128_t range

2019-04-08 Thread JunMa at linux dot alibaba.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89977 JunMa changed: What|Removed |Added CC||JunMa at linux dot alibaba.com --- Comment #1

[Bug libstdc++/89991] Complex numbers: Calculation of imaginary part is not correct

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

[Bug c++/89994] [8 Regression] ICE (segfault) in compare_ics

2019-04-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89994 --- Comment #3 from Martin Liška --- The ICE is much older that GCC-8: acafca510c97652f(09 Oct 2014 07:40): [took: 2.880s] result: OK pr89994.cc:18:21: error: parameter ‘’ includes reference to array of unknown bound ‘const long int []’

[Bug c++/89994] [8 Regression] ICE (segfault) in compare_ics

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

[Bug tree-optimization/49379] warning from linker: alignment lost for -ftree-vectorize optimization

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

[Bug ipa/89893] Segmentation fault always occurs when node app is generated by gcc-8-branch@268745

2019-04-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89893 Martin Liška changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug target/89623] Can't build mips-wrs-vxworks cross-compiler

2019-04-08 Thread paul.hua.gm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89623 Paul Hua changed: What|Removed |Added CC||paul.hua.gm at gmail dot com --- Comment #2

[Bug c++/90003] New: internal compiler error: in tsubst_decl, at cp/pt.c:13783

2019-04-08 Thread rene.r...@fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90003 Bug ID: 90003 Summary: internal compiler error: in tsubst_decl, at cp/pt.c:13783 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug target/89623] Can't build mips-wrs-vxworks cross-compiler

2019-04-08 Thread paulhua at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89623 --- Comment #1 from paulhua at gcc dot gnu.org --- Author: paulhua Date: Mon Apr 8 06:37:00 2019 New Revision: 270198 URL: https://gcc.gnu.org/viewcvs?rev=270198=gcc=rev Log: 2019-04-08 Chenghua Xu gcc/ PR target/89623

[Bug target/89945] [7/8/9 Regression] ICE in gen_lowpart_general, at rtlhooks.c:63

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

<    1   2