[Bug ipa/104223] GCC unable to inline trivial functions passed to views::filter and transform unless lifted into types

2022-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104223 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Version|unknown

[Bug libfortran/104233] [12 regression] ieee/issignaling_fallback.h broke Solaris/SPARC bootstrap

2022-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104233 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/104232] [12 Regression] spurious -Wuse-after-free after conditional free

2022-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Priority|P3

[Bug fortran/104228] [9/10/11/12 Regression] ICE in df_install_ref, at df-scan.cc:2294

2022-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104228 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug c++/104225] [9/10/11 Regression] accepts-invalid new expression that uses deleted implicit default constructor of class specialization

2022-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104225 Richard Biener changed: What|Removed |Added Known to work||12.0 Known to fail|12.0

[Bug tree-optimization/104215] bogus -Wuse-after-free=3 due to forwprop moving a pointer test after realloc

2022-01-25 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104215 --- Comment #6 from rguenther at suse dot de --- On Tue, 25 Jan 2022, msebor at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104215 > > --- Comment #5 from Martin Sebor --- > To "use" means to evaluate. The strict C

[Bug preprocessor/96391] [10 Regression] ICE in linemap_compare_locations on "CONST VOID" in large C++ files

2022-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96391 --- Comment #28 from Richard Biener --- The patch should be further backported if it doesn't cause any issues.

[Bug lto/104237] Emitted binary code changes when -g is enabled at -O1 -flto and optimize attribute

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104237 Andrew Pinski changed: What|Removed |Added Summary|Emitted binary code changes |Emitted binary code changes

[Bug lto/104237] New: Emitted binary code changes when -g is enabled at -O1 -flto

2022-01-25 Thread tlwang at uwaterloo dot ca via Gcc-bugs
--enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220125 (experimental) [master -gf4ee27d32] (GCC) $ cat attributes_transformed_program0_preprocessed.c # 6 "" short a; __attribute__((

[Bug c++/103057] [11 Regression] Internal compiler error: Error reporting routines re-entered since r11-291-g0f50f6daa140186a

2022-01-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 Jason Merrill changed: What|Removed |Added CC||glisse at gcc dot gnu.org --- Comment

[Bug c++/104184] [11/12 Regression] ICE Error reporting routines re-entered. xref_basetypes since r11-291-g0f50f6daa140186a

2022-01-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104184 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/103057] [11 Regression] Internal compiler error: Error reporting routines re-entered since r11-291-g0f50f6daa140186a

2022-01-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 Jason Merrill changed: What|Removed |Added Summary|[11/12 Regression] Internal |[11 Regression] Internal

[Bug c++/103057] [11/12 Regression] Internal compiler error: Error reporting routines re-entered since r11-291-g0f50f6daa140186a

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f3e6ef7d873885ffaa0db7f4185364bbd7a70505 commit r12-6872-gf3e6ef7d873885ffaa0db7f4185364bbd7a70505 Author: Jason Merrill Date:

[Bug target/103100] [11/12 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100 Andrew Pinski changed: What|Removed |Added URL|https://gcc.gnu.org/piperma |https://gcc.gnu.org/piperma

[Bug rtl-optimization/104236] asm statements containing %= assembler templates getting merged

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104236 --- Comment #5 from Andrew Pinski --- You can still use %= if you want and combine it with the input constraint with counter. That is: void y (int a) { if (a) asm("# %="::"i"(__COUNTER__)); else asm("#

[Bug rtl-optimization/104236] asm statements containing %= assembler templates getting merged

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104236 --- Comment #4 from Andrew Pinski --- (In reply to Nick Desaulniers from comment #3) > Thanks for the feedback. I guess I was expecting these two to be somewhat > equivalent: > > void x (int a) { > if (a) > asm("#

[Bug rtl-optimization/104236] asm statements containing %= assembler templates getting merged

2022-01-25 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104236 --- Comment #3 from Nick Desaulniers --- Thanks for the feedback. I guess I was expecting these two to be somewhat equivalent: void x (int a) { if (a) asm("# %0"::"i"(__COUNTER__)); else asm("# %0"::"i"(__COUNTER__)); }

[Bug regression/103997] [12 Regression] gcc.target/i386/pr88531-??.c scan-assembler-times FAILs

2022-01-25 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103997 --- Comment #14 from Levy Hsu --- Hi Avieira and Richard I checked the data for the last half month and you are right, that no real regression was caused. Thank you all for the detailed explanation.

[Bug rtl-optimization/104236] asm statements containing %= assembler templates getting merged

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104236 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug rtl-optimization/104236] asm statements containing %= assembler templates getting merged

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104236 --- Comment #1 from Andrew Pinski --- On the gimple level we have: if (_2 == 0) goto ; [10.00%] else goto ; [90.00%] [local count: 966367639]: _6 = MEM[(struct media_request *)media_request_object_complete_obj.0_1].state; if

