https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
--- Comment #12 from CVS Commits ---
The master branch has been updated by Patrick Palka :
https://gcc.gnu.org/g:6ff8b93c7b0bf3913fb7754f9985e7e31c46d89c
commit r14-4979-g6ff8b93c7b0bf3913fb7754f9985e7e31c46d89c
Author: Patrick Palka
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
Patrick Palka changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
--- Comment #10 from CVS Commits ---
The master branch has been updated by Patrick Palka :
https://gcc.gnu.org/g:d80a26cca025877b7657fa355570bc301223b50b
commit r14-4899-gd80a26cca025877b7657fa355570bc301223b50b
Author: Patrick Palka
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
--- Comment #9 from Sam James ---
Hit this with libsass too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
Sam James changed:
What|Removed |Added
Keywords|needs-bisection |
Summary|[14 Regression] in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
Patrick Palka changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
--- Comment #7 from Andrew Pinski ---
So the C++ front-end produces:
(gdb) p debug_generic_expr(t)
VIEW_CONVERT_EXPR(var) + NON_LVALUE_EXPR <2>
(gdb) p debug_tree(t)
unit-size
align:64 warn_if_not_align:0 symtab:0 alias-set -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
--- Comment #6 from Andrew Pinski ---
Better reduced testcase:
```
template
void f(__SIZE_TYPE__ var) {
new int[var + 2];
}
```
And yes if you change f into an non-template, there is no crash.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
--- Comment #5 from Andrew Pinski ---
My bet it was the c++ change
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=dad311874ac3b3cf4eca1c04f67cae80c953f7b8
or the one right after that one which caused it.
Since it looks like template related
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
--- Comment #4 from David Binderman ---
Reduced test case seems to be:
struct LinearSystem {};
template void operator<<(int, LinearSystem) {
long vars = new long[vars + 2];
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
--- Comment #3 from rguenther at suse dot de ---
On Mon, 23 Oct 2023, sjames at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
>
> Sam James changed:
>
>What|Removed |Added
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
Sam James changed:
What|Removed |Added
CC||sjames at gcc dot gnu.org
--- Comment #2 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929
Richard Biener changed:
What|Removed |Added
Keywords||ice-on-valid-code,
|
13 matches
Mail list logo