[Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 Andrew Pinski changed: What|Removed |Added CC||ghazi at gcc dot gnu.org --- Comment

[Bug testsuite/43495] gcc.c-torture/execute/20000603-1.c fails with -fpic/-fPIC

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43495 Andrew Pinski changed: What|Removed |Added Known to work|| Status|NEW

[Bug testsuite/45068] g++.dg/debug/dwarf2/nested-2.C failed on Linux/ia64

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

[Bug testsuite/37628] gcc.c-torture/execute/pr35456.c is not generic

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37628 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-29 Severity|normal

[Bug testsuite/16230] Spurious test failures with --disable-static

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16230 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0 Resolution|---

[Bug testsuite/101517] Some testcases were lost when tree-ssa was merged

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101517 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293 Andrew Pinski changed: What|Removed |Added CC||hristo at venev dot name --- Comment #8

[Bug c/63878] Variables of incomplete type can be defined with -fno-fat-lto-objects

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63878 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0

[Bug c/60139] Imprecise column number for -pedantic on non-computable initializer element

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60139 Andrew Pinski changed: What|Removed |Added CC||edwin+bugs at etorok dot eu --- Comment

[Bug c/37187] please provide a way to treat -pedantic as warning when using -Werror

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37187 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.0 Status|NEW

[Bug c/97882] [8/9/10/11 Regression] Segmentation Fault on improper redeclaration of function

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97882 Andrew Pinski changed: What|Removed |Added CC||gs...@t-online.de --- Comment #9 from

[Bug target/89932] ICE in must_pass_in_stack_var_size_or_pad, at calls.c:5824

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89932 --- Comment #4 from Andrew Pinski --- Actually this one has been fixed while PR 67694 has not. THis is a dup of bug 97882. *** This bug has been marked as a duplicate of bug 97882 ***

[Bug objc/67694] ICE on returning undefined enum in must_pass_in_stack_var_size_or_pad

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67694 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-08-09 00:00:00 |2021-7-29 See Also|

[Bug c/97882] [8/9/10/11 Regression] Segmentation Fault on improper redeclaration of function

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97882 Andrew Pinski changed: What|Removed |Added CC||dpotapov at gmail dot com --- Comment

[Bug c/92428] Crash on conflicting types

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92428 Andrew Pinski changed: What|Removed |Added Known to work||11.0 Status|UNCONFIRMED

[Bug c/101171] [10 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:3006

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101171 Andrew Pinski changed: What|Removed |Added CC||changochen1 at gmail dot com ---

[Bug c/93574] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2925

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

[Bug c/101171] [10 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:3006

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101171 Andrew Pinski changed: What|Removed |Added CC||doko at debian dot org --- Comment #9

[Bug c/97892] [10/11/12 Regression] ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2946

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

[Bug tree-optimization/71538] Missing removal of null pointer check

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71538 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Ever confirmed|0

[Bug debug/101669] error reading variable from debug information when compiling with -O2

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101669 --- Comment #4 from Andrew Pinski --- What version of gdb are you using?

[Bug d/101664] d: Return the correct value for C++ constructor calls

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664 --- Comment #4 from Andrew Pinski --- (In reply to Iain Buclaw from comment #0) > C++ constructors return void, even though the front-end semantic treats them > as implicitly returning `this'. But on some targets they actually do return this.

[Bug tree-optimization/101676] New: ^ not changed to | if the non-zero don't overlap

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Take: int f(int a, int b) { if (a & ~8) __builtin_unreachable(); if (b & 8) __builtin_unr

[Bug testsuite/69598] gcc.dg/tree-ssa/vrp47.c scan-tree-dump-times vrp1 "[xy][^ ]* !=" 0 fails for powerpc64-linux-gnu

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69598 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |testsuite Target Milestone|---

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 --- Comment #6 from Andrew Pinski --- The final conversion should happen at the RTL level (or during expansion). simplify-rtx.c has this: /* If STORE_FLAG_VALUE is 1, (minus 1 (comparison foo bar)) can be done by reversing the

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > Hmm, thinking about expanding this further: Even further. int f1(int n) { if (n&~8) __builtin_unreachable(); return 63 - n; } CUT So the

[Bug tree-optimization/53979] ((a ^ b) | a) not optimized to (a | b)

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53979 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0 Resolution|---

[Bug c++/99859] constexpr evaluation with member function is incorrect

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99859 --- Comment #21 from Andrew Pinski --- Looks to be fixed in GCC 11. It still fails for me with GCC 10.3 though.

[Bug c++/92431] ICE with spaceship in constexpr evaluation

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431 --- Comment #7 from Andrew Pinski --- Looks to be fixed for the GCC 10 release.

[Bug tree-optimization/101610] CST - (x ^ (CST-1)) can be optimized to x + 1 if x < CST and CST is a power of 2

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||a/show_bug.cgi?id=96921 Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2021-07-28 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |pinskia

[Bug tree-optimization/98953] Failure to optimize two reads from adjacent addresses into one

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98953 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last

[Bug tree-optimization/98955] Failure to optimize shift+compare to single shift

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98955 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug tree-optimization/98909] Failure to optimize odd loop pattern

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98909 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/98966] Failure to optimize conditional or with 1 based on boolean condition to direct or

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

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96921 --- Comment #4 from Andrew Pinski --- Hmm, thinking about expanding this further: int f1(int n) { if (n&~63) __builtin_unreachable(); return 63 - n; } int f2(int n) { if (n&~63) __builtin_unreachable(); return 63 ^ n; } These

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 97967, which changed state. Bug 97967 Summary: Missed optimization opportunity for VRP https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97967 What|Removed |Added

[Bug tree-optimization/97967] Missed optimization opportunity for VRP

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

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #3 from Andrew Pinski --- I was thinking if we see: _2 = 1 - _1; and _1 has a range of [0,1] aka boolean turn it into _1 ^ 1 There is already a pattern which turns ((int)a)^1 into (int)(~a). You can see the other patterns

[Bug tree-optimization/96921] Failure to optimize combined boolean not patterns

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|1 Last reconfirmed||2021-07-28 Status|UNCONFIRMED |NEW CC||pinskia at gcc dot gnu.org --- Comment #2 from Andrew Pinski --- Confirmed.

[Bug tree-optimization/96457] PRE gets confused by punned load handling

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96457 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last

[Bug tree-optimization/100858] Simple common code hoisting is not performed

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||pinskia at gcc dot gnu.org

[Bug tree-optimization/89847] Simplify subexpressions of % constant

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89847 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/84976] ICE: Segmentation fault (cp_build_modify_expr())

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84976 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/61292] auto keyword to reference generates wrong alignment move (causing runtime segfault)

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61292 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-28