[Bug c++/104235] [12 Regression] ICE: in cp_parser_template_id, at cp/parser.cc

2022-01-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104235 --- Comment #2 from Marek Polacek --- I guess we want --- a/gcc/cp/parser.cc +++ b/gcc/cp/parser.cc @@ -18574,7 +18574,7 @@ cp_parser_template_name (cp_parser* parser, : parser->context->object_type); if (scope && TYPE_P

[Bug bootstrap/104236] New: asm statements containing %= assembler templates getting merged

2022-01-25 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104236 Bug ID: 104236 Summary: asm statements containing %= assembler templates getting merged Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/104161] Potential Security Vulnerability: remove_all and symbolic link

2022-01-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104161 --- Comment #4 from Jonathan Wakely --- This reduces the scope of the problem, but if the directory is replaced with a symlink *after* constructing the directory_iterator then filesystem::remove can still remove the wrong things. We really

[Bug c++/84652] [9/10/11/12 Regression] internal compiler error: in cp_parser_template_id, at cp/parser.c:15860

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84652 --- Comment #2 from Andrew Pinski --- Note this does not ICE with -std=c++20 but still does with -std=c++17.

[Bug c++/84652] [9/10/11/12 Regression] internal compiler error: in cp_parser_template_id, at cp/parser.c:15860

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84652 Andrew Pinski changed: What|Removed |Added Summary|internal compiler error: in |[9/10/11/12 Regression]

[Bug c++/104235] [12 Regression] ICE: in cp_parser_template_id, at cp/parser.cc

2022-01-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104235 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|needs-bisection

[Bug c++/104235] [12 Regression] ICE: in cp_parser_template_id, at cp/parser.cc

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104235 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/104235] New: [12 Regression] ICE: in cp_parser_template_id, at cp/parser.cc

2022-01-25 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104235 Bug ID: 104235 Summary: [12 Regression] ICE: in cp_parser_template_id, at cp/parser.cc Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug libfortran/104233] [12 regression] ieee/issignaling_fallback.h broke Solaris/SPARC bootstrap

2022-01-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104233 --- Comment #5 from Jakub Jelinek --- I think testing __FLT128_IS_IEC_60559__ next to it is fine too, if __float128 and _Float128 exists, they are on all supported targets the same IEEE quad types, just _Generic doesn't treat them as the same

[Bug libfortran/104233] [12 regression] ieee/issignaling_fallback.h broke Solaris/SPARC bootstrap

2022-01-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104233 --- Comment #4 from Francois-Xavier Coudert --- > Shouldn't the __float128 stuff be guarded with > defined(GFC_REAL_16_IS_FLOAT128) || defined(HAVE_GFC_REAL_17) We could. My goal was for that header not to depend on libgfortran macros (meaning

[Bug libfortran/104233] [12 regression] ieee/issignaling_fallback.h broke Solaris/SPARC bootstrap

2022-01-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104233 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug libfortran/104233] [12 regression] ieee/issignaling_fallback.h broke Solaris/SPARC bootstrap

2022-01-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104233 --- Comment #2 from Francois-Xavier Coudert --- Created attachment 52289 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52289=edit Tentative patch Does the attached patch fix the issue?

[Bug libfortran/104233] [12 regression] ieee/issignaling_fallback.h broke Solaris/SPARC bootstrap

2022-01-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104233 --- Comment #1 from Francois-Xavier Coudert --- If __FLT128_IS_IEC_60559__ is defined, does it mean that the associated type is accessible as _Float128?

[Bug c++/104234] New: ICE with -fmodules-ts and std::map/_Rb_tree

