https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485
Volker Weißmann changed:
What|Removed |Added
CC||volker.weissmann at gmx dot de
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: volker.weissmann at gmx dot de
Target Milestone: ---
My compiler told me to submit a bug report, so here I go:
$ cat bug.f90
module child
contains
module procedure childprod
Assignee: unassigned at gcc dot gnu.org
Reporter: volker.weissmann at gmx dot de
Target Milestone: ---
How to reproduce:
$ cat foo.f90
module circle
integer :: x
end module circle
program prog
use, non_intrinsic :: circle, only: x
end program prog
$ gfortran -cpp -M -c
Priority: P3
Component: translation
Assignee: unassigned at gcc dot gnu.org
Reporter: volker.weissmann at gmx dot de
Target Milestone: ---
Created attachment 53798
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53798=edit
Source Code
g++ -g Record.cpp
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: volker.weissmann at gmx dot de
Target Milestone: ---
$ cat main.c
void func(){}
$ gcc -c main.c -O1 -fdisable-tree-lower -fdisable-tree-eh
cc1: note
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107418
--- Comment #1 from Volker Weißmann ---
If you don't like that I enabled -flto, but disabled the optimizer, tell me,
then I minify another example that triggers the same segfault, even if -Os is
given.
Assignee: unassigned at gcc dot gnu.org
Reporter: volker.weissmann at gmx dot de
CC: marxin at gcc dot gnu.org
Target Milestone: ---
I don't understand what -gimple-stats does, but I don't think it should
segfault:
$ g++ bug.cpp -c -flto && lto-du
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: volker.weissmann at gmx dot de
Target Milestone: ---
Consider the following C++ source code:
-
class NoDefaultConstr
{
public