[Bug c++/114525] [11/12/13/14/15 Regression] Incorrect code generated when setting a value through a pointer-to-member on a ternary returning an object reference

2024-07-10 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114525

Simon Martin  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |simartin at gcc dot 
gnu.org

--- Comment #3 from Simon Martin  ---
This does not work
  (cond ? get (v) : get (v)).*(::x) = 2;
but this does
  (cond ? get (v) : get (v)).x = 2;

I will work on this one.

[Bug c++/111592] [11/12/13/14/15 Regression] ICE on expanding argument pack into variadic constructor

2024-07-09 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111592

--- Comment #5 from Simon Martin  ---
The bug was introduced via
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9efe5fbde1e8; I will submit a
patch momentarily.

[Bug c++/111160] [11/12/13/14/15 Regression] ICE on assigning volatile through ternary operator

2024-07-02 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60

Simon Martin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
   Target Milestone|11.5|15.0
 Resolution|--- |FIXED

--- Comment #6 from Simon Martin  ---
Fixed on trunk.

[Bug c++/115364] [11/12/13/14/15 Regression] ICE-on-invalid when calling non-const template member on const object

2024-06-27 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115364

Simon Martin  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |simartin at gcc dot 
gnu.org

--- Comment #2 from Simon Martin  ---
Working on it.

[Bug c++/111160] [11/12/13/14/15 Regression] ICE on assigning volatile through ternary operator

2024-06-13 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60

Simon Martin  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |simartin at gcc dot 
gnu.org

--- Comment #4 from Simon Martin  ---
Working on this one.

Note that I believe it's actually a ice-on-valid; see
https://godbolt.org/z/s9j1asMsP