[Bug c++/92467] gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92467 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #4 from Andrew

[Bug c++/51317] [C++0x] [DR 587] Wrong value category of conditional expression where lvalue operands differ only in cv-qualification

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51317 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.0 Resolution|---

[Bug c++/60565] Bogus not-in-scope error

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60565 Andrew Pinski changed: What|Removed |Added Known to work||8.0 Status|NEW

[Bug c++/92485] [9 only] g++ ICE unexpected expression '' of kind asm_expr

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92485 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Summary|g++ ICE

[Bug c++/91095] internal compiler error: in tsubst_copy

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91095 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug c++/78217] Duplicate decls handling with auto

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

[Bug c++/78217] Duplicate decls handling with auto

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78217 --- Comment #3 from Andrew Pinski --- Confirmed.

[Bug c++/78217] Duplicate decls handling with auto

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78217 Andrew Pinski changed: What|Removed |Added CC||ppluzhnikov at google dot com ---

[Bug c++/60352] [C++11] Bogus "error: conflicting declaration 'auto i'"

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

[Bug c++/85790] c++17 - Access control issue with template argument deduction

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85790 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #2 from

[Bug c++/90475] Diagnostic for designated initializer could be a lot better

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90475 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-05-14 00:00:00 |2021-7-28 --- Comment #1 from Andrew

[Bug tree-optimization/79002] Weird c++ assembly code generated for tail call

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79002 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-01-05 00:00:00 |2021-7-27 Component|c++

[Bug c++/68842] Better error output when template needed before dependent name

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68842 Andrew Pinski changed: What|Removed |Added CC||soko.slav at yandex dot ru --- Comment

[Bug c++/90495] Incorrect parsing of a()->b construction

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90495 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/60531] template function not resolved when comparing functions

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60531 Andrew Pinski changed: What|Removed |Added CC||roman.perepelitsa at gmail dot com ---

[Bug c++/71382] Unary plus doesn't work with pointers to instantiations of function templates

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71382 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/70608] Braced initializer in default argument misses friendship

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70608 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/64696] [C++14] braced-init-list does not respect designated initializer

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64696 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid, wrong-code --- Comment

[Bug c++/69059] [C++14] Invalid rejection of expression as not-a-constant-expression

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69059 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from

[Bug c++/68678] [5 Regression] Initialization of pointer by constant expression using static ctor.

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68678 Andrew Pinski changed: What|Removed |Added Known to work||4.8.5, 6.0 Resolution|---

[Bug c++/55986] RHS of logical operators may render LHS unevaluated in constant-expression

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55986 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Keywords|

