[Bug c++/48396] std::type_info is implicitly declared

2021-09-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48396 Jason Merrill changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug c++/48396] std::type_info is implicitly declared

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48396 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a53781c8fd258608780821168a7f5faf7be63690 commit r12-3538-ga53781c8fd258608780821168a7f5faf7be63690 Author: Jason Merrill Date: Tu

[Bug tree-optimization/102329] pointer "maybe uninitialized" right after assignment

2021-09-14 Thread hv at crypt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102329 --- Comment #2 from Hugo van der Sanden --- I guess this is justified by the second paragraph of the -Wmaybe-uninitialized docs: "In addition, passing a pointer (or in C++, a reference) to an uninitialized object to a const-qualified function ar

[Bug target/102336] plugins for xtensa-elf gcc cannot be built because xtensa-config.h is missing

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102336 --- Comment #1 from CVS Commits --- The master branch has been updated by Max Filippov : https://gcc.gnu.org/g:4633d623d7c112a8e239b84b2d85caaef02d316c commit r12-3535-g4633d623d7c112a8e239b84b2d85caaef02d316c Author: Max Filippov Date: Tue

[Bug debug/80629] Missing .loc for a function in the presence of -O2

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80629 Andrew Pinski changed: What|Removed |Added Keywords||wrong-debug --- Comment #2 from Andrew P

[Bug target/102327] gcc/config/i386/i386-expand.c:14678: Suspicious coding ?

2021-09-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102327 --- Comment #2 from Hongtao.liu --- Yes, it's redundant, Also vector init for v8hf is not optimal , refer to https://godbolt.org/z/M6a4aav48.

[Bug c/102337] New: possibly wrong warning about truncation

2021-09-14 Thread rootkit85 at yahoo dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102337 Bug ID: 102337 Summary: possibly wrong warning about truncation Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/45256] Missed arithmetic simplification at tree level

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45256 --- Comment #4 from Andrew Pinski --- With IVOPTs we get: # ivtmp.13_97 = PHI _34 = MEM[(const __be32 *)_28 + -4B + ivtmp.13_97 * 4]; _36 = MEM[(const __be32 *)_27 + -4B + ivtmp.13_97 * 4]; if (_34 != _36) goto ; [5.50%] else g

[Bug tree-optimization/102324] ICE in initialize_matrix_A, at tree-data-ref.c:3959

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102324 Andrew Pinski changed: What|Removed |Added Target Milestone|10.4|--- Status|UNCONFIRMED

[Bug rtl-optimization/102306] [9/10/11/12 Regression] Volatile pointer dereferenced twice

2021-09-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 --- Comment #9 from Eric Botcazou --- > The patch in c#5 looks good. Since you test added_sets_0 and added_sets_1 > as well, does this mean it could happen before this patch as well? No idea, but it seems strange to disallow the copy for i2 an

[Bug target/102336] New: plugins for xtensa-elf gcc cannot be built because xtensa-config.h is missing

2021-09-14 Thread jcmvbkbc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102336 Bug ID: 102336 Summary: plugins for xtensa-elf gcc cannot be built because xtensa-config.h is missing Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity

[Bug tree-optimization/41244] "&data[i] - data" isn't converted to "i"

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41244 --- Comment #6 from Andrew Pinski --- Here are some better testcases as the power of 2 case can be handled on the rtl level as it is just a shift. extern struct s{ int a, b, c, d, e, f, g, h; } data[]; int find(int i, int j) { struct s *a =

[Bug target/79559] [5/6 Regression] ICE in ix86_print_operand, at config/i386/i386.c:18189

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79559 Andrew Pinski changed: What|Removed |Added CC||mikulas at artax dot karlin.mff.cu

[Bug target/63264] Internal error due to invalid assembler register specification

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63264 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/93903] space in constraint for inline-asm not ignored after all

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93903 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-09-14 Component|inline-asm

[Bug inline-asm/84187] -O0 fails inline assembly compile

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84187 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/48396] std::type_info is implicitly declared

2021-09-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48396 --- Comment #4 from Jason Merrill --- Created attachment 51462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51462&action=edit patch to allow redeclaration in module This isn't a proper fix, but may let you make progress with modularizati

[Bug rtl-optimization/102306] [9/10/11/12 Regression] Volatile pointer dereferenced twice

