public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/34191] New: Using gcc with -mptr64 option produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669
@ 2007-11-22 12:06 pmendez at orga-systems dot com
2007-11-22 12:10 ` [Bug c/34191] Using gcc with -mptr64 option on Solaros 5.9 " pmendez at orga-systems dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: pmendez at orga-systems dot com @ 2007-11-22 12:06 UTC (permalink / raw)
To: gcc-bugs
The gcc (at least versions 3.3.2 till 4.2.1) on Solaris 5.9 issues an internal
error message while compiling a trivial programme (attached):
pmendez@padsol13[290]>/usr/local/gcc-4.2.1/bin/gcc -v -mptr64 -W -Wall -Wextra
-pedantic -std=c99 -I. -o sizeof3 sizeof3.c
Using built-in specs.
Target: sparc-sun-solaris2.9
Configured with: ../gcc-4.2.1/configure --prefix=/usr/local/gcc-4.2.1
--disable-shared --enable-languages=c,c++
Thread model: posix
gcc version 4.2.1
/usr/local/gcc-4.2.1/libexec/gcc/sparc-sun-solaris2.9/4.2.1/cc1 -quiet -v -I.
-D__sparcv8 sizeof3.c -quiet -dumpbase sizeof3.c -mptr64 -mcpu=v9 -auxbase
sizeof3 -W -Wall -Wextra -pedantic -std=c99 -version -o /var/tmp//ccdldVVn.s
ignoring nonexistent directory
"/usr/local/gcc-4.2.1/lib/gcc/sparc-sun-solaris2.9/4.2.1/../../../../sparc-sun-solaris2.9/include"
#include "..." search starts here:
#include <...> search starts here:
.
/usr/local/include
/usr/local/gcc-4.2.1/include
/usr/local/gcc-4.2.1/lib/gcc/sparc-sun-solaris2.9/4.2.1/include
/usr/include
End of search list.
GNU C version 4.2.1 (sparc-sun-solaris2.9)
compiled by GNU C version 4.2.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 9e0484c08da0f561a4f4189fd65650a4
sizeof3.c:7: warning: return type defaults to 'int'
sizeof3.c: In function 'main':
sizeof3.c:23: warning: large integer implicitly truncated to unsigned type
sizeof3.c:13: internal compiler error: in sparc_emit_set_const64, at
config/sparc/sparc.c:1669
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: Using gcc with -mptr64 option produces the following
message: the internal compiler error: in
sparc_emit_set_const64, at config/sparc/sparc.c:1669
Product: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pmendez at orga-systems dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34191
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/34191] Using gcc with -mptr64 option on Solaros 5.9 produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669
2007-11-22 12:06 [Bug c/34191] New: Using gcc with -mptr64 option produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669 pmendez at orga-systems dot com
@ 2007-11-22 12:10 ` pmendez at orga-systems dot com
2007-11-22 12:13 ` pmendez at orga-systems dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pmendez at orga-systems dot com @ 2007-11-22 12:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pmendez at orga-systems dot com 2007-11-22 12:10 -------
Created an attachment (id=14603)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14603&action=view)
Complete compiler output as required by the guidelines
Output from
/usr/local/gcc-4.2.1/bin/gcc -v -mptr64 -W -Wall -Wextra -
pedantic -std=c99 -I. -o sizeof3 sizeof3.c -save-temp
and
uname -a
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34191
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/34191] Using gcc with -mptr64 option on Solaros 5.9 produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669
2007-11-22 12:06 [Bug c/34191] New: Using gcc with -mptr64 option produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669 pmendez at orga-systems dot com
2007-11-22 12:10 ` [Bug c/34191] Using gcc with -mptr64 option on Solaros 5.9 " pmendez at orga-systems dot com
@ 2007-11-22 12:13 ` pmendez at orga-systems dot com
2007-11-22 19:38 ` [Bug target/34191] Using gcc with -mptr64 option on Solaris " ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pmendez at orga-systems dot com @ 2007-11-22 12:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pmendez at orga-systems dot com 2007-11-22 12:13 -------
Created an attachment (id=14604)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14604&action=view)
the preprocessed file (*.i*) that triggers the bug as required by the
guidelines
Please notice that when using both -m64 -mptr64 this internal error does not
occur.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34191
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/34191] Using gcc with -mptr64 option on Solaris 5.9 produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669
2007-11-22 12:06 [Bug c/34191] New: Using gcc with -mptr64 option produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669 pmendez at orga-systems dot com
2007-11-22 12:10 ` [Bug c/34191] Using gcc with -mptr64 option on Solaros 5.9 " pmendez at orga-systems dot com
2007-11-22 12:13 ` pmendez at orga-systems dot com
@ 2007-11-22 19:38 ` ebotcazou at gcc dot gnu dot org
2007-11-27 16:34 ` pmendez at orga-systems dot com
2007-11-27 16:49 ` ebotcazou at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-11-22 19:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-11-22 19:38 -------
> Please notice that when using both -m64 -mptr64 this internal error does not
> occur.
Right, -mptr64 should *never* be used. Just use -m64 as documented.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34191
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/34191] Using gcc with -mptr64 option on Solaris 5.9 produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669
2007-11-22 12:06 [Bug c/34191] New: Using gcc with -mptr64 option produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669 pmendez at orga-systems dot com
` (2 preceding siblings ...)
2007-11-22 19:38 ` [Bug target/34191] Using gcc with -mptr64 option on Solaris " ebotcazou at gcc dot gnu dot org
@ 2007-11-27 16:34 ` pmendez at orga-systems dot com
2007-11-27 16:49 ` ebotcazou at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pmendez at orga-systems dot com @ 2007-11-27 16:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pmendez at orga-systems dot com 2007-11-27 16:34 -------
>
> Right, -mptr64 should *never* be used. Just use -m64 as documented.
1.-where is this stated in the documentation?
2.-If it is a non supported option it should issue something like this
gcc: unrecognized option '-mptr64'
and not a wrong request to submit a full bug report
In my opinion it still remains a wrong error message.
--
pmendez at orga-systems dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34191
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/34191] Using gcc with -mptr64 option on Solaris 5.9 produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669
2007-11-22 12:06 [Bug c/34191] New: Using gcc with -mptr64 option produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669 pmendez at orga-systems dot com
` (3 preceding siblings ...)
2007-11-27 16:34 ` pmendez at orga-systems dot com
@ 2007-11-27 16:49 ` ebotcazou at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-11-27 16:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-11-27 16:49 -------
> 1.-where is this stated in the documentation?
-mptr64 is simply not documented.
> 2.-If it is a non supported option it should issue something like this
> gcc: unrecognized option '-mptr64'
> and not a wrong request to submit a full bug report
> In my opinion it still remains a wrong error message.
Possibly, but it's good enough for an undocumented option. Feel free to
submit a patch if you disagree.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34191
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-11-27 16:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-22 12:06 [Bug c/34191] New: Using gcc with -mptr64 option produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669 pmendez at orga-systems dot com
2007-11-22 12:10 ` [Bug c/34191] Using gcc with -mptr64 option on Solaros 5.9 " pmendez at orga-systems dot com
2007-11-22 12:13 ` pmendez at orga-systems dot com
2007-11-22 19:38 ` [Bug target/34191] Using gcc with -mptr64 option on Solaris " ebotcazou at gcc dot gnu dot org
2007-11-27 16:34 ` pmendez at orga-systems dot com
2007-11-27 16:49 ` ebotcazou 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).