2022-01-25 Thread nemanjab at amazon dot com via Gcc-bugs
node_type = _Node_handle_common; node_type __trans_tmp_1; }; template struct _Rb_tree { struct _Rb_tree_impl { _Rb_tree_impl(); } _M_impl; }; _Rb_tree _M_tmap_; ``` gcc version 12.0.1 20220125/master, fails with gcc version 11.2.0 as well: ``` repro.cpp:8:28: internal compiler error: tree

[Bug target/104213] [12 Regression] bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM

2022-01-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/104215] bogus -Wuse-after-free=3 due to forwprop moving a pointer test after realloc

2022-01-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104215 --- Comment #5 from Martin Sebor --- To "use" means to evaluate. The strict C semantics are that the realloc() argument becomes indeterminate after the function has returned non-null, whether or not the returned pointer is the same as the

[Bug fortran/84784] ICEs: verify_gimple failed with -fdefault-integer-8

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84784 --- Comment #4 from anlauf at gcc dot gnu.org --- OK, the following fixes the ICE: diff --git a/gcc/fortran/trans-intrinsic.cc b/gcc/fortran/trans-intrinsic.cc index fccf0a9b229..d5564f659f8 100644 --- a/gcc/fortran/trans-intrinsic.cc +++

[Bug c++/104231] access checks are ignored for non-type template parameter

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104231 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/84784] ICEs: verify_gimple failed with -fdefault-integer-8

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84784 --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #2) > Another reduced testcase: > > ! { dg-do run } > ! { dg-options "-fdefault-integer-8" } > ! { dg-require-effective-target fortran_integer_16 } > > if

[Bug fortran/84784] ICEs: verify_gimple failed with -fdefault-integer-8

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84784 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug libstdc++/65343] unexpected exception thrown during destruction of static object in debug mode

2022-01-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65343 --- Comment #8 from Jonathan Wakely --- We should do something similar in src/c++11/mutex.cc mutex& __get_once_mutex() { static mutex once_mutex; return once_mutex; }

[Bug libstdc++/65343] unexpected exception thrown during destruction of static object in debug mode

2022-01-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65343 --- Comment #7 from Jonathan Wakely --- Great, thanks for checking it.

[Bug libstdc++/65343] unexpected exception thrown during destruction of static object in debug mode

2022-01-25 Thread poulhies at adacore dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65343 --- Comment #6 from Marc Poulhiès --- (In reply to Jonathan Wakely from comment #5) > Patch for stage 1: Thank you ! I can confirm this patch fixes the issue we have on vxworks.

[Bug tree-optimization/104203] [12 Regressions] huge compile-time regression in pointer_query since r12-6606-g9d6a0f388eb048f8

2022-01-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104203 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libfortran/104233] [12 regression] ieee/issignaling_fallback.h broke Solaris/SPARC bootstrap

2022-01-25 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104233 Rainer Orth changed: What|Removed |Added Target Milestone|--- |12.0

[Bug libfortran/104233] New: [12 regression] ieee/issignaling_fallback.h broke Solaris/SPARC bootstrap

2022-01-25 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104233 Bug ID: 104233 Summary: [12 regression] ieee/issignaling_fallback.h broke Solaris/SPARC bootstrap Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/104203] [12 Regressions] huge compile-time regression in pointer_query since r12-6606-g9d6a0f388eb048f8

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104203 --- Comment #11 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:58ec0964b1d2f2ab197916cd661728f6a7a1736b commit r12-6869-g58ec0964b1d2f2ab197916cd661728f6a7a1736b Author: Martin Sebor Date:

[Bug libstdc++/104191] Incorrect max_size() for node-based containers

2022-01-25 Thread frankhb1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104191 --- Comment #4 from frankhb1989 at gmail dot com --- Well, surrendering at the possibility of huge amount of node allocations, because there is LWG 2794. (I'd complain this is over-restrictive and pure loss of functionality for allocators used

[Bug c++/61596] -Wunused-local-typedefs warns incorrectly on a typedef that's referenced indirectly

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61596 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5c1f274e3e090ee03bedc22dd7169b28e759974e commit r12-6868-g5c1f274e3e090ee03bedc22dd7169b28e759974e Author: Jonathan Wakely Date:

