This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67776] No warning when using asm with non-static variable
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Aug 2016 18:17:53 +0000
- Subject: [Bug c++/67776] No warning when using asm with non-static variable
- Auto-submitted: auto-generated
- References: <bug-67776-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67776
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to David from comment #0)
> While not particularly interesting of itself, this makes me wonder what
> other c error checking might be getting skipped in c++.
Or rather the code is in the C front-end but not in the C++ front-end. The C
and C++ front-ends don't share all code; just some of it.