2021-09-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 --- Comment #8 from Segher Boessenkool --- The patch in c#5 looks good. Since you test added_sets_0 and added_sets_1 as well, does this mean it could happen before this patch as well? We already did have some things that did combine 2->2 (via

[Bug rtl-optimization/102306] [9/10/11/12 Regression] Volatile pointer dereferenced twice

2021-09-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comm

[Bug c++/48396] std::type_info is implicitly declared

2021-09-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48396 --- Comment #3 from Jonathan Wakely --- cp/rtti.c defines: /* Declare language defined type_info type and a pointer to const type_info. This is incomplete here, and will be completed when the user #includes . There are language defined

[Bug c++/48396] std::type_info is implicitly declared

2021-09-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48396 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2021-03-05 00:00:00 |2021-9-14 Keywords|

[Bug target/102222] ICE on s390 (internal compiler error: in extract_insn, at recog.c:2770)

2021-09-14 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 --- Comment #6 from Andreas Krebbel --- (insn 9 8 10 2 (set (strict_low_part (reg:SI 66)) (mem/c:SI (plus:SI (reg/f:SI 64) (const_int 4 [0x4])) [1 read_inode_val+0 S4 A32])) With -mesa this should be a simple move. Howev

[Bug target/102222] ICE on s390 (internal compiler error: in extract_insn, at recog.c:2770)

2021-09-14 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 Andreas Krebbel changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |krebbel at gcc dot gnu.org --

[Bug c/90181] Feature request: provide a way to explicitly select specific named registers in constraints

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90181 --- Comment #8 from Andrew Pinski --- I thought there was another bug which was asking for something similar that I did not link here yet. It had a reference to a syntax something like {"r1"}. But I can't find it right now.

[Bug c/90181] Feature request: provide a way to explicitly select specific named registers in constraints

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90181 Andrew Pinski changed: What|Removed |Added Component|inline-asm |c Severity|normal

[Bug fortran/102333] [9/10/11/12 Regression] ICE in gfc_generate_function_code, at fortran/trans-decl.c:6941

2021-09-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102333 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug rtl-optimization/71246] "+g" assembly constraint causes error: inconsistent operand constraints in an 'asm'

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71246 --- Comment #1 from Andrew Pinski --- So I think there needs to be some better documentation here with respect to the constraints that allow memory and the + modifier.

[Bug rtl-optimization/94180] inconsistent operand constraints: "+X"

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94180 Andrew Pinski changed: What|Removed |Added Keywords||documentation --- Comment #1 from Andrew

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

2021-09-14 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85185 --- Comment #12 from Segher Boessenkool --- (In reply to Andrew Pinski from comment #11) > as mentioned in another bug, this is more of a documentation issue and the > internal details on how inline-asm works. Yup. I suggest we advice to always

[Bug fortran/102287] optional allocatable array arguments (intent out) of derived types with allocatable components are not properly passed to subroutines.

2021-09-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102287 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug fortran/102311] [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278

2021-09-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102311 --- Comment #5 from anlauf at gcc dot gnu.org --- For the sake of completeness: considered as "obvious" https://gcc.gnu.org/pipermail/fortran/2021-September/056521.html

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #10 from Jakub Jelinek --- The optimize attribute is how different options are represented in LTO compilation, so it grew over years from perhaps initial debugging use to something that is used everywhere. And we definitely aren't g

[Bug middle-end/99578] [11/12 Regression] gcc-11 -Warray-bounds or -Wstringop-overread warning when accessing a pointer from integer literal

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3 Summary|gcc-11 -Warray-b

[Bug c++/102050] Nonempty list-initialization rejects constructor with defaulted std::initializer_list

2021-09-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102050 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Target Milestone|---

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-14 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #9 from Kees Cook --- (In reply to Jakub Jelinek from comment #8) > So, instead (when building the kernel with sanitization) build with > -fsanitize=signed-integer-overflow and no -fno-strict-overflow, and > the routines where you wa

[Bug rtl-optimization/102306] [9/10/11/12 Regression] Volatile pointer dereferenced twice

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Summary|Volatile pointer

[Bug tree-optimization/98774] gcc -O3 does not vectorize some operations

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98774 --- Comment #5 from Andrew Pinski --- For the trunk (without -ffast-math), the perms are done too early: vect__5.32_53 = VEC_PERM_EXPR ; vect__5.33_54 = VEC_PERM_EXPR ; vect__5.34_55 = VEC_PERM_EXPR ; _3 = *mag_9(D); _58 = {_3, _3}; v

[Bug fortran/102311] [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102311 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b305ec979d9dfc8153859a62a8ab9dd43c3bfc73 commit r12-3533-gb305ec979d9dfc8153859a62a8ab9dd43c3bfc73 Author: Harald Anlauf Date: T

[Bug tree-optimization/98774] gcc -O3 does not vectorize some operations

2021-09-14 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98774 --- Comment #4 from Ivan Sorokin --- I retested the sample on GCC 11.2. https://godbolt.org/z/xrarP3zbY Compared to Clang 12.0.1 GCC still generates 6 more instructions in total and does 6 mulpd against Clang's 4 mulpd.

[Bug c++/102335] gcc misses -Wunused-value

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102335 --- Comment #1 from Andrew Pinski --- Internal GCC details: Most likely because there is a TARGET_EXPR in the IR which causes it to be considered a side effect: <) >;

[Bug c++/102335] gcc misses -Wunused-value

2021-09-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102335 Andrew Pinski changed: What|Removed |Added Severity|normal |minor Keywords|

[Bug c++/102335] New: gcc misses -Wunused-value

2021-09-14 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102335 Bug ID: 102335 Summary: gcc misses -Wunused-value Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee

[Bug middle-end/102276] -ftrivial-auto-var-init fails to initialize a variable, causes a spurious warning

2021-09-14 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102276 Kees Cook changed: What|Removed |Added CC||kees at outflux dot net --- Comment #3 from

[Bug rtl-optimization/78963] [missed optimization] using 3-byte instead of 4-byte variables causes unnecessary work on the stack

2021-09-14 Thread eyalroz1 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78963 --- Comment #1 from Eyal Rozenberg --- ... and perhaps I should add that, under certain circumstances, perhaps it should be possible to just mov four bytes from memory and ignore one of the bytes. On platforms where access must be aligned that wo

[Bug fortran/102334] New: [12 Regression] ICE in trans_associate_var, at fortran/trans-stmt.c:1794

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102334 Bug ID: 102334 Summary: [12 Regression] ICE in trans_associate_var, at fortran/trans-stmt.c:1794 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug fortran/102333] [9/10/11/12 Regression] ICE in gfc_generate_function_code, at fortran/trans-decl.c:6941

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102333 --- Comment #1 from G. Steinmetz --- Compiles with "allocatable" instead : $ cat z2.f90 function f(x) result(y) class(*), allocatable :: y contains function g() result(z) procedure(f), allocatable :: z end end

[Bug fortran/102333] New: [9/10/11/12 Regression] ICE in gfc_generate_function_code, at fortran/trans-decl.c:6941

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102333 Bug ID: 102333 Summary: [9/10/11/12 Regression] ICE in gfc_generate_function_code, at fortran/trans-decl.c:6941 Product: gcc Version: 12.0 Status: UN

[Bug fortran/102332] ICE in select_type_set_tmp, at fortran/match.c:6366

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102332 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug fortran/102332] New: ICE in select_type_set_tmp, at fortran/match.c:6366

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102332 Bug ID: 102332 Summary: ICE in select_type_set_tmp, at fortran/match.c:6366 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/102331] ICE in attr_decl1, at fortran/decl.c:8691

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102331 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug fortran/102331] New: ICE in attr_decl1, at fortran/decl.c:8691

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102331 Bug ID: 102331 Summary: ICE in attr_decl1, at fortran/decl.c:8691 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortra

[Bug fortran/102330] New: [12 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3932

2021-09-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102330 Bug ID: 102330 Summary: [12 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3932 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c/102329] pointer "maybe uninitialized" right after assignment

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102329 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c/102329] New: pointer "maybe uninitialized" right after assignment

2021-09-14 Thread hv at crypt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102329 Bug ID: 102329 Summary: pointer "maybe uninitialized" right after assignment Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/102324] ICE in initialize_matrix_A, at tree-data-ref.c:3959

2021-09-14 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102324 --- Comment #2 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > So likely we're seeing a POLY_INT here which could eventually be handled the > same as an INTEGER_CST but the question is what to do else (well,

[Bug analyzer/102328] New: ICE when compare std::list iterator

2021-09-14 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102328 Bug ID: 102328 Summary: ICE when compare std::list iterator Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug target/102327] gcc/config/i386/i386-expand.c:14678: Suspicious coding ?