[Bug libstdc++/104019] Testsuite 17_intro/headers/c++2020/stdc++_multiple_inclusion.cc failures

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104019 --- Comment #12 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5c1f274e3e090ee03bedc22dd7169b28e759974e commit r12-6868-g5c1f274e3e090ee03bedc22dd7169b28e759974e Author: Jonathan Wakely

[Bug libstdc++/104217] [12 Regression] gcc-12-20220123 failure to build on Cygwin due to lack of secure_getenv

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104217 --- Comment #10 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e20486d508afdf22790a271e90ca76d8df5fa7a5 commit r12-6867-ge20486d508afdf22790a271e90ca76d8df5fa7a5 Author: Jonathan Wakely

[Bug libstdc++/104161] Potential Security Vulnerability: remove_all and symbolic link

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104161 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c8bd4dc8212e43b2f9af08b80df97f90cdb0df4f commit r12-6866-gc8bd4dc8212e43b2f9af08b80df97f90cdb0df4f Author: Jonathan Wakely

[Bug fortran/104227] [9/10/11/12 Regression] ICE virtual memory exhausted: Cannot allocate memory

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104227 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug libstdc++/65343] unexpected exception thrown during destruction of static object in debug mode

2022-01-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65343 --- Comment #5 from Jonathan Wakely --- Patch for stage 1: --- a/libstdc++-v3/src/c++11/shared_ptr.cc +++ b/libstdc++-v3/src/c++11/shared_ptr.cc @@ -28,6 +28,11 @@ namespace __gnu_internal _GLIBCXX_VISIBILITY(hidden) { + namespace + { +

[Bug fortran/104227] [9/10/11/12 Regression] ICE virtual memory exhausted: Cannot allocate memory

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104227 --- Comment #2 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ec543c9833c2d9283c035cd8430849eb4ec04406 commit r12-6865-gec543c9833c2d9283c035cd8430849eb4ec04406 Author: Harald Anlauf Date:

[Bug c++/104226] [12 Regression] ICE in fold_vec_perm, at fold-const.cc:10483 since r12-6821-g053bcc97f4a59e3f

2022-01-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104226 --- Comment #2 from Jakub Jelinek --- Created attachment 52288 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52288=edit gcc12-pr104226.patch Untested fix.

[Bug libstdc++/104191] Incorrect max_size() for node-based containers

2022-01-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104191 --- Comment #3 from Jonathan Wakely --- None of this is ever going to happen in practice.

[Bug fortran/104227] [9/10/11/12 Regression] ICE virtual memory exhausted: Cannot allocate memory

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104227 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug middle-end/104232] [12 Regression] spurious -Wuse-after-free after conditional free

2022-01-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232 Martin Sebor changed: What|Removed |Added URL|https://bugzilla.redhat.com |https://bugzilla.redhat.com

[Bug libstdc++/104191] Incorrect max_size() for node-based containers

2022-01-25 Thread frankhb1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104191 --- Comment #2 from frankhb1989 at gmail dot com --- (In reply to Jonathan Wakely from comment #1) > (In reply to frankhb1989 from comment #0) > > and it should be solely determined by the internal node count type. > > What is the internal node

[Bug middle-end/104232] [12 Regression] spurious -Wuse-after-free after conditional free

2022-01-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232 Martin Sebor changed: What|Removed |Added Blocks||104075 Assignee|unassigned at

[Bug middle-end/104232] New: spurious -Wuse-after-free after conditional free

2022-01-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104232 Bug ID: 104232 Summary: spurious -Wuse-after-free after conditional free Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/104231] New: private ignored in non-type template parameter

2022-01-25 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104231 Bug ID: 104231 Summary: private ignored in non-type template parameter Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/104187] Call site specific attribute to control inliner

2022-01-25 Thread david.bolvansky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104187 --- Comment #5 from Dávid Bolvanský --- So you prefer eg. g = a[i] - [[gnu::always_inline]] foo(x, y) + 2 * bar(); over g = a[i] - __builtin_always_inline(foo(x, y)) + 2 * bar(); ? What is your proposed syntax?

[Bug fortran/104212] ICE in transformational_result, at fortran/simplify.cc:466

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104212 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:34e8dafb76240f69c729c11cfc8c8fc4f717bc17 commit r12-6864-g34e8dafb76240f69c729c11cfc8c8fc4f717bc17 Author: Harald Anlauf Date:

[Bug target/104213] [12 Regression] bogus use-after-free in virtual dtor with -ffat-lto-objects on ARM

2022-01-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104213 --- Comment #12 from Marek Polacek --- Removing the COMPARISON_CLASS_P check regresses uninit-pr74762.C. So how about diff --git a/gcc/cp/decl.cc b/gcc/cp/decl.cc index 22d3dd1e2ad..6534a7fd320 100644 --- a/gcc/cp/decl.cc +++ b/gcc/cp/decl.cc

[Bug c++/104225] [9/10/11 Regression] accepts-invalid new expression that uses deleted implicit default constructor of class specialization

2022-01-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104225 Patrick Palka changed: What|Removed |Added Status|RESOLVED|NEW Summary|[9/10/11/12

[Bug c++/101532] [12 Regression] ICE in finish_expr_stmt, at cp/semantics.c:859

2022-01-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101532 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/104225] [9/10/11/12 Regression] accepts-invalid new expression that uses deleted implicit default constructor of class specialization

2022-01-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104225 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Assignee|unassigned

[Bug preprocessor/96391] [10 Regression] ICE in linemap_compare_locations on "CONST VOID" in large C++ files

2022-01-25 Thread mike at cchtml dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96391 --- Comment #27 from Michael Cronenworth --- I can also say that gcc 11 has fixed this. Thanks. I'm happy to close as I will not be using 10.x anymore.

[Bug c++/101532] [12 Regression] ICE in finish_expr_stmt, at cp/semantics.c:859

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101532 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:bc90dd0ecf02e11d47d1af7f627e2e2acaa40106 commit r12-6863-gbc90dd0ecf02e11d47d1af7f627e2e2acaa40106 Author: Patrick Palka Date:

[Bug c++/104225] [9/10/11/12 Regression] accepts-invalid new expression that uses deleted implicit default constructor of class specialization

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104225 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:bc90dd0ecf02e11d47d1af7f627e2e2acaa40106 commit r12-6863-gbc90dd0ecf02e11d47d1af7f627e2e2acaa40106 Author: Patrick Palka Date:

[Bug fortran/101762] ICE with "Every subscript of the target specification must be a constant expression"

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101762 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |10.4 Resolution|---

[Bug fortran/33056] [Meta-bug] Data - statement related bugs

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33056 Bug 33056 depends on bug 67804, which changed state. Bug 67804 Summary: ICE on data initialization of type(character) with wrong data https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67804 What|Removed |Added

[Bug fortran/67804] ICE on data initialization of type(character) with wrong data

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67804 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/101762] ICE with "Every subscript of the target specification must be a constant expression"

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101762 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a5f7e0838e1573f4cc33a6f2c70c60187d7a63af commit r10-10419-ga5f7e0838e1573f4cc33a6f2c70c60187d7a63af Author: Harald Anlauf

[Bug fortran/67804] ICE on data initialization of type(character) with wrong data

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67804 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:21551a4af1be07d7b98221639ec1bd18106c1f80 commit r10-10418-g21551a4af1be07d7b98221639ec1bd18106c1f80 Author: Harald Anlauf

[Bug c++/59950] [9/10/11 Regression] Bogus diagnostic "taking address of temporary" taking address of trivial no-op assignment to temporary with empty class

2022-01-25 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950 Jason Merrill changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression] Bogus

[Bug c++/59950] [9/10/11/12 Regression] Bogus diagnostic "taking address of temporary" taking address of trivial no-op assignment to temporary with empty class

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:fe5cee6f62a0b229d9d51616b7490331d39b5ddd commit r12-6862-gfe5cee6f62a0b229d9d51616b7490331d39b5ddd Author: Jason Merrill Date:

[Bug c++/104230] New: Non-type template arguments of reference and pointer type fail when initialized by pointer to member operator

2022-01-25 Thread anton at socialhacker dot com via Gcc-bugs
(::a))> v3; | ^ :15:15: error: '&(((int&)(& t)) + 4)' is not a valid template argument of type 'int&' because '(((int&)(& t)) + 4)' is not a variable 15 | V<(t.*(::b))> v4; | ^ [1] http://

[Bug middle-end/104226] [12 Regression] ICE in fold_vec_perm, at fold-const.cc:10483 since r12-6821-g053bcc97f4a59e3f

2022-01-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104226 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/104215] bogus -Wuse-after-free=3 due to forwprop moving a pointer test after realloc

