[Bug c++/67533] internal compiler error: in build_call_a, at cp/call.c:372
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 9 00:49:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67533
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed semicolon:
struct Tls {};
void _ZTW5mytls();
thread_local Tls mytls = mytls;
doesn't ICE since r259067 but:
67533.C:3:26: error: conversion from ‘void’ to non-scalar type ‘Tls’ requested
3 | thread_local Tls mytls = mytls;
| ^~~~~
but since it uses a reserved identifier ([lex.name]/3), I think the error is
fine.
More information about the Gcc-bugs
mailing list