* [Bug preprocessor/30242] internal error in gcc break compilation
2006-12-18 3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
@ 2006-12-18 3:32 ` sherpya at netfarm dot it
2006-12-20 5:14 ` [Bug c/30242] [4.3 Regression] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: sherpya at netfarm dot it @ 2006-12-18 3:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from sherpya at netfarm dot it 2006-12-18 03:31 -------
I forgot to attach the error:
cc1.exe: internal compiler error: in add_standard_paths, at c-incpath.c:173
so it's not in gcc but the preprocessor
I've bootstrapped from 4.1.1
--
sherpya at netfarm dot it changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |preprocessor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30242
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
2006-12-18 3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
2006-12-18 3:32 ` [Bug preprocessor/30242] " sherpya at netfarm dot it
@ 2006-12-20 5:14 ` pinskia at gcc dot gnu dot org
2006-12-20 16:02 ` carlos at codesourcery dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-20 5:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-20 05:14 -------
Well this is obviously caused by:
2006-11-20 Carlos O'Donell <carlos@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
* cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and
gcc_exec_prefix.
(cpp_relocated): New function.
* cppdefault.h: Declare cpp_PREFIX, cpp_PREFIX_len, gcc_exec_prefix
and cpp_relocated.
* Makefile.in (PREPROCESSOR_DEFINES): Add -DPREFIX option.
* c-incpath.c (add_standard_paths): Call cpp_relocated. If relocated,
replace configured prefix with gcc_exec_prefix.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at codesourcery dot
| |com, mark at codesourcery
| |dot com
Component|preprocessor |c
Keywords| |build, ice-on-valid-code
Summary|internal error in gcc break |[4.3 Regression] internal
|compilation |error in gcc break
| |compilation
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30242
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
2006-12-18 3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
2006-12-18 3:32 ` [Bug preprocessor/30242] " sherpya at netfarm dot it
2006-12-20 5:14 ` [Bug c/30242] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2006-12-20 16:02 ` carlos at codesourcery dot com
2006-12-20 16:05 ` carlos at codesourcery dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: carlos at codesourcery dot com @ 2006-12-20 16:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from carlos at codesourcery dot com 2006-12-20 16:01 -------
Created an attachment (id=12828)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12828&action=view)
Only relocate paths which start with the configured prefix.
This fixes the boostrap failure for i686-mingw32. I have bootstrapped
x86_64-unknown-linug-gnu with thie patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30242
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
2006-12-18 3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
` (2 preceding siblings ...)
2006-12-20 16:02 ` carlos at codesourcery dot com
@ 2006-12-20 16:05 ` carlos at codesourcery dot com
2006-12-20 16:35 ` mark at codesourcery dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: carlos at codesourcery dot com @ 2006-12-20 16:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from carlos at codesourcery dot com 2006-12-20 16:05 -------
Bob Rossi <bob_rossi@cox.net> and I were working on this issue last night on
gcc-help@gcc.gnu.org.
http://gcc.gnu.org/ml/gcc-help/2006-12/msg00279.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30242
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
2006-12-18 3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
` (3 preceding siblings ...)
2006-12-20 16:05 ` carlos at codesourcery dot com
@ 2006-12-20 16:35 ` mark at codesourcery dot com
2006-12-20 22:34 ` carlos at gcc dot gnu dot org
2006-12-21 3:46 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: mark at codesourcery dot com @ 2006-12-20 16:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from mark at codesourcery dot com 2006-12-20 16:35 -------
Subject: Re: [4.3 Regression] internal error in gcc break compilation
carlos at codesourcery dot com wrote:
> ------- Comment #3 from carlos at codesourcery dot com 2006-12-20 16:01 -------
> Created an attachment (id=12828)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12828&action=view)
> --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12828&action=view)
> Only relocate paths which start with the configured prefix.
>
> This fixes the boostrap failure for i686-mingw32. I have bootstrapped
> x86_64-unknown-linug-gnu with thie patch.
This patch is OK.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30242
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
2006-12-18 3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
` (4 preceding siblings ...)
2006-12-20 16:35 ` mark at codesourcery dot com
@ 2006-12-20 22:34 ` carlos at gcc dot gnu dot org
2006-12-21 3:46 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: carlos at gcc dot gnu dot org @ 2006-12-20 22:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from carlos at gcc dot gnu dot org 2006-12-20 22:34 -------
Subject: Bug 30242
Author: carlos
Date: Wed Dec 20 22:34:14 2006
New Revision: 120088
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120088
Log:
gcc/
2006-12-20 Carlos O'Donell <carlos@codesourcery.com>
PR bootstrap/30242
* gcc/c-incpath.c (add_standard_paths): Only relocate paths that
begin with the configured prefix.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-incpath.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30242
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
2006-12-18 3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
` (5 preceding siblings ...)
2006-12-20 22:34 ` carlos at gcc dot gnu dot org
@ 2006-12-21 3:46 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-21 3:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-12-21 03:45 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30242
^ permalink raw reply [flat|nested] 8+ messages in thread