2022-01-25 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104215 --- Comment #4 from rguenther at suse dot de --- > Am 25.01.2022 um 19:20 schrieb msebor at gcc dot gnu.org > : > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104215 > > --- Comment #3 from Martin Sebor --- > I meant to say "C++ made it

[Bug sanitizer/101476] AddressSanitizer check failed, points out a (potentially) non-existing stack error and pthread_cancel

2022-01-25 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101476 --- Comment #16 from Stas Sergeev --- I think I'll propose to apply something like this to linux kernel: diff --git a/kernel/signal.c b/kernel/signal.c index 6f3476dc7873..0549212a8dd6 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@

[Bug fortran/67804] ICE on data initialization of type(character) with wrong data

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67804 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||gs...@t-online.de ---

[Bug fortran/100275] ICE in gfc_build_null_descriptor, at fortran/trans-array.c:417

2022-01-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100275 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug c++/93740] Template base classes parametrized by pointer-to-member are amibiguous

2022-01-25 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 --- Comment #5 from m.cencora at gmail dot com --- I think I was able to narrow it down to the true root cause. Following fails in all gcc versions that supports C++11 and newer: struct foo { void baz(); void bar(); };

[Bug tree-optimization/104215] bogus -Wuse-after-free=3 due to forwprop moving a pointer test after realloc

2022-01-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104215 --- Comment #3 from Martin Sebor --- I meant to say "C++ made it implementation-defined to use a pointer made indeterminate by the pointee's lifetime having ended."

[Bug tree-optimization/104215] bogus -Wuse-after-free=3 due to forwprop moving a pointer test after realloc

2022-01-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104215 --- Comment #2 from Martin Sebor --- The use in your example is undefined in C (as is any other use of an indeterminate pointer value). C++ made using pointers made it implementation-defined a few years ago while still allowing for it to

[Bug fortran/104229] New: ICE in gfc_build_null_descriptor, at fortran/trans-array.cc:536

2022-01-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104229 Bug ID: 104229 Summary: ICE in gfc_build_null_descriptor, at fortran/trans-array.cc:536 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/100275] ICE in gfc_build_null_descriptor, at fortran/trans-array.c:417

2022-01-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100275 --- Comment #2 from G. Steinmetz --- Seems to be fixed.

[Bug fortran/104228] New: [9/10/11/12 Regression] ICE in df_install_ref, at df-scan.cc:2294

2022-01-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104228 Bug ID: 104228 Summary: [9/10/11/12 Regression] ICE in df_install_ref, at df-scan.cc:2294 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/104227] New: [9/10/11/12 Regression] ICE virtual memory exhausted: Cannot allocate memory

2022-01-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104227 Bug ID: 104227 Summary: [9/10/11/12 Regression] ICE virtual memory exhausted: Cannot allocate memory Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug bootstrap/67102] Parallel build fails in libffi/configure

2022-01-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67102 --- Comment #6 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:aeac414923aa1e87986c7fc6f9b921d89a9b86cf commit r12-6861-gaeac414923aa1e87986c7fc6f9b921d89a9b86cf Author: Thomas Schwinge Date:

[Bug libstdc++/65343] unexpected exception thrown during destruction of static object in debug mode

2022-01-25 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65343 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug ipa/104223] GCC unable to inline trivial functions passed to views::filter and transform unless lifted into types

2022-01-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104223 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew

[Bug middle-end/104226] ICE in fold_vec_perm, at fold-const.cc:10483 since r12-6821-g053bcc97f4a59e3f

2022-01-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104226 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/103970] Multi-image co_broadcast of derived type with allocatable components fails

2022-01-25 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103970 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #1 from Andre

[Bug fortran/103970] Multi-image co_broadcast of derived type with allocatable components fails

2022-01-25 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103970 Andre Vehreschild changed: What|Removed |Added CC||vehre at gcc dot gnu.org Last

[Bug middle-end/104226] New: ICE in fold_vec_perm, at fold-const.cc:10483

2022-01-25 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104226 Bug ID: 104226 Summary: ICE in fold_vec_perm, at fold-const.cc:10483 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/98342] Allocatable component in call to assumed-rank routine causes invalid pointer

2022-01-25 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98342 sandra at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

  1   2   >