2021-09-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102327 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com Target Milestone

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #8 from Jakub Jelinek --- So, instead (when building the kernel with sanitization) build with -fsanitize=signed-integer-overflow and no -fno-strict-overflow, and the routines where you want wrapv behavior and not runtime traps build

[Bug sanitizer/102317] signed integer overflow sanitizer cannot work well with -fno-strict-overflow

2021-09-14 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317 --- Comment #7 from Kees Cook --- The problem the kernel needs to solve is basically having our cake and eating it too. :) In _most_ situations, we want signed overflows to trap (i.e. get caught by "-fsanitize=signed-integer-overflow"). In som

[Bug c++/102257] call of overloaded 'tuple' is ambiguous

2021-09-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102257 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/102163] [10/11/12 Regression] std::variant rejects valid constant expression

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102163 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:de07cff96abd43f6f65dcf333958899c2ec42598 commit r12-3527-gde07cff96abd43f6f65dcf333958899c2ec42598 Author: Patrick Palka Date: T

[Bug c++/102305] intrinsic __is_constructible is wrong for templated abstract classes

2021-09-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102305 --- Comment #6 from Jonathan Wakely --- It should be backported IMHO. I don't see how anybody can be relying on is_default_constructible being wrong, that doesn't make much sense. You check that trait in SFINAE contexts to see if you can constr

[Bug c++/102305] intrinsic __is_constructible is wrong for templated abstract classes

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102305 --- Comment #5 from Jakub Jelinek --- On one side, some code could be relying on bug compatibility and so it would be undesirable to change it on release branches, on the other side the current behavior there is just weird, #include template

[Bug target/102327] gcc/config/i386/i386-expand.c:14678: Suspicious coding ?

2021-09-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102327 David Binderman changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comme

[Bug target/102327] New: gcc/config/i386/i386-expand.c:14678: Suspicious coding ?

2021-09-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102327 Bug ID: 102327 Summary: gcc/config/i386/i386-expand.c:14678: Suspicious coding ? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/102295] ELF symbol sizes for variable-length objects are too small (C++)

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102295 --- Comment #6 from Jakub Jelinek --- Fixed for 12+ so far.

[Bug c++/102305] intrinsic __is_constructible is wrong for templated abstract classes

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102305 --- Comment #4 from Jakub Jelinek --- Fixed for 12.0 so far. Do we want to backport it?

[Bug c++/102295] ELF symbol sizes for variable-length objects are too small (C++)

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102295 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:818c505188ff5cd8eb048eb0e614c4ef732225bd commit r12-3526-g818c505188ff5cd8eb048eb0e614c4ef732225bd Author: Jakub Jelinek Date: T

[Bug c++/102305] intrinsic __is_constructible is wrong for templated abstract classes

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102305 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f008fd3a480e3718436156697ebe7eeb47841457 commit r12-3525-gf008fd3a480e3718436156697ebe7eeb47841457 Author: Jakub Jelinek Date: T

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2021-09-14 Thread chip.kerchner at ibm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 --- Comment #22 from Chip Kerchner --- (In reply to Chip Kerchner from comment #21) - Forgot one line of code > -- > #pragma GCC target "cpu=power10" > int main() { > float *b; > __vector_quad c; > __builtin_mma_disasse

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2021-09-14 Thread chip.kerchner at ibm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 --- Comment #21 from Chip Kerchner --- I'm also seeing MMA problems with LTO. With this simple program (main.ii) -- int main() { float *b; __vector_quad c; __builtin_mma_disassemble_acc(b, &c); return 0; } -

[Bug rtl-optimization/102306] Volatile pointer dereferenced twice

2021-09-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 --- Comment #5 from Eric Botcazou --- Created attachment 51460 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51460&action=edit Tentative fix To be tested.

[Bug rtl-optimization/102306] Volatile pointer dereferenced twice

2021-09-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 --- Comment #4 from Eric Botcazou --- There is substantial checking for volatile references in can_combine_p but it implicitly assumes that the combination reduces the number of instructions.

[Bug rtl-optimization/102306] Volatile pointer dereferenced twice

2021-09-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Commen

[Bug target/101981] GCC10 produces bigger asm for simple switch than GCC7 - cortexM4 since r8-2701-g9dc3d6a96167b4c8

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981 --- Comment #9 from Martin Liška --- So GCC 7 emits: $ nm --print-size pr101981-2.o 0034 T big_switch and GCC master emits: nm --print-size pr101981-2.o 0030 T big_switch So the code is smaller with the current mast

[Bug c++/102326] New: ICE in tree_to_uhwi, at tree.c:4520

2021-09-14 Thread pc.wang at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102326 Bug ID: 102326 Summary: ICE in tree_to_uhwi, at tree.c:4520 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/101981] GCC10 produces bigger asm for simple switch than GCC7 - cortexM4 since r8-2701-g9dc3d6a96167b4c8

2021-09-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101981 --- Comment #8 from Martin Liška --- > > Not a big difference in term of instructions is this case but as much as the > switch increases, the difference becomes huge (in my case it switched from > 75 to 94 lines) > Code size increases of about

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #7 from zhuguanghong --- I get it, thank you for your answer

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/102242] [12 regression] analyzer/engine.cc built with clang: /usr/include/c++/v1/typeinfo:346:5: error: no member named 'fancy_abort'

2021-09-14 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102242 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #4 f

[Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c

2021-09-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102313 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/77565] `typdef int Int;` --> did you mean `typeof`?

2021-09-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77565 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #5 from zhuguanghong --- But what I want is that 0-7cpu can run this thread

[Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c

2021-09-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102313 --- Comment #2 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:33fdbbe4ce6055eb858096d01720ccf94aa854ec commit r12-3524-g33fdbbe4ce6055eb858096d01720ccf94aa854ec Author: Tobias Burnus Date: T

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #4 from zhuguanghong --- This leads to when I set the environment variable "GOMP_CPU_AFFINITY=0-7" and call the initialize_env function, the thread will be automatically bound to one cpu and cannot be scheduled to other cpu.

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #3 from zhuguanghong --- hi ,thanks for your reply initialize_env (void) 1 { 0 1 if (parse_affinity (ignore)) 2 { 3 if (gomp_global_

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #2 from Jakub Jelinek --- I'm sorry but from the above it is impossible to decipher what do you think is a bug and why. Can you write a few sentences about what env var or cpu configuration do you think misbehaves and why?

[Bug libgomp/102320] Set cpu affinity error

2021-09-14 Thread zhuguanghong at uniontech dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102320 --- Comment #1 from zhuguanghong --- fix? like this ? while(gomp_places_list_len-- ){ *(gomp_places_list[0]) | = *(gomp_places_list[gomp_places_list_len])

[Bug tree-optimization/102324] ICE in initialize_matrix_A, at tree-data-ref.c:3959

2021-09-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102324 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Commen

[Bug modula2/102325] gm2 testsuite drivers should be unique

2021-09-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102325 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-09-14 Ever confirmed|0

[Bug modula2/102325] New: gm2 testsuite drivers should be unique

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102325 Bug ID: 102325 Summary: gm2 testsuite drivers should be unique Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug tree-optimization/102324] ICE in initialize_matrix_A, at tree-data-ref.c:3959

2021-09-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102324 ktkachov at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |10.4 Target|

[Bug tree-optimization/102324] New: ICE in initialize_matrix_A, at tree-data-ref.c:3959

2021-09-14 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102324 Bug ID: 102324 Summary: ICE in initialize_matrix_A, at tree-data-ref.c:3959 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug modula2/102323] New: gm2 testsuite needs to be parallelized

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102323 Bug ID: 102323 Summary: gm2 testsuite needs to be parallelized Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/102322] New: libgm2 Makefiles should be self-contained

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102322 Bug ID: 102322 Summary: libgm2 Makefiles should be self-contained Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula

[Bug modula2/101389] Parallel build doesn't work

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389 --- Comment #2 from Rainer Orth --- (In reply to Gaius Mulley from comment #1) > Thanks for the report - I've pushed some fixes to various Makefiles. I've > tested it using make -j48 and believe it is fixed. A -j48 build on x86_64-pc-linux-gnu

[Bug modula2/101392] cc1gm2 -fdump-system-exports SEGV on Solaris/SPARC

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101392 Rainer Orth changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug modula2/101388] Unconditional use of __MAX_BAUD

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101388 Rainer Orth changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug modula2/101388] Unconditional use of __MAX_BAUD

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101388 --- Comment #3 from Rainer Orth --- Created attachment 51458 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51458&action=edit Missed part of patch

[Bug modula2/101391] Unresolved reference to module getopt

2021-09-14 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101391 --- Comment #4 from Rainer Orth --- Created attachment 51457 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51457&action=edit Additonal patch providing cgetopt_*

  1   2   >