public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695
@ 2011-01-10 17:24 rmansfield at qnx dot com
2011-01-10 18:00 ` [Bug driver/47249] " hjl.tools at gmail dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: rmansfield at qnx dot com @ 2011-01-10 17:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
Summary: ICE in common_handle_option, at opts.c:1695
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rmansfield@qnx.com
$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: i686-pc-linux-gnu
Configured with: ../configure --enable-languages=c++ --disable-bootstrap
Thread model: posix
gcc version 4.6.0 20110110 (experimental) [trunk revision 168633] (GCC)
$ ./xgcc -B. ~/hw.c -Wp,-pie
cc1: internal compiler error: in common_handle_option, at opts.c:1695
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Discovered in 4.4.x series.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug driver/47249] ICE in common_handle_option, at opts.c:1695
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
@ 2011-01-10 18:00 ` hjl.tools at gmail dot com
2011-01-10 18:26 ` joseph at codesourcery dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-10 18:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.10 17:52:05
CC| |jsm28 at gcc dot gnu.org
Target Milestone|--- |4.6.0
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug driver/47249] ICE in common_handle_option, at opts.c:1695
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
2011-01-10 18:00 ` [Bug driver/47249] " hjl.tools at gmail dot com
@ 2011-01-10 18:26 ` joseph at codesourcery dot com
2011-01-11 12:45 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: joseph at codesourcery dot com @ 2011-01-10 18:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-10 18:00:22 UTC ---
On Mon, 10 Jan 2011, hjl.tools at gmail dot com wrote:
> Target Milestone|--- |4.6.0
This is not a 4.6 regression, though it may be a regression starting in
some earlier release series.
The problem is Common options that aren't actually handled in opts.c. The
fix for now would be to add dummy cases for them to opts.c - the proper
fix, once driver --help is done through .opt files, would be to mark -pie
and -shared as Driver options (which they are) not Common ones.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug driver/47249] ICE in common_handle_option, at opts.c:1695
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
2011-01-10 18:00 ` [Bug driver/47249] " hjl.tools at gmail dot com
2011-01-10 18:26 ` joseph at codesourcery dot com
@ 2011-01-11 12:45 ` rguenth at gcc dot gnu.org
2012-01-05 23:49 ` [Bug middle-end/47249] [4.4/4.5/4.6/4.7 Regression] " pinskia at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-11 12:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.0 |---
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/47249] [4.4/4.5/4.6/4.7 Regression] ICE in common_handle_option, at opts.c:1695
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
` (2 preceding siblings ...)
2011-01-11 12:45 ` rguenth at gcc dot gnu.org
@ 2012-01-05 23:49 ` pinskia at gcc dot gnu.org
2012-01-16 13:54 ` [Bug driver/47249] [4.4/4.5/4.6/4.7 Regression] ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1 jakub at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-05 23:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Last reconfirmed|2011-01-10 17:52:05 |2012-01-05 0:00
Component|driver |middle-end
Known to work| |4.2.3
Target Milestone|--- |4.4.7
Summary|ICE in |[4.4/4.5/4.6/4.7
|common_handle_option, at |Regression] ICE in
|opts.c:1695 |common_handle_option, at
| |opts.c:1695
Known to fail| |4.3.3, 4.4.0, 4.5.0, 4.6.0,
| |4.7.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug driver/47249] [4.4/4.5/4.6/4.7 Regression] ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
` (3 preceding siblings ...)
2012-01-05 23:49 ` [Bug middle-end/47249] [4.4/4.5/4.6/4.7 Regression] " pinskia at gcc dot gnu.org
@ 2012-01-16 13:54 ` jakub at gcc dot gnu.org
2012-01-16 14:01 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-16 13:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-16 13:50:11 UTC ---
Created attachment 26339
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26339
gcc47-pr47249.patch
Joseph, for 4.7, do you prefer this version
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug driver/47249] [4.4/4.5/4.6/4.7 Regression] ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
` (4 preceding siblings ...)
2012-01-16 13:54 ` [Bug driver/47249] [4.4/4.5/4.6/4.7 Regression] ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1 jakub at gcc dot gnu.org
@ 2012-01-16 14:01 ` jakub at gcc dot gnu.org
2012-01-19 12:35 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-16 14:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-16 13:51:32 UTC ---
Created attachment 26340
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26340
gcc47-pr47249-2.patch
Or this one (or something else)? Having driver display_help use *.opt stuff is
probably beyond stage4 material.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug driver/47249] [4.4/4.5/4.6/4.7 Regression] ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
` (5 preceding siblings ...)
2012-01-16 14:01 ` jakub at gcc dot gnu.org
@ 2012-01-19 12:35 ` rguenth at gcc dot gnu.org
2012-01-24 13:50 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-19 12:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-19 12:17:17 UTC ---
I suppose we should avoid the ICE for releases by simply turning the gcc_assert
into a gcc_checking_assert ...
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug driver/47249] [4.4/4.5/4.6/4.7 Regression] ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
` (6 preceding siblings ...)
2012-01-19 12:35 ` rguenth at gcc dot gnu.org
@ 2012-01-24 13:50 ` jakub at gcc dot gnu.org
2012-01-24 14:00 ` [Bug driver/47249] [4.4/4.5/4.6 " jakub at gcc dot gnu.org
2012-01-24 14:58 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-24 13:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-24 13:18:16 UTC ---
Author: jakub
Date: Tue Jan 24 13:18:08 2012
New Revision: 183474
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183474
Log:
PR driver/47249
* common.opt (-pie, -shared, pie, shared): Change from Common to
Driver.
* gcc.c (display_help): Display help for -pie and -shared.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/common.opt
trunk/gcc/gcc.c
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug driver/47249] [4.4/4.5/4.6 Regression] ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
` (7 preceding siblings ...)
2012-01-24 13:50 ` jakub at gcc dot gnu.org
@ 2012-01-24 14:00 ` jakub at gcc dot gnu.org
2012-01-24 14:58 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-24 14:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|[4.4/4.5/4.6/4.7 |[4.4/4.5/4.6 Regression]
|Regression] ICE in |ICE in
|common_handle_option, at |common_handle_option, at
|opts.c:1695 with unknown |opts.c:1695 with unknown
|option passed to cc1 |option passed to cc1
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-24 13:24:06 UTC ---
Fixed on the trunk. Not worth backporting I think.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug driver/47249] [4.4/4.5/4.6 Regression] ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
` (8 preceding siblings ...)
2012-01-24 14:00 ` [Bug driver/47249] [4.4/4.5/4.6 " jakub at gcc dot gnu.org
@ 2012-01-24 14:58 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-24 14:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47249
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.4.7 |4.7.0
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-24 13:49:55 UTC ---
Agreed.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-01-24 13:50 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-10 17:24 [Bug driver/47249] New: ICE in common_handle_option, at opts.c:1695 rmansfield at qnx dot com
2011-01-10 18:00 ` [Bug driver/47249] " hjl.tools at gmail dot com
2011-01-10 18:26 ` joseph at codesourcery dot com
2011-01-11 12:45 ` rguenth at gcc dot gnu.org
2012-01-05 23:49 ` [Bug middle-end/47249] [4.4/4.5/4.6/4.7 Regression] " pinskia at gcc dot gnu.org
2012-01-16 13:54 ` [Bug driver/47249] [4.4/4.5/4.6/4.7 Regression] ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1 jakub at gcc dot gnu.org
2012-01-16 14:01 ` jakub at gcc dot gnu.org
2012-01-19 12:35 ` rguenth at gcc dot gnu.org
2012-01-24 13:50 ` jakub at gcc dot gnu.org
2012-01-24 14:00 ` [Bug driver/47249] [4.4/4.5/4.6 " jakub at gcc dot gnu.org
2012-01-24 14:58 ` rguenth 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).