[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2021-05-14 Thread Bug Watch Updater
** Changed in: gcc
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-05-06 Thread Alexey Kozin
** Changed in: gcc-8 (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-04-08 Thread Bug Watch Updater
** Changed in: gcc
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-04-07 Thread Alexey Kozin
The preprocessed source is included.
gcc -c test.ii
../test.cpp: In function ‘void test_shape_creator()’:
../test.cpp:19:18: internal compiler error: Ошибка сегментирования
  blaspp<1> v({14});
  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.


** Attachment added: "Preprocessed source"
   
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/+attachment/5253640/+files/test.ii

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-04-06 Thread Bug Watch Updater
Launchpad has imported 2 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89994.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2019-04-06T10:09:33+00:00 Matthias Klose wrote:

$ cat test.ii
template  class a;
namespace b {
template  class b;
template  struct c;
template 
struct c> {
  using e = typename c>>::e;
};
template 
struct c<0, b> {
  using e = b;
};
template  class baseclass, int g, int h,
  typename i, typename... j>
class b, j...> {
  b(long);
  b(const long (&)[]);
};
} // namespace b
template 
using blaspp = typename b::c>::e;
blaspp<1> k({4})

$ g++ -c test.ii 
test.ii:23:16: internal compiler error: Segmentation fault
 blaspp<1> k({4})
^
0x8a0698 crash_signal
../../src/gcc/toplev.c:325
0x5aa51e compare_ics
../../src/gcc/cp/call.c:9684
0xe8cbe1 joust
../../src/gcc/cp/call.c:10124
0xe8a7f6 tourney
../../src/gcc/cp/call.c:10526
0xe8a7f6 build_new_method_call_1
../../src/gcc/cp/call.c:9295
0xe8a7f6 build_new_method_call(tree_node*, tree_node*, vec**, tree_node*, int, tree_node**, int)
../../src/gcc/cp/call.c:9462
0xe8a7f6 build_special_member_call(tree_node*, tree_node*, vec**, tree_node*, int, int)
../../src/gcc/cp/call.c:8989
0xede19b expand_default_init
../../src/gcc/cp/init.c:1906
0xede19b expand_aggr_init_1
../../src/gcc/cp/init.c:2021
0xede19b build_aggr_init(tree_node*, tree_node*, int, int)
../../src/gcc/cp/init.c:1761
0xec44b8 build_aggr_init_full_exprs
../../src/gcc/cp/decl.c:6292
0xec44b8 check_initializer
../../src/gcc/cp/decl.c:6441
0xec2cbf cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
../../src/gcc/cp/decl.c:7154
0xf03597 cp_parser_init_declarator
../../src/gcc/cp/parser.c:19819
0xefec29 cp_parser_simple_declaration
../../src/gcc/cp/parser.c:13058
0xefe415 cp_parser_block_declaration
../../src/gcc/cp/parser.c:12877
0xefd737 cp_parser_declaration
../../src/gcc/cp/parser.c:12775
0xefd54a cp_parser_declaration_seq_opt
../../src/gcc/cp/parser.c:12651
0x14ba85b cp_parser_translation_unit
../../src/gcc/cp/parser.c:4563
0x14ba85b c_parse_file()
../../src/gcc/cp/parser.c:39118
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.

$ g++-7 -c test.ii 
test.ii:18:21: error: parameter '' includes reference to array of 
unknown bound 'const long int []'
   b(const long (&)[]);
 ^
test.ii:23: confused by earlier errors, bailing out

$ g++-9 -c test.ii 
test.ii:23:16: error: call of overloaded 'b()' 
is ambiguous
   23 | blaspp<1> k({4})
  |^
test.ii:18:3: note: candidate: 'b::b, j 
...>::b(const long int (&)[]) [with l = double; long unsigned int f = 1; 
baseclass = a; int g = 0; int h = 1; i = void; j = {}]'
   18 |   b(const long (&)[]);
  |   ^
test.ii:17:3: note: candidate: 'b::b, j 
...>::b(long int) [with l = double; long unsigned int f = 1; baseclass = a; int 
g = 0; int h = 1; i = void; j = {}]'
   17 |   b(long);
  |   ^
test.ii:16:7: note: candidate: 'constexpr b::b >::b(const b::b >&)'
   16 | class b, j...> {
  |   ^
test.ii:16:7: note: candidate: 'constexpr b::b >::b(b::b >&&)'
test.ii:23:16: error: expected ',' or ';' at end of input
   23 | blaspp<1> k({4})
  |^

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/comments/5


On 2019-04-06T10:10:24+00:00 Matthias Klose wrote:

works on the gcc-7 branch and the trunk, ICEs on the gcc-8-branch.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/comments/6


** Changed in: gcc
   Status: Unknown => New

** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-04-06 Thread Alexey Kozin
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-04-06 Thread Matthias Klose
$ g++-7 -c test.ii 
test.ii:18:21: error: parameter '' includes reference to array of 
unknown bound 'const long int []'
   b(const long (&)[]);
 ^
test.ii:23: confused by earlier errors, bailing out

$ g++-9 -c test.ii 
test.ii:23:16: error: call of overloaded 'b()' 
is ambiguous
   23 | blaspp<1> k({4})
  |^
test.ii:18:3: note: candidate: 'b::b, j 
...>::b(const long int (&)[]) [with l = double; long unsigned int f = 1; 
baseclass = a; int g = 0; int h = 1; i = void; j = {}]'
   18 |   b(const long (&)[]);
  |   ^
test.ii:17:3: note: candidate: 'b::b, j 
...>::b(long int) [with l = double; long unsigned int f = 1; baseclass = a; int 
g = 0; int h = 1; i = void; j = {}]'
   17 |   b(long);
  |   ^
test.ii:16:7: note: candidate: 'constexpr b::b >::b(const b::b >&)'
   16 | class b, j...> {
  |   ^
test.ii:16:7: note: candidate: 'constexpr b::b >::b(b::b >&&)'
test.ii:23:16: error: expected ',' or ';' at end of input
   23 | blaspp<1> k({4})
  |^


** Bug watch added: GCC Bugzilla #89994
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89994

** Also affects: gcc via
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89994
   Importance: Unknown
   Status: Unknown

** Changed in: gcc-7 (Ubuntu)
   Status: Incomplete => Confirmed

** Also affects: gcc-8 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-04-05 Thread Alexey Kozin
The file is included from blaspp.h

** Attachment added: "bppindex.h"
   
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/+attachment/5253306/+files/bppindex.h

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-04-05 Thread Alexey Kozin
The main header. The problem line numbers are 768-770. 
The variadic constructor along with the constructor from plane array causes an 
error.
Removing one of them helps to compile successfully.

** Attachment added: "blaspp.h"
   
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/+attachment/5253305/+files/blaspp.h

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-04-05 Thread Alexey Kozin
The main file. The 19-th line causes error.

** Attachment added: "test.cpp"
   
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/+attachment/5253304/+files/test.cpp

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823296] Re: g++ 7.3 and g++ 8.2 report segmentation fault

2019-04-05 Thread Matthias Klose
please attach the preprocessed source

** Changed in: gcc-7 (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823296

Title:
  g++ 7.3 and g++ 8.2 report segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1823296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs