public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/22448] ICE on dereferencing a label in an asm statement
[not found] <bug-22448-4@http.gcc.gnu.org/bugzilla/>
@ 2021-09-10 23:15 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-10 23:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22448
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
Known to fail| |
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 4.7.0 and is a dup of bug 48552.
*** This bug has been marked as a duplicate of bug 48552 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/22448] ICE on dereferencing a label in an asm statement
[not found] <bug-22448-10216@http.gcc.gnu.org/bugzilla/>
@ 2009-02-11 13:38 ` trick at icculus dot org
0 siblings, 0 replies; 3+ messages in thread
From: trick at icculus dot org @ 2009-02-11 13:38 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
------- Comment #4 from trick at icculus dot org 2009-02-11 13:38 -------
This also happens when dereferencing void pointers (this is invalid code
though, but I get the same error with the code in the first post):
void foo (void *p)
{
asm("" :: "g" (*p));
}
$ gcc -c foo.c
foo.c: In function foo:
foo.c:3: warning: dereferencing void * pointer
foo.c:3: internal compiler error: in gimplify_expr, at gimplify.c:6288
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix
--mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit
--disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu
--disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.3.3 (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22448
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/22448] ICE on dereferencing a label in an asm statement
2005-07-13 2:24 [Bug c/22448] New: " mrd at alkemio dot org
@ 2005-07-28 16:40 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-28 16:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-28 16:38 -------
Turns out this is not really a regression. If you change g to r, it fails from 2.95.3 and up.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0.0 4.1.0 |2.95 3.2 3.3.3 3.4.0 4.0.0
| |4.1.0
Known to work|3.4.0 |
Summary|[4.0/4.1 Regression] ICE on |ICE on dereferencing a label
|dereferencing a label in an |in an asm statement
|asm statement |
Target Milestone|4.0.2 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22448
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-10 23:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-22448-4@http.gcc.gnu.org/bugzilla/>
2021-09-10 23:15 ` [Bug middle-end/22448] ICE on dereferencing a label in an asm statement pinskia at gcc dot gnu.org
[not found] <bug-22448-10216@http.gcc.gnu.org/bugzilla/>
2009-02-11 13:38 ` trick at icculus dot org
2005-07-13 2:24 [Bug c/22448] New: " mrd at alkemio dot org
2005-07-28 16:40 ` [Bug middle-end/22448] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).