[Bug libgcc/101655] canadian compile of libgcc uses native cc as the compiler instead of the target cross compiler

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655 --- Comment #5 from Andrew Pinski --- Can you provide the exact steps you are doing? Because I think you are misunderstanding how this works. So if you use --host=x86_64-w64-mingw32 . configure:2358: checking build system type configure:2372:

[Bug c++/99969] g++ incorrectly thinks a private destructor is available

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99969 --- Comment #1 from Andrew Pinski --- This seems fixed since GCC 11.

[Bug c++/94564] C++20: Three-way comparison between pointer and nullptr accepted

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94564 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid, wrong-code --- Comment

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Andrew Pinski changed: What|Removed |Added CC||ihorelo at mail dot ru --- Comment #12

[Bug c++/86032] non standard copy operator is used for empty class

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86032 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 --- Comment #11 from Andrew Pinski --- For the original testcase, I think r0-98505 introduce the failure.

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 --- Comment #10 from Andrew Pinski --- It is the code in call.c that makes a difference: if (is_really_empty_class (type, /*ignore_vptr*/true)) { /* Avoid copying empty classes. */ val = build2 (COMPOUND_EXPR,

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > I think the problem is here in init.c: > /* If the type has data but no user-provided default ctor, we need to > zero > out the object. */ >

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 --- Comment #8 from Andrew Pinski --- I think the problem is here in init.c: /* If the type has data but no user-provided default ctor, we need to zero out the object. */ if (type_has_non_user_provided_default_constructor

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Andrew Pinski changed: What|Removed |Added Known to work||4.4.7 --- Comment #7 from Andrew Pinski

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Andrew Pinski changed: What|Removed |Added Summary|empty class causes error|[9/10/11/12 Regression]

[Bug c++/54319] empty class causes error while non-empty does not

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/72507] incorrectly accepts invalid C++11 code that tries to allocate an incomplete type

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72507 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2016-07-26 00:00:00 |2021-7-27 --- Comment #1 from Andrew

[Bug c++/96256] Invalid consteval call not rejected

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96256 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/zeEY9 | |6

[Bug c++/52761] [C++11] Missing diagnostic for opaque unscoped enum declaration without base

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52761 Andrew Pinski changed: What|Removed |Added CC||anders.granlund.0 at gmail dot com ---

[Bug c++/67016] Redeclaration of enum

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67016 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 Andrew Pinski changed: What|Removed |Added CC||phd at phd dot re --- Comment #4 from

[Bug tree-optimization/101653] [9/10/11/12 Regression] Bad code generated when optimizing nested for loops

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

[Bug tree-optimization/101653] [9/10/11/12 Regression] Bad code generated when optimizing nested for loops

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101653 --- Comment #2 from Andrew Pinski --- Confirmed, ivcannon is turning the loops into: [local count: 79093198]: goto ; [100.00%] [local count: 357878150]: a_8 = a_11 + 1; c_14 = c_3 + 2; goto ; [100.00%] [local count:

[Bug tree-optimization/101653] [9/10/11/12 Regression] Bad code generated when optimizing nested for loops

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101653 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Summary|Bad code

[Bug c++/92604] GCC accepts invalid conversion from designated initializer list

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

[Bug c++/86581] constexpr variable allows uninitialized member of anonymous struct inside union

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86581 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Andrew

[Bug c++/98440] [9/10 Regression] Accepts ill-formed reinterpret_cast(1)

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98440 Andrew Pinski changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment

[Bug c++/86633] invalid with rvalue references

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86633 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/87699] Implement CWG 1512

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87699 --- Comment #11 from Andrew Pinski --- *** Bug 86228 has been marked as a duplicate of this bug. ***

[Bug c++/86228] ordered comparison between pointer and zero

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86228 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/80380] misleading behavior with designated initializers for std::vector

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80380 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/95369] braced-init-list with designated initializers as template-argument rejected

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95369 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c++/68188] Ambiguous code gets compiled successfully when class and its namespace have the same name

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68188 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-27

[Bug c++/68188] Ambiguous code gets compiled successfully when class and its namespace have the same name

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68188 Andrew Pinski changed: What|Removed |Added CC||andreim77 at yahoo dot com --- Comment

[Bug c++/67663] ambiguous namespace/class name not reported as error

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67663 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/71919] Redefinition of user-defined conversions (via typedef) shouldn't compile

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71919 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 Status|NEW

[Bug c++/53931] [C++11] braced function style cast to reference should be prvalue

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53931 --- Comment #3 from Andrew Pinski --- typedef int & void zip1(int x) { ir{x}; } Also is accepted.

  1   2   3   4   5   6   7   8   9   10   >