[Bug c++/107575] [12/13/14/15 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in duplicate_decls, at cp/decl.cc:2605 since r12-8115-g791a968630b3846

2024-06-10 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107575

Simon Martin  changed:

   What|Removed |Added

   Target Milestone|14.2|15.0

[Bug c++/109958] [11/12/13/14/15 Regression] ICE: in build_ptrmem_type, at cp/decl.cc:11066 taking the address of bound static member function brought into derived class by using-declaration

2024-06-10 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109958

Simon Martin  changed:

   What|Removed |Added

   Target Milestone|14.2|15.0

[Bug c++/103338] [11/12/13/14/15 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression

2024-06-10 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103338

Simon Martin  changed:

   What|Removed |Added

   Target Milestone|14.2|15.0

[Bug c++/111106] [11/12/13/14/15 Regression] missing ; causes internal compiler error: in dependent_type_p, at cp/pt.cc:27901

2024-06-10 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=06

Simon Martin  changed:

   What|Removed |Added

   Target Milestone|14.2|15.0

[Bug c++/105229] [11/12/13/14/15 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111

2024-06-10 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229

Simon Martin  changed:

   What|Removed |Added

   Target Milestone|11.5|15.0

[Bug c++/105760] [11/12/13/14/15 Regression] ICE: in build_function_type, at tree.cc:7365

2024-06-10 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105760

Simon Martin  changed:

   What|Removed |Added

   Target Milestone|14.2|15.0

[Bug c++/108438] [11/12/13/14/15 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.cc:7611

2024-06-08 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108438

Simon Martin  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Target Milestone|11.5|14.2
 Status|ASSIGNED|RESOLVED

--- Comment #4 from Simon Martin  ---
Fixed on trunk

[Bug c++/107575] [12/13/14/15 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in duplicate_decls, at cp/decl.cc:2605 since r12-8115-g791a968630b3846

2024-06-07 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107575

Simon Martin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
   Target Milestone|12.4|14.2
 Resolution|--- |FIXED

--- Comment #5 from Simon Martin  ---
Fixed in trunk

[Bug c++/108438] [11/12/13/14/15 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.cc:7611

2024-06-07 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108438

Simon Martin  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |simartin at gcc dot 
gnu.org

--- Comment #2 from Simon Martin  ---
Working on it

[Bug c++/111592] [11/12/13/14/15 Regression] ICE on expanding argument pack into variadic constructor

2024-06-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111592

Simon Martin  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |simartin at gcc dot 
gnu.org
 Status|NEW |ASSIGNED

--- Comment #4 from Simon Martin  ---
Working on it.

[Bug c++/107575] [12/13/14/15 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in duplicate_decls, at cp/decl.cc:2605 since r12-8115-g791a968630b3846

2024-06-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107575

Simon Martin  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |simartin at gcc dot 
gnu.org
 Status|NEW |ASSIGNED

--- Comment #3 from Simon Martin  ---
Working on it

[Bug tree-optimization/103388] [12/13/14/15 Regression] missed optimization for dead code elimination at -O3 (trunk vs 11.2.0)

2024-06-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103388

--- Comment #10 from Simon Martin  ---
(In reply to GCC Commits from comment #9)
> The master branch has been updated by Simon Martin :
> 
> https://gcc.gnu.org/g:126ccf8ffc46865accec22a2789f09abd98c1d85
> 
> commit r15-1019-g126ccf8ffc46865accec22a2789f09abd98c1d85
> Author: Simon Martin 
> Date:   Tue Jun 4 11:59:31 2024 +0200
> 
> c++: Add testcase for PR103338
> 
> The case in that PR used to ICE until commit f04dc89. This patch simply
> adds
> the case to the testsuite.
> 
> Successfully tested on x86_64-pc-linux-gnu.
> 
> PR c++/103388
> 
> gcc/testsuite/ChangeLog:
> 
> * g++.dg/parse/crash73.C: New test.

Pleae ignore this update; wrong ticket number :'(

[Bug c++/103338] [11/12/13/14/15 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression

2024-06-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103338

Simon Martin  changed:

   What|Removed |Added

   Target Milestone|11.5|14.2
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #6 from Simon Martin  ---
Fixed through https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=f04dc89, and test
case added through
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=126ccf8ffc46865accec22a2789f09abd98c1d85

[Bug c++/111106] [11/12/13/14/15 Regression] missing ; causes internal compiler error: in dependent_type_p, at cp/pt.cc:27901

2024-06-04 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=06

Simon Martin  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Target Milestone|11.5|14.2

--- Comment #5 from Simon Martin  ---
Fixed in trunk

[Bug c++/109958] [11/12/13/14/15 Regression] ICE: in build_ptrmem_type, at cp/decl.cc:11066 taking the address of bound static member function brought into derived class by using-declaration

2024-06-02 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109958

Simon Martin  changed:

   What|Removed |Added

   Target Milestone|11.5|14.2
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Simon Martin  ---
Fixed in master

[Bug c++/105229] [11/12/13/14/15 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111

2024-05-27 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229

Simon Martin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Simon Martin  ---
But fixed via PR c++/106024, and test case merged to master.

[Bug c++/111106] [11/12/13/14/15 Regression] missing ; causes internal compiler error: in dependent_type_p, at cp/pt.cc:27901

2024-05-24 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=06

Simon Martin  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Assignee|unassigned at gcc dot gnu.org  |simartin at gcc dot 
gnu.org
 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2024-05-24

--- Comment #3 from Simon Martin  ---
Working on it

[Bug c++/105229] [11/12/13/14/15 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111

2024-05-24 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229

--- Comment #7 from Simon Martin  ---
Bisection shows that this has been fixed by
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=252e9dfee9b1d01e0e44773ad83e0e44f3650945

Test case addition proposed in
https://gcc.gnu.org/pipermail/gcc-patches/2024-May/652639.html

[Bug c++/109958] [11/12/13/14/15 Regression] ICE: in build_ptrmem_type, at cp/decl.cc:11066 taking the address of bound static member function brought into derived class by using-declaration

2024-05-21 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109958

Simon Martin  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |simartin at gcc dot 
gnu.org

--- Comment #5 from Simon Martin  ---
Working on it

[Bug c++/105760] [11/12/13/14/15 Regression] ICE: in build_function_type, at tree.cc:7365

2024-05-15 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105760

Simon Martin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|11.5|14.2

--- Comment #5 from Simon Martin  ---
Fixed on trunk.

[Bug c++/105229] [11/12/13/14/15 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111

2024-05-06 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229

--- Comment #6 from Simon Martin  ---
The testcase ICEs with 11.3 (https://godbolt.org/z/qoYqK8zj9) but not 11.4
(https://godbolt.org/z/K8q6qYPba)

Will check if we need to add a new test case of it's already covered.

[Bug c++/103338] [11/12/13/14/15 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression

2024-05-06 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103338

Simon Martin  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #5 from Simon Martin  ---
The testcase ICEs with 13.2 (https://godbolt.org/z/vv54q97b3) but not trunk
(https://godbolt.org/z/f7sK8nTqn).

Will check if we need to add a new test case of it's already covered.

[Bug c++/105229] [11/12/13/14/15 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111

2024-04-30 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229

Simon Martin  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #5 from Simon Martin  ---
It does not seem to ICE anymore with trunk. Will double check and if so, submit
a new testcase.

[Bug c++/105760] [11/12/13/14/15 Regression] ICE: in build_function_type, at tree.cc:7365

2024-04-27 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105760

Simon Martin  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

[Bug c++/105760] [11/12/13/14/15 Regression] ICE: in build_function_type, at tree.cc:7365

2024-04-27 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105760

Simon Martin  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |simartin at gcc dot 
gnu.org

--- Comment #3 from Simon Martin  ---
Working on this one...