public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/31128]  New: ICE with __builtin_stack_restore
@ 2007-03-11  1:46 nicholas at mxc dot ca
  2007-03-11  1:51 ` [Bug c/31128] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: nicholas at mxc dot ca @ 2007-03-11  1:46 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]

In a delta reduction from an ICE compiling code from LLVM's C backend, I get
the following one-line testcase:

  void f() { __builtin_stack_restore(f); }

$ gcc-4.1 b2.c -c
b2.c: In function ‘foo’:
b2.c:2: internal compiler error: in lhd_set_decl_assembler_name, at
langhooks.c:165
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/cc6cllgG.out file, please attach this to
your bugreport.

This fails with 4.1.2 and 4.0.4:

$ gcc-4.1 -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
$ gcc-4.0 -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.4 20060904 (prerelease) (Debian 4.0.3-7)

but passes with gcc 3.4 and 3.3.

This bug may be related to bug 30095, except that this bug uses C not fortran,
and this bug occurs on x86 not ppc.


-- 
           Summary: ICE with __builtin_stack_restore
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nicholas at mxc dot ca


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31128


^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <bug-31128-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2024-04-02  6:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-11  1:46 [Bug c/31128] New: ICE with __builtin_stack_restore nicholas at mxc dot ca
2007-03-11  1:51 ` [Bug c/31128] " pinskia at gcc dot gnu dot org
2007-03-11  1:58 ` [Bug c/31128] __builtin_stack_restore/__builtin_stack_save should not be exposed to the user pinskia at gcc dot gnu dot org
2007-03-11  2:16 ` nicholas at mxc dot ca
2007-03-11  2:20 ` pinskia at gcc dot gnu dot org
2007-03-11  2:57 ` pinskia at gcc dot gnu dot org
2007-05-28 17:44 ` sabre at nondot dot org
2007-05-28 19:08 ` pinskia at gcc dot gnu dot org
2007-05-29 15:14 ` sabre at nondot dot org
2007-11-17 18:21 ` pinskia at gcc dot gnu dot org
2007-11-17 19:25 ` jakub at gcc dot gnu dot org
2007-11-28 20:57 ` sabre at nondot dot org
2007-12-04 22:02 ` jakub at gcc dot gnu dot org
2008-01-03 18:04 ` pinskia at gcc dot gnu dot org
2008-01-24 19:13 ` edmar at freescale dot com
     [not found] <bug-31128-4@http.gcc.gnu.org/bugzilla/>
2024-04-02  6:55 ` pinskia at gcc dot gnu.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).