[Bug fortran/87318] gfortran.dg/dtio_1.f90 is invalid

2018-09-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87318 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/87318] gfortran.dg/dtio_1.f90 is invalid

2018-09-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87318 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/87315] uninitialized read from memory returned by malloc not eliminated, no warning

2018-09-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87315 --- Comment #4 from Martin Sebor --- To be clear: besides the missing warning this is also about the kind of code GCC emits for the uninitialized read -- a missed-optimization for lack of a better term/keyword. It would be safer to do what

[Bug fortran/86484] [OOP] Undefined symbol when using polymorphic intrinsic assignment

2018-09-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86484 janus at gcc dot gnu.org changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/86551] [OOP] ICE on invalid code with select type

2018-09-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86551 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/86484] [OOP] Undefined symbol when using polymorphic intrinsic assignment

2018-09-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86484 --- Comment #5 from janus at gcc dot gnu.org --- (In reply to janus from comment #4) > The following draft patch fixes both this one and PR 84543: ... and regtests cleanly.

[Bug c/87323] New: More complicated assembly for sode with custom copy constructor

2018-09-15 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87323 Bug ID: 87323 Summary: More complicated assembly for sode with custom copy constructor Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/87315] uninitialized read from memory returned by malloc not eliminated, no warning

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87315 --- Comment #5 from Manuel López-Ibáñez --- (In reply to Martin Sebor from comment #4) > To be clear: besides the missing warning this is also about the kind of code > GCC emits for the uninitialized read -- a missed-optimization for lack of a >

[Bug c++/87324] New: g++ ICE with overriding initializers: Segmentation fault

2018-09-15 Thread helloqirun at gmail dot com
/9.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=/home/absozero/trunk/root-gcc --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 9.0.0 20180915 (experimental) [trunk revision 264342] (GCC) $ g++-trunk abc.C abc.C:9:18

[Bug c/65158] printf attribute error reporting assumes single-byte characters

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65158 --- Comment #5 from Manuel López-Ibáñez --- (In reply to Martin Sebor from comment #4) > What follows the percent sign must one of the C or POSIX conversion > specifiers (after any optional flags etc.) and those are all single byte > characters

[Bug middle-end/87323] More complicated assembly for sode with custom copy constructor

2018-09-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87323 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/87320] New: Last iteration of vectorized loop not executed when peeling for gaps

2018-09-15 Thread kilian.verhetsel at uclouvain dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87320 Bug ID: 87320 Summary: Last iteration of vectorized loop not executed when peeling for gaps Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/87209] Wuninitialized or Wmaybe-uninitialized doesn't warn when malloc's return value is used without being initialized

2018-09-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87209 --- Comment #3 from Martin Sebor --- (As suggested in bug 87315) besides issuing a warning it would be safer to do what Clang does in cases like this and either replace the code with a trap, or simply eliminate the access (and the malloc call)

[Bug fortran/86484] [OOP] Undefined symbol when using polymorphic intrinsic assignment

2018-09-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86484 janus at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug c++/87322] New: [GCC 8.1+] GCC fails to parse captured lambda of 2nd inner lambda if the captured lambda has "," (having 2 arguments)

2018-09-15 Thread hotguest1 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87322 Bug ID: 87322 Summary: [GCC 8.1+] GCC fails to parse captured lambda of 2nd inner lambda if the captured lambda has "," (having 2 arguments) Product: gcc

[Bug fortran/86484] [OOP] Undefined symbol when using polymorphic intrinsic assignment

2018-09-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86484 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/86551] [OOP] ICE on invalid code with select type

2018-09-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86551 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug fortran/87318] gfortran.dg/dtio_1.f90 is invalid

2018-09-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87318 --- Comment #3 from Jerry DeLisle --- Created attachment 44700 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44700=edit Revised dtio_1.f90 Will this attached version suffice? When we wrote the test case we were not going for valid code,

[Bug c/70082] Attribute ifunc marked functions should not be allowed to call other functions.

2018-09-15 Thread carlos at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70082 --- Comment #7 from Carlos O'Donell --- (In reply to Martin Sebor from comment #6) > Carlos, do you still feel diagnosing some of the [mis]uses would be helpful, > e.g., by a warning? (I ask because I've been doing some work in this area > --

[Bug tree-optimization/86990] [9 regression] wrong code at -O2 on x86_64-linux-gnu in 64-bit mode

2018-09-15 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86990 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/87317] Missed optimisation: merging VMOVQ with operations that only use the low 8 bytes

2018-09-15 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87317 Marc Glisse changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug middle-end/86864] [9 Regression] ICE in commit_one_edge_insertion, at cfgrtl.c:2025 since r261795

2018-09-15 Thread ebotcazou at gcc dot gnu.org
): Be prepared for a BARRIER before and after a JUMP_TABLE_DATA. Added: trunk/gcc/testsuite/gcc.c-torture/compile/20180915-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfgexpand.c trunk/gcc/testsuite/ChangeLog

[Bug middle-end/86864] [9 Regression] ICE in commit_one_edge_insertion, at cfgrtl.c:2025 since r261795

2018-09-15 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86864 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/87315] uninitialized read from memory returned by malloc not eliminated, no warning

2018-09-15 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87315 --- Comment #1 from Marc Glisse --- There could be 2 steps: - replace the read with an undefined value (SSA_NAME with GIMPLE_NOP defining statement). I vaguely remember someone was not enthusiastic about it, but I don't remember why. - fold a

[Bug fortran/87318] New: gfortran.dg/dtio_1.f90 is invalid

2018-09-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87318 Bug ID: 87318 Summary: gfortran.dg/dtio_1.f90 is invalid Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/87315] uninitialized read from memory returned by malloc not eliminated, no warning

2018-09-15 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87315 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug c/87310] -Wc90-c99-compat does not warn about bool usage

2018-09-15 Thread kohanyi.robert at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87310 --- Comment #4 from Róbert Kohányi --- Created attachment 44698 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44698=edit /usr/lib/gcc/x86_64-linux-gnu/5/include/stdbool.h Here's the on Ubuntu using gcc 5.4.0.

[Bug middle-end/87209] Wuninitialized or Wmaybe-uninitialized doesn't warn when malloc's return value is used without being initialized

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87209 Manuel López-Ibáñez changed: What|Removed |Added CC||msebor at gcc dot gnu.org ---

[Bug tree-optimization/87315] uninitialized read from memory returned by malloc not eliminated, no warning

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87315 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/55060] False un-initialized variable warnings

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55060 Manuel López-Ibáñez changed: What|Removed |Added Known to work||9.0 --- Comment #6 from Manuel

[Bug tree-optimization/60165] "may be used uninitialized" warning with -O3 but not with -O2

2018-09-15 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60165 --- Comment #20 from Marc Glisse --- (In reply to Vincent Lefèvre from comment #18) > OK, but then, this means that the first sentence of the > -Wmaybe-uninitialized documentation is incorrect. That's probably the "there > exists" that is

[Bug c/87310] -Wc90-c99-compat does not warn about bool usage

2018-09-15 Thread kohanyi.robert at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87310 --- Comment #3 from Róbert Kohányi --- Created attachment 44697 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44697=edit /usr/lib/gcc/x86_64-pc-msys/7.3.0/include/stdbool.h Here's the referenced on Windows using gcc 7.3.0

[Bug c/87310] -Wc90-c99-compat does not warn about bool usage

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87310 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/65158] printf attribute error reporting assumes single-byte characters

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65158 Manuel López-Ibáñez changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug c/87319] New: When vector is wrapped, expression is not optimized.

2018-09-15 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87319 Bug ID: 87319 Summary: When vector is wrapped, expression is not optimized. Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/87299] #pragma GCC target behaves differently when using -save-temps

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87299 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/87299] #pragma GCC target behaves differently when using -save-temps

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87299 Manuel López-Ibáñez changed: What|Removed |Added Keywords|diagnostic | --- Comment #2 from Manuel

[Bug c/87316] gcc: internal compiler error: Killed (program cc1)

2018-09-15 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87316 --- Comment #5 from David --- I've isolated the compilation and the results are still as above -- new versions of gcc are significantly slower compiling the attached test.i. Using this command: gcc -std=gnu99 -O0 -c test.i gcc 7.3.0 (Ubuntu

[Bug tree-optimization/60165] "may be used uninitialized" warning with -O3 but not with -O2

2018-09-15 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60165 --- Comment #19 from Manuel López-Ibáñez --- (In reply to Vincent Lefèvre from comment #18) > OK, but then, this means that the first sentence of the > -Wmaybe-uninitialized documentation is incorrect. That's probably the "there > exists" that

[Bug c/65158] printf attribute error reporting assumes single-byte characters

2018-09-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65158 --- Comment #4 from Martin Sebor --- (In reply to Manuel López-Ibáñez from comment #3) > void foo(void) { > __builtin_printf("%ñ%中"); > __builtin_printf ("%\x1B$B"); /* Taken from PR33748 */ > } > > : In function 'void foo()': > :2:22:

[Bug middle-end/87319] When vector is wrapped, expression is not optimized.

2018-09-15 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87319 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgomp/87140] Segmentation fault in priority_list_upgrade_task function when execution tasks with priority

2018-09-15 Thread silvestri at diag dot uniroma1.it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87140 Emiliano Silvestri changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/87316] gcc: internal compiler error: Killed (program cc1)

2018-09-15 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87316 --- Comment #6 from David --- clang 6 does the compilation in under 1 second on the same container. $ clang-6.0 -v clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin

[Bug target/87317] Missed optimisation: merging VMOVQ with operations that only use the low 8 bytes

2018-09-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87317 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #2

[Bug middle-end/87323] More complicated assembly for sode with custom copy constructor

2018-09-15 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87323 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/87319] When vector is wrapped, expression is not optimized.

2018-09-15 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87319 --- Comment #2 from Marc Glisse --- *** Bug 87323 has been marked as a duplicate of this bug. ***

[Bug c/71157] -Wnull-dereference false alarm in wrong function

2018-09-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71157 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/87317] Missed optimisation: merging VMOVQ with operations that only use the low 8 bytes

2018-09-15 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87317 --- Comment #4 from Marc Glisse --- > (match_operand:DI 1 "nonimmediate_operand" "m,*m,m") Does it have to come from memory, can't it also come from a (sub)register? int f(__m64 x){ __m128i y = _mm_movpi64_epi64(x); // or harder

[Bug target/87317] Missed optimisation: merging VMOVQ with operations that only use the low 8 bytes

2018-09-